/* 99 CRM — design tokens and styles. One file for the site and the legal pages. */

/* ============================================================
   Tokens
   ============================================================ */
:root {
  /* Colour: nine values, one accent. */
  --ink: #0D0B26;        /* text, dark buttons, the 99 dots */
  --soft: #4F4D68;       /* secondary text */
  --faint: #A9A8BC;      /* tertiary text */
  --hair: #ECEEF4;       /* lines and borders */
  --mist: #F5F6FA;       /* subtle fills */
  --bg: #FBFCFE;         /* the page */
  --white: #FFFFFF;
  --cyan: #01CAFD;       /* the single accent */
  --cyan-tint: #E5F9FF;  /* icon tiles */
  --red: #E5484D;        /* errors only */

  /* Type: one family, four weights. */
  --font: "Outfit", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace; /* only the <code> file-name joke */
  --fs-2xs: 10px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-h2: clamp(32px, 3.8vw, 48px);
  --fs-h2-lg: clamp(36px, 4.6vw, 60px);
  --fs-display: clamp(42px, min(5.4vw, 8vh), 76px);
  --fs-num: clamp(64px, 8vw, 104px);
  --fs-num-long: clamp(56px, 6.4vw, 84px);

  /* Radii: four values (plus the phone body, which is a device shape). */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --r-device: 54px;

  /* Spacing: 4px base. */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-96: 96px;
  --sp-112: 112px;
  --sp-128: 128px;
  --sp-160: 160px;
  --sp-192: 192px;

  /* Control heights. */
  --h-sm: 36px;
  --h-lg: 48px;

  /* Shadows: two elevations. */
  --shadow-sm: 0 1px 2px rgba(13, 11, 38, .05), 0 16px 32px -20px rgba(13, 11, 38, .3);
  --shadow-lg: 0 40px 80px -40px rgba(13, 11, 38, .45);

  /* Easing: two curves. */
  --ease-out: cubic-bezier(.16, 1, .3, 1);       /* entrances */
  --ease-io: cubic-bezier(.4, 0, .2, 1);         /* state changes */
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 var(--fs-md)/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--cyan); color: var(--ink); }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(var(--sp-16), 5vw, var(--sp-48)); }

h1, h2 { font-weight: 500; letter-spacing: -.03em; line-height: 1; }
h2 { font-size: var(--fs-h2); line-height: 1.1; max-width: 820px; }
h3 { font-weight: 500; letter-spacing: -.01em; }
.sub { margin-top: var(--sp-28); max-width: 620px; line-height: 1.6; font-size: var(--fs-lg); color: var(--soft); }

section { padding: clamp(var(--sp-112), 15vh, var(--sp-160)) 0; text-align: center; }
section h2, section .sub { margin-left: auto; margin-right: auto; }
.agent, .steps li, .faq, .phone { text-align: left; }
.app, .tinted { background: var(--white); }

/* ---------- Logo: 99, a cyan full stop, CRM on one baseline ---------- */
.logo { display: inline-flex; align-items: baseline; font: 600 26px/1 var(--font); letter-spacing: -.06em; margin-right: 10px; }
.logo b { font-weight: 600; color: var(--ink); letter-spacing: -.06em; }
.logo .dot { display: inline-block; width: .2em; height: .2em; margin-left: .05em; border-radius: var(--r-pill); background: var(--cyan); align-self: baseline; transform-origin: center; animation: beat 2.8s var(--ease-io) infinite; }
.logo.sm { font-size: var(--fs-sm); margin-right: 5px; }
.logo.sm .dot { animation: none; }
@keyframes beat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.35); } 60% { transform: scale(.9); } }

/* ============================================================
   Buttons: primary, approve, ghost
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8); height: var(--h-sm); padding: 0 var(--sp-16); border-radius: var(--r-pill); background: var(--ink); color: var(--white); font: 500 var(--fs-sm) var(--font); white-space: nowrap; transition: opacity .2s var(--ease-io); }
.btn:hover { opacity: .88; }
.btn.big { height: var(--h-lg); padding: 0 var(--sp-24); font-size: var(--fs-md); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
/* approve: the yes-buttons in the agent cards and the phones */
.ag-yes span, .yes span { display: grid; place-items: center; height: var(--h-sm); border-radius: var(--r-pill); border: 1px solid var(--hair); background: var(--white); font-weight: 500; }
.ag-yes span:first-child, .yes span:first-child { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }

/* ============================================================
   Header
   ============================================================ */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; pointer-events: none; }
header .bar { pointer-events: auto; width: 100%; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); padding: 0 var(--sp-24); background: rgba(251, 252, 254, .72); border-bottom: 1px solid transparent; backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); transition: border-color .3s var(--ease-io), background .3s var(--ease-io); }
body.scrolled header .bar { border-bottom-color: var(--hair); background: rgba(251, 252, 254, .86); }
.mark { display: inline-flex; align-items: baseline; font: 500 15px var(--font); letter-spacing: .04em; white-space: nowrap; color: var(--ink); }
.mark:hover .dot { animation-duration: 1s; }
header nav { display: flex; align-items: center; gap: 26px; font-size: var(--fs-sm); font-weight: 400; }
header nav a:not(.btn) { color: var(--soft); transition: color .2s var(--ease-io); }
header nav a:not(.btn):hover { color: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: var(--sp-64) 0 0; display: flex; flex-direction: column; justify-content: center; text-align: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(var(--sp-16), 3vh, var(--sp-40)); padding-bottom: clamp(var(--sp-24), 5vh, var(--sp-64)); }

.stage { position: relative; height: clamp(210px, 40vh, 460px); max-width: 760px; margin: 0 auto; }
.stage canvas { display: block; }
.tip { position: absolute; z-index: 5; left: 0; top: 0; transform: translate(-50%, calc(-100% - var(--sp-16))); background: var(--white); color: var(--ink); border: 1px solid var(--hair); box-shadow: var(--shadow-sm); padding: 10px var(--sp-12); border-radius: var(--r-md); font-size: var(--fs-sm); line-height: 1.4; text-align: left; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s var(--ease-io); }
.tip.show { opacity: 1; }
.tip b { display: block; font-weight: 600; }
.tip small { color: var(--soft); font-size: var(--fs-xs); }
.whisper { position: absolute; z-index: 4; transform: translate(22px, -50%); font-size: var(--fs-xs); line-height: 1.3; color: var(--soft); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease-io); background: rgba(251, 252, 254, .9); padding: 2px var(--sp-8); border-radius: var(--r-sm); }
.whisper b { color: var(--ink); font-weight: 600; }
.whisper.on { opacity: 1; }

.hero h1 { margin-top: clamp(var(--sp-28), 5vh, var(--sp-56)); font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translate3d(0, 60%, 0); animation: rise 1.1s var(--ease-out) forwards; }
@keyframes rise { to { transform: none; opacity: 1; } }
.hero h1 .yr { position: relative; color: var(--faint); font-weight: 300; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adv { font-weight: 300; transition: color .5s var(--ease-io); }
.adv.on { color: var(--ink); font-weight: 400; }
.odo { display: inline-block; position: relative; vertical-align: top; line-height: 1; transition: color .5s var(--ease-io); }
.odo.now { color: var(--cyan); }
.odo.glitch { filter: blur(.6px); }
.hero .sub { margin-top: clamp(var(--sp-16), 2.6vh, var(--sp-28)); font-size: var(--fs-md); }
.hero .sub b { font-weight: 600; color: var(--ink); }
.fade { opacity: 0; animation: in .9s var(--ease-out) forwards; }
@keyframes in { to { opacity: 1; transform: none; filter: blur(0); } }

/* the prompt: a fine line of light circles it */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.prompt { position: relative; max-width: 720px; margin: clamp(var(--sp-28), 4.6vh, var(--sp-56)) auto 0; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.prompt::before { content: ""; position: absolute; inset: -1px; border-radius: var(--r-pill); padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 78%, rgba(1, 202, 253, .9) 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; pointer-events: none; z-index: 1; }
.prompt form { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 var(--sp-28); background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-pill); }
.prompt input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: var(--fs-md); }
.prompt input::placeholder { color: var(--faint); }
.prompt .send { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: var(--fs-xl); transition: transform .15s var(--ease-io); }
.prompt .send:active { transform: scale(.92); }
.prompt .send svg { stroke-width: 2.4; }

/* trade tabs: only when the prompt is hovered or focused */
.trades { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4) 18px; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s var(--ease-io), margin-top .5s var(--ease-out); }
.hero.asking .trades { max-height: 120px; opacity: 1; margin-top: var(--sp-16); }
.trades button { padding: var(--sp-4) 0; font-size: var(--fs-sm); font-weight: 400; color: var(--faint); transition: color .2s var(--ease-io); }
.trades button:hover { color: var(--ink); }
.trades button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--cyan); }

/* the live answer */
.answer { max-width: 720px; margin: 0 auto; text-align: left; display: grid; gap: var(--sp-16); }
.answer:not(:empty) { margin-top: var(--sp-56); }
.answer .said { justify-self: end; max-width: 72%; background: var(--ink); color: var(--white); padding: var(--sp-12) var(--sp-20); border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg); font-size: var(--fs-md); line-height: 1.5; animation: pop .4s var(--ease-out) both; }
.answer .card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sm); padding: var(--sp-24) var(--sp-28); box-shadow: var(--shadow-sm); animation: pop .4s var(--ease-out) both; }
.answer .card p { font-size: var(--fs-md); }
.answer ul { list-style: none; margin-top: var(--sp-16); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-12); }
.answer li { display: flex; gap: 10px; align-items: flex-start; padding: var(--sp-12) var(--sp-16); border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); animation: pop .4s var(--ease-out) both; }
.answer li svg { color: var(--ink); font-size: var(--fs-lg); margin-top: 1px; stroke-width: 2; }
.answer li b { display: block; font-weight: 600; }
.answer li small { color: var(--soft); font-size: var(--fs-xs); }
.answer .err { color: var(--red); }
.dots { display: inline-flex; gap: var(--sp-4); padding: var(--sp-4) 2px; }
.dots i { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--faint); animation: dot 1s var(--ease-io) infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ============================================================
   Agents
   ============================================================ */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-28); margin-top: var(--sp-96); }
.agent { position: relative; isolation: isolate; padding: var(--sp-28); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: var(--sp-20); transition: border-color .4s var(--ease-io), box-shadow .4s var(--ease-io); }
.agent.ready { border-color: rgba(1, 202, 253, .16); box-shadow: var(--shadow-sm); }
.ag-top { display: flex; gap: var(--sp-12); align-items: center; }
.ag-top svg { width: 44px; height: 44px; padding: var(--sp-12); border-radius: var(--r-md); background: var(--cyan-tint); color: var(--ink); stroke-width: 1.7; }
.ag-top b { display: block; font-weight: 600; font-size: var(--fs-md); }
.state { display: inline-flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-xs); color: var(--soft); }
.state::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cyan); animation: dot 1s var(--ease-io) infinite; }
.agent.ready .state::before { animation: none; }
.ag-msg { font-size: var(--fs-md); line-height: 1.55; min-height: 4.65em; position: relative; color: var(--soft); }
.agent:not(.ready) .ag-msg { color: transparent; }
.agent:not(.ready) .ag-msg::after { content: ""; position: absolute; left: 0; top: var(--sp-4); width: 82%; height: 12px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--mist), var(--cyan-tint), var(--mist)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; box-shadow: 0 26px 0 var(--mist), 0 52px 0 var(--mist); }
@keyframes shimmer { to { background-position: -200% 0; } }
.ag-yes { display: flex; gap: var(--sp-8); margin-top: auto; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out) .2s, transform .5s var(--ease-out) .2s; }
.agent.ready .ag-yes { opacity: 1; transform: none; }
.ag-yes span { padding: 0 var(--sp-16); font-size: var(--fs-sm); }

.more { margin-top: var(--sp-64); }

/* the roster: one row per family */
.roster { display: block; margin-top: var(--sp-80); text-align: left; border-bottom: 1px solid var(--hair); }
.roster[hidden] { display: none; }
.roster:not([hidden]) { animation: pop .5s var(--ease-out) both; }
.crew { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-40); padding: var(--sp-32) 0; border-top: 1px solid var(--hair); }
.crew h3 { font: 600 var(--fs-lg) var(--font); letter-spacing: -.01em; }
.crew h3::after { content: ""; display: block; width: var(--sp-28); height: 2px; border-radius: var(--r-pill); background: var(--cyan); margin-top: var(--sp-16); }
.crew h3 span { display: block; margin-top: var(--sp-4); font: 400 var(--fs-sm) var(--font); color: var(--faint); }
.crew h3 span::after { content: " agents"; }
.crew ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--sp-24) var(--sp-32); }
.crew li { position: relative; padding-left: var(--sp-20); font-size: var(--fs-md); line-height: 1.45; }
.crew li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cyan); }
.crew li b { display: block; font-weight: 600; color: var(--ink); }
.crew li small { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--soft); }

/* ============================================================
   Everywhere: where, gallery and the four phones
   ============================================================ */
.where { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-12); margin: var(--sp-48) auto 0; }
.where li { display: inline-flex; align-items: center; gap: var(--sp-8); padding: 10px var(--sp-20); border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--hair); font-size: var(--fs-md); font-weight: 500; }
.where li::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cyan); }
.later { margin-top: var(--sp-16); font-size: var(--fs-sm); color: var(--faint); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-48) var(--sp-32); margin-top: var(--sp-96); }
.gallery figure { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: var(--sp-20); transition: translate .2s linear; }
.gallery figure:nth-child(even) { margin-top: var(--sp-56); }
.gallery .phone { zoom: var(--z, 1); }
.gallery figcaption { text-align: center; max-width: 250px; }
.gallery figcaption b { display: block; font-weight: 600; font-size: var(--fs-lg); letter-spacing: -.01em; }
.gallery figcaption span { color: var(--soft); font-size: var(--fs-sm); }

.phone { width: 300px; height: 630px; border-radius: var(--r-device); background: var(--ink); padding: 11px; position: relative; flex: none; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 11, 38, .1), inset 0 0 0 2px rgba(255, 255, 255, .14); }
.phone::before { content: ""; position: absolute; top: var(--sp-20); left: 50%; width: 92px; height: 28px; margin-left: -46px; background: var(--ink); border-radius: var(--r-pill); z-index: 3; }
.scr { height: 100%; border-radius: calc(var(--r-device) - 11px); background: var(--bg); overflow: hidden; position: relative; display: flex; flex-direction: column; font: 400 var(--fs-xs)/1.45 var(--font); color: var(--ink); }
.sbar { height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: var(--sp-8) var(--sp-28) 0 var(--sp-32); font: 600 var(--fs-sm) var(--font); }
.sbar i { display: flex; gap: var(--sp-4); align-items: center; }
.sbar i b { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.sbar i u { display: block; width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative; margin-left: var(--sp-4); }
.sbar i u::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: var(--ink); border-radius: 1px; }
.abar { flex: none; display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-8) var(--sp-16); font-size: var(--fs-xs); }
.abar .logo + b { font: 500 var(--fs-xs) var(--font); letter-spacing: .03em; }
.abar .org { color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abar .bell { margin-left: auto; font-size: var(--fs-md); color: var(--soft); display: flex; }
.body { flex: 1; overflow: hidden; padding: var(--sp-8) var(--sp-16) 0; position: relative; }
.date { color: var(--soft); font-size: var(--fs-xs); }
.hello { font: 500 var(--fs-2xl)/1.05 var(--font); letter-spacing: -.035em; margin: var(--sp-4) 0 var(--sp-12); }
.money { font-size: var(--fs-xs); color: var(--soft); line-height: 1.9; }
.money b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.money .arr { color: var(--cyan); }
.tabs { flex: none; margin: 0 var(--sp-12) var(--sp-12); height: 64px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm), 0 0 0 1px var(--hair); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font-size: var(--fs-2xs); font-weight: 500; }
.tabs div { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.tabs svg { width: 20px; height: 20px; }
.tabs .on { color: var(--cyan); }
.ask { flex: none; margin: var(--sp-8) var(--sp-12); height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgba(1, 202, 253, .1); display: flex; align-items: center; padding: 0 var(--sp-4) 0 var(--sp-16); gap: var(--sp-8); }
.ask .q { flex: 1; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask .mic { color: var(--soft); font-size: var(--fs-md); display: flex; }
.ask .go { width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--cyan); color: var(--ink); display: grid; place-items: center; font-size: var(--fs-md); }
.ask .go svg { stroke-width: 2.4; }

/* screens inside the phones */
.card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-md); padding: var(--sp-12) var(--sp-16); }
.lbl { font: 600 var(--fs-2xs) var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: var(--sp-8); }
.task { display: flex; gap: var(--sp-12); align-items: flex-start; padding: var(--sp-8) 0; }
.task + .task { border-top: 1px solid var(--hair); }
.task .n { width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--mist); color: var(--soft); font-size: var(--fs-2xs); display: grid; place-items: center; flex: none; }
.task b { font-weight: 600; font-size: var(--fs-xs); display: block; }
.task small { color: var(--soft); font-size: var(--fs-xs); display: block; }
.late { color: var(--red); font-size: var(--fs-xs); margin-left: auto; white-space: nowrap; }
.when { color: var(--soft); font-size: var(--fs-xs); margin-left: auto; white-space: nowrap; }
.search { height: 38px; border-radius: var(--r-pill); border: 1px solid var(--hair); background: var(--white); display: flex; align-items: center; gap: var(--sp-8); padding: 0 var(--sp-16); color: var(--faint); margin: var(--sp-4) 0 var(--sp-8); }
.search svg { color: var(--soft); }
.lead { padding: var(--sp-8) 0; border-bottom: 1px solid var(--hair); }
.lead b { font-weight: 600; font-size: var(--fs-sm); }
.pill { display: inline-flex; align-items: center; gap: var(--sp-4); margin-left: var(--sp-8); padding: 2px var(--sp-8); border-radius: var(--r-pill); border: 1px solid var(--hair); font: 500 var(--fs-2xs) var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); vertical-align: 2px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--cyan); }
.lead small { display: block; color: var(--soft); font-size: var(--fs-xs); }
.lead code { display: block; font: 400 var(--fs-xs) var(--font); color: var(--soft); margin-top: 2px; }
.lead code.red { color: var(--red); }
.rec h4 { font: 600 var(--fs-lg)/1.15 var(--font); letter-spacing: -.02em; }
.rec .sub { color: var(--soft); font-size: var(--fs-xs); margin: 2px 0 var(--sp-12); }
.path { display: flex; gap: 3px; margin-bottom: var(--sp-16); }
.path span { flex: 1; height: 26px; display: grid; place-items: center; font-size: var(--fs-2xs); font-weight: 600; background: var(--mist); color: var(--soft); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 7px 50%); }
.path span:first-child { clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); border-radius: var(--r-sm) 0 0 var(--r-sm); }
.path .done { background: var(--cyan-tint); color: var(--ink); }
.path .now { background: var(--ink); color: var(--white); }
.tl { position: relative; padding-left: var(--sp-20); }
.tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--hair); }
.tl div { position: relative; padding: 6px 0; }
.tl div::before { content: ""; position: absolute; left: -17px; top: var(--sp-12); width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--white); border: 2px solid var(--cyan); }
.tl b { font-weight: 600; font-size: var(--fs-xs); display: block; }
.tl small { color: var(--soft); font-size: var(--fs-xs); display: block; }
.tl .tag { font: 500 var(--fs-2xs) var(--font); color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; }
.approve .greet { background: var(--bg); border-radius: var(--r-md); padding: 10px var(--sp-12); font-size: var(--fs-xs); color: var(--soft); margin: var(--sp-8) 0 10px; line-height: 1.5; }
.approve .greet b { color: var(--ink); font-weight: 600; }
.yes { display: flex; gap: var(--sp-8); }
.yes span { flex: 1; font-size: var(--fs-xs); font-weight: 600; }
.yes span.tap { animation: tap 1.4s var(--ease-io) 1s infinite; }
@keyframes tap { 0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(1, 202, 253, .5); } 30% { transform: scale(.94); box-shadow: 0 0 0 10px rgba(1, 202, 253, 0); } }

/* ============================================================
   Start
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-20); margin-top: var(--sp-96); counter-reset: s; }
.steps li { padding: var(--sp-32); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hair); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 500 var(--fs-sm) var(--font); color: var(--faint); margin-bottom: var(--sp-40); }
.steps h3 { font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; margin-bottom: var(--sp-8); }
.steps p { color: var(--soft); font-size: var(--fs-md); }
.steps code { white-space: nowrap; font: 500 var(--fs-xs) var(--mono); background: var(--white); padding: 2px 6px; border-radius: var(--r-sm); color: var(--ink); }

/* ============================================================
   Pricing
   ============================================================ */
.switches { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-16); margin-top: var(--sp-48); }
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: var(--r-pill); background: var(--mist); }
.toggle button { position: relative; z-index: 1; padding: 11px var(--sp-24); border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); color: var(--soft); transition: color .3s var(--ease-io); white-space: nowrap; }
.toggle button[aria-checked="true"] { color: var(--ink); }
.toggle i { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); margin-left: 6px; }
.toggle .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out); }
.toggle.second .knob { transform: translateX(100%); }

.offer { position: relative; overflow: hidden; max-width: 900px; margin: var(--sp-64) auto 0; padding: clamp(var(--sp-32), 5vw, var(--sp-64)) clamp(var(--sp-24), 5vw, var(--sp-64)); border-radius: var(--r-lg); background: var(--white); color: var(--ink); border: 1px solid var(--hair); box-shadow: var(--shadow-sm); }
.trio { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.trio div { display: grid; justify-items: center; gap: 6px; }
.trio div + div { border-left: 1px solid var(--hair); }
/* three identical 99s: same weight, tracking and width; "up to" and "$" sit to the left so they never shift the digits */
.trio .num { position: relative; display: inline-block; font-size: var(--fs-num); font-weight: 400; line-height: 1; letter-spacing: -.02em; color: var(--ink); transition: font-size .3s var(--ease-io); }
.trio.long .num { font-size: var(--fs-num-long); }
.trio .num.price { color: var(--cyan); }
.trio .num small { position: absolute; right: 100%; top: .12em; margin: 0 var(--sp-8) 0 0; font-size: .3em; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: var(--faint); }
.trio .num.price small { color: var(--cyan); opacity: .7; }
.trio .num small.upto { top: .4em; font: 500 var(--fs-sm) var(--font); color: var(--soft); }
.trio .num em { font-style: normal; }
.trio span { font-size: var(--fs-md); color: var(--soft); }
#p-users, #p-amt { display: inline-block; transition: transform .25s var(--ease-io), opacity .25s var(--ease-io); }
#p-users.flip, #p-amt.flip { transform: translateY(-25%); opacity: 0; }
.offer-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-20); flex-wrap: wrap; margin-top: var(--sp-48); padding-top: var(--sp-32); border-top: 1px solid var(--hair); text-align: left; }
.offer-foot p { color: var(--soft); font-size: var(--fs-md); }
.ent { margin-top: var(--sp-32); font-size: var(--fs-md); color: var(--soft); }
.ent a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--cyan); }

/* ============================================================
   Questions
   ============================================================ */
.faq { max-width: 780px; margin: var(--sp-80) auto 0; }
details { border-top: 1px solid var(--hair); padding: var(--sp-32) 0; }
details:last-child { border-bottom: 1px solid var(--hair); }
summary { font: 600 var(--fs-lg) var(--font); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-20); align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-weight: 400; font-size: var(--fs-2xl); line-height: 1; transition: transform .3s var(--ease-io); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--soft); max-width: 680px; animation: pop .35s var(--ease-out) both; }

/* ============================================================
   End
   ============================================================ */
.band { margin: 0; padding: clamp(var(--sp-128), 20vh, var(--sp-192)) 0; background: var(--bg); color: var(--ink); border-top: 1px solid var(--hair); text-align: center; position: relative; overflow: hidden; }
.band .wrap { position: relative; }
.band h2 { margin: 0 auto; font-size: var(--fs-h2-lg); }
.ctas { display: flex; justify-content: center; gap: var(--sp-16); flex-wrap: wrap; margin-top: var(--sp-56); }
footer { padding: var(--sp-64) 0 var(--sp-56); font-size: var(--fs-sm); color: var(--soft); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-24); flex-wrap: wrap; }
footer nav { display: flex; gap: var(--sp-24); flex-wrap: wrap; }
footer nav a:hover { color: var(--ink); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.rv { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.off, .off * { animation-play-state: paused !important; }

/* ============================================================
   Narrow screens
   ============================================================ */
@media (max-width: 1000px) {
  .agents { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--sp-16); }
  .gallery figure:nth-child(even) { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  header nav a.hide-sm { display: none; }
  header nav { gap: 14px; }
  .answer .said { max-width: 88%; }
  .prompt form { padding-left: var(--sp-20); }
  .tip { white-space: normal; width: 220px; }
  .agents { grid-template-columns: 1fr; }
  .gallery figcaption b { font-size: var(--fs-md); }
  .gallery figcaption span { font-size: var(--fs-xs); }
  .crew { grid-template-columns: 1fr; gap: var(--sp-16); padding: var(--sp-28) 0; }
  .crew ul { grid-template-columns: 1fr 1fr; gap: var(--sp-16) var(--sp-20); }
  .trio { grid-template-columns: 1fr; gap: var(--sp-28); }
  .trio div + div { border-left: 0; border-top: 1px solid var(--hair); padding-top: var(--sp-24); }
  .offer-foot { justify-content: center; text-align: center; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 400px) { header .signin { display: none; } .toggle button { padding: 10px 14px; font-size: var(--fs-sm); } }

/* ============================================================
   Reduced motion (last, so it wins)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w, .fade { opacity: 1; transform: none; filter: none; }
  .rv { opacity: 1; transform: none; filter: none; }
  .prompt::before { display: none; }
}
