/* Custom order — professional studio layout */
body.custom-page {
  --cu-ink: #0f1410;
  --cu-muted: #5c675f;
  --cu-line: rgba(15, 20, 16, 0.1);
  --cu-paper: #f4f6f3;
  --cu-surface: #ffffff;
  --cu-accent: #1f6b2a;
  --cu-accent-2: #c8f542;
  --cu-dark: #101612;
  --cu-dark-2: #1a221c;
  background: var(--cu-paper);
  font-family: Sora, Outfit, "Segoe UI", sans-serif;
  color: var(--cu-ink);
}

body.custom-page .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.custom-page-root {
  overflow: visible;
}

.custom-hero-band {
  position: relative;
  background:
    radial-gradient(720px 280px at 92% 18%, rgba(200, 245, 66, 0.08), transparent 60%),
    radial-gradient(640px 320px at 0% 100%, rgba(31, 107, 42, 0.22), transparent 55%),
    linear-gradient(165deg, #141b15 0%, #0d120f 52%, #121812 100%);
  color: #eef3ec;
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  margin-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.custom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.78fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.custom-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cu-accent-2);
}

.custom-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 11.5em;
  color: #f7faf5;
}

.custom-lead {
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(238, 243, 236, 0.72);
  max-width: 34rem;
  font-weight: 400;
}

.custom-trust-line {
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(200, 245, 66, 0.9);
}

.custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.custom-btn:hover {
  transform: translateY(-1px);
}

.custom-btn-primary {
  background: var(--cu-accent-2);
  color: #12200f;
  border: 1px solid transparent;
}

.custom-btn-primary:hover {
  background: #d8ff5e;
  color: #0d160c;
}

.custom-btn-ghost {
  background: transparent;
  color: #f3f7f1;
  border: 1px solid rgba(243, 247, 241, 0.28);
}

.custom-btn-ghost:hover {
  border-color: rgba(200, 245, 66, 0.55);
  color: var(--cu-accent-2);
}

.custom-device {
  margin: 0;
  justify-self: end;
  width: min(100%, 292px);
}

.custom-device-frame {
  position: relative;
  padding: 11px;
  border-radius: 42px;
  background:
    linear-gradient(160deg, #3a403b 0%, #1a1f1b 40%, #0b0e0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.custom-device-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050705;
  pointer-events: none;
}

.custom-device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #070907;
  aspect-ratio: 9 / 16;
}

.custom-page-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #070907;
}

.custom-device-home {
  display: block;
  width: 32%;
  height: 4px;
  margin: 10px auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.custom-device figcaption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(238, 243, 236, 0.55);
}

.custom-video-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  color: #8b968c;
  font-size: 13px;
}

.custom-block {
  padding: clamp(28px, 5vw, 56px) 0;
}

.custom-block-head {
  max-width: 40rem;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.custom-block-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--cu-ink);
}

.custom-block-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--cu-muted);
}

.custom-block-extra {
  margin-top: 14px !important;
}

.custom-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.55fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

.custom-intro-split .custom-block-head {
  margin-bottom: 0;
  max-width: none;
}

.custom-trust-panel {
  background: #fff;
  border: 1px solid var(--cu-line);
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: 0 8px 22px rgba(15, 20, 16, 0.04);
}

.custom-trust-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--cu-line);
}

.custom-trust-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--cu-line);
  background: #fff;
  object-fit: cover;
  flex: none;
}

.custom-trust-brand strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cu-ink);
  letter-spacing: -0.01em;
}

.custom-trust-brand span {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--cu-muted);
}

.custom-trust-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.custom-trust-logos li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #f4f7f1;
  border: 1px solid rgba(31, 107, 42, 0.1);
}

.custom-trust-ico {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--cu-accent);
  border: 1px solid rgba(31, 107, 42, 0.14);
}

.custom-trust-ico svg {
  width: 13px;
  height: 13px;
  display: block;
}

.custom-trust-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.custom-trust-copy b {
  font-size: 11px;
  font-weight: 700;
  color: var(--cu-ink);
  line-height: 1.25;
}

.custom-trust-copy em {
  font-style: normal;
  font-size: 10px;
  color: var(--cu-muted);
  line-height: 1.3;
}

.custom-trust-foot {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cu-muted);
}

.custom-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cu-line);
  counter-reset: cu-step;
}

.custom-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cu-line);
  counter-increment: cu-step;
}

.custom-steps li::before {
  content: counter(cu-step, decimal-leading-zero);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cu-accent);
  padding-top: 3px;
  grid-row: 1 / span 2;
}

.custom-steps strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cu-ink);
}

.custom-steps span {
  color: var(--cu-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.custom-examples {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid var(--cu-line);
}

.custom-examples h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.custom-examples ul {
  margin: 0;
  padding-left: 18px;
  color: var(--cu-muted);
}

.custom-examples li {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.custom-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
}

.custom-fit-grid h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.custom-fit-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--cu-muted);
}

.custom-fit-grid li {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.custom-fit-grid a {
  color: var(--cu-accent);
  font-weight: 650;
  text-decoration: none;
}

.custom-fit-grid a:hover {
  text-decoration: underline;
}

.custom-pillar-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--cu-line);
}

.custom-pillar-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  gap: 16px;
  align-items: start;
  padding: 22px 4px;
  border-bottom: 1px solid var(--cu-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.custom-pillar-row:hover {
  background: rgba(31, 107, 42, 0.04);
  padding-left: 10px;
}

.custom-pillar-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cu-accent);
  padding-top: 4px;
}

.custom-pillar-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cu-ink);
  margin-bottom: 6px;
}

.custom-pillar-text {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cu-muted);
  max-width: 46rem;
}

.custom-pillar-go {
  font-size: 1.25rem;
  color: var(--cu-accent);
  padding-top: 2px;
  transition: transform 0.15s ease;
}

.custom-pillar-row:hover .custom-pillar-go {
  transform: translateX(4px);
}

.custom-band {
  background: var(--cu-surface);
  border-top: 1px solid var(--cu-line);
  border-bottom: 1px solid var(--cu-line);
}

.custom-split-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.custom-split-3 h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.custom-split-3 p {
  margin: 0;
  color: var(--cu-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.custom-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--cu-line);
}

.custom-reasons li,
.custom-reason {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--cu-line);
  animation: custom-reason-in 0.65s ease backwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

.custom-reason-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  line-height: 0;
  animation: custom-ico-float 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.35s);
}

.custom-reason-ico svg {
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(31, 107, 42, 0.18);
}

.custom-reasons .custom-reason-num {
  border-radius: 12px;
  background: #1f6b2a;
  color: #c8f542;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(31, 107, 42, 0.18);
}

.custom-reason div,
.custom-reason > span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.custom-reasons strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cu-ink);
}

.custom-reasons span {
  color: var(--cu-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

@keyframes custom-reason-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes custom-ico-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.custom-actions-foot {
  margin-top: 28px;
}

.custom-actions-foot .custom-btn-ghost {
  color: var(--cu-ink);
  border-color: var(--cu-line);
  background: var(--cu-surface);
}

.custom-actions-foot .custom-btn-ghost:hover {
  border-color: rgba(31, 107, 42, 0.35);
  color: var(--cu-accent);
}

.custom-actions-foot .custom-btn-primary {
  background: var(--cu-ink);
  color: #fff;
}

.custom-actions-foot .custom-btn-primary:hover {
  background: var(--cu-accent);
  color: #fff;
}

.custom-faq {
  border-top: 1px solid var(--cu-line);
}

.custom-faq details {
  border-bottom: 1px solid var(--cu-line);
  padding: 0;
}

.custom-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 650;
  font-size: 1rem;
  position: relative;
  color: var(--cu-ink);
}

.custom-faq summary::-webkit-details-marker {
  display: none;
}

.custom-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--cu-accent);
  font-weight: 500;
}

.custom-faq details[open] summary::after {
  content: "–";
}

.custom-faq p {
  margin: 0 0 16px;
  max-width: 44rem;
  color: var(--cu-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.custom-pillar-hero {
  padding: clamp(36px, 5vw, 56px) 0 8px;
}

.custom-pillar-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16em;
}

.custom-pillar-lead {
  margin: 0 0 16px;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cu-muted);
}

.custom-eyebrow.is-light {
  color: var(--cu-accent);
}

.custom-trust-line.is-light {
  color: var(--cu-accent);
}

/* Pillar subpages */
body.custom-page.custom-pillar .custom-page-root,
.custom-pillar-page {
  padding-top: 8px;
}

.custom-pillar-page .page-hero {
  padding: 36px 0 8px;
}

.custom-pillar-page .custom-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--cu-accent);
}

.custom-pillar-page .custom-trust li {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.custom-pillar-page .custom-trust li + li::before {
  content: "·";
  margin-right: 14px;
  color: var(--cu-line);
}

.custom-bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-bullet-grid li {
  padding: 14px 0 14px 18px;
  border-left: 2px solid var(--cu-accent-2);
  font-size: 0.98rem;
  line-height: 1.45;
  background: transparent;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.custom-bullet-grid li::before {
  display: none;
}

.custom-pillar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-pillar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--cu-line);
  background: var(--cu-surface);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  color: var(--cu-ink);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.custom-pillar-nav a:hover {
  background: #eef6d8;
  border-color: rgba(31, 107, 42, 0.25);
  color: var(--cu-accent);
}

@media (max-width: 960px) {
  .custom-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .custom-hero h1,
  .custom-lead,
  .custom-trust-line {
    margin-left: auto;
    margin-right: auto;
  }

  .custom-actions {
    justify-content: center;
  }

  .custom-device {
    justify-self: center;
    width: min(100%, 250px);
  }

  .custom-split-3,
  .custom-bullet-grid {
    grid-template-columns: 1fr;
  }

  .custom-reasons li,
  .custom-reason {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .custom-pillar-row {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .custom-fit-grid {
    grid-template-columns: 1fr;
  }

  .custom-intro-split {
    grid-template-columns: 1fr;
  }

  .custom-trust-panel {
    max-width: 320px;
  }

  .custom-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .custom-hero-copy {
    padding-right: 64px;
    text-align: left;
  }

  .custom-hero h1,
  .custom-lead,
  .custom-trust-line {
    margin-left: 0;
    margin-right: 0;
  }

  .custom-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-btn,
  .custom-pillar-row,
  .custom-pillar-go,
  .custom-reason,
  .custom-reason-ico {
    transition: none;
    animation: none;
  }
}
