/* One night, top to bottom.
   A fixed particle field (experience.js) runs behind the whole page and
   reshapes for each section. Two fonts only: Ranade for every heading and display line, Supreme for everything else; everything
   else stays quiet so the particles and the words carry the page. */

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #050506;
  --surface: rgba(12, 12, 15, .74);
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f3f1ec;
  --muted: rgba(243, 241, 236, .64);
  --faint: rgba(243, 241, 236, .5);
  --light: #f3f1ec;
  --ink: #0b0b0d;
  --orb-blue: #3e7fd8;
  --orb-mint: #86d6c4;
  --orb-gold: #edd685;
  --orb-orange: #e8622a;
  --orb-warm: #f2a77e;
  --accent-text: rgba(255, 255, 255, .7); /* accent words: white at 70% */
  --orb-ring: linear-gradient(170deg, var(--orb-blue), var(--orb-mint) 52%, var(--orb-orange));
  --radius: 22px;
  --serif: "Ranade", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Supreme", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* Type scale (approved Oct 2026). One size per role; tablet <= 1068px and phone <= 734px adjust a few. */
  --h1-size: 72px; --h1-lh: 1.05; --h1-ls: -.012em;   /* hero headline only */
  --h2-size: 29px; --h2-lh: 1.14; --h2-ls: -.01em;    /* section headings, story lines, footer heading */
  --h3-size: 18px; --h3-lh: 1.3;                      /* card titles, FAQ questions, logo */
  --lead-size: 19px; --lead-lh: 1.5;                  /* paragraph under a heading */
  --body-size: 16px; --body-lh: 1.5;                  /* text, buttons, form fields */
  --card-size: 14px;                                  /* body text inside cards */
  --small-size: 13px; --small-lh: 1.5;                /* labels, notes, captions */
  --eyebrow-size: 12px; --kicker-size: 11px; --label-size: 11px;  /* capitals */
  --stat-size: 34px; --stat-lh: 1.1;                  /* prices and ROI numbers */
  --head-gap: 64px;                                   /* section heading block to its content */
}
@media (max-width: 1068px) { :root { --h1-size: 56px; --h1-lh: 1.07; --h1-ls: -.006em; --h2-size: 28px; --head-gap: 48px; } }
@media (max-width: 734px) { :root { --h1-size: 40px; --h1-lh: 1.1; --h1-ls: 0em; --h2-size: 26px; --h2-lh: 1.15; --lead-size: 17px; --stat-size: 30px; --head-gap: 40px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; color-scheme: dark; }
body { margin: 0; font-family: var(--sans); font-size: var(--body-size); background: var(--bg); color: var(--text); line-height: var(--body-lh); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.03em; }
h1, h2 { font-family: var(--serif); }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
h1, h2, h3 { font-family: var(--serif); }
h3 { font-size: var(--h3-size); font-weight: 400; letter-spacing: 0; line-height: var(--h3-lh); }
p { margin: 0 0 1em; }
a { color: inherit; }
.muted { color: var(--muted); }
.tiny { font-size: var(--small-size); line-height: var(--small-lh); }
.eyebrow { font-size: var(--eyebrow-size); line-height: 1.33; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Iconsax Linear icons carry their own 1.5px strokes and follow the text colour */
svg:has(> use) { fill: none; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--light); color: var(--ink); padding: 8px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Buttons: a light pill for the main action, an outline for the rest */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font: 500 var(--body-size) var(--sans); padding: .72em 1.3em; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--light); color: var(--ink); }
.btn-dark:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--light); }
.btn-sm { padding: .5em 1.05em; font-size: var(--small-size); min-height: 38px; }
.btn-lg { padding: .9em 1.55em; font-size: var(--body-size); }
.btn-block { width: 100%; }
.btn-ico { width: 20px; height: 20px; margin: -2px 0; }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* The particle field sits behind everything */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; overflow-x: clip; }
/* Smooth, weighted scrolling (Lenis, loaded by experience.js) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* The wordmark sits in the hero corner and scrolls away with it */
.brand { position: absolute; top: 26px; left: clamp(20px, 4vw, 48px); z-index: 3; margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 400 var(--h3-size)/1 var(--serif); letter-spacing: -.02em; }
a.brand { color: inherit; text-decoration: none; }
/* Industry switcher: a small glass bar of links, opposite the brand */
.industry-nav {
  position: absolute; top: 18px; right: clamp(20px, 4vw, 48px); z-index: 3; display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.industry-nav a { padding: 7px 14px; border-radius: 999px; font-size: var(--small-size); line-height: var(--small-lh); color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s, background-color .25s; }
.industry-nav a:hover { color: var(--text); }
.industry-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.industry-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .1); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 var(--h3-size) var(--serif); text-decoration: none; color: var(--text); }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, var(--bg) 55%, transparent 57%), var(--orb-ring); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { --orb: min(68svh, 84vw); position: relative; isolation: isolate; min-height: max(100svh, 700px); padding: 0; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -10% -25% 0; pointer-events: none; transform: translate3d(0, var(--gy, 0px), 0);
  background: radial-gradient(34% 34% at 50% 36%, rgba(62, 127, 216, .16), transparent 70%), radial-gradient(30% 26% at 50% 60%, rgba(232, 98, 42, .12), transparent 70%); }
.hero-title {
  position: absolute; left: 50%; top: 45%; z-index: 2; transform: translate(-50%, -50%);
  width: calc(var(--orb) * .9); margin: 0; pointer-events: none;
  font-size: min(var(--h1-size), calc(var(--orb) * .118)); line-height: var(--h1-lh); letter-spacing: var(--h1-ls); /* 72px on a 612px orb; smaller orbs, smaller text */ text-align: center; text-wrap: balance; color: #fff;
}
.hero-orb {
  position: absolute; left: 50%; top: 45%; z-index: 1; transform: translate(-50%, -50%);
  width: var(--orb); height: var(--orb); padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--text); cursor: pointer;
}
.hero-orb:focus-visible { outline: 1px dashed rgba(255, 255, 255, .5); outline-offset: 10px; }
.orb-anchor { position: absolute; inset: 0; border-radius: 50%; }
.hero-orb-label {
  position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap;
  font: 500 var(--body-size)/1 var(--sans); padding: .75em 1.35em; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32); background: rgba(5, 5, 6, .45);
  transition: border-color .3s, background-color .3s;
}
.hero-orb:hover .hero-orb-label { border-color: #fff; background: rgba(255, 255, 255, .08); }
[data-state="listening"] .hero-orb-label { border-color: var(--orb-mint); }
[data-state="speaking"] .hero-orb-label { border-color: var(--orb-warm); }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 clamp(20px, 4vw, 48px);
}
.hero-intro { max-width: 390px; }
.hero .lede { margin: 0; font-size: var(--lead-size); line-height: var(--lead-lh); color: var(--muted); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-note { margin: 14px 0 0; font-size: var(--small-size); line-height: var(--small-lh); color: var(--faint); }
.hero-note a { color: var(--text); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font: 500 var(--small-size) var(--sans); letter-spacing: .02em; color: rgba(243, 241, 236, .72); text-decoration: none; transition: color .3s; }
.scroll-cue:hover { color: #fff; }
.scroll-cue span { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Paragraphs light up word by word as they scroll through (split by experience.js) */
.js [data-scrub] .w { color: rgba(243, 241, 236, .2); transition: color .4s var(--ease); }
.js [data-scrub] .w.on { color: rgba(243, 241, 236, .92); }

/* Letters that resolve like a live transcript (split by experience.js) */
.js [data-split] .ch { opacity: 0; }
.js [data-split="in"] .ch { filter: blur(6px); transition: opacity 1s var(--ease), filter 1s var(--ease); transition-delay: calc(.15s + var(--r) * 1.2s); }
.js [data-split="in"].is-in .ch { opacity: 1; filter: none; }

/* ==========================================================================
   Story (pinned; progress drives --bp on each beat)
   ========================================================================== */
.story { position: relative; }
.story-pin { position: relative; }
.beat { position: relative; display: grid; place-items: center; padding: 80px 24px; }
.beat-line { margin: 0; max-width: 28ch; text-align: center; text-wrap: balance; font-size: var(--h2-size); line-height: var(--h2-lh); color: #fff; }
.beat-time, .greetings, .story-count { display: none; }

.js .story { height: 420svh; }
.js .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .beat { position: absolute; inset: 0; place-items: end center; padding: 0 24px 15svh; opacity: var(--vis, 0); }
.js .beat-line { position: relative; z-index: 1; }
.js .beat .ch { opacity: clamp(0, calc((var(--bp, 0) - var(--r)) * 6), 1); }
.js .beat-time {
  display: grid; place-items: center; position: absolute; inset: 0; margin: 0; pointer-events: none;
  font: 400 calc(clamp(10rem, 36vw, 32rem) * var(--fit, 1))/.8 var(--serif); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .15);
  transform: translateY(-12svh) scale(var(--ts, 1.1)); opacity: calc(var(--to, 0) * .8);
}
/* The clock's colon blinks once a second, like a desk clock */
.js .beat-time .tick { animation: tick 2s steps(1, end) infinite; }
@keyframes tick { 50% { opacity: .2; } }
.js .greetings { display: block; position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.js .greetings li { position: absolute; left: 50%; top: 38%; white-space: nowrap; font: 400 var(--h2-size)/1 var(--serif); color: #fff; opacity: 0; will-change: transform, opacity, filter; }
.js .greetings li:nth-child(odd) { color: var(--accent-text); }
.js .story-count {
  display: flex; align-items: center; gap: 12px; position: absolute; left: clamp(20px, 4vw, 48px); bottom: 34px; margin: 0;
  font: 500 var(--kicker-size)/1.33 var(--sans); letter-spacing: .12em; color: rgba(243, 241, 236, .6); font-variant-numeric: tabular-nums;
}
.story-count span { color: #fff; }
.story-count i { position: relative; width: 120px; height: 1px; background: rgba(255, 255, 255, .18); }
.story-count b { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ==========================================================================
   Built for — a slow marquee
   ========================================================================== */
.marquee { position: relative; padding: 36px 0 44px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 5, 6, .55); }
.marquee-label { margin: 0 0 18px; text-align: center; font-size: var(--kicker-size); line-height: 1.33; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 var(--h2-size)/1 var(--serif); letter-spacing: var(--h2-ls); white-space: nowrap; }
.marquee-track i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orb-ring); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.content { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section { padding: 140px 0 24px; }
.content .section { position: relative; isolation: isolate; }
.content .section + .section { margin-top: 96px; }
/* Big soft light in the orb's colours; it drifts a little with the scroll */
.content .section::before, .footer::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 140vw; height: 100%; pointer-events: none;
  transform: translate3d(-50%, var(--gy, 0px), 0); background: var(--glow, none);
}
.footer { --glow: radial-gradient(22% 22% at 50% 40%, rgba(255, 150, 70, .3), transparent 70%), radial-gradient(46% 40% at 50% 46%, rgba(242, 140, 80, .12), transparent 70%); }
.section-head { position: relative; isolation: isolate; display: grid; justify-items: center; text-align: center; gap: calc(var(--lead-size) * 1.2); max-width: 1000px; margin: 0 auto var(--head-gap); padding-top: 56px; }
.section-head > div { display: grid; justify-items: center; }
.section-head h2 { margin: 0; max-width: 980px; }
.section-head > .muted { margin: 0; max-width: 60ch; font-size: var(--lead-size); line-height: var(--lead-lh); }
/* Section 2 only: a blurred warm blob, and in front of it a half globe of
   frosted glass (after mdx.so). The glass diffuses the blob and the particles
   behind it, catches a bright rim along its top and fades out downward.
   The blob lives in a full-width layer clipped to the section, so it never
   lights the band above; experience.js spreads it down the section with the
   scroll (--spread 0 to 1). */
.profile-glow {
  position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 120px, #000 calc(100% - 220px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 120px, #000 calc(100% - 220px), transparent);
}
.profile-glow i {
  position: absolute; left: 50%; top: 150px; width: min(600px, 118vw); height: 440px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 160, 72, .95), rgba(255, 130, 52, .58) 40%, rgba(250, 112, 44, .18) 70%, rgba(250, 112, 44, 0));
  filter: blur(24px); transform: translate(-50%, -50%); will-change: transform, opacity;
}
#profile .section-head::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(1100px, 130vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(62% 40% at 50% 0%, rgba(255, 196, 150, .3), rgba(255, 196, 150, .1) 45%, rgba(255, 196, 150, 0) 75%),
    radial-gradient(90% 55% at 50% 12%, rgba(255, 232, 214, .07), rgba(255, 232, 214, 0) 70%),
    linear-gradient(180deg, rgba(255, 244, 234, .14), rgba(255, 244, 234, .06) 22%, rgba(255, 244, 234, .02) 38%, rgba(255, 244, 234, 0) 50%);
  border: 1px solid rgba(255, 236, 220, .22);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 30px 70px -34px rgba(255, 214, 180, .5);
  -webkit-backdrop-filter: blur(26px) saturate(1.35); backdrop-filter: blur(26px) saturate(1.35);
  -webkit-mask-image: linear-gradient(180deg, #000, #000 16%, transparent 44%); mask-image: linear-gradient(180deg, #000, #000 16%, transparent 44%);
}
#profile .section-head .eyebrow { color: rgba(255, 238, 224, .82); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
/* A soft light that follows the cursor (experience.js sets --mx/--my) */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 45%); transition: opacity .4s; }
.card:hover::after { opacity: 1; }

/* Profile + ROI */
.profile-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
label { display: grid; gap: 7px; font-size: var(--small-size); line-height: var(--small-lh); color: var(--muted); font-weight: 500; margin-bottom: 16px; }
input, select, textarea {
  font: var(--body-size) var(--sans); color: var(--text); min-height: 44px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: .75em .9em;
  transition: border-color .25s, box-shadow .25s, background-color .6s;
}
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--light); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
select option { background: #111114; color: var(--text); }
textarea { resize: vertical; }
::placeholder { color: rgba(243, 241, 236, .35); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flash { border-color: var(--orb-warm) !important; background: rgba(242, 167, 126, .1) !important; }
.filling { border-color: var(--orb-warm) !important; box-shadow: 0 0 0 4px rgba(242, 167, 126, .14) !important; }
.roi-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; background: linear-gradient(#0b0b0e, #0b0b0e) padding-box, linear-gradient(170deg, rgba(62, 127, 216, .7), rgba(134, 214, 196, .3) 50%, rgba(232, 98, 42, .7)) border-box; }
.roi-card > * { position: relative; }
.roi-card > .roi-orb { position: absolute; right: -46px; top: -46px; width: 200px; height: 200px; opacity: .9; }
.roi-card h3 { font: 400 var(--h3-size)/var(--h3-lh) var(--serif); letter-spacing: 0; max-width: 16ch; }
.roi-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin: 18px 0 22px; }
.roi-stats b { display: block; font: 400 var(--stat-size)/var(--stat-lh) var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.roi-stats span { color: var(--muted); font-size: var(--small-size); line-height: var(--small-lh); }
.roi-hero { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.roi-hero b { font-size: var(--stat-size); }
.roi-card .tiny { color: var(--faint); margin-top: auto; }
.roi-card.flash { background: linear-gradient(#0b0b0e, #0b0b0e) padding-box, var(--orb-ring) border-box !important; box-shadow: 0 0 60px rgba(242, 167, 126, .18); }

/* ==========================================================================
   Section 3 — the sphere with feature pills. Without motion (phones, reduced
   motion, no JS) the pills are a simple grid of small cards; experience.js adds
   .orbit-live to pin the stage and move the pills from wide (A) to close (B).
   ========================================================================== */
.feature-stage { position: relative; }
.feature-pin { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; padding-top: 40px; }
.fh-a { display: grid; justify-items: center; }
.fh-a h2 { margin: 0; max-width: 980px; }
.fh-b { display: none; }
.fh-b-title { margin: 0; max-width: 16ch; font: 400 var(--h2-size)/var(--h2-lh) var(--serif); letter-spacing: var(--h2-ls); color: var(--text); }
.fh-b-title em { font-style: normal; color: var(--accent-text); }
.feature-lede { margin: 0; max-width: 60ch; font-size: var(--lead-size); line-height: var(--lead-lh); }
.orbit { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; width: 100%; max-width: 1000px; margin: 30px auto 0; text-align: left; }
.feature.pill {
  --lx: 50%; --ly: 120%; --tint: 255 255 255; --ta: 0;
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 16px 18px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .05);
  /* Frosted glass: a light sheen across the top, the orb's colour on the side
     facing it (set by experience.js), over a thin dark tint */
  background:
    radial-gradient(90% 150% at var(--lx) var(--ly), rgb(var(--tint) / var(--ta)), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 42%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .07)),
    rgba(18, 18, 24, .3);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 14px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .35);
  transition: border-radius .5s var(--ease), border-color .3s, box-shadow .3s, background-color .3s;
}
/* The glass rim: bright where the light catches the top edge, faint down the sides */
.feature.pill::after {
  inset: -1px; padding: 1px; opacity: 1;
  background: linear-gradient(170deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, .03) 62%, rgba(255, 255, 255, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pill-ico { display: grid; place-items: center; color: rgba(255, 255, 255, .55); transition: color .3s; }
.pill-ico svg { width: 18px; height: 18px; }
.feature.pill h3 { margin: 0; font-size: var(--body-size); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; white-space: nowrap; color: rgba(255, 255, 255, .92); }
.feature.pill p { grid-column: 1 / -1; margin: 10px 0 0; max-width: 300px; font-size: var(--card-size); line-height: var(--body-lh); color: var(--muted); }
.pill.spotlight .pill-ico, .pill:hover .pill-ico { color: var(--orb-warm); }

.features.orbit-live { padding-top: 0; } /* the pinned screen is its own spacing, and the guide's jump lands on it */
.orbit-live .feature-stage { height: 260vh; height: 260svh; }
.orbit-live .feature-pin { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; padding: 0; }
.orbit-live .fh-a { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(1000px, 92%); transform: translate(-50%, -50%); pointer-events: none; will-change: transform, opacity, filter; }
.orbit-live .fh-b { display: block; position: absolute; left: 0; top: 11%; text-align: left; opacity: 0; }
.orbit-live .fh-b .eyebrow { margin-bottom: .9em; }
.orbit-live .feature-lede { position: absolute; right: 0; top: 12%; max-width: 380px; text-align: left; opacity: 0; }
.orbit-live .orbit { position: absolute; inset: 0; display: block; max-width: none; margin: 0; pointer-events: none; }
.orbit-live .orbit-slot { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; }
/* In orbit the features are slim tags; hover, focus or the guide's spotlight opens one */
.orbit-live .feature.pill { column-gap: 9px; padding: 9px 16px 9px 13px; border-radius: 20px; }
.orbit-live .feature.pill h3 { font-size: var(--body-size); }
.orbit-live .pill-ico svg { width: 16px; height: 16px; }
.orbit-live .feature.pill p { max-width: 0; max-height: 0; opacity: 0; margin: 0; overflow: hidden; transition: max-width .5s var(--ease), max-height .5s var(--ease), opacity .3s, margin .4s; }
.orbit-live .pill:is(:hover, :focus, .spotlight) { border-radius: 16px; background-color: rgba(16, 16, 22, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 14px rgba(255, 255, 255, .03), 0 18px 44px rgba(0, 0, 0, .5); }
.orbit-live .feature.pill:is(:hover, :focus, .spotlight) p { width: 240px; max-width: 240px; max-height: 8em; opacity: 1; margin-top: 8px; transition: max-width .5s var(--ease), max-height .5s var(--ease), opacity .4s .15s, margin .4s; }
.orbit-live .pill:hover, .orbit-live .pill.spotlight { transform: none; }

/* The live call card: wide, with the call beside its description */
.bento { display: block; margin-top: 72px; }
.feature-lg { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 0; overflow: hidden; }
.feature-lg .call-demo { border-bottom: 0; border-right: 1px solid var(--line); }
.feature-lg .feature-copy { align-self: center; padding: 40px; }
.feature-lg .feature-copy h3 { font-size: var(--h3-size); }
.feature { display: flex; flex-direction: column; }
.feature p { color: var(--muted); margin: 0; font-size: var(--card-size); line-height: var(--body-lh); }
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.feature-copy { padding: 26px 28px 28px; }
.feature-visual { flex: 1; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px; }
.mini-bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: var(--card-size); line-height: var(--body-lh); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mini-bubble.g { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-bottom-left-radius: 5px; }
.mini-bubble.a { align-self: flex-end; background: var(--light); color: var(--ink); border-bottom-right-radius: 5px; }
/* The large card is a live call: bubbles and the dot field are driven by experience.js */
.call-demo { position: relative; isolation: isolate; overflow: hidden; justify-content: flex-start; gap: 18px; background: #08080a; border-bottom: 1px solid var(--line); }
.call-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.call-head { display: flex; align-items: center; gap: 12px; font-size: var(--label-size); line-height: 1.33; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.call-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(134, 214, 196, .35); background: rgba(5, 5, 6, .7); color: var(--orb-mint); font-weight: 500; }
.call-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.call-meta { transition: opacity .4s; }
.call-timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.call-thread { display: flex; flex-direction: column; gap: 10px; height: 262px; overflow: hidden; }
.call-thread.out > * { opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.call-thread .enter { animation: bubbleIn .55s var(--ease) both; }
.mini-bubble.g { transform-origin: bottom left; }
.mini-bubble.a { transform-origin: bottom right; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.mini-bubble.typing { display: inline-flex; gap: 4px; padding: 14px 15px; }
.mini-bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; animation: bounce 1.2s infinite; }
.mini-bubble.typing i:nth-child(2) { animation-delay: .15s; } .mini-bubble.typing i:nth-child(3) { animation-delay: .3s; }
.mini-bubble .w { opacity: 0; transition: opacity .25s; }
.mini-bubble .w.on { opacity: 1; }
.call-done { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 14px; border-radius: 999px; font-size: var(--small-size); color: var(--orb-mint); background: rgba(134, 214, 196, .08); border: 1px solid rgba(134, 214, 196, .3); }
.call-done svg { width: 16px; height: 16px; }
.f-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); margin-bottom: auto; transition: transform .4s var(--ease), border-color .4s, color .4s; }
.f-ico svg { width: 22px; height: 22px; }
.feature-copy .f-ico { float: right; margin: 0 0 12px 16px; }
.feature:hover .f-ico { transform: rotate(-6deg) scale(1.06); border-color: var(--line-strong); }
.feature h3 { margin-bottom: .35em; }
.card.spotlight .f-ico { color: var(--orb-warm); border-color: rgba(242, 167, 126, .45); }
/* When the guide points at a feature or plan: a slow ring in the orb's colours */
.card.spotlight, .card.spotlight.reveal.in { transform: translateY(-4px); border-color: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.card.spotlight::before, .plan.recommended::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), var(--orb-blue), var(--orb-mint), var(--orb-gold), var(--orb-orange), var(--orb-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
/* The large feature card clips its overflow, so its ring sits just inside */
.feature-lg.spotlight::before { inset: 0; }

/* Pricing — the plans sit above a planet's horizon; the recommended plan turns to light */
.plan-stage { position: relative; isolation: isolate; }
.eclipse { position: absolute; z-index: -1; left: 50%; top: calc(34% - 150px); bottom: -240px; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.planet {
  --rise: 0px; --glow: 1; --hl: 0; --hx: 50%;
  position: absolute; left: 50%; top: 150px; width: max(2400px, 210vw); aspect-ratio: 1; border-radius: 50%;
  transform: translate3d(-50%, var(--rise), 0);
  background: radial-gradient(closest-side, #050506 96.8%, #0c0c11 99.3%, #16161d 100%);
}
/* The thin rim of light along the horizon, blue through mint and gold to orange */
.planet::before, .planet::after {
  content: ""; position: absolute; border-radius: 50%;
  background: linear-gradient(90deg, transparent 29%, var(--orb-blue) 39%, var(--orb-mint) 46%, var(--orb-gold) 53%, var(--orb-orange) 61%, transparent 71%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.planet::before { inset: 0; padding: 1.5px; opacity: calc(.55 + .45 * var(--glow)); }
/* Its atmosphere: the same colours, blurred into a soft halo */
.planet::after { inset: -46px; padding: 46px; filter: blur(30px); opacity: calc(.55 * var(--glow)); }
/* A warm light on the rim that slides behind the plan the guide recommends */
.rim-light { position: absolute; top: -110px; left: var(--hx); width: 560px; height: 240px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 176, 104, .55), rgba(255, 140, 70, .18) 55%, transparent); filter: blur(18px); opacity: var(--hl); transition: left .9s var(--ease), opacity .6s var(--ease); }
.plan { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
/* Badges sit in a strip above the plan name, so they never overlap it */
.plan { position: relative; padding-top: 62px; }
.plan h3 { font: 400 var(--h3-size)/var(--h3-lh) var(--serif); letter-spacing: 0; margin-bottom: .1em; }
.pop { position: absolute; top: 18px; right: 18px; font: 500 var(--label-size)/1.33 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.plan-for { color: var(--muted); font-size: var(--small-size); line-height: var(--small-lh); margin-bottom: 22px; }
.price { font: 400 var(--stat-size)/var(--stat-lh) var(--serif); margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.price small { font: 400 var(--small-size) var(--sans); color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); font-size: var(--card-size); line-height: var(--body-lh); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z' stroke='%23f3f1ec' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='m7.75 12 2.83 2.83 5.67-5.66' stroke='%23f3f1ec' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E") center / 100% no-repeat; }
.plan-badge { position: absolute; top: 18px; right: 18px; font-size: var(--label-size); line-height: 1.33; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--light); opacity: 0; transform: translateY(-4px); transition: all .35s var(--ease); }
.card.plan.recommended, .card.plan.recommended.reveal.in { background: var(--light); color: var(--ink); border-color: transparent; transform: translateY(-8px); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.plan.recommended::before { inset: -6px; border-radius: calc(var(--radius) + 6px); }
.plan.recommended .plan-for, .plan.recommended .price small { color: rgba(11, 11, 13, .6); }
.plan.recommended ul { border-color: rgba(11, 11, 13, .15); }
.plan.recommended li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z' stroke='%230b0b0d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='m7.75 12 2.83 2.83 5.67-5.66' stroke='%230b0b0d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E"); }
.plan.recommended .plan-badge { opacity: 1; transform: none; }
.plan.recommended .pop { display: none; }
.plan-reason { margin: 26px auto 0; max-width: 760px; text-align: center; padding: 14px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--body-size); animation: pop .5s var(--ease); }

/* Demo */
/* Section 5 — centred, inside a large glass globe with two soft lights (after mdx.so) */
.demo { position: relative; isolation: isolate; padding-bottom: 120px; }
.demo-backdrop { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.demo-globe {
  position: absolute; left: 50%; top: 50%; width: min(1680px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012) 58%, rgba(255, 255, 255, .03) 69%, transparent 71%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .16), inset 0 0 160px rgba(143, 180, 255, .07);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.blob-blue { left: 5%; top: 22%; width: 34%; height: 46%; background: radial-gradient(closest-side, rgba(62, 127, 216, .95), rgba(62, 127, 216, .35) 60%, transparent); animation: drift-a 22s ease-in-out infinite alternate; }
.blob-mint { right: 7%; bottom: 20%; width: 30%; height: 40%; background: radial-gradient(closest-side, rgba(134, 214, 196, .78), rgba(134, 214, 196, .28) 60%, transparent); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: rotate(-24deg) scale(1); } to { transform: rotate(-4deg) scale(1.12) translate(40px, 30px); } }
@keyframes drift-b { from { transform: rotate(18deg) scale(1.05); } to { transform: rotate(-6deg) scale(.95) translate(-50px, -30px); } }
.demo-head { margin-bottom: 48px; }
.demo-head .checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 4px 0 0; }
.demo-main { max-width: 780px; margin: 0 auto; }
.demo-form, .demo-success { background: rgba(12, 12, 16, .55); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: var(--body-size); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z' stroke='%23f3f1ec' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='m7.75 12 2.83 2.83 5.67-5.66' stroke='%23f3f1ec' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E") center / 100% no-repeat; }
.demo-form { padding: 30px; }
.demo-success { text-align: center; padding: 48px 28px; animation: pop .5s var(--ease); }
.success-mark { display: inline-grid; place-items: center; color: var(--orb-mint); margin-bottom: 14px; }
.success-mark svg { width: 64px; height: 64px; }
.demo-success h3 { font: 400 var(--h3-size)/var(--h3-lh) var(--serif); }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(8px); } }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq-list details { padding: 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 24px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; font-size: var(--h3-size); }
.faq-ico { flex: none; width: 22px; height: 22px; color: var(--text); transition: transform .45s var(--ease); }
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list details[open] .faq-ico { transform: rotate(135deg); }
.faq-list details p { margin: 0; padding: 0 24px 22px; max-width: 70ch; font-size: var(--card-size); line-height: var(--body-lh); color: var(--muted); animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* Footer: the orb returns above a closing line and the wordmark */
.footer { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(16px, 4vw, 48px) 120px; margin-top: 140px; overflow: hidden; }
.footer-cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.footer-cta h2 { margin: 0; max-width: 15ch; }
/* Decorative: clicks pass straight through to the button above it */
/* Sized from the screen width so the whole name always fits; --wordmark-em is the name's width in em
   ("Amariya" in Ranade is about 3.9em; change it if the brand name changes) */
.wordmark { --wordmark-em: 4.05; pointer-events: none; margin: 56px 0 .2em; /* room for the "y" descender */ text-align: center; font: 400 min(30rem, calc((100vw - 2 * clamp(16px, 4vw, 48px)) / var(--wordmark-em)))/.78 var(--serif); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); transform: translate3d(0, var(--py, 0px), 0); }
.footer-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: var(--small-size); max-width: 1240px; width: 100%; margin-inline: auto; }
.footer-meta p { margin: 0; }
.footer-meta .logo { font-size: var(--h3-size); color: var(--muted); }

/* ==========================================================================
   Orbs in the ROI card, dock and start sheet (particles drawn by experience.js)
   ========================================================================== */
.orb { --level: 0; position: relative; display: block; border-radius: 50%; overflow: hidden; background: var(--bg); transition: transform .08s linear, filter .8s ease; }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.roi-card > .orb.roi-orb { background: transparent; }
.orb-sm { width: 44px; height: 44px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transform: scale(calc(1 + var(--level) * .08)); }
.orb-xs { width: 64px; height: 64px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
[data-tone="bright"][data-state="speaking"] .orb { filter: saturate(1.3) brightness(1.1); }
[data-tone="soft"][data-state="speaking"] .orb { filter: saturate(.75) brightness(.92); }
[data-tone="calm"][data-state="speaking"] .orb { filter: hue-rotate(-14deg) saturate(.9); }
/* Without WebGL: a quiet ring in the orb's colours instead of particles */
.no-webgl .orb-anchor, .no-webgl .orb { background: radial-gradient(circle, var(--bg) 60%, transparent 62%), var(--orb-ring); opacity: .9; }
.no-webgl .fx { display: none; }

/* Dock */
.dock {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  width: min(540px, calc(100% - 32px));
  background: rgba(14, 14, 17, .74); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transition: width .45s var(--ease), border-color .4s;
}
.dock[data-state="speaking"] { border-color: rgba(242, 167, 126, .5); }
.dock[data-state="listening"] { border-color: rgba(134, 214, 196, .5); }
.dock-bar { display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 11px; }
.dock-orb { background: none; border: 0; padding: 0; cursor: pointer; flex: none; border-radius: 50%; }
.dock-body { flex: 1; min-width: 0; }
.dock-status { margin: 0; display: flex; align-items: center; gap: 10px; font-size: var(--kicker-size); line-height: 1.33; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 241, 236, .6); font-weight: 600; }
[data-state="listening"] .dock-status { color: var(--orb-mint); }
[data-state="speaking"] .dock-status { color: var(--accent-text); }
.dock-caption { margin: 1px 0 0; font-size: var(--small-size); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); transition: opacity .25s; }
.dock-caption.user { color: var(--orb-mint); }
.dock-caption.swap { opacity: 0; }
.dock-actions { display: flex; gap: 6px; }
.wave { display: none; align-items: center; gap: 3px; height: 14px; }
[data-state="speaking"] .wave, [data-state="listening"] .wave { display: inline-flex; }
.dock[data-mode="text"] .wave { display: none; }
.wave i { width: 3px; border-radius: 2px; background: currentColor; height: calc(3px + var(--level, 0) * 11px * var(--k, 1)); transition: height .09s linear; }
.wave i:nth-child(1) { --k: .5; } .wave i:nth-child(2) { --k: .85; } .wave i:nth-child(3) { --k: 1; } .wave i:nth-child(4) { --k: .7; } .wave i:nth-child(5) { --k: .4; }
[data-state="thinking"] .dock-status::after { content: ""; width: 18px; height: 6px; background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 0 / 6px 6px repeat-x; animation: dots 1s steps(4) infinite; }
@keyframes dots { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -10% 0 0); } }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s, color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .ico-mic-off, .icon-btn[aria-pressed="true"] .ico-mic { display: none; }
.icon-btn[aria-pressed="true"] .ico-mic-off { display: block; }
.icon-btn[aria-pressed="true"] { background: rgba(214, 90, 70, .18); border-color: rgba(214, 90, 70, .6); color: #ffb4a6; }
.icon-btn[aria-expanded="true"], .icon-send { background: var(--light); border-color: var(--light); color: var(--ink); }
.icon-end:hover { background: rgba(214, 90, 70, .18); border-color: rgba(214, 90, 70, .6); color: #ffb4a6; }
.icon-sm { width: 32px; height: 32px; }
.icon-sm svg { width: 17px; height: 17px; }
.icon-send { width: 38px; height: 38px; flex: none; }
.icon-send:hover { background: #fff; }

.panel { border-bottom: 1px solid var(--line); animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 4px 18px; font-size: var(--kicker-size); letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 241, 236, .55); font-weight: 600; }
.thread { list-style: none; margin: 0; padding: 8px 14px 12px; max-height: min(46vh, 380px); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: var(--card-size); line-height: var(--body-lh); animation: msgIn .35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .08); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--light); color: var(--ink); border-bottom-right-radius: 5px; }
.msg.activity { align-self: center; max-width: none; background: none; padding: 2px 8px; font-size: var(--small-size); color: var(--accent-text); display: flex; align-items: center; gap: 7px; }
.msg.activity::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .45; } }
.composer { display: flex; gap: 8px; padding: 0 10px 10px; }
.composer input { flex: 1; border-radius: 999px; padding: .6em 1em; font-size: var(--body-size); }

.follow-pill { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 29; display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 0; background: var(--light); color: var(--ink); font: 500 var(--small-size) var(--sans); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: pillIn .35s var(--ease); }
.follow-pill b { font-weight: 600; }
.follow-pill svg { width: 17px; height: 17px; }
@keyframes pillIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Start sheet */
.sheet { color: var(--text); background: #0e0e12; border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px 28px; width: min(460px, calc(100% - 32px)); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.sheet[open] { animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.sheet h3 { font: 400 var(--h3-size)/var(--h3-lh) var(--serif); margin: 16px 0 14px; }
.sheet-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; color: var(--muted); font-size: var(--card-size); }
.sheet-list b { color: var(--text); font-weight: 600; }
.sheet-actions { display: grid; gap: 10px; }
.sheet-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.sheet-close svg { width: 18px; height: 18px; }
.sheet-close:hover { background: rgba(255, 255, 255, .06); color: var(--text); transform: rotate(90deg); }

.toast { position: fixed; top: 24px; left: 50%; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; z-index: 40; background: var(--light); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-size: var(--small-size); transition: all .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveal (classes applied by app.js): rise out of a slight blur */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), border-color .35s, box-shadow .35s, background-color .35s, color .35s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* 1101–1447px: the dock (540px, centred) would cover the end of the hero intro, so lift it above */
@media (min-width: 1101px) and (max-width: 1447px) { .hero-foot { bottom: 104px; } }
@media (min-width: 900px) {
  .dock.expanded { left: auto; right: 24px; transform: none; width: 400px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero { --orb: min(62vw, 520px); --pt: 104px; display: flex; flex-direction: column; align-items: center; min-height: 0; padding: var(--pt) 20px 64px; }
  .hero-orb { position: relative; left: auto; top: auto; transform: none; flex: none; }
  .hero-title { top: calc(var(--pt) + var(--orb) / 2); }
  .hero-foot { position: relative; bottom: auto; margin-top: 88px; padding: 0; width: 100%; max-width: 560px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-intro { max-width: none; }
}
@media (max-width: 960px) {
  .profile-grid { grid-template-columns: 1fr; }
  .section-head { gap: 12px; }
  .feature-lg { grid-template-columns: 1fr; }
  .feature-lg .call-demo { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { --orb: min(86vw, 360px); --pt: 118px; }
  .brand { top: 22px; }
  .industry-nav { top: 62px; left: 50%; right: auto; transform: translateX(-50%); }
  .industry-nav a { padding: 6px 10px; }
  .call-thread { height: 300px; }
  .hero-title { top: calc(var(--pt) + var(--orb) / 2); }
  .hero-foot { margin-top: 84px; }
  .scroll-cue { display: none; }
  .js .story { height: 340svh; }
  .js .beat { padding-bottom: 20svh; }
  .row2 { grid-template-columns: 1fr; }
  .demo-head .checks { flex-direction: column; align-items: center; }
  .section { padding-top: 96px; }
  .profile-glow i { top: 106px; }
  .dock { width: calc(100% - 16px); bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 22px; }
  .thread { max-height: 42vh; }
  .roi-card > .roi-orb { width: 150px; height: 150px; right: -40px; top: -40px; }
  .footer { padding-bottom: 110px; }
}
/* Phones: the two hero buttons share one row at the 16px size */
@media (max-width: 734px) {
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: .9em; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
  .js .story { height: auto; }
  .js .story-pin { position: relative; height: auto; overflow: visible; }
  .js .beat { position: relative; inset: auto; opacity: 1; place-items: center; padding: 80px 24px; }
  .js .beat-time, .js .greetings, .js .story-count { display: none; }
}
