/* Apollo Automations — site.css
   One design system for every page. Dark, restrained, high-craft.
   The palette is derived from the logo: its stroke green (#00e05c core,
   #04ab4a glow) on near-black. Motion rules: transform and opacity ONLY —
   every scroll-linked effect in motion.js honors this, and everything
   degrades to a calm static page under prefers-reduced-motion. */

/* ---------- tokens ---------- */
:root {
  --bg: #050807;
  --bg-elev: #0a0f0c;
  --surface: #0d1310;
  --surface-2: #101713;
  --line: #17211b;
  --line-2: #22301f;
  --ink: #eef4f0;
  --body: #a8b3ac;
  --dim: #66736c;
  --green: #00e05c;
  --green-bright: #5cff9d;
  --green-dim: #04ab4a;
  --green-ghost: rgba(0, 224, 92, .07);
  --green-glow: rgba(0, 224, 92, .16);
  --font-display: 'Space Grotesk', 'Avenir Next', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wide: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(0, 224, 92, .25); color: var(--ink); }

h1, h2, h3, .display { font-family: var(--font-display); color: var(--ink); letter-spacing: -.02em; }

/* film grain — a static tiled SVG turbulence, cheap to composite */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wide); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); opacity: .7; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  padding: 13px 26px; border-radius: 10px; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-solid { background: var(--green); color: #04150b; box-shadow: 0 0 0 0 rgba(0, 224, 92, 0); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 32px -6px var(--green-glow), 0 0 0 1px rgba(0, 224, 92, .4); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .01); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(0, 224, 92, .45); color: var(--green-bright); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .arr { transition: transform .45s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5, 8, 7, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { font-size: 14px; color: var(--body); transition: color .25s; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 130; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s; top: 16px;
}
.nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 120; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(4, 6, 5, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { font-family: var(--font-display); font-size: 28px; color: var(--ink); padding: 10px; opacity: 0; transform: translateY(18px); transition: transform .6s var(--ease), opacity .6s var(--ease), color .25s; }
  .nav-open .site-nav a:not(.btn) { opacity: 1; transform: none; }
  .site-nav a:nth-child(1) { transition-delay: .05s; } .site-nav a:nth-child(2) { transition-delay: .1s; }
  .site-nav a:nth-child(3) { transition-delay: .15s; } .site-nav a:nth-child(4) { transition-delay: .2s; }
  .site-nav a:nth-child(5) { transition-delay: .25s; } .site-nav a:nth-child(6) { transition-delay: .3s; }
  .site-nav .btn { margin-top: 18px; opacity: 0; transform: translateY(18px); transition: transform .6s var(--ease) .35s, opacity .6s var(--ease) .35s, box-shadow .45s var(--ease); }
  .nav-open .site-nav .btn { opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  /* .site-header.scrolled sets backdrop-filter, and a filtered ancestor becomes the
     containing block for position:fixed children — which threw the full-screen menu
     into the 68px header box once the page had been scrolled. The menu draws its own
     blur over everything, so the header's is not needed while it is open. */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- reveal engine (motion.js adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-stagger].in > * { opacity: 1; transform: none; }
/* split headlines: motion.js wraps words in .mask > .word */
[data-split] .mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-split] .word { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 55ms); will-change: transform; }
[data-split].in .word { transform: none; }
/* static fallback: everything visible, nothing moves */
html.rm .reveal, html.rm [data-stagger] > *, html.rm [data-split] .word { opacity: 1; transform: none; transition: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(150px, 22vh, 220px) 0 clamp(70px, 10vh, 130px); overflow: clip; }
.hero h1 {
  font-size: clamp(42px, 8.4vw, 92px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  max-width: 12ch;
}
.hero h1 .accent { color: var(--green); }
.hero .lede { max-width: 560px; font-size: clamp(16px, 2vw, 19px); line-height: 1.7; margin-top: 28px; color: var(--body); }
.hero .cta-row { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero .proof { margin-top: 64px; display: flex; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; }
.hero .proof .chip { font-family: var(--font-mono); font-size: 13px; color: var(--dim); display: flex; gap: 10px; align-items: baseline; }
.hero .proof .chip b { font-size: 22px; color: var(--ink); font-weight: 600; }
.hero .proof .chip b .u { color: var(--green); }

/* orbit rings — the logo's ellipse, echoed. Pure transform animation. */
.orbits { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.orbits svg { position: absolute; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--green); opacity: .12; }
.orbit-spin { animation: orbit-spin 60s linear infinite; transform-origin: center; will-change: transform; }
.orbit-spin.rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
html.rm .orbit-spin { animation: none; }
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--green-glow), transparent 65%);
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 12vh, 150px) 0; }
/* anchor targets land below the 68px fixed header, not underneath it */
section[id], div[id], .steps[id] { scroll-margin-top: 90px; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 17px; max-width: 58ch; }
.hr-fade { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* ---------- pain vignettes ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 34px; background: var(--bg-elev);
  position: relative; overflow: hidden;
}
.pain::before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--green-dim), transparent); opacity: .5; }
.pain .when { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pain h3 { font-size: 21px; margin: 14px 0 10px; letter-spacing: -.02em; }
.pain p { font-size: 15px; color: var(--body); }
.pain .cost { margin-top: 18px; font-size: 14px; color: var(--green); font-family: var(--font-mono); }

.stat-band { display: flex; gap: clamp(24px, 6vw, 80px); flex-wrap: wrap; padding: clamp(36px, 6vh, 64px) 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stat b .u { color: var(--green); }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--dim); max-width: 24ch; }

/* ---------- video slots ---------- */
.video-slot {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2); background:
    radial-gradient(120% 130% at 50% 0%, rgba(0, 224, 92, .06), transparent 55%), var(--bg-elev);
}
.video-slot iframe, .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-slot .slot-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.video-slot .play-ring {
  width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(0, 224, 92, .4);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.video-slot .play-ring::before {
  content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(0, 224, 92, .35);
  animation: ring-pulse 3s var(--ease) infinite; will-change: transform, opacity;
}
@keyframes ring-pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
html.rm .video-slot .play-ring::before { animation: none; }
.video-slot .play-ring svg { width: 22px; height: 22px; fill: var(--green); transform: translateX(2px); }
.video-slot .slot-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px 32px; background: var(--bg-elev); position: relative; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--green); }
.step h3 { font-size: 19px; margin: 46px 0 10px; letter-spacing: -.02em; }
.step p { font-size: 14.5px; color: var(--body); }

/* ---------- workflow grid ---------- */
.wf-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1020px) { .wf-grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wf-grid-cards { grid-template-columns: 1fr; } }
.wf-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; background: var(--bg-elev); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s; will-change: transform;
}
.wf-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.wf-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(90% 60% at 50% 0%, var(--green-ghost), transparent 70%);
}
.wf-card:hover::after { opacity: 1; }
.wf-card .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--dim); white-space: nowrap;
}
.tag-green { color: var(--green); border-color: rgba(0, 224, 92, .3); background: var(--green-ghost); }
.wf-card h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.wf-card p { font-size: 14px; color: var(--body); flex: 1; }
.wf-card .more { margin-top: 18px; font-size: 14px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.wf-card .more .arr { transition: transform .4s var(--ease); }
.wf-card:hover .more .arr { transform: translateX(4px); }

/* ---------- receptionist feature ---------- */
.recep { position: relative; overflow: clip; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #060c08 50%, var(--bg)); }
.recep-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 940px) { .recep-grid { grid-template-columns: 1fr; } }
.recep .promise {
  margin-top: 30px; border-left: 2px solid var(--green); padding: 6px 0 6px 22px;
  font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); color: var(--ink); letter-spacing: -.015em; line-height: 1.35;
}
.recep .promise b { color: var(--green); font-weight: 600; }
.recep ul.feats { margin-top: 28px; list-style: none; display: grid; gap: 14px; }
.recep ul.feats li { display: flex; gap: 14px; font-size: 15px; }
.recep ul.feats .tick { color: var(--green); font-family: var(--font-mono); flex: none; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--line-2); border-radius: 20px; padding: 38px 34px; background: var(--bg-elev); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.price-card.feature { border-color: rgba(0, 224, 92, .35); background: linear-gradient(180deg, rgba(0, 224, 92, .05), transparent 40%), var(--bg-elev); }
.price-card .plan { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.price-card.feature .plan { color: var(--green); }
.price-card .amount { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.price-card .amount b { font-family: var(--font-display); font-size: 52px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.price-card .amount span { color: var(--dim); font-size: 15px; }
.price-card .setup-line { margin-top: 8px; font-size: 14px; color: var(--dim); }
.price-card ul { list-style: none; margin: 28px 0 34px; display: grid; gap: 12px; flex: 1; }
.price-card ul li { display: flex; gap: 12px; font-size: 14.5px; color: var(--body); }
.price-card ul .tick { color: var(--green); font-family: var(--font-mono); flex: none; }

/* ---------- faq ---------- */
.faq { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button.q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  padding: 24px 0; font-family: var(--font-display); font-size: 17px; color: var(--ink); letter-spacing: -.01em;
}
.faq-item .q .plus { font-family: var(--font-mono); color: var(--green); font-size: 18px; transition: transform .5s var(--ease); flex: none; }
.faq-item.open .q .plus { transform: rotate(45deg); }
.faq-item .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-item.open .a { grid-template-rows: 1fr; }
.faq-item .a > div { overflow: hidden; }
.faq-item .a p { padding: 0 40px 24px 0; font-size: 15px; color: var(--body); opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; }
.faq-item.open .a p { opacity: 1; transform: none; }

/* ---------- final cta ---------- */
.final-cta { text-align: center; position: relative; overflow: clip; }
.final-cta h2 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; margin: 18px auto 0; }
.final-cta .lede { max-width: 52ch; margin: 22px auto 0; }
.final-cta .cta-row { justify-content: center; display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 48px; background: var(--bg-elev); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { width: 40px; height: 40px; }
.site-footer .tagline { margin-top: 16px; font-size: 14px; color: var(--dim); max-width: 34ch; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer ul a { font-size: 14px; color: var(--body); transition: color .25s; }
.site-footer ul a:hover { color: var(--green-bright); }
.site-footer .small { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ================= learn-more page ================= */
.page-hero { padding: clamp(140px, 20vh, 200px) 0 clamp(40px, 6vh, 80px); position: relative; overflow: clip; }
.page-hero h1 { font-size: clamp(36px, 6.5vw, 72px); letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.page-hero .lede { max-width: 60ch; margin-top: 24px; font-size: 17px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.toc a {
  font-family: var(--font-mono); font-size: 12.5px; padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--line-2); color: var(--body); transition: color .25s, border-color .25s, transform .4s var(--ease);
}
.toc a:hover { color: var(--green-bright); border-color: rgba(0, 224, 92, .4); transform: translateY(-1px); }

.wf { padding: clamp(60px, 9vh, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.wf:first-of-type { border-top: 0; }
.wf-head .wf-num { color: var(--dim); }
.wf-title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin-top: 16px; line-height: 1.1; }
.wf-lede { margin-top: 16px; font-size: 17px; max-width: 62ch; color: var(--body); }
.wf-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 72px); margin-top: 44px; align-items: start; }
@media (max-width: 900px) { .wf-grid { grid-template-columns: 1fr; } }
.wf-prose h3 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 34px 0 12px; }
.wf-prose h3:first-child { margin-top: 0; }
.wf-prose p { margin-bottom: 14px; font-size: 15.5px; color: var(--body); max-width: 65ch; }
.wf-prose strong { color: var(--ink); font-weight: 600; }
.wf-facts { position: sticky; top: 100px; border: 1px solid var(--line-2); border-radius: 16px; padding: 26px 24px; background: var(--bg-elev); }
.wf-facts dl { display: grid; gap: 18px; margin-bottom: 26px; }
.wf-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.wf-facts dd { font-size: 14px; color: var(--ink); }
.wf-facts .btn { width: 100%; }

/* ================= legal pages ================= */
.legal { padding-bottom: clamp(80px, 12vh, 140px); }
.legal h1 { font-size: clamp(34px, 5.5vw, 56px); letter-spacing: -.03em; }
.legal .legal-date { font-family: var(--font-mono); font-size: 13px; color: var(--dim); margin: 16px 0 46px; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 15.5px; color: var(--body); margin-bottom: 12px; max-width: 70ch; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); }

/* ================= signup wizard ================= */
.signup-main { min-height: 100vh; padding: 120px 0 100px; position: relative; overflow: clip; }
.signup-shell { max-width: 760px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.progress { display: flex; align-items: center; gap: 0; margin-bottom: clamp(36px, 6vh, 60px); }
.progress .p-step { display: flex; align-items: center; gap: 10px; flex: none; }
.progress .p-dot {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--dim);
  transition: border-color .4s, color .4s, background .4s;
}
.progress .p-label { font-size: 13px; color: var(--dim); transition: color .4s; }
.progress .p-line { flex: 1; height: 1px; background: var(--line); margin: 0 12px; min-width: 12px; position: relative; overflow: hidden; }
.progress .p-line::after { content: ''; position: absolute; inset: 0; background: var(--green-dim); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.progress .p-step.done + .p-line::after { transform: scaleX(1); }
.progress .p-step.now .p-dot { border-color: var(--green); color: var(--green); background: var(--green-ghost); }
.progress .p-step.now .p-label { color: var(--ink); }
.progress .p-step.done .p-dot { border-color: var(--green-dim); color: #04150b; background: var(--green); }
@media (max-width: 700px) { .progress .p-label { display: none; } }

.s-step { display: none; }
.s-step.active { display: block; animation: step-in .65s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
html.rm .s-step.active { animation: none; }
.s-step h1 { font-size: clamp(28px, 4.6vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.s-step .sub { margin: 14px 0 34px; font-size: 15.5px; color: var(--body); max-width: 58ch; }

.fld { margin-bottom: 22px; }
.fld label { display: block; font-size: 14px; font-weight: 550; color: var(--ink); margin-bottom: 8px; }
.fld label .req { color: var(--green); }
.fld .help { font-size: 13px; color: var(--dim); margin-top: 7px; line-height: 1.55; }
.fld input[type="text"], .fld input[type="email"], .fld input[type="url"], .fld input[type="number"], .fld input[type="tel"], .fld textarea, .fld select {
  width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--ink); font: inherit; font-size: 15px; padding: 13px 15px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.fld textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.fld :is(input, textarea, select):focus { border-color: rgba(0, 224, 92, .55); box-shadow: 0 0 0 3px rgba(0, 224, 92, .12); }
.fld :is(input, textarea, select)::placeholder { color: #4a544e; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2366736c' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fld.err :is(input, textarea, select) { border-color: #e05c5c; }
.fld .fld-err { color: #ff8f8f; font-size: 13px; margin-top: 7px; display: none; }
.fld.err .fld-err { display: block; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .opt-grid { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; cursor: pointer; font-size: 14.5px; color: var(--body);
  transition: border-color .3s, background .3s, color .3s;
}
.opt:hover { border-color: rgba(0, 224, 92, .35); }
.opt input { accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.opt.on { border-color: rgba(0, 224, 92, .5); background: var(--green-ghost); color: var(--ink); }

.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .pick-grid { grid-template-columns: 1fr; } }
.pick {
  border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; cursor: pointer; position: relative;
  background: var(--bg-elev); transition: border-color .3s, background .3s, transform .45s var(--ease);
}
.pick:hover { transform: translateY(-2px); }
.pick.on { border-color: rgba(0, 224, 92, .55); background: linear-gradient(180deg, rgba(0, 224, 92, .06), transparent 60%), var(--bg-elev); }
.pick.locked { cursor: default; border-style: dashed; }
.pick .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pick h3 { font-size: 16px; letter-spacing: -.01em; }
.pick .box {
  width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); flex: none; position: relative;
  transition: background .3s, border-color .3s;
}
.pick.on .box { background: var(--green); border-color: var(--green); }
.pick .box::after {
  content: ''; position: absolute; inset: 0; background: center / 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%2304150b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.pick.on .box::after { opacity: 1; transform: none; }
.pick p { font-size: 13.5px; color: var(--body); margin-top: 10px; }
.pick .meta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.pick .see-demo { font-size: 13px; color: var(--green); margin-left: auto; }
.pick .see-demo:hover { color: var(--green-bright); }

.q-pack-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 34px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.q-pack-note:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.order { border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; background: var(--bg-elev); margin-bottom: 26px; }
.order .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.order .row:last-of-type { border-bottom: 0; }
.order .row .l { color: var(--body); }
.order .row .l small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.order .row .r { color: var(--ink); font-family: var(--font-mono); font-size: 14.5px; white-space: nowrap; }
.order .row.total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 16px; }
.order .row.total .l, .order .row.total .r { color: var(--ink); font-weight: 600; }
.order .row.total .r { color: var(--green); }

.s-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 38px; }
.s-back { color: var(--dim); font-size: 14px; transition: color .25s; }
.s-back:hover { color: var(--ink); }

.done-wrap { text-align: center; padding: 40px 0; }
.done-mark { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(0, 224, 92, .4); background: var(--green-ghost); margin: 0 auto 34px; display: flex; align-items: center; justify-content: center; }
.done-mark svg { width: 34px; height: 34px; stroke: var(--green); stroke-width: 2.4; fill: none; }
.assistant-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.assistant-suggest button { font-family: var(--font-mono); font-size: 13px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--body); transition: color .25s, border-color .25s; }
.assistant-suggest button:hover { color: var(--green-bright); border-color: rgba(0, 224, 92, .4); }

/* modal (receptionist demo on signup) */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal .scrim { position: absolute; inset: 0; background: rgba(3, 5, 4, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal .modal-box { position: relative; width: min(880px, 100%); }
.modal .modal-close { position: absolute; top: -44px; right: 0; color: var(--dim); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; }
.modal .modal-close:hover { color: var(--ink); }

/* parallax layers */
[data-plx] { will-change: transform; }

/* 404 */
.err-wrap { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); }
