/* ============================================================
   sam — the agent that texts first
   Design system: ElevenLabs-faithful (warm editorial canvas)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&display=swap');

:root {
  /* ---- Surface / canvas ---- */
  --canvas:            #f5f5f5;
  --canvas-soft:       #fafafa;
  --canvas-deep:       #0c0a09;
  --surface:           #ffffff;
  --surface-strong:    #f0efed;
  --surface-dark:      #0c0a09;
  --surface-dark-2:    #1c1917;

  /* ---- Ink / text ---- */
  --ink:               #0c0a09;
  --ink-soft:          #292524;
  --body:              #4e4e4e;
  --muted:             #6b655d;
  --muted-soft:        #a8a29e;
  --on-dark:           #ffffff;
  --on-dark-soft:      #a8a29e;

  /* ---- Hairlines ---- */
  --line:              #e7e5e4;
  --line-soft:         #f0efed;
  --line-strong:       #d6d3d1;

  /* ---- Atmospheric orbs (agent identity) ---- */
  --orb-mint:          #a7e5d3;
  --orb-peach:         #f4c5a8;
  --orb-lavender:      #c8b8e0;
  --orb-sky:           #a8c8e8;
  --orb-rose:          #e8b8c4;
  --orb-amber:         #f0d8a6;
  --orb-sage:          #c5d2b6;
  --orb-coral:         #f1b9a6;
  --orb-periwinkle:    #aeb4e6;
  --orb-slate:         #b4c3d2;
  --orb-lilac:         #d9c4e6;
  --orb-clay:          #e3ab93;
  --orb-blossom:       #e7b8d0;
  --orb-teal:          #a8d4cf;
  --orb-stone:         #cabfb0;
  --orb-butter:        #ecd9a8;

  /* ---- Semantic ---- */
  --success:           #16a34a;
  --error:             #dc2626;

  /* ---- Radius ---- */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px; --pill: 9999px;

  /* ---- Elevation ---- */
  --shadow-soft:  0 4px 16px rgba(12,10,9,.04);
  --shadow-card:  0 1px 2px rgba(12,10,9,.04), 0 12px 34px rgba(12,10,9,.06);
  --shadow-pop:   0 24px 60px rgba(12,10,9,.16);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1120px;
  --gutter: 24px;

  /* ---- Vertical rhythm (intentional, non-uniform) ---- */
  --sp-tight: clamp(44px, 6vw, 72px);
  --sp-airy:  clamp(88px, 12vw, 148px);

  /* ---- Motion (one physics for the whole page) ---- */
  --ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);   /* standard glide — the curve cards already use */
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);   /* springy entrances — the curve sheets already use */
  --dur-fast:  .15s;   /* small hovers: links, chips */
  --dur-base:  .22s;   /* lifts, presses, borders */
  --dur-slow:  .45s;   /* entrances, orb drift */

  /* ---- Elevation (use only tokens) ---- */
  --shadow-raise: 0 10px 26px rgba(12,10,9,.10);

  /* ---- Accents previously hard-coded across the file ---- */
  --success-deep: #16804a;
  --success-wash: #eaf6ee;
  --mira:         #6d54c9;
  --mira-deep:    #57429e;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so position:sticky pins to the viewport */
}

/* engineered paper — a whisper of static film grain over the flat canvas */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .03;
}

img, svg { display: block; max-width: 100%; }
.ic { width: 18px; height: 18px; flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; color: var(--ink); letter-spacing: -0.015em; }

.eyebrow {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
.eyebrow + .section-title, .eyebrow + h2 { margin-top: 14px; }
.section-title + .lede { margin-top: 20px; }
.lede { font-size: clamp(16px, 2vw, 18px); color: var(--body); max-width: 56ch; }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 104px); position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ============================================================
   Atmospheric orbs (decorative gradient blobs)
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.orb--mint     { background: radial-gradient(circle at 30% 30%, var(--orb-mint), transparent 70%); }
.orb--peach    { background: radial-gradient(circle at 30% 30%, var(--orb-peach), transparent 70%); }
.orb--lavender { background: radial-gradient(circle at 30% 30%, var(--orb-lavender), transparent 70%); }
.orb--sky      { background: radial-gradient(circle at 30% 30%, var(--orb-sky), transparent 70%); }
.orb--rose     { background: radial-gradient(circle at 30% 30%, var(--orb-rose), transparent 70%); }
.orb--amber    { background: radial-gradient(circle at 30% 30%, var(--orb-amber), transparent 70%); }
.orb--sage       { background: radial-gradient(circle at 30% 30%, var(--orb-sage), transparent 70%); }
.orb--coral      { background: radial-gradient(circle at 30% 30%, var(--orb-coral), transparent 70%); }
.orb--periwinkle { background: radial-gradient(circle at 30% 30%, var(--orb-periwinkle), transparent 70%); }
.orb--slate      { background: radial-gradient(circle at 30% 30%, var(--orb-slate), transparent 70%); }
.orb--lilac      { background: radial-gradient(circle at 30% 30%, var(--orb-lilac), transparent 70%); }
.orb--clay       { background: radial-gradient(circle at 30% 30%, var(--orb-clay), transparent 70%); }
.orb--blossom    { background: radial-gradient(circle at 30% 30%, var(--orb-blossom), transparent 70%); }
.orb--teal       { background: radial-gradient(circle at 30% 30%, var(--orb-teal), transparent 70%); }
.orb--stone      { background: radial-gradient(circle at 30% 30%, var(--orb-stone), transparent 70%); }
.orb--butter     { background: radial-gradient(circle at 30% 30%, var(--orb-butter), transparent 70%); }

/* ============================================================
   Buttons
   ============================================================ */
/* Liquid-glass buttons: translucent pill + refraction rim + diagonal sheen,
   with a detached blurred under-shadow (::after) that reacts to hover/press */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.015em; line-height: 1;
  height: 44px; padding-inline: 22px; border-radius: var(--pill);
  color: var(--ink);
  background:
    linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 43%, transparent 56%),
    linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,.10));
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  backdrop-filter: blur(12px) saturate(1.5);
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.9),
    inset 0 -1px 1.5px rgba(12,10,9,.10),
    inset 1.5px 0 1px -1px rgba(255,255,255,.6),
    inset -1.5px 0 1px -1px rgba(255,255,255,.6),
    0 0 0 1px rgba(12,10,9,.07);
  transition: transform .22s var(--ease-out), background .22s ease, box-shadow .22s ease, color .22s ease;
  white-space: nowrap; user-select: none;
}
.btn::after {
  content: ""; position: absolute; z-index: -1; border-radius: inherit;
  left: 9%; right: 9%; top: 58%; bottom: -12%;
  background: rgba(12,10,9,.30); filter: blur(9px);
  transform: translateY(3px) scale(.9);
  opacity: .55; transition: transform .22s var(--ease-out), opacity .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(7px) scale(.98); opacity: .8; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:active::after { transform: translateY(1px) scale(.85); opacity: .4; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* smoked glass — the primary CTA keeps its weight */
.btn--primary {
  color: var(--on-dark);
  background:
    linear-gradient(115deg, transparent 32%, rgba(255,255,255,.22) 43%, transparent 56%),
    linear-gradient(rgba(38,34,32,.94), rgba(24,21,20,.88));
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.28),
    inset 0 -1px 1.5px rgba(0,0,0,.35),
    0 0 0 1px rgba(12,10,9,.35);
}
.btn--primary:hover {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.3) 43%, transparent 58%),
    linear-gradient(rgba(30,27,25,.96), rgba(12,10,9,.92));
}
.btn--primary::after { background: rgba(12,10,9,.5); }

/* clear glass */
.btn--ghost, .btn--light { color: var(--ink); }
.btn--ghost:hover, .btn--light:hover {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.65) 43%, transparent 58%),
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.2));
}

/* white glass on the dark CTA panel */
.btn--on-dark {
  color: var(--on-dark);
  background:
    linear-gradient(115deg, transparent 32%, rgba(255,255,255,.35) 43%, transparent 56%),
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.08));
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.6),
    inset 0 -1px 1.5px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.18);
}
.btn--on-dark:hover {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 43%, transparent 58%),
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.14));
}
.btn--on-dark::after { background: rgba(0,0,0,.55); }

.btn--lg { height: 52px; padding-inline: 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled:hover { transform: none; }

.btn .ic { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
}

/* ============================================================
   Badge / pill
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--pill);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.16); }
.badge--soon { background: var(--surface-strong); color: var(--muted); border-color: var(--line); }
.badge--soon .dot { background: var(--muted-soft); box-shadow: none; }

/* Live usage count (replaces the badge) */
.agent__count { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.agent__count b { color: var(--ink-soft); font-weight: 600; transition: color .5s ease; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.16); animation: live-pulse 2s infinite ease-in-out; flex-shrink: 0; }
@keyframes live-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.agent__count.is-bumped b { color: var(--success); animation: count-bump .5s ease; }
@keyframes count-bump { 0% { transform: translateY(-2px); opacity: .35; } 100% { transform: none; opacity: 1; } }
.agent--dark .agent__count { color: var(--on-dark-soft); }
.agent--dark .agent__count b { color: #fff; }
.detail__count { font-size: 13.5px; }
.detail__count b { color: var(--ink); }

/* ============================================================
   Top navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,245,245,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245,245,245,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 32px -24px rgba(12,10,9,.35);
}

/* scroll-progress hairline (span injected by wireScroll) — the agent-name rainbow */
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, #f43f5e, #f97316, #16a34a, #0891b2, #4f46e5, #9333ea);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none; opacity: 0; transition: opacity .3s ease;
}
.nav.is-scrolled .nav__progress { opacity: 1; }

/* current-section link underline */
.nav__link { position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: var(--pill); background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease-out); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__inner { height: 64px; display: flex; align-items: center; gap: clamp(24px, 3.5vw, 48px); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); letter-spacing: -0.01em; }
.brand__mark { width: 26px; height: 26px; }

/* holographic foil logo badge (nav) — iridescent shimmer + 3D mouse tilt */
.brand--foil { display: inline-flex; gap: 0; padding: 0; }
.foil-badge { width: 60px; height: auto; display: block; overflow: visible; transform: perspective(700px); transform-origin: center; transition: transform .18s ease-out; will-change: transform; }
.foil { mix-blend-mode: overlay; }
.fl { transform-box: fill-box; transform-origin: center; will-change: transform; }
.fl:nth-child(1) { animation: foil1 5s infinite ease-in-out; }
.fl:nth-child(2) { animation: foil2 5s infinite ease-in-out; }
.fl:nth-child(3) { animation: foil3 5s infinite ease-in-out; }
.fl:nth-child(4) { animation: foil4 5s infinite ease-in-out; }
.fl:nth-child(5) { animation: foil5 5s infinite ease-in-out; }
.fl:nth-child(6) { animation: foil6 5s infinite ease-in-out; }
.fl:nth-child(7) { animation: foil7 5s infinite ease-in-out; }
.fl:nth-child(8) { animation: foil8 5s infinite ease-in-out; }
@keyframes foil1 { 0%,100% { transform: rotate(0deg); }   50% { transform: rotate(12deg); } }
@keyframes foil2 { 0%,100% { transform: rotate(12deg); }  50% { transform: rotate(24deg); } }
@keyframes foil3 { 0%,100% { transform: rotate(24deg); }  50% { transform: rotate(36deg); } }
@keyframes foil4 { 0%,100% { transform: rotate(36deg); }  50% { transform: rotate(48deg); } }
@keyframes foil5 { 0%,100% { transform: rotate(48deg); }  50% { transform: rotate(60deg); } }
@keyframes foil6 { 0%,100% { transform: rotate(60deg); }  50% { transform: rotate(72deg); } }
@keyframes foil7 { 0%,100% { transform: rotate(72deg); }  50% { transform: rotate(84deg); } }
@keyframes foil8 { 0%,100% { transform: rotate(84deg); }  50% { transform: rotate(96deg); } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; } .foil-badge { transition: none; } }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav__link:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__contact { font-size: 14px; color: var(--ink); padding: 9px 16px; border: 1px solid var(--line-strong, #d8d2c9); border-radius: 999px; transition: background .2s ease, border-color .2s ease; }
.nav__contact:hover { background: rgba(12,10,9,.04); border-color: var(--ink); }
.nav__status { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__status b { color: var(--ink-soft); font-weight: 600; transition: color .5s ease; }
@media (max-width: 1000px) { .nav__status { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; }
.hero__sticky { position: relative; min-height: calc(100svh - 64px); overflow: hidden; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
/* grow mode (JS): the hero pins and the rail panel expands to own the screen */
.hero--grow { height: 240vh; }
.hero--grow .hero__sticky { position: sticky; top: 0; height: 100vh; min-height: 0; }
.hero__orbs { position: absolute; inset: 0; z-index: 0; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .orb--1 { width: 460px; height: 460px; top: -120px; left: -80px; }
.hero .orb--2 { width: 420px; height: 420px; top: -60px; right: -100px; opacity: .45; }
.hero .orb--3 { width: 360px; height: 360px; bottom: -180px; left: 40%; opacity: .4; }

.hero__inner { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; align-items: stretch; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 7vh, 80px) clamp(28px, 4vw, 72px); }

/* Mistral architecture: the rail is a full-height structural column — hairline
   division, soft panel, statement anchored low. No card, no float. */
.hero__rail { position: relative; z-index: 1; border-left: 1px solid var(--line); background: var(--canvas-soft); padding: clamp(28px, 4vw, 56px) clamp(28px, 3.5vw, 56px) clamp(40px, 7vh, 72px); display: flex; flex-direction: column; justify-content: flex-end; gap: 44px; animation: railIn .8s var(--ease-out) .5s both; }
.hero__rail p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; font-weight: 500; letter-spacing: -.012em; color: var(--ink); max-width: 22ch; }
@keyframes railIn { from { opacity: 0; } to { opacity: 1; } }

/* the cover: the rail's panel, grown — clip-path driven by scroll. Starts
   TRANSPARENT over the rail (its text shows through), turns opaque as it
   grows, so the statement crossfades instead of blinking out. */
.hero__cover { display: none; position: absolute; inset: 0; z-index: 4; background: rgba(250,250,250,0); pointer-events: none; }
.hero--grow .hero__cover { display: block; }
/* ONE statement, constant: identical face/size/block as the rail text —
   it only ever scales and glides. No fades, no font swap (the Mistral way). */
.hero__cover p { position: absolute; margin: 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; font-weight: 500; letter-spacing: -.012em; color: var(--ink); transform-origin: top left; will-change: transform; }
.rail-arrows { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.rail-arrows svg { width: 18px; height: 18px; color: var(--muted); opacity: .25; animation: railStep 1.8s infinite; }
.rail-arrows svg:nth-child(2) { animation-delay: .25s; }
.rail-arrows svg:nth-child(3) { animation-delay: .5s; }
@keyframes railStep { 0%, 60%, 100% { opacity: .22; } 20% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__rail { animation: none; } .rail-arrows svg { animation: none; opacity: .5; } }

/* concierge strip — same component, its own calm band under the hero */
.concierge-band { padding-block: clamp(20px, 4vw, 44px) clamp(36px, 5vw, 56px); }
.concierge-band .concierge { max-width: 640px; margin-inline: auto; }

/* the Siri wave, miniaturised as the logo mark */
.nav__wave { width: 40px; height: 40px; display: block; flex: none; }
.hero__copy { max-width: 600px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 22px; }
/* Mistral-style masked line reveal — the title rises out of clipped lines.
   The mask carries descender room (padding + negative margin) so Fraunces
   g/y tails are never cut, and the clip is released once the reveal ends. */
.hero h1 .hline { display: block; overflow: hidden; padding: .12em .38em .32em .12em; margin: -.12em -.38em -.32em -.12em; }
.hero h1.is-done .hline { overflow: visible; }
.hero h1 .hline > span { display: inline-block; will-change: transform; }
html.js .hero h1 .hline > span { transform: translateY(118%); transition: transform .95s cubic-bezier(.16,.84,.24,1); }
.hero h1.is-in .hline:nth-child(1) > span { transform: none; transition-delay: .05s; }
.hero h1.is-in .hline:nth-child(2) > span { transform: none; transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { html.js .hero h1 .hline > span { transform: none !important; transition: none !important; } }
html.js .hero--min .hero__pill, html.js .hero--min .hero__sub, html.js .hero--min .hero__cta {
  opacity: 0; transform: translateY(12px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.24,1);
}
html.js .hero--min.is-in .hero__pill { opacity: 1; transform: none; transition-delay: .45s; }
html.js .hero--min.is-in .hero__sub { opacity: 1; transform: none; transition-delay: .58s; }
html.js .hero--min.is-in .hero__cta { opacity: 1; transform: none; transition-delay: .72s; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero--min .hero__pill, html.js .hero--min .hero__sub, html.js .hero--min .hero__cta { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.hero h1 em {
  font-style: italic;
  padding: .1em .16em .12em .08em; margin: -.1em -.16em -.12em -.08em;
  background: linear-gradient(92deg, #f43f5e 0%, #f97316 20%, #16a34a 42%, #0891b2 60%, #4f46e5 78%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: nameHue 12s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero h1 em { animation: none; } }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.5; color: var(--body); max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 15px; height: 15px; color: var(--muted-soft); }

/* problem statement — between hero and machinery */
.prb { padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 6vw, 90px); }
.cta-min__vision {
  display: block; margin-bottom: 20px;
  font: 600 clamp(14px, 1.9vw, 19px)/1.35 "Geist Mono", "SF Mono", ui-monospace, monospace;
  letter-spacing: .24em; text-transform: uppercase;
  padding: .12em .3em; margin-left: auto; margin-right: auto; width: fit-content;
  background: linear-gradient(92deg, #f43f5e 0%, #f97316 20%, #16a34a 42%, #0891b2 60%, #4f46e5 78%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: nameHue 12s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .cta-min__vision { animation: none; } }
.prb__wrap { text-align: center; }
.prb .eyebrow { display: block; margin-bottom: 16px; }
.prb__t { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.prb__line { display: block; padding: .06em .3em; margin: -.06em -.3em; }
.prb__t em {
  font-style: italic;
  padding: .1em .16em .12em .08em; margin: -.1em -.16em -.12em -.08em;
  background: linear-gradient(92deg, #f43f5e 0%, #f97316 20%, #16a34a 42%, #0891b2 60%, #4f46e5 78%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: nameHue 12s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .prb__t em { animation: none; } }
.prb__ans { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.6vw, 28px); color: var(--ink); }
.prb__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.prb__chips span { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: .3px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.prb__chips s { color: #b3b6ba; }
.prb__chips b { font-weight: 600; color: #16a34a; }
html.js .prb .eyebrow, html.js .prb__t, html.js .prb__ans, html.js .prb__chips {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,.84,.24,1);
}
html.js .prb.is-in .eyebrow { opacity: 1; transform: none; }
html.js .prb.is-in .prb__t { opacity: 1; transform: none; transition-delay: .12s; }
html.js .prb.is-in .prb__ans { opacity: 1; transform: none; transition-delay: .32s; }
html.js .prb.is-in .prb__chips { opacity: 1; transform: none; transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  html.js .prb .eyebrow, html.js .prb__t, html.js .prb__ans, html.js .prb__chips { opacity: 1 !important; transform: none !important; transition: none !important; }
}

 }

/* Phone mockup in hero */
/* hero conversation — translucent gray "futuristic" glass panel */
.phone {
  position: relative; z-index: 1; justify-self: center;
  width: 360px; max-width: 100%;
  padding: 18px 16px 22px;
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(122,126,140,.16), rgba(70,74,88,.05));
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 24px 70px rgba(24,24,34,.12), inset 0 1px 0 rgba(255,255,255,.5);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(130% 90% at 85% -10%, rgba(150,162,185,.22), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 23px);
  -webkit-mask: linear-gradient(180deg, #000, transparent 92%);
  mask: linear-gradient(180deg, #000, transparent 92%);
}
.phone__screen { background: transparent; position: relative; z-index: 1; }
.phone__bar {
  display: flex; align-items: center; gap: 11px; padding: 2px 4px 16px;
}
.phone__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 3px 10px rgba(12,10,9,.14); }
.phone__avatar .face, .phone__avatar img { width: 42px; height: 42px; }
.phone__who { display: flex; flex-direction: column; line-height: 1.25; }
.phone__name { color: var(--ink); font-size: 15px; font-weight: 600; }
.phone__status { color: var(--muted); font-size: 12.5px; }
.phone__thread { padding: 2px; display: flex; flex-direction: column; gap: 9px; min-height: 372px; transition: opacity .35s ease; }
.phone__thread.is-fading { opacity: 0; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: 14px; line-height: 1.42; letter-spacing: 0; animation: bubbleIn .34s var(--ease-out) both; }
.bubble--in { align-self: flex-start; background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 7px; box-shadow: 0 6px 18px rgba(12,10,9,.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bubble--out { align-self: flex-end; background: linear-gradient(180deg,#2a9dff,#0a84ff); color: #fff; border-bottom-right-radius: 7px; box-shadow: 0 6px 18px rgba(10,132,255,.24); }
.bubble--meta { align-self: center; color: var(--muted-soft); font-size: 11px; background: none; border: none; box-shadow: none; max-width: 100%; padding: 2px; animation: none; }
.bubble.is-typing { padding: 13px 16px; }
.bubble--out.is-typing .typing-dots i { background: rgba(255,255,255,.85); }

/* Live hero concierge — calm, seamless (claude.ai-style) */
.concierge { position: relative; z-index: 1; width: 100%; max-width: 470px; justify-self: center; display: flex; flex-direction: column; gap: 16px; }
.concierge__thread { display: flex; flex-direction: column; gap: 16px; max-height: 340px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.concierge__thread::-webkit-scrollbar { width: 6px; }
.concierge__thread::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--pill); }
.concierge__thread::-webkit-scrollbar-track { background: transparent; }
.concierge__thread:empty { display: none; }
.cmsg { font-size: 15.5px; line-height: 1.6; max-width: 92%; animation: bubbleIn .3s var(--ease-out) both; }
.cmsg--you { align-self: flex-end; background: rgba(20,17,15,.055); color: var(--ink); padding: 9px 14px; border-radius: 16px; border-bottom-right-radius: 6px; }
.cmsg--ai { align-self: flex-start; color: var(--ink); white-space: pre-wrap; }
.cmsg--ai.is-typing { color: var(--muted); }
.cmsg__meta { align-self: flex-start; font-size: 11px; color: var(--muted-soft); margin-top: -10px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.concierge__hint { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.4; padding: 0 2px; }
.concierge__spark { flex-shrink: 0; border-radius: 50%; }
.concierge__form { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 22px; padding: 5px 5px 5px 18px; box-shadow: 0 12px 38px rgba(12,10,9,.07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .15s ease, box-shadow .15s ease; }
.concierge__form:focus-within { border-color: rgba(20,17,15,.24); box-shadow: 0 14px 44px rgba(12,10,9,.11); }
.concierge__input { flex: 1; min-width: 0; border: none; outline: none; background: none; font: inherit; font-size: 15.5px; color: var(--ink); padding: 12px 0; }
.concierge__input::placeholder { color: var(--muted-soft); }
.concierge__send { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .15s ease, transform .1s ease; }
.concierge__send:hover { transform: scale(1.05); }
.concierge__send:disabled { opacity: .3; cursor: default; transform: none; }
.concierge__send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.concierge__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px; }
.cchip { font: inherit; font-size: 13px; line-height: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; }
.cchip:hover { background: rgba(20,17,15,.04); color: var(--ink); }
.cchip:active { transform: scale(.97); }
.cchip--agent { border-color: rgba(20,17,15,.3); color: var(--ink); font-weight: 500; }

.typing-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing-dots i:nth-child(2){ animation-delay: .2s; } .typing-dots i:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{ opacity:.25; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-2px);} }
@keyframes bubbleIn { from { opacity:0; transform: translateY(8px) scale(.97);} to { opacity:1; transform: none;} }



/* ============================================================
   x.ai reduction pass: minimal hero, statement, reach rows, cta
   ============================================================ */
.hero--min { min-height: 88svh; display: grid; place-items: center; border-bottom: 0; }
.hero__min { text-align: center; max-width: 900px; padding: 96px 24px 64px; }
.hero--min h1 { font-size: clamp(52px, 7.4vw, 96px); line-height: 1.01; letter-spacing: -0.035em; margin-top: 16px; }
.hero__sub { margin: 26px auto 0; max-width: 52ch; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.55; color: var(--body); }
.hero--min .hero__cta { justify-content: center; margin-top: 34px; }
.hero--min .hero__trust { justify-content: center; }

.statement { padding-block: clamp(56px, 8vw, 120px); }
.statement__t { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: clamp(28px, 4.4vw, 54px); line-height: 1.16; letter-spacing: -0.02em; color: var(--muted); max-width: 30ch; margin-top: 18px; }
.statement__t em { font-style: italic; color: var(--ink); }

.rlist { margin-top: 26px; border-top: 1px solid var(--line); }
.rrow { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: baseline; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.rrow h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.rrow p { font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 58ch; }
@media (max-width: 640px) { .rrow { grid-template-columns: 1fr; gap: 8px; } }

.cta-min { padding-block: clamp(64px, 9vw, 130px); }
.cta-min__wrap { text-align: center; }
.cta-min__t { font-size: clamp(34px, 5vw, 62px); line-height: 1.06; letter-spacing: -0.025em; }
.cta-min__p { margin: 18px auto 30px; max-width: 46ch; font-size: 16px; color: var(--body); }

/* ============================================================
   Powers — x.ai-style capability cards: Skills · Chat · Voice · Action
   ============================================================ */
.powers { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 84px); }
.powers .eyebrow { display: block; text-align: center; margin-bottom: 22px; }
.powers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 20px; transition: border-color .25s ease, transform .25s var(--ease-out); }
.pcard:hover { border-color: var(--line-strong, #d8d2c9); transform: translateY(-3px); }
.pcard__viz { height: 148px; margin-bottom: 18px; overflow: hidden; border-radius: 10px; }
.pcard h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.pcard p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--body); flex: 1; }
.pcard__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; align-self: flex-start; height: 34px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .2s ease, gap .2s ease; }
.pcard__link:hover { border-color: var(--ink); gap: 10px; }

/* viz: skills — overlapping gradient orbs */
.viz-skills { display: flex; align-items: center; }
.viz-skills i { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--surface); margin-left: -14px; }
.viz-skills i:first-child { margin-left: 0; }
.viz-skills i:nth-child(1) { background: radial-gradient(circle at 32% 28%, #fff, #a7f3d0 45%, #34d399); }
.viz-skills i:nth-child(2) { background: radial-gradient(circle at 32% 28%, #fff, #fde68a 45%, #f59e0b); }
.viz-skills i:nth-child(3) { background: radial-gradient(circle at 32% 28%, #fff, #c4b5fd 45%, #8b5cf6); }
.viz-skills i:nth-child(4) { background: radial-gradient(circle at 32% 28%, #fff, #fecaca 45%, #f87171); }
.viz-skills i:nth-child(5) { background: radial-gradient(circle at 32% 28%, #fff, #bae6fd 45%, #38bdf8); }
.viz-skills b { margin-left: 12px; font: 500 12px/1 "SF Mono", ui-monospace, monospace; color: var(--muted); }

/* viz: chat — a two-bubble beat */
.viz-chat { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0 8px; }
.viz-chat span { max-width: 88%; padding: 9px 13px; border-radius: 15px; font-size: 12.5px; line-height: 1.4; }
.viz-chat .in { background: #e9e4ee; color: var(--ink); border-bottom-left-radius: 5px; align-self: flex-start; }
.viz-chat .out { background: #0a84ff; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }

/* viz: voice — living waveform */
.viz-voice { display: flex; align-items: center; gap: 4px; height: 100%; }
.viz-voice s { width: 4px; border-radius: 3px; background: var(--ink); height: 12px; animation: vbar 1.15s ease-in-out infinite; }
.viz-voice s:nth-child(2n) { animation-duration: .9s; background: #8b5cf6; }
.viz-voice s:nth-child(3n) { animation-duration: 1.35s; background: #f59e0b; }
.viz-voice s:nth-child(1) { animation-delay: 0s; } .viz-voice s:nth-child(2) { animation-delay: .1s; }
.viz-voice s:nth-child(3) { animation-delay: .2s; } .viz-voice s:nth-child(4) { animation-delay: .3s; }
.viz-voice s:nth-child(5) { animation-delay: .4s; } .viz-voice s:nth-child(6) { animation-delay: .5s; }
.viz-voice s:nth-child(7) { animation-delay: .6s; } .viz-voice s:nth-child(8) { animation-delay: .7s; }
.viz-voice s:nth-child(9) { animation-delay: .8s; } .viz-voice s:nth-child(10) { animation-delay: .9s; }
.viz-voice s:nth-child(11) { animation-delay: 1s; } .viz-voice s:nth-child(12) { animation-delay: 1.1s; }
@keyframes vbar { 50% { height: 44px; } }

/* viz: action — receipts */
.viz-action { display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 0 6px; }
.viz-action span { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1.2 "SF Mono", ui-monospace, monospace; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: var(--canvas); }
.viz-action b { color: #2f9e6e; font-weight: 600; }

@media (max-width: 1080px) { .powers__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .powers__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .viz-voice s { animation: none; height: 26px; } .pcard, .pcard:hover { transform: none; } }


/* ---- x.ai skeleton v2: compact hero + rotator, big cards, life split, process ---- */
.hero--min { min-height: 0; display: block; }
.hero__min { text-align: center; max-width: 1000px; margin-inline: auto; padding: clamp(64px, 9vh, 110px) 24px clamp(36px, 5vh, 56px); }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-soft); text-decoration: none; margin-bottom: 26px; transition: border-color .2s ease; }
.hero__pill:hover { border-color: var(--ink); }
.hero__pill span { font: 600 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #b45309; background: rgba(253,186,116,.18); padding: 4px 8px; border-radius: 999px; }
.hero--min h1 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: clamp(42px, 5.8vw, 80px); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); }
.rot { display: inline-block; position: relative; white-space: nowrap; }
.rot b { display: inline-block; font-weight: 500; border-bottom: 4px solid var(--line-strong, #d8d2c9); padding-bottom: .09em; font-style: italic; }
.rot b.out { opacity: 0; transform: translateY(-12px); }
.rot b.swap { transition: opacity .28s ease, transform .28s var(--ease-out); }
.hero__sub { margin: 22px auto 0; max-width: 52ch; font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.55; color: var(--muted); }
.hero--min .hero__cta { justify-content: center; margin-top: 30px; }

/* big x.ai cards: demo fills, label row at bottom */
.powers { padding-block: clamp(8px, 2vw, 24px) clamp(48px, 6vw, 84px); }
.powers__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { padding: 0; overflow: hidden; }
.pcard__viz { flex: 1; height: auto; min-height: 0; overflow: hidden; margin-bottom: 0; border-radius: 0; padding: 18px 20px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-top: 1px solid var(--line); }
.pcard__foot h3 { font-family: Inter, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.pcard__foot .pcard__link { margin-top: 0; border: 0; padding: 0; height: auto; font-size: 13.5px; color: var(--muted); }
.pcard__foot .pcard__link:hover { color: var(--ink); }
.viz-chat { max-width: 420px; margin-inline: auto; }
.viz-chat span { font-size: 13.5px; padding: 10px 15px; }
.viz-skills i { width: 64px; height: 64px; }
.viz-voice s { width: 5px; }
@keyframes vbar { 50% { height: 64px; } }
.viz-action { max-width: 420px; margin-inline: auto; gap: 11px; }
.viz-action span { font-size: 12.5px; padding: 11px 14px; }

/* life split (x.ai "one API, every modality") */
.life { padding-block: clamp(56px, 8vw, 110px); }
.life__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.life__t { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 16px; }
.life__copy p { margin: 16px 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 46ch; }
.life__card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 10px 14px; }
.life__row { display: flex; align-items: baseline; gap: 12px; font: 500 13px/1.4 "SF Mono", ui-monospace, monospace; color: var(--ink-soft); padding: 12px 6px; border-bottom: 1px solid var(--line); }
.life__row:last-child { border-bottom: 0; }
.life__row span { color: var(--muted-soft); flex: none; }
.life__row b { margin-left: auto; color: #2f9e6e; }

/* process rows */
.process { padding-block: clamp(40px, 6vw, 90px); }
.plist { margin-top: 24px; border-top: 1px solid var(--line); }
.prow-s { display: grid; grid-template-columns: 70px 300px 1fr auto; gap: 20px; align-items: baseline; padding: 26px 4px; border-bottom: 1px solid var(--line); }
.prow-s i { font: 500 12px/1 "SF Mono", ui-monospace, monospace; font-style: normal; color: var(--muted-soft); letter-spacing: .1em; }
.prow-s h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.prow-s p { font-size: 15px; line-height: 1.55; color: var(--body); }
.prow-s--last h3 { font-style: italic; }
.prow-s__by { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.prow-s__by img { width: 14px; height: 14px; }
.prow-s__by .dai-dot { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
@media (max-width: 900px) {
  .powers__grid { grid-template-columns: 1fr; }
  .pcard { min-height: 340px; }
  .life__grid { grid-template-columns: 1fr; }
  .prow-s { grid-template-columns: 44px 1fr; }
  .prow-s p { grid-column: 2; }
  .prow-s__by { grid-column: 2; }
}


/* ---- powers cards: living demos ---- */
.viz-chat span { opacity: 0; transform: translateY(8px) scale(.94); }
.viz-chat span.on { opacity: 1; transform: none; transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.4,.55,1); }
.viz-chat.bye span { opacity: 0; transform: translateY(-10px); transition: all .4s ease; }
.viz-chat .vdots { display: inline-flex; gap: 4px; padding: 12px 14px; background: #e9e4ee; border-radius: 15px; border-bottom-left-radius: 5px; align-self: flex-start; opacity: 0; }
.viz-chat .vdots.on { opacity: 1; transition: opacity .25s ease; }
.viz-chat .vdots s { width: 6px; height: 6px; border-radius: 50%; background: #9a938f; animation: vd 1.1s ease-in-out infinite; }
.viz-chat .vdots s:nth-child(2) { animation-delay: .14s; } .viz-chat .vdots s:nth-child(3) { animation-delay: .28s; }
@keyframes vd { 30% { transform: translateY(-3.5px); opacity: .5; } }

.viz-action span { opacity: 0; transform: translateY(10px); }
.viz-action span.on { opacity: 1; transform: none; transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.35,.55,1); }
.viz-action span b { opacity: 0; transform: scale(.4); display: inline-block; }
.viz-action span.done b { opacity: 1; transform: none; transition: opacity .2s ease, transform .35s cubic-bezier(.3,1.8,.5,1); }
.viz-action.bye span { opacity: 0; transform: translateY(-8px); transition: all .4s ease; }

.viz-skills i { transition: transform .5s cubic-bezier(.3,1.4,.55,1), opacity .4s ease, margin .5s cubic-bezier(.3,1.4,.55,1); }
.viz-skills i.bye { transform: scale(.3); opacity: 0; margin-left: -52px; }
.viz-skills i.new { animation: skIn .55s cubic-bezier(.3,1.5,.55,1); }
@keyframes skIn { from { transform: scale(.3); opacity: 0; } }
.viz-skills i:nth-child(n) { animation-name: none; } /* cancel old float if any */
.viz-skills b { min-width: 34px; }

.viz-voice s { animation: none !important; transition: none; will-change: height; }
@media (prefers-reduced-motion: reduce) {
  .viz-chat span, .viz-action span, .viz-action span b { opacity: 1 !important; transform: none !important; }
}


/* ---- rich card demos v2 ---- */
.pcard { height: 365px; min-height: 0; }
.pcard__viz { padding: 0; }

/* iMessage anatomy */
.viz--imsg { display: flex; flex-direction: column; align-items: stretch; background: #fff; padding: 0 !important; }
.imsg__head, .imsg__day, .imsg__thread { width: 100%; }
.imsg__head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 7px; border-bottom: 1px solid rgba(12,10,9,.07); background: rgba(249,249,249,.94); }
.imsg__av { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
.imsg__head b { font-size: 11.5px; font-weight: 500; color: var(--ink); }
.imsg__head b i { font-style: normal; color: #b8b4ae; font-size: 13px; }
.imsg__day { text-align: center; font-size: 9.5px; color: #a8a49e; padding: 7px 0 0; }
.imsg__thread { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 8px 14px 16px; overflow: hidden; min-height: 0; }
.imsg__thread span { max-width: 84%; padding: 7px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.38; opacity: 0; transform: translateY(9px) scale(.95); }
.imsg__thread span.on { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.4,.55,1); }
.imsg__thread .in { background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; align-self: flex-start; }
.imsg__thread .out { background: #0a84ff; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.imsg__thread .in + .in, .imsg__thread .out + .out { margin-top: 1px; }
.imsg__thread .dlv { align-self: flex-end; font-size: 9.5px; color: #a8a49e; padding: 2px 4px 0; opacity: 0; }
.imsg__thread .dlv.on { opacity: 1; transition: opacity .3s ease .2s; transform: none; }
.imsg__thread .vdots { display: inline-flex; gap: 4px; padding: 11px 13px; background: #e9e9eb; border-radius: 17px; border-bottom-left-radius: 5px; align-self: flex-start; opacity: 0; }
.imsg__thread .vdots.on { opacity: 1; transition: opacity .2s ease; }
.imsg__thread .vdots s { width: 6px; height: 6px; border-radius: 50%; background: #9a938f; animation: vd 1.1s ease-in-out infinite; }
.imsg__thread .vdots s:nth-child(2) { animation-delay: .14s; } .imsg__thread .vdots s:nth-child(3) { animation-delay: .28s; }
.viz--imsg.bye .imsg__thread span { opacity: 0; transform: translateY(-8px); transition: all .35s ease; }

/* agent log (x.ai build-card energy, dark) */
.viz--log { background: #131110; display: flex; }
.vlog { display: flex; flex-direction: column; width: 100%; font-family: "SF Mono", ui-monospace, Menlo, monospace; }
.vlog__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.vlog__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.vlog__bar i:nth-child(1) { background: #f87171cc; } .vlog__bar i:nth-child(2) { background: #fbbf24cc; } .vlog__bar i:nth-child(3) { background: #34d399cc; }
.vlog__bar span { margin-left: 8px; font-size: 10.5px; letter-spacing: .06em; color: rgba(245,242,236,.5); }
.vlog__body { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 14px 18px 16px; overflow: hidden; min-height: 0; }
.vlog__body div { display: flex; align-items: baseline; gap: 12px; font-size: 12.5px; line-height: 1.35; color: rgba(245,242,236,.85); opacity: 0; transform: translateY(6px); }
.vlog__body div.on { opacity: 1; transform: none; transition: opacity .3s ease, transform .4s var(--ease-out); }
.vlog__body div b { margin-left: auto; font-weight: 500; font-size: 10.5px; letter-spacing: .05em; flex: none; }
.vlog__body .st-run b { color: #fbbf24; animation: vpulse 1s ease-in-out infinite; }
.vlog__body .st-done b { color: #34d399; animation: none; }
.vlog__body .st-no b { color: #fda4af; animation: none; }
@keyframes vpulse { 50% { opacity: .35; } }
.viz--log.bye .vlog__body div { opacity: 0; transition: opacity .3s ease; }
.vlog__body .st-final { color: #fff; }
.vlog__body .st-final b { color: #34d399; }

/* skills picker */
.viz--pick { display: flex; }
.vpick { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; padding: 12px 16px; }
.vpick__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; }
.vpick__head span { font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vpick__head b { font: 600 11px/1 "SF Mono", ui-monospace, monospace; color: var(--ink); font-variant-numeric: tabular-nums; }
.vpick__split { flex: 1 1 0; display: flex; gap: 16px; min-height: 0; }
.vpick__list { flex: 0 0 47%; display: flex; flex-direction: column; gap: 5px; overflow: hidden; min-height: 0; }
.vpick__list div { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--ink-soft); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.vpick__list div em { font-style: normal; font-weight: 600; color: var(--ink); }
.vpick__list div i { font-style: normal; color: var(--muted); font-size: 10.5px; flex: 1; text-align: right; transition: color .25s ease; }
.vpick__list div.sel i { color: #2f9e6e; font-weight: 500; }

/* skills orbit, card-scale — the classic orb carousel living inside the pcard:
   circles + names, side circles centre on click, the CENTRE circle flips
   into the skill's info card */
.viz--orbit { display: flex; }
.viz--orbit .orbit--mini { position: relative; width: 100%; background: none; border: 0; border-radius: 0; padding: 20px 0 14px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.orbit--mini .orbit__track { gap: 20px; }
.orbit--mini .orbit__item { width: 200px; }
.orbit--mini .orbit__flip { width: 168px; max-width: 168px; margin: 0 auto 10px; }
.orbit--mini .orbit__orb { width: 156px; }
.orbit__orb--wave { background: none; border-radius: 0; filter: none; }

/* Max's press-morph: wave dissolves into particle text, promise fades in under */
.orbit__flip--morph .orbit__orb--wave { transition: opacity .35s ease; }
.orbit__morphcv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: 2; }
.orbit__morphsub { position: absolute; left: 6%; right: 6%; bottom: 2px; text-align: center; opacity: 0; transform: translateY(7px); transition: opacity .45s ease, transform .55s var(--ease-out); pointer-events: none; z-index: 3; }
.orbit__morphsub.on { opacity: 1; transform: none; }
.orbit__morphsub p { font-size: 10.5px; line-height: 1.4; color: var(--body); margin: 0 0 3px; }
.orbit__morphsub span { font: 500 8px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.orbit--mini .orbit__name { font-size: 17px; }
.orbit--mini .orbit__desc { font-size: 11.5px; margin-top: 3px; max-width: 24ch; }
.orbit--mini .orbit__nav { width: 30px; height: 30px; top: 50%; transform: translateY(-50%); }
.orbit--mini .orbit__nav:hover { transform: translateY(-50%) scale(1.08); }
.orbit--mini .orbit__nav--prev { left: 10px; } .orbit--mini .orbit__nav--next { right: 10px; }
.orbit--mini .orbit__nav svg { width: 15px; height: 15px; }
.skcard { width: 100%; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 15px 12px; display: flex; flex-direction: column; text-align: left; box-shadow: 0 12px 30px rgba(12,10,9,.12); }
.skcard__role { font: 500 8.5px/1.3 "SF Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.skcard__name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 3px 0 6px; }
.skcard__promise { font-size: 11px; line-height: 1.45; color: var(--body); flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.skcard__channels { font-size: 9.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 7px; margin-top: 8px; }
.skcard--dark { background: #171412; border-color: #2c2825; }
.skcard--dark .skcard__name { color: #f5f2ec; }
.skcard--dark .skcard__promise { color: rgba(245,242,236,.75); }
.skcard--dark .skcard__channels { border-color: rgba(255,255,255,.12); }

/* the day her picks build */
.vday { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 16px; }
.vday__head { font: 500 10px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 2px 0 9px; }
.vday__list { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; overflow: hidden; min-height: 0; }
.vday__list > div { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; line-height: 1.35; color: var(--ink-soft); opacity: 0; transform: translateY(7px); }
.vday__list > div.on { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s var(--ease-out); }
.vday__list > div span { font: 500 10px/1.35 "SF Mono", ui-monospace, monospace; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.vday__list > div b { margin-left: auto; font-weight: 600; color: #2f9e6e; font-size: 10.5px; flex: none; }
.vday__list > div.vday__close { color: var(--ink); font-weight: 500; }
.vday__list.bye > div { opacity: 0; transform: translateY(-6px); transition: all .3s ease; }
.vday__ghost { font-size: 11.5px; color: var(--muted); opacity: .7; font-style: italic; }
@media (max-width: 520px) { .vpick__list { flex-basis: 52%; } .vpick__list div i { display: none; } }
.vpick__list div u { text-decoration: none; width: 17px; height: 17px; border-radius: 50%; border: 1.4px solid var(--line-strong, #d8d2c9); flex: none; display: grid; place-items: center; font-size: 10px; color: #fff; transition: all .25s cubic-bezier(.3,1.6,.5,1); }
.vpick__list div.scan { border-color: var(--line-strong, #d0cabf); background: rgba(12,10,9,.02); }
.vpick__list div.sel { border-color: #2f9e6e; background: rgba(52,211,153,.07); }
.vpick__list div.sel u { background: #2f9e6e; border-color: #2f9e6e; transform: scale(1.08); }
.vpick__list div.sel u::after { content: "\2713"; }

/* live call */
.viz--call { position: relative; display: flex; padding: 16px; }
.viz--call .vpane { display: none; width: 100%; }
.viz--call .vpane.on { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding-top: 30px; animation: vpane-in .35s var(--ease-out); }
@keyframes vpane-in { from { opacity: 0; transform: translateY(6px); } }

/* mode toggle — ElevenLabs-style pills, top right */
.vmodes { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.vmode-btn { border: 1px solid transparent; background: none; border-radius: 999px; padding: 5px 11px; font: 500 11px/1 var(--font-body, inherit); letter-spacing: .01em; color: var(--muted); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.vmode-btn:hover { color: var(--ink); }
.vmode-btn.on { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 1px 4px rgba(12,10,9,.06); }
.vmode-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* voice compare / clone discs */
.vcmp { display: flex; gap: 40px; }
.vcmp__item { display: flex; flex-direction: column; align-items: center; gap: 11px; margin: 0; }
.vcmp__item figcaption { font-size: 12px; color: var(--body); }
.vcmp__disc { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease-out); }
.vcmp__disc:hover { transform: scale(1.035); }
.vcmp__disc:active { transform: scale(.97); }
.vcmp__disc:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.vcmp__disc i { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0c0a09; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(12,10,9,.18); transition: transform .25s var(--ease-out); }
.vcmp__disc:hover i { transform: scale(1.08); }
.vcmp__disc--you { background: radial-gradient(circle at 34% 30%, #e8ecff, #b9c4f4 58%, #8fa0e8); }
.vcmp__disc--mira { background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); box-shadow: 0 8px 26px rgba(139,92,246,.22); }
.vcmp__disc--up { background: #edeae5; }
.vcmp__disc--rec { background: radial-gradient(circle at 33% 30%, #cdb9f8, #8b5cf6 55%, #4c2c96); box-shadow: 0 8px 26px rgba(139,92,246,.28); }
.vcmp__disc--rec.rec::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(139,92,246,.55); animation: vrec 1.15s ease-out infinite; }
@keyframes vrec { from { transform: scale(.96); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.vcmp__disc--rec.rec i { color: #dc2626; }

/* example chips */
.vchips { display: flex; gap: 6px; margin-top: 10px; }
.vchips span { padding: 6px 13px; border-radius: 999px; border: 1px solid transparent; font-size: 11.5px; color: var(--muted); }
.vchips span.on { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 500; box-shadow: 0 1px 4px rgba(12,10,9,.05); }

/* clone flow */
.viz--call .vclone__hint { flex: none; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 38ch; font-variant-numeric: tabular-nums; }
.vclone__done { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vclone__done[hidden] { display: none; }
.vclone__done b { font-size: 15px; font-weight: 600; color: var(--ink); }
.viz--call .vclone__done p { flex: none; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--body); max-width: 32ch; }
.vclone__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--paper, #faf8f4); font-size: 13px; font-weight: 500; text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.vclone__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(12,10,9,.22); }
.vclone__redo { margin-top: 2px; border: 0; background: none; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vclone__redo:hover { color: var(--ink); }
.vcall__ring { position: relative; width: 60px; height: 60px; display: grid; place-items: center; }
.vcall__ring::before, .vcall__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(139,92,246,.35); transform: scale(var(--amp, 1)); transition: transform .12s linear; }
.vcall__ring::after { inset: -8px; border-color: rgba(253,186,116,.25); }
.vcall__orb { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); box-shadow: 0 6px 22px rgba(139,92,246,.25); }
.vcall__name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.vcall__status { font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.viz--call .viz-voice { height: 40px; margin-top: 2px; }
.viz--call .vcall__cap { flex: none; margin: 0; font-size: 12.5px; color: var(--body); font-style: italic; text-align: center; max-width: 34ch; min-height: 34px; transition: opacity .4s ease; }
.vcall__cap.fade { opacity: 0; }
@media (max-width: 900px) { .pcard { height: 380px; } }

/* ============================================================
   The Becoming — pinned scroll timeline: five steps ignite while
   Mira is assembled on the stage (name → face → voice → traits →
   her first text). All states derive from scroll progress.
   ============================================================ */
.bec { height: 410vh; }
.bec__sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding-block: 30px; }
.bec__grid { display: grid; grid-template-columns: minmax(340px, 6fr) 5fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: clamp(18px, 3vh, 34px); }

/* rail + travelling spark */
.bec__steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; display: flex; flex-direction: column; gap: clamp(13px, 2.6vh, 26px); }
.bec__rail { position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.bec__rail b { position: absolute; left: 0; right: 0; top: 0; height: 0%; background: linear-gradient(180deg, #26a5e4, #8b5cf6 55%, #fdba74); border-radius: 2px; }
.bec__spark { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -5px 0 0 -4.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,.22), 0 0 16px 5px rgba(139,92,246,.5), 0 0 30px 11px rgba(253,186,116,.28); }

/* steps */
.bstep { position: relative; display: flex; opacity: .35; transition: opacity .3s ease; }
.bstep.is-on, .bstep.is-done { opacity: 1; }
.bstep__node { position: absolute; left: -35px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--canvas, #f5f2ec); border: 2px solid var(--line-strong, #d8d2c9); transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.bstep.is-on .bstep__node { border-color: #8b5cf6; background: #fff; box-shadow: 0 0 0 5px rgba(139,92,246,.14); }
.bstep.is-done .bstep__node { border-color: #2f9e6e; background: #2f9e6e; }
.bstep__body i { display: block; font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .12em; color: var(--muted); margin-bottom: 5px; }
.bstep__body h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.08; }
.bstep__body p { margin-top: 5px; font-size: 13.5px; line-height: 1.5; color: var(--body); max-width: 44ch; opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .4s var(--ease-out); }
.bstep.is-on .bstep__body p, .bstep.is-done .bstep__body p { opacity: 1; transform: none; }
.bstep__by { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; padding: 5px 11px 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .05em; color: var(--ink-soft); box-shadow: 0 1px 5px rgba(12,10,9,.05); opacity: 0; transform: translateY(7px) scale(.9); transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.5,.5,1); }
.bstep.is-on .bstep__by, .bstep.is-done .bstep__by { opacity: 1; transform: none; }
.bstep__by img, .bstep__by svg { width: 13px; height: 13px; display: block; }
.bstep__by .dai-dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
.bstep__by + .bstep__by { margin-left: 5px; }
.bstep.is-on .bstep__by:nth-of-type(2), .bstep.is-done .bstep__by:nth-of-type(2) { transition-delay: .07s; }
.bstep.is-on .bstep__by:nth-of-type(3), .bstep.is-done .bstep__by:nth-of-type(3) { transition-delay: .14s; }
.bstep.is-on .bstep__by:nth-of-type(4), .bstep.is-done .bstep__by:nth-of-type(4) { transition-delay: .21s; }
.bstep__by--more { color: var(--muted); }

/* stage: platform badges dock in under her */
.bec__links { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.bec__links > span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: 0 2px 9px rgba(12,10,9,.07); opacity: 0; transform: translateY(10px) scale(.6); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.bec__links img, .bec__links svg { width: 15px; height: 15px; display: block; }
.bec__links .bec__links-more { width: auto; padding: 0 12px; border-radius: 999px; font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; color: var(--muted); }
.bec--links .bec__links > span { opacity: 1; transform: none; }
.bec--links .bec__links > span:nth-child(2) { transition-delay: .06s; }
.bec--links .bec__links > span:nth-child(3) { transition-delay: .12s; }
.bec--links .bec__links > span:nth-child(4) { transition-delay: .18s; }
.bec--links .bec__links > span:nth-child(5) { transition-delay: .24s; }
.bec--links .bec__links > span:nth-child(6) { transition-delay: .3s; }

/* stage — Mira assembling */
.bec__stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bec__orbwrap { position: relative; width: 216px; height: 216px; display: grid; place-items: center; }
.bec__avatar { position: relative; display: grid; place-items: center; }

/* the bitmoji — no disc, no background: just her, coming to life */
.bf-img { height: 180px; width: auto; opacity: 0; transform: scale(.8) translateY(12px); transition: transform .7s var(--ease-out); filter: drop-shadow(0 14px 28px rgba(12,10,9,.16)); }
.bec--face .bf-img { transform: scale(1) translateY(0); }
.bec--alive .bf-img { animation: bfbob 4.6s ease-in-out infinite; }
@keyframes bfbob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(-1.2deg); } }
/* she says hello: a happy bounce-tilt, then keeps breathing slightly tilted */
.bec--msg .bf-img { animation: bfhello .9s var(--ease-out) 1 both, bfbob2 4.6s ease-in-out .9s infinite; }
@keyframes bfhello { 0% { transform: scale(1) rotate(0deg); } 35% { transform: scale(1.07) rotate(-4deg); } 70% { transform: scale(.99) rotate(-1.5deg); } 100% { transform: scale(1) rotate(-2deg); } }
@keyframes bfbob2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(-3deg); } }
.bec__vring { position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid rgba(139,92,246,.55); opacity: 0; }
.bec__vring--2 { width: 188px; border-color: rgba(253,186,116,.5); }
.bec--voice .bec__vring { animation: becring 2.1s ease-out infinite; }
.bec--voice .bec__vring--2 { animation: becring 2.1s ease-out .55s infinite; }
@keyframes becring { 0% { transform: scale(.9); opacity: .95; } 100% { transform: scale(1.16); opacity: 0; } }
.bec__trait { position: absolute; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 11px; color: var(--ink-soft); box-shadow: 0 2px 9px rgba(12,10,9,.07); opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.bec__trait--1 { top: 8px; left: -30px; rotate: -5deg; }
.bec__trait--2 { top: 30px; right: -26px; rotate: 4deg; }
.bec__trait--3 { bottom: 30px; left: -42px; rotate: 3deg; }
.bec__trait--4 { bottom: 2px; right: -48px; rotate: -4deg; }
.bec--traits .bec__trait { opacity: 1; transform: scale(1); }
.bec--traits .bec__trait--2 { transition-delay: .07s; } .bec--traits .bec__trait--3 { transition-delay: .14s; } .bec--traits .bec__trait--4 { transition-delay: .21s; }
.bec__name { min-height: 36px; font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); display: flex; align-items: baseline; }
.bec__caret { width: 2px; height: 24px; background: var(--ink); margin-left: 3px; align-self: center; opacity: 0; }
.bec--typing .bec__caret { opacity: 1; animation: becaret 1s steps(2) infinite; }
@keyframes becaret { 50% { opacity: 0; } }
.bec__eq { height: 30px; opacity: 0; transition: opacity .35s ease; }
.bec__eq s { height: 9px; }
.bec--voice .bec__eq { opacity: 1; }
.bec__msg { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .35s ease, transform .5s var(--ease-out); }
.bec--msg .bec__msg { opacity: 1; transform: none; }
.bec__msg span { background: #e9e9eb; color: #111; padding: 9px 14px; border-radius: 18px; border-bottom-left-radius: 6px; font-size: 13.5px; line-height: 1.4; max-width: 30ch; }
.bec__msg i { align-self: flex-end; font-style: normal; font-size: 10px; color: var(--muted); opacity: 0; transition: opacity .3s ease .12s; }
.bec--dlv .bec__msg i { opacity: 1; }

/* flat mode — mobile & reduced motion: no pin, final state */
.bec--flat { height: auto; }
.bec--flat .bec__sticky { position: static; min-height: 0; padding-block: clamp(60px, 9vw, 110px) clamp(40px, 6vw, 80px); }
@media (max-width: 900px) {
  .bec__grid { grid-template-columns: 1fr; gap: 44px; }
  .bec__trait--1 { left: 0; } .bec__trait--3 { left: -8px; } .bec__trait--4 { right: -14px; }
}

/* ============================================================
   Channels — one Mira, every messenger (x.ai "One API" anatomy)
   ============================================================ */
.chan__grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.chan__t { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -.02em; }
.chan__t em { font-style: normal; color: var(--muted); }
.chan__copy > p { margin: 18px 0 26px; font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 44ch; }
.chan__cta { display: flex; gap: 10px; flex-wrap: nowrap; }
.chan__cta .btn { padding: 13px 22px; font-size: 14px; white-space: nowrap; }
.chan__stats { display: flex; gap: clamp(26px, 3vw, 46px); margin-top: 36px; }
.chan__stats b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.chan__stats span { font-size: 12.5px; color: var(--muted); }

.chan__stage { position: relative; padding: clamp(22px, 3vw, 40px); background:
  radial-gradient(120% 90% at 85% 8%, rgba(253,186,116,.55), transparent 55%),
  radial-gradient(110% 90% at 10% 95%, rgba(139,92,246,.4), transparent 60%),
  linear-gradient(160deg, #f3eee6, #e6dccc); }
.chan__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }
.chan__handle { position: absolute; width: 13px; height: 13px; background: #fff; box-shadow: 0 1px 4px rgba(12,10,9,.2); z-index: 2; }
.chan__handle--tl { top: -6px; left: -6px; } .chan__handle--tr { top: -6px; right: -6px; }
.chan__handle--bl { bottom: -6px; left: -6px; } .chan__handle--br { bottom: -6px; right: -6px; }

.chan__win { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(12,10,9,.14); overflow: hidden; }
.chan__winbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chan__winbar i { width: 10px; height: 10px; border-radius: 50%; }
.chan__winbar i:nth-child(1) { background: #f87171; } .chan__winbar i:nth-child(2) { background: #fbbf24; } .chan__winbar i:nth-child(3) { background: #34d399; }
.chan__winbar span { margin-left: 8px; font: 500 10.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chan__body { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 32px); padding: clamp(20px, 3vw, 32px); }
.chan__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
#chan-qr { width: 132px; height: 132px; border: 1px solid var(--line); border-radius: 10px; padding: 7px; background: #fff; }
.chan__qr span { font-size: 11.5px; color: var(--muted); text-align: center; max-width: 20ch; }
.chan__or { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex: none; }
.chan__or s { width: 1px; height: 42px; background: var(--line); text-decoration: none; }
.chan__phone { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chan__phone label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chan__field { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong, #d8d2c9); border-radius: 999px; padding: 4px 4px 4px 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.chan__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12,10,9,.06); }
.chan__field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); outline: none; font-variant-numeric: tabular-nums; }
.chan__field input::placeholder { color: var(--muted); opacity: .6; }
.chan__field button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #faf8f4; font-size: 15px; cursor: pointer; flex: none; transition: transform .2s var(--ease-out); }
.chan__field button:hover { transform: scale(1.07); }
.chan__field.shake { animation: chanshake .4s ease; }
@keyframes chanshake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.chan__note { font-size: 11.5px; color: var(--muted); }
.chan__note.err { color: #c2410c; }

.chan__tabs { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.chan-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid transparent; background: none; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.chan-tab img, .chan-tab svg { width: 15px; height: 15px; display: block; }
.chan-tab:not(.on) img { filter: grayscale(1); opacity: .55; }
.chan-tab:not(.on) svg { opacity: .55; }
.chan-tab:hover { color: var(--ink); }
.chan-tab.on { background: #fff; border-color: var(--ink); color: var(--ink); font-weight: 500; box-shadow: 0 1px 5px rgba(12,10,9,.08); }
.chan-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 960px) {
  .chan__grid { grid-template-columns: 1fr; }
  .chan__body { flex-direction: column; }
  .chan__or { flex-direction: row; }
  .chan__or s { width: 42px; height: 1px; }
  .chan__phone { width: 100%; }
  .chan__tabs { justify-content: center; }
}

/* ============================================================
   Logos / trust strip
   ============================================================ */
.trustbar { padding-block: 20px; background: transparent; overflow: hidden; }

/* Cluely-style compatibility strip: a whispered uppercase label, then a wide
   airy row of icon + name in big quiet type — no pills, no borders */
.trustbar .trustbar__inner--cluely { display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 3.5vw, 40px); padding-block: clamp(20px, 4vw, 44px); }
.trustbar__label { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.trustbar .trustbar__inner--cluely .channels { gap: clamp(28px, 6vw, 96px); }
.trustbar .trustbar__inner--cluely .channel { padding: 0; border: 0; background: none; box-shadow: none; gap: 13px; }
.trustbar .trustbar__inner--cluely .channel:hover { transform: none; box-shadow: none; background: none; }
.trustbar .trustbar__inner--cluely .channel__badge { width: 34px; height: 34px; border-radius: 9px; }
.trustbar .trustbar__inner--cluely .channel__name { font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
@media (max-width: 640px) { .trustbar .trustbar__inner--cluely .channels { gap: 22px 30px; } .trustbar .trustbar__inner--cluely .channel__name { font-size: 17px; } }
.trustbar__inner { display: block; text-align: center; color: var(--muted); font-size: 13.5px; }
.trustbar__row { text-align: center; margin-bottom: 14px; }
.trustbar__metarow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.trustbar__lead { display: block; margin-bottom: 11px; font-weight: 500; color: var(--ink-soft); }
.trustbar__meta { color: var(--muted); }
.trustbar__div { color: var(--muted-soft); }
.trustbar b { color: var(--ink-soft); font-weight: 600; }

/* animated channel chips — scoped to .trustbar (".channels"/".channel" exist elsewhere) */
.trustbar .channels { display: flex; width: 100%; align-items: center; gap: 9px; list-style: none; margin: 0; padding: 0; flex-flow: row wrap; justify-content: center; }
.trustbar .channel {
  display: inline-flex; width: auto; align-items: center; gap: 8px;
  padding: 6px 13px 6px 7px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 1px 2px rgba(12,10,9,.03);
  opacity: 0; transform: translateY(9px) scale(.94);
  animation: chIn .55s var(--ease-spring) forwards;
  transition: transform .2s var(--ease-out), box-shadow .2s ease, border-color .2s ease;
}
.trustbar .channel:nth-child(1) { animation-delay: .04s; }
.trustbar .channel:nth-child(2) { animation-delay: .13s; }
.trustbar .channel:nth-child(3) { animation-delay: .22s; }
.trustbar .channel:nth-child(4) { animation-delay: .31s; }
.trustbar .channel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ch) 55%, var(--line));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--ch) 28%, transparent);
}
.trustbar .channel__badge {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 3px 7px color-mix(in srgb, var(--ch) 42%, transparent);
  animation: chFloat 4s ease-in-out infinite;
}
.trustbar .channel:nth-child(2) .channel__badge { animation-delay: .5s; }
.trustbar .channel:nth-child(3) .channel__badge { animation-delay: 1s; }
.trustbar .channel:nth-child(4) .channel__badge { animation-delay: 1.5s; }
.trustbar .channel__badge svg { width: 16px; height: 16px; display: block; }
.trustbar .channel__badge--imessage { background: linear-gradient(180deg, #5bf163, #1fc24e); }
.trustbar .channel__badge--sms { background: linear-gradient(180deg, #7d8896, #5b6873); }
.trustbar .channel__badge--whatsapp { background: linear-gradient(180deg, #43dd7a, #22c15b); }
.trustbar .channel__badge--telegram { background: linear-gradient(180deg, #37b6f2, #2196d6); }
.trustbar .channel__name { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: -.01em; }

@keyframes chIn { to { opacity: 1; transform: none; } }
@keyframes chFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .trustbar .channel { animation: none; opacity: 1; transform: none; }
  .trustbar .channel__badge { animation: none; }
}

/* ============================================================
   Agents grid
   ============================================================ */
.agents__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 48px; }
.agents__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }

/* featured agents — big editorial square tiles (OpenAI-style): a colour field
   with the name set huge, caption below the tile, barely-there hover */
.agents__feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.agent-xl { cursor: pointer; }
.agent-xl:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-xl); }
.agent-xl__tile {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden;
  display: grid; place-items: center;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-base) ease;
}
.agent-xl:hover .agent-xl__tile { transform: scale(1.012); box-shadow: var(--shadow-card); }
.agent-xl__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5.5vw, 72px); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.agent-xl__count { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-soft); background: rgba(255,255,255,.72); border-radius: var(--pill); padding: 5px 12px; font-variant-numeric: tabular-nums; }
.agent-xl__count b { font-weight: 600; color: var(--ink); }
.agent-xl__promise { font-size: 16.5px; font-weight: 500; color: var(--ink); line-height: 1.4; margin: 14px 0 0; }
.agent-xl__sub { font-size: 13px; color: var(--muted); margin: 5px 0 0; }
.agent-xl__sub b { font-weight: 600; color: var(--ink-soft); }
.agent-xl--dark .agent-xl__tile { background: linear-gradient(160deg, #1c1917 0%, #0c0a09 100%); }
.agent-xl--dark .agent-xl__name { color: #fff; }
.agent-xl--dark .agent-xl__count { background: rgba(255,255,255,.14); color: var(--on-dark-soft); }
.agent-xl--dark .agent-xl__count b { color: #fff; }
@media (max-width: 940px) { .agents__feature { grid-template-columns: 1fr; } }

/* ============================================================
   PLUGGED IN — Mira's inbox (one sender, specialty-tagged) +
   full-bleed animated partner rows: platforms streaming by,
   organised by life segment. Pause on hover; static on reduce.
   ============================================================ */
.mirabox { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 72px); }
.msg-av--mira { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #ead9ff 0%, #b493e6 34%, var(--mira) 66%, #2b1f52 100%); }
.msg-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mira); background: rgba(109,84,201,.10); padding: 2px 8px; border-radius: var(--pill); margin-left: 8px; vertical-align: 1px; }

.partners { border-top: 1px solid var(--line); }
.prow { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 13px 0; }
.prow__label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; padding: 0 34px 0 var(--gutter); background: linear-gradient(90deg, var(--canvas) 78%, transparent 100%); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); min-width: 218px; }
.prow__track { display: flex; width: max-content; will-change: transform; animation: prowMove var(--pdur, 40s) linear infinite; }
.prow--rev .prow__track { animation-direction: reverse; }
.prow:hover .prow__track { animation-play-state: paused; }
.prow__set { display: flex; align-items: center; gap: 12px; padding-right: 12px; padding-left: 230px; }
.prow__set + .prow__set { padding-left: 0; }
@keyframes prowMove { to { transform: translateX(-50%); } }
.pchip { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 16px 7px 9px; }
.pchip__ic { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--line-soft); display: grid; place-items: center; }
.pchip__ic img, .pchip__ic svg { width: 17px; height: 17px; display: block; }
.pchip > b { font-size: 13px; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .prow__label { min-width: 0; position: static; background: none; padding: 0 var(--gutter) 8px; display: block; } .prow { padding-top: 11px; } .prow__set { padding-left: 12px; } }
@media (prefers-reduced-motion: reduce) { .prow__track { animation: none; } }

/* ============================================================
   SHE GROWS WITH YOU — scroll-pinned constellation. As you scroll,
   life's tools connect to Mira one by one: lines draw themselves,
   data pulses along them, and her orb grows. Design language reused:
   .lg logo chips, .eyebrow labels, the Mira orb gradient.
   ============================================================ */
.growlife { height: 280vh; position: relative; }
.growlife__sticky { position: sticky; top: 0; height: 100vh; display: grid; overflow: hidden; }
.growlife__wrap { position: relative; display: grid; place-items: center; height: 100%; }
.growlife__hud { position: absolute; top: clamp(76px, 11vh, 110px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; }
.growlife__hud .eyebrow { font-variant-numeric: tabular-nums; }
.growlife__stage { position: relative; width: min(70vh, 92vw, 720px); aspect-ratio: 1 / 1; }
.growlife__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gl-link .base { stroke: rgba(12,10,9,.15); stroke-width: .4; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1s var(--ease-out); }
.gl-link.is-on .base { stroke-dashoffset: 0; }
.gl-link .flow { stroke: var(--mira); stroke-width: .55; fill: none; opacity: 0; stroke-dasharray: 1.4 4.6; transition: opacity .5s ease .5s; }
.gl-link.is-on .flow { opacity: .8; animation: glflow 1.5s linear infinite; }
@keyframes glflow { to { stroke-dashoffset: -6; } }
.growlife__node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translate(-50%, -50%) scale(.5); opacity: 0; transition: opacity .5s ease, transform .65s var(--ease-spring); }
.growlife__node.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.growlife__node .lbl { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.growlife__mira {
  position: absolute; left: 50%; top: 50%; width: clamp(84px, 13vw, 118px); aspect-ratio: 1 / 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(.55);
  background: radial-gradient(circle at 30% 26%, #ead9ff 0%, #b493e6 34%, var(--mira) 66%, #2b1f52 100%);
  box-shadow: 0 18px 48px rgba(90,60,180,.38), inset 0 2px 8px rgba(255,255,255,.5);
  will-change: transform;
}
.growlife__cap { position: absolute; bottom: clamp(28px, 6vh, 56px); left: 50%; transform: translate(-50%, 10px); width: max-content; max-width: 90vw; font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.01em; color: var(--ink); opacity: 0; transition: opacity .6s ease, transform .6s var(--ease-out); }
.growlife__cap.is-in { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .growlife { height: 240vh; } .growlife__node .lbl { font-size: 10px; } .growlife__node .lg { width: 42px; height: 42px; } .growlife__node .lg img { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .growlife { height: auto; }
  .growlife__sticky { position: static; height: auto; min-height: 100vh; }
  .gl-link .base { stroke-dashoffset: 0; transition: none; }
  .gl-link .flow { animation: none; opacity: .5; }
  .growlife__node, .growlife__cap { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .growlife__cap { transform: translate(-50%, 0); }
}

/* ============================================================
   Specialty ORBIT — the ElevenLabs-style orb carousel: one soft
   gradient sphere per specialty, centre item in focus, captions
   beneath, arrows to glide. Sits in a canvas-soft rounded panel.
   ============================================================ */
.orbit { position: relative; background: var(--canvas-soft); border: 1px solid var(--line-soft); border-radius: var(--r-2xl); padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.orbit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.orbit__viewport { overflow: hidden; width: 100%; }
.orbit__track { display: flex; gap: 24px; align-items: flex-start; will-change: transform; transition: transform .55s var(--ease-out); }
.orbit__item { flex: none; width: min(340px, 72vw); display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; opacity: .4; transform: scale(.86); transition: opacity .4s ease, transform .55s var(--ease-out); }
.orbit__item.is-center { opacity: 1; transform: scale(1); }
.orbit__num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: .05em; color: var(--muted-soft); margin-bottom: 16px; font-variant-numeric: tabular-nums; transition: color .3s ease; }
.orbit__item.is-center .orbit__num { color: var(--ink); }
.orbit__orb { width: clamp(200px, 24vw, 300px); aspect-ratio: 1 / 1; border-radius: 50%; filter: saturate(1.05); }

/* click the CENTRE orb → it flips into the classic card (same content the
   tiles showed: rainbow name, promise, sample text / feature list, channels) */
.orbit__flip { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1 / 1; perspective: 1200px; margin-bottom: 22px; }
.orbit__flipinner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .65s var(--ease-out); display: grid; place-items: center; }
.orbit__flip.is-flipped .orbit__flipinner { transform: rotateY(180deg); }
.orbit__face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.orbit__back { position: absolute; inset: 0; transform: rotateY(180deg); text-align: left; }
.orbit__back .agent { height: 100%; padding: 20px 20px 18px; }
.orbit__back .agent__role { margin-bottom: 6px; }
.orbit__back .agent__promise { margin-bottom: 8px; }
.orbit__back .agent__sample { margin-block: auto; padding: 10px 12px; font-size: 12.5px; line-height: 1.42; }
.orbit__back .agent__feats { margin-block: auto; }
.orbit__back .agent__feats li { font-size: 12.5px; }
.orbit__back .agent__foot { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .orbit__flipinner { transition: none; } }
.orbit__name { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.01em; color: var(--ink); margin: 0; }
.orbit__desc { font-size: 15px; color: var(--muted); line-height: 1.5; max-width: 32ch; margin: 8px auto 0; }
.orbit__meta { font-size: 12.5px; color: var(--muted-soft); margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.orbit__meta b { font-weight: 600; color: var(--ink-soft); }

/* the invitation lives in the caption, not on the orb: an explicit pill,
   plus a soft grow on the orb when the centre item is hovered */
.orbit__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink); transition: border-color var(--dur-base) ease, background var(--dur-base) ease, transform var(--dur-base) var(--ease-out); }
.orbit__more svg { width: 14px; height: 14px; }
.orbit__item.is-center { cursor: pointer; }
.orbit__item.is-center:hover .orbit__more { border-color: var(--ink); transform: translateY(-1px); }
.orbit__item.is-center:active .orbit__more { transform: translateY(0) scale(.98); }
.orbit__orb { transition: transform .4s var(--ease-out); }
.orbit__item.is-center:hover .orbit__orb { transform: scale(1.025); }
.orbit__nav { position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color var(--dur-base) ease, transform var(--dur-base) var(--ease-out), opacity .2s ease; }
.orbit__nav:hover { border-color: var(--ink); transform: scale(1.06); }
.orbit__nav:disabled { opacity: .25; cursor: default; transform: none; border-color: var(--line-strong); }
.orbit__nav--prev { left: 18px; }
.orbit__nav--next { right: 18px; }
@media (max-width: 640px) {
  .orbit__item { width: 82vw; }
  .orbit__orb { width: min(62vw, 260px); }
  .orbit__nav { width: 38px; height: 38px; top: 34%; }
  .orbit__nav--prev { left: 10px; }
  .orbit__nav--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .orbit__track, .orbit__item { transition: none; } }

/* flip trial (Max) — hover turns the colour tile around to reveal the classic
   card design as the back face; same square, 3D rotate */
.agent-xl__flip { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; }
.agent-xl__flipinner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease-out); }
.agent-xl--flip:hover .agent-xl__flipinner,
.agent-xl--flip:focus-visible .agent-xl__flipinner { transform: rotateY(180deg); }
.agent-xl__flip .agent-xl__tile { position: absolute; inset: 0; aspect-ratio: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.agent-xl--flip:hover .agent-xl__tile { transform: none; box-shadow: none; } /* the flip is the motion */
.agent-xl__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.agent-xl__back { transform: rotateY(180deg); }
.agent-xl__back .agent { height: 100%; padding: 20px 20px 18px; }
.agent-xl__back .agent__role { margin-bottom: 6px; }
.agent-xl__back .agent__promise { margin-bottom: 8px; }
.agent-xl__back .agent__sample { margin-block: auto; padding: 10px 12px; font-size: 12.5px; line-height: 1.42; }
.agent-xl__back .agent__feats { margin-block: auto; }
.agent-xl__back .agent__feats li { font-size: 12.5px; }
.agent-xl__back .agent__foot { margin-top: 10px; }

/* classic card, tile-sized — SAME design language (white, orb, rainbow name,
   existing sample-text bubble), laid out to FILL the square: the agent's real
   sample text sits centred in the middle, the footer pins to the bottom */
.agent-sq { aspect-ratio: 1 / 1; }
.agent-sq .agent { height: 100%; }
.agent-sq .agent__promise { margin-bottom: 14px; }
.agent-sq .agent__sample { margin-block: auto; }
.agent-sq .agent__foot { margin-top: 16px; }

.agent {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease;
}
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.agent:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-xl); }
.agent__orb { position: absolute; width: 200px; height: 200px; top: -90px; right: -70px; filter: blur(46px); opacity: .5; border-radius: 50%; z-index: 0; transition: opacity .25s ease; }
.agent:hover .agent__orb { opacity: .72; }

/* cursor-reactive glow — the EXISTING orb drifts toward the pointer (its transform
   is free; card + wrapper transforms belong to the pin mechanic), plus a faint
   spotlight overlay. CSS-var driven from wireCardGlow(). */
@media (hover: hover) and (pointer: fine) {
  .agent__orb {
    transform: translate3d(calc(var(--gx, 0) * 1px), calc(var(--gy, 0) * 1px), 0);
    transition: opacity .25s ease, transform var(--dur-slow) var(--ease-out);
  }
  .agent::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 0%), rgba(12,10,9,.045), transparent 65%);
    opacity: 0; transition: opacity .3s ease;
  }
  .agent:hover::after { opacity: 1; }
  .agent--dark::after { background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.10), transparent 65%); }
}
.agent > * { position: relative; z-index: 1; }
.agent > .agent__orb { position: absolute; }

.agent__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.agent__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(12,10,9,.06); }
.agent__role { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding-right: 96px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent__free { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--success-deep); background: var(--success-wash); border-radius: var(--pill); padding: 2px 7px; margin-left: 6px; vertical-align: middle; }
.agent--dark .agent__free { background: rgba(255,255,255,.14); color: #fff; }
.detail__price--free { color: var(--success-deep); }
.agent__name { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -0.015em; line-height: 1.04; margin-bottom: 11px; }
.agent__promise { font-size: 15px; color: var(--body); line-height: 1.5; margin-bottom: 20px; }

.agent__sample {
  margin-top: 0; background: var(--surface-strong); border: 1px solid var(--line-soft);
  border-radius: 14px; border-bottom-left-radius: 5px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); position: relative;
}
.agent__sample::before { content: 'sample text'; position: absolute; top: -9px; left: 12px; background: var(--surface); border: 1px solid var(--line-soft); color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--pill); }

/* compact feature checklist (cards that list powers instead of a sample text) */
.agent__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.agent__feats li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.agent__feats li::before { content: "✓"; position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 700; color: var(--success-deep); }
.agent--dark .agent__feats li { color: #d7d3ce; }
.agent--dark .agent__feats li::before { color: #7ed3a2; }
.agent__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.agent__channels { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.agent__channels .ic { width: 14px; height: 14px; }
.agent__go { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: gap .18s ease; }
.agent:hover .agent__go { gap: 10px; }

/* Premium dark variant (Victor) */
.agent--dark { background: var(--surface-dark); border-color: #2a2724; }
.agent--dark .agent__name { color: #fff; }
.agent--dark .agent__role { color: var(--on-dark-soft); }
.agent--dark .agent__promise { color: #d7d3ce; }
.agent--dark .agent__avatar { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.agent--dark .agent__sample { background: var(--surface-dark-2); border-color: #2a2724; color: #d7d3ce; }
.agent--dark .agent__sample::before { background: var(--surface-dark); border-color: #2a2724; color: var(--on-dark-soft); }
.agent--dark .agent__channels { color: var(--on-dark-soft); }
.agent--dark .agent__go { color: #fff; }
.agent--dark .agent__orb { opacity: .26; }
.agent--dark:hover .agent__orb { opacity: .42; }
.agent--dark .badge { background: var(--surface-dark-2); border-color: #2a2724; color: #fff; }

/* Coming soon */
.agent--soon { opacity: .92; }
.agent--soon:hover { transform: translateY(-2px); }
.agent--soon .agent__go { color: var(--muted); }

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--surface-dark); color: var(--on-dark); border-radius: var(--r-2xl); padding: clamp(40px,6vw,72px) clamp(24px,5vw,64px); position: relative; overflow: hidden; }
.how .orb { opacity: .22; }
.how .orb--a { width: 380px; height: 380px; top: -140px; right: -100px; }
.how .orb--b { width: 300px; height: 300px; bottom: -160px; left: -80px; }
.how__head { position: relative; z-index: 1; max-width: 620px; margin-bottom: 48px; }
.how__head .eyebrow { color: var(--on-dark-soft); }
.how__head h2 { color: #fff; margin-top: 14px; }
.how__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 22px 20px; }
.step__n { font-family: var(--font-display); font-weight: 300; font-size: 30px; color: #fff; opacity: .55; line-height: 1; }
.step__t { color: #fff; font-size: 16px; font-weight: 600; margin-top: 16px; letter-spacing: 0; }
.step__b { color: var(--on-dark-soft); font-size: 14px; line-height: 1.5; margin-top: 8px; letter-spacing: 0; }

/* ============================================================
   Proof / stats
   ============================================================ */
.proof__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 28px; text-align: center; }
.stat__v { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px,5vw,48px); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat__l { color: var(--muted); font-size: 14.5px; margin-top: 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 4px; font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.faq__q .ic { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform .25s ease; }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq__item.is-open .faq__a { transition: max-height .34s var(--ease-out); }
.faq__q { transition: color var(--dur-fast) ease; }
.faq__q:hover .ic { color: var(--ink); }
.faq__item { transition: background var(--dur-base) ease; }
.faq__item:hover { background: rgba(12,10,9,.018); }
.faq__a > p { padding: 0 4px 24px; color: var(--body); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }

/* ============================================================
   Final CTA band
   ============================================================ */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band__orbs { position: absolute; inset: 0; z-index: 0; }
.cta-band .orb--l { width: 380px; height: 380px; top: -120px; left: 8%; opacity: .4; }
.cta-band .orb--r { width: 420px; height: 420px; bottom: -180px; right: 6%; opacity: .38; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(32px,5vw,52px); line-height: 1.05; letter-spacing: -0.025em; max-width: 16ch; margin-inline: auto; }
.cta-band p { margin: 20px auto 0; max-width: 48ch; color: var(--body); font-size: 17px; }
.cta-band .btn { margin-top: 30px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: transparent; border-top: 1px solid var(--line); padding-block: 56px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer__brand { max-width: 280px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tagline { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color var(--dur-fast) ease, transform var(--dur-base) var(--ease-out); }
.footer__col a:hover { color: var(--ink); transform: translateX(3px); }
.footer__col a:focus-visible { outline-offset: 2px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer__bottom p { max-width: 70ch; }

/* ============================================================
   Onboarding overlay (multi-step flow)
   ============================================================ */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12,10,9,.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.sheet-scrim.is-open { opacity: 1; visibility: visible; }
.sheet {
  background: var(--canvas); width: 100%; max-width: 460px; border-radius: var(--r-2xl);
  box-shadow: var(--shadow-pop); position: relative; overflow: hidden;
  transform: translateY(16px) scale(.98); transition: transform .3s var(--ease-spring);
  max-height: calc(100dvh - 40px); display: flex; flex-direction: column;
}
.sheet-scrim.is-open .sheet { transform: translateY(0) scale(1); }
.sheet__orb { position: absolute; width: 260px; height: 260px; top: -120px; right: -80px; filter: blur(50px); opacity: .5; border-radius: 50%; z-index: 0; }
.sheet__head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.sheet__steps { display: flex; gap: 6px; }
.sheet__dot { width: 22px; height: 4px; border-radius: var(--pill); background: var(--line-strong); transition: background .25s ease; }
.sheet__dot.is-active { background: var(--ink); }
.sheet__dot.is-done { background: var(--ink-soft); }
.sheet__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: background .15s ease; }
.sheet__close:hover { background: var(--surface-strong); }
.sheet__body { position: relative; z-index: 1; padding: 22px 26px 28px; overflow-y: auto; }

.step-pane { display: none; animation: paneIn .32s ease both; }
.step-pane.is-active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.sheet__agent { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.sheet__agent .agent__avatar { width: 44px; height: 44px; }
.sheet__agent-meta { display: flex; flex-direction: column; }
.sheet__agent-name { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); line-height: 1; }
.sheet__agent-role { font-size: 12.5px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 5px; }

.sheet h3 { font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.sheet h3:focus-visible { outline: none; }
.sheet__lead { font-size: 14.5px; color: var(--body); margin-bottom: 22px; line-height: 1.5; }

/* Additive safety / compliance callout (Ava, Kai) */
.sheet__callout { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 20px; font-size: 12.75px; line-height: 1.5; color: var(--ink-soft); }
.sheet__callout .ic { width: 16px; height: 16px; color: var(--muted); margin-top: 1px; }

/* Screen-reader-only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Field */
.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: 0; }
.phone-input { display: flex; align-items: stretch; gap: 8px; }
.phone-cc {
  display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.phone-cc select { border: none; background: none; font: inherit; color: inherit; outline: none; cursor: pointer; }
.input {
  width: 100%; height: 50px; padding: 0 16px; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .15s ease, box-shadow .15s ease; letter-spacing: 0;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12,10,9,.06); }
.input.is-error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
.field__error { color: var(--error); font-size: 12.5px; margin-top: 7px; display: none; }
.field__error.is-shown { display: block; }

/* Consent */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent__box { flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; margin-top: 1px; transition: background .15s ease, border-color .15s ease; }
.consent__box .ic { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.consent input:checked + .consent__box { background: var(--ink); border-color: var(--ink); }
.consent input:checked + .consent__box .ic { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent__text { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.consent__text a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

/* Channel buttons */
.channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.channel {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.channel:hover { border-color: var(--ink); box-shadow: var(--shadow-soft); }
.channel:active { transform: translateY(1px); }
#s2-channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.channel__logo { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 3px 8px rgba(12,10,9,.14); }
.channel__logo svg { width: 25px; height: 25px; display: block; }
.channel__logo--whatsapp { background: #25d366; }
.channel__logo--whatsapp svg { width: 27px; height: 27px; }
.channel__logo--telegram { background: linear-gradient(180deg, #38b6f1, #1d93d2); }
.channel__logo--telegram svg { width: 24px; height: 24px; margin-left: -1px; }
.channel__logo--sms { background: linear-gradient(180deg, #3d9bff, #0a78ff); }
.channel__tag { display: inline-block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: var(--pill); margin-left: 7px; vertical-align: middle; background: var(--surface-strong); color: var(--muted); }
.channel__tag--telegram { background: var(--success-wash); color: var(--success-deep); }
.channel__meta { flex: 1; min-width: 0; }
.channel__t { display: block; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.channel__d { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.channel__arrow { color: var(--muted-soft); }

/* Prefilled message preview */
.msg-preview { background: var(--surface-strong); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 18px; }
.msg-preview__l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 7px; }
.msg-preview__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.msg-preview__text { font-size: 15px; color: var(--ink); font-weight: 500; letter-spacing: 0; }
.msg-preview__to { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.code-chip { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 600; letter-spacing: 0.05em; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 5px; font-size: 14px; }

/* Confirmation */
.confirm { text-align: center; }
.confirm__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; position: relative; }
.confirm__icon .ic { width: 30px; height: 30px; color: var(--ink); }
.confirm__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: .4; animation: pulse 2s infinite ease-out; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.confirm__steps { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px; margin: 22px 0 18px; }
.confirm__steps li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); display: flex; gap: 12px; align-items: flex-start; }
.confirm__steps li:last-child { border-bottom: none; }
.confirm__steps .n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; }
.confirm__help { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.confirm__help code { background: var(--surface-strong); padding: 1px 6px; border-radius: 4px; font-weight: 600; color: var(--ink-soft); }

.sheet__foot-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--muted); }

/* QR (desktop fallback) */
.qr-box { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; }
.qr-box img { width: 104px; height: 104px; border-radius: 8px; background: #fff; }
.qr-box__meta { font-size: 13px; color: var(--body); line-height: 1.5; }

/* ============================================================
   Bundles
   ============================================================ */
.bundles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---- build-your-own plan ---- */
.planb { margin-top: 8px; }
.planb__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pb-agent { position: relative; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 16px 16px 14px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; font: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease; }
.pb-agent:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.pb-agent:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pb-agent.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pb-agent__role { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pb-agent__name { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink); line-height: 1.05; letter-spacing: -.01em; }
.pb-agent__tag { margin-top: 5px; font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-tag--incl { color: var(--success-deep); font-weight: 600; }
.pb-tag--extra { color: var(--ink); font-weight: 600; }
.pb-tag--free { color: var(--success-deep); font-weight: 600; }
.pb-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.pb-check svg { width: 13px; height: 13px; }
.pb-agent.is-on .pb-check { opacity: 1; transform: scale(1); }
.planb__bar { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 18px 18px 26px; border-radius: var(--r-xl); background: var(--surface-strong); border: 1px solid var(--line-strong); box-shadow: 0 8px 28px rgba(12,10,9,.08); }
.planb__price { font-family: var(--font-display); font-weight: 300; font-size: 32px; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.planb__price i { font-style: normal; font-size: 14px; color: var(--muted); font-family: var(--font-body); margin-left: 2px; }
.planb__detail { font-size: 13px; color: var(--muted); margin-top: 6px; }
.planb__bar .btn { flex-shrink: 0; }
@media (max-width: 900px) { .planb__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .planb__grid { grid-template-columns: 1fr; } .planb__bar { flex-direction: column; align-items: stretch; text-align: center; } .planb__bar .btn { width: 100%; } }
.bundle { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; cursor: pointer; transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease; min-height: 268px; }
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.bundle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bundle__orb { position: absolute; width: 200px; height: 200px; top: -90px; right: -70px; filter: blur(46px); opacity: .5; border-radius: 50%; z-index: 0; }
.bundle > * { position: relative; z-index: 1; }
.bundle__flag { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--pill); }
.bundle__faces { margin-bottom: 16px; }
.bundle__name { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
.bundle__who { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.bundle__agents { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }
.bundle__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.bundle__price b { font-family: var(--font-display); font-weight: 300; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.bundle__price s { color: var(--muted-soft); font-size: 14px; margin-left: 4px; }
.bundle__save { font-size: 12px; font-weight: 600; color: var(--success-deep); background: var(--success-wash); border-radius: var(--pill); padding: 4px 10px; white-space: nowrap; }
.bundle__go { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; transition: gap .18s ease; }
.bundle:hover .bundle__go { gap: 10px; }
.bundle--featured { background: var(--surface-dark); border-color: #2a2724; }
.bundle--featured .bundle__name, .bundle--featured .bundle__price b, .bundle--featured .bundle__go { color: #fff; }
.bundle--featured .bundle__who { color: var(--on-dark-soft); }
.bundle--featured .bundle__agents { color: #d7d3ce; }
.bundle--featured .bundle__orb { opacity: .3; }

.face-stack { display: inline-flex; align-items: center; }
.face-stack__f { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.bundle--featured .face-stack__f { box-shadow: 0 0 0 2px var(--surface-dark); }
.face-stack__more { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 9px; border-radius: var(--pill); background: var(--surface-strong); color: var(--ink-soft); font-size: 12px; font-weight: 600; box-shadow: 0 0 0 2px var(--surface); }

.detail__face--stack { width: auto; height: auto; box-shadow: none; }
.detail__was { color: var(--muted-soft); font-size: 15px; }
.bundle-agents { display: flex; flex-direction: column; gap: 8px; }
.bundle-agent { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; }
.bundle-agent__face, .bundle-agent__face .face { width: 36px; height: 36px; flex-shrink: 0; }
.bundle-agent__meta { flex: 1; min-width: 0; }
.bundle-agent__name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bundle-agent__role { font-size: 12px; color: var(--muted); }
.bundle-agent__price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bundle-value { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; font-size: 14.5px; color: var(--body); }
.bundle-value__was { color: var(--muted); font-weight: 500; }
.bundle-value--total { border-top: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.bundle-value--total b { font-family: var(--font-display); font-weight: 300; font-size: 22px; }
.bundle-value--total em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--success-deep); background: var(--success-wash); border-radius: var(--pill); padding: 3px 9px; margin-left: 6px; }

/* ============================================================
   Agent detail view (full feature showcase)
   ============================================================ */
.face { display: block; border-radius: 50%; object-fit: cover; }

/* agent card avatars — alive idle float + follow-the-cursor 3D tilt on hover */
/* agent card: the bitmoji fills the open top area (no circle) + follows the cursor */
.agent > .agent__count { position: absolute; top: 25px; right: 22px; z-index: 3; }

/* holographic rainbow name — the same spectrum as the sam logo foil, filling the
   glyphs themselves (background-clip: text), with a slow iridescent shimmer */
.agent__name, .detail__name {
  display: inline-block; width: -moz-fit-content; width: fit-content; max-width: 100%;
  padding: .08em .14em .1em .06em; margin: -.08em -.14em -.1em -.06em;
  background: linear-gradient(92deg, #f43f5e 0%, #f97316 16%, #ea8c00 30%, #16a34a 45%, #0891b2 60%, #4f46e5 74%, #9333ea 87%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: nameHue 9s linear infinite;
}
@keyframes nameHue { to { filter: hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .agent__name, .detail__name { animation: none; } }

/* onboarding: memory-sharing choice */
.share-ask { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-strong); text-align: left; }
.share-ask__q { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.share-ask__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share-opt { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-family: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.share-opt strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.share-opt span { font-size: 11px; color: var(--muted); line-height: 1.25; }
.share-opt:hover { border-color: var(--ink-soft); }
.share-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.share-ask__note { font-size: 11px; color: var(--muted-soft); margin-top: 9px; line-height: 1.4; }
@media (max-width: 480px) { .share-ask__opts { grid-template-columns: 1fr; } }

/* onboarding: "about you" intake — context the agent has before it ever texts you */
.about-ask { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-strong); text-align: left; }
.about-ask__q { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.about-ask__q svg { width: 16px; height: 16px; color: var(--ink-soft); flex-shrink: 0; }
.about-ask__sub { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 6px 0 12px; }
.about-grid { display: grid; gap: 8px; }
.about-grid .input { padding: 10px 12px; font-size: 13.5px; }
.about-ta { resize: vertical; min-height: 46px; font-family: inherit; line-height: 1.45; }
.about-ask__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.about-ask__status { font-size: 11.5px; color: var(--ink-soft); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: var(--pill); }
.about-row2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
.about-row2 .input { padding: 10px 12px; font-size: 13.5px; }
select.input { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }

/* onboarding: per-agent questions (tailored to the agent being set up) */
.agent-intake { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-strong); text-align: left; }
.ai-q { margin-top: 12px; }
.ai-q__label { display: block; font-size: 12.75px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; line-height: 1.35; }
.ai-q .input { padding: 10px 12px; font-size: 13.5px; }
.ai-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-opt { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink-soft); font-family: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.ai-opt:hover { border-color: var(--ink-soft); }
.ai-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }

/* onboarding: 24h free-trial note */
.trial-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r-lg); background: linear-gradient(135deg, #eef6f0, #e6f2ec); border: 1px solid #cfe7d8; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.trial-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--success-deep); }
.trial-note strong { color: var(--ink); }

/* onboarding: choose-your-face (avatar is the user's choice, not the agent's) */
.face-pick { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-strong); }
.face-pick__q { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.4; }
.face-pick__row { display: flex; flex-wrap: wrap; gap: 10px; }
.face-opt { width: 54px; height: 54px; border-radius: 50%; padding: 0; border: 2px solid transparent; background: linear-gradient(160deg, #efece8, #e4e0da); overflow: hidden; cursor: pointer; transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease; }
.face-opt img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; display: block; }
.face-opt:hover { transform: translateY(-2px); }
.face-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

/* "How sam works in your life" — day & night + integrations wall */
.works__head { text-align: center; max-width: 820px; margin-inline: auto; }
.clock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.clock__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.clock__time { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin-bottom: 14px; }
.clock__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.clock__list li { font-size: 14px; color: var(--ink-soft); line-height: 1.45; padding-left: 16px; position: relative; }
.clock__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .32; }
.clock__list b { color: var(--ink); font-weight: 600; }

.conns { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.conns__group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px 20px; }
.conns__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.conns__label span { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--muted); }
.conns__row { display: flex; flex-wrap: wrap; gap: 10px; }
.lg { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(12,10,9,.05); transition: transform .15s ease, box-shadow .15s ease; }
.lg:hover { transform: translateY(-3px); box-shadow: 0 9px 20px rgba(12,10,9,.10); }
.lg img, .lg svg { width: 27px; height: 27px; display: block; }
.lg--word b { font: 800 11px/1 var(--font-body), sans-serif; letter-spacing: .02em; }
.works__foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .clock, .conns { grid-template-columns: 1fr; } }

/* two Cluely-style boxes: connect hub (left) + message threads (right) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.duo__box { border-radius: 26px; padding: 34px 32px 30px; min-height: 480px; display: flex; flex-direction: column; }
.duo__box--connect { background: linear-gradient(165deg, #6f9bf0, #5673de 62%, #4f66d6); color: #fff; box-shadow: 0 24px 60px rgba(58,76,160,.22); }
.duo__box--threads { background: var(--surface); border: 1px solid var(--line); }
.duo__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.14; letter-spacing: -.01em; color: var(--ink); }
.duo__box--connect .duo__title { color: #fff; }
.duo__sub { margin-top: 12px; font-size: 15px; line-height: 1.5; max-width: 44ch; }
.duo__box--connect .duo__sub { color: rgba(255,255,255,.86); }
.duo__box--threads .duo__sub { color: var(--muted); }

/* connection hub */
.hub { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; margin: auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__node { position: absolute; transform: translate(-50%, -50%); }
.hub__node .lg { width: 50px; height: 50px; box-shadow: 0 8px 18px rgba(20,30,70,.28); }
.hub__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; }
.hub__core::before { content: ""; position: absolute; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.4), transparent 68%); animation: hubPulse 2.6s ease-in-out infinite; }
.hub__faces { position: relative; display: inline-flex; }
.hub__faces img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.92), 0 8px 18px rgba(20,30,70,.32); }
.hub__faces img:nth-child(2), .hub__faces img:nth-child(3) { margin-left: -17px; }
@keyframes hubPulse { 0%,100% { opacity: .45; transform: scale(.9); } 50% { opacity: .85; transform: scale(1.12); } }

/* message threads list */
.msgs { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 32px rgba(12,10,9,.06); }
.msg-row { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.msg-row:last-child { border-bottom: none; }
.msg-dot { width: 8px; height: 8px; border-radius: 50%; background: #1e9bff; flex-shrink: 0; visibility: hidden; }
.msg-row.unread .msg-dot { visibility: visible; }
.msg-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--surface-strong); }
.msg-av img { width: 42px; height: 42px; display: block; }
.msg-body { flex: 1; min-width: 0; }
.msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.msg-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.msg-time { font-size: 12px; color: var(--muted-soft); flex-shrink: 0; }
.msg-prev { font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.detail-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(12,10,9,.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.detail-scrim.is-open { opacity: 1; visibility: visible; }
.detail {
  background: var(--canvas); width: 100%; max-width: 660px;
  max-height: calc(100dvh - 48px); border-radius: var(--r-2xl);
  box-shadow: var(--shadow-pop); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(.985); transition: transform .3s var(--ease-spring);
}
.detail-scrim.is-open .detail { transform: none; }
.detail__close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background .15s ease; }
.detail__close:hover { background: #fff; }
.detail__scroll { overflow-y: auto; flex: 1; }

.detail__hero { position: relative; padding: 34px 32px 26px; display: flex; gap: 20px; align-items: center; overflow: hidden; }
.detail__hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 0% 0%, var(--wash), transparent 62%); opacity: .5; z-index: 0; }
.detail__face { width: 92px; height: 92px; flex-shrink: 0; position: relative; z-index: 1; border-radius: 50%; box-shadow: 0 6px 20px rgba(12,10,9,.12); }
.detail__face .face { width: 92px; height: 92px; }
.detail__hid { position: relative; z-index: 1; min-width: 0; }
.detail__role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.detail__name { display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px,5vw,40px); line-height: 1; margin: 6px 0 12px; letter-spacing: -.02em; }
.detail__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail__price { font-size: 15px; font-weight: 600; color: var(--ink); }

.detail__body { padding: 24px 32px 8px; }
.detail__promise { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px,3vw,26px); color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
.detail__tagline { color: var(--body); font-size: 15.5px; margin-top: 10px; }
.detail__sample { position: relative; margin: 22px 0; background: var(--surface-strong); border: 1px solid var(--line-soft); border-radius: 16px; border-bottom-left-radius: 5px; padding: 16px 18px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.detail__sample-l { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }

/* interactive "try it" demo inside an agent's detail */
.detail__demo { margin: 18px 0 24px; }
.detail__demo .eyebrow { display: block; margin-bottom: 12px; }
.demo-chat { display: flex; flex-direction: column; gap: 8px; }
.demo-chat:empty { display: none; }
.demo-chat:not(:empty) { margin-bottom: 12px; }
.demo-bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; animation: demoPop .22s ease-out; }
.demo-bubble--in { align-self: flex-start; background: var(--surface-strong); color: var(--ink-soft); border-bottom-left-radius: 5px; }
.demo-bubble--out { align-self: flex-end; background: #1e9bff; color: #fff; border-bottom-right-radius: 5px; }
@keyframes demoPop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.demo-typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 14px; }
.demo-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: demoDot 1.1s infinite ease-in-out; }
.demo-typing span:nth-child(2) { animation-delay: .15s; }
.demo-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes demoDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.demo-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-opt { font: inherit; font-size: 13.5px; padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.demo-opt:hover { background: var(--surface-strong); border-color: var(--ink-soft); transform: translateY(-1px); }
.demo-opt:active { transform: translateY(0); }
.demo-opts:empty { margin: 0; }
.demo-hint { font-size: 12.5px; color: var(--muted); margin-top: 11px; }
.demo-done { font-size: 13px; color: var(--muted); margin-top: 4px; width: 100%; }
.demo-form { display: flex; gap: 8px; margin-top: 12px; }
.demo-input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--surface); color: var(--ink); }
.demo-input::placeholder { color: var(--muted); }
.demo-input:focus { outline: none; border-color: var(--ink-soft); box-shadow: 0 0 0 3px rgba(12,10,9,.05); }
.demo-send { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .12s ease, opacity .15s ease; }
.demo-send:hover { transform: translateY(-1px); }
.demo-send:active { transform: translateY(0); }
.demo-send svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .demo-bubble { animation: none; } .demo-typing span { animation: none; } }

.detail__sec { margin-top: 26px; }
.detail__sec .eyebrow { display: block; margin-bottom: 14px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 15px 16px; }
.feat__t { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.feat__d { font-size: 13px; color: var(--body); line-height: 1.5; margin-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 13px; font-size: 13px; color: var(--ink-soft); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* "What X does" — just the feature titles, no descriptions */
.feat-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin: 0; padding: 0; }
.feat-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.feat-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--success-deep); }
@media (max-width: 560px) { .feat-list { grid-template-columns: 1fr; } }

/* "Connects to" — brand logo + name */
.ichip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 13px 6px 7px; font-size: 13px; color: var(--ink-soft); }
.ichip__logo { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; }
.ichip__img { width: 18px; height: 18px; object-fit: contain; display: block; border-radius: 4px; }
.ichip__logo--mono { background: var(--surface-strong); border: 1px solid var(--line); border-radius: 6px; }
.ichip__logo--mono::before { content: attr(data-mono); font-size: 10px; font-weight: 700; color: var(--muted); }
.outcomes { list-style: none; }
.outcomes li { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.outcomes li:last-child { border-bottom: none; }
.outcomes .ic { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

.detail__cta { border-top: 1px solid var(--line); padding: 16px 28px 20px; background: var(--canvas); }
.detail__cta-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { max-width: 640px; }
  .hero__rail { border-left: 0; border-top: 1px solid var(--line); justify-content: flex-start; gap: 28px; }
  .hero__sticky { min-height: 0; }
  .phone { order: -1; width: 264px; }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .bundles-grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .nav__links { display: none; }
  .hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .agents__grid { grid-template-columns: 1fr; }
  .bundles-grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 28px; }
  .sheet { max-width: 100%; border-radius: var(--r-2xl) var(--r-2xl) 0 0; align-self: flex-end; max-height: 92dvh; }
  .sheet-scrim { padding: 0; align-items: flex-end; }
  .detail-scrim { padding: 0; align-items: flex-end; }
  .detail { max-width: 100%; max-height: 94dvh; border-radius: var(--r-2xl) var(--r-2xl) 0 0; }
  .detail__hero { padding: 28px 22px 22px; gap: 16px; }
  .detail__face, .detail__face .face { width: 76px; height: 76px; }
  .detail__body { padding: 22px 22px 8px; }
  .feat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   Agents — pinned scroll-scrub reveal (FrameSequenceHero mechanic).
   JS adds .is-pin (desktop, motion-OK, JS-on only — without it this is all
   inert and the grid renders normally). The track owns the scroll budget, the
   stage pins one viewport under the 64px nav, and the grid rides a smoothed
   conveyor inside the clipped window while scroll progress reveals cards one
   at a time. Card hide/reveal styles are INLINE from app.js on purpose: a
   stale cached stylesheet can never blank the grid or kill the animation.
   ============================================================ */
.agents-track.is-pin { position: relative; }
.agents-track.is-pin .agents-stage {
  position: sticky; top: 0; height: 100vh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: 76px; padding-bottom: 20px;
}
.agents-track.is-pin .agents-stage__wrap { display: flex; flex-direction: column; min-height: 0; flex: 0 1 auto; }
.agents-track.is-pin .agents__head { flex: none; margin-bottom: 34px; }
.agents-track.is-pin .agents-window { overflow: hidden; flex: 0 1 auto; min-height: 0; }
.agents-track.is-pin #agents-grid { will-change: transform; }

/* ============================================================
   Mira — the flagship band (homepage)
   ============================================================ */
.mira-band { position: relative; overflow: hidden; background: var(--canvas); padding: clamp(64px, 9vw, 104px) 0; }
.mira-band::before { content: ""; position: absolute; width: 560px; height: 560px; top: -180px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(120,90,220,.12), transparent 60%); z-index: 0; pointer-events: none; }
.mira-band__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
/* animated Siri orb — WebGL canvas painted by app.js (fluid-dots shader) */
.mira-siri { width: clamp(240px, 44vw, 360px); aspect-ratio: 1 / 1; margin-bottom: 22px; display: block; background: transparent; }
.mira-siri--fallback { width: 176px; height: 176px; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #ead9ff 0%, #b493e6 34%, var(--mira) 66%, #2b1f52 100%); box-shadow: 0 22px 60px rgba(120,90,220,.42); animation: miraBreathe 5s ease-in-out infinite; }
@keyframes miraBreathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }
.mira-band__eyebrow { color: var(--mira); }
.mira-band__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 18px; color: var(--ink); }
.mira-band__title em { font-style: italic; color: var(--mira); }
.mira-band__lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; margin: 0 0 28px; }
.mira-band__lede em { color: var(--mira); font-style: normal; font-weight: 500; }
.mira-band__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.mira-band__price { font-size: 13px; color: var(--muted); }
.nav__link--mira { color: var(--mira); font-weight: 600; }
.nav__link--mira:hover { color: var(--mira-deep); }

/* ============================================================
   Free-Silas lead pop-up
   ============================================================ */
.leadpop { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.leadpop.is-open { display: flex; }
.leadpop__backdrop { position: absolute; inset: 0; background: rgba(12,10,9,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: popFade .25s ease; }
.leadpop__card { position: relative; z-index: 1; width: 100%; max-width: 400px; background: var(--canvas); border-radius: var(--r-2xl); box-shadow: var(--shadow-pop); padding: 36px 30px 26px; text-align: center; animation: popIn .34s var(--ease-spring); }
.leadpop__x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .15s ease, color .15s ease; }
.leadpop__x:hover { background: rgba(12,10,9,.06); color: var(--ink); }
.leadpop__orb { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #cdbcea, #9c85d6 70%); box-shadow: 0 12px 28px rgba(140,110,210,.42); }
.leadpop__orb--done { background: radial-gradient(circle at 32% 28%, #74d69e, #22a45f 72%); box-shadow: 0 12px 28px rgba(34,164,95,.4); }
.leadpop__eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a5cc0; background: rgba(140,110,210,.13); border-radius: var(--pill); padding: 4px 11px; margin-bottom: 13px; }
.leadpop__title { font-family: var(--font-display); font-weight: 300; font-size: 30px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
.leadpop__sub { font-size: 15px; line-height: 1.5; color: var(--body); margin: 0 0 20px; }
.leadpop__form { display: flex; flex-direction: column; gap: 10px; }
.leadpop__form .btn { width: 100%; }
.leadpop__msg { font-size: 13px; color: var(--error); min-height: 16px; margin: 10px 0 0; }
.leadpop__consent { font-size: 11.5px; line-height: 1.45; color: var(--muted-soft); margin: 14px 0 0; }
.leadpop__view .btn--ghost { width: 100%; margin-top: 4px; }
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* ============================================================
   Section rhythm modifiers — dense clusters vs editorial air
   (--flush last so it wins the top edge)
   ============================================================ */
.section--tight { padding-block: var(--sp-tight); }
.section--airy  { padding-block: var(--sp-airy); }
.section--flush { padding-top: 0; }

/* ============================================================
   PROBLEM — kinetic editorial statement (scroll-scrub ink-in)
   ============================================================ */
.problem .eyebrow { display: block; margin-bottom: clamp(20px, 3vw, 30px); }
.problem__statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.8vw, 54px); line-height: 1.16; letter-spacing: -0.022em; color: var(--ink); max-width: 26ch; }
.problem__statement em { font-style: italic; }
.problem__statement .pw { color: var(--muted-soft); transition: color .4s ease; }
.problem__statement .pw.is-lit { color: var(--ink); }
.problem__aside { margin-top: clamp(30px, 4.5vw, 48px); margin-left: auto; max-width: 360px; display: flex; gap: 14px; align-items: flex-start; }
.problem__aside-rule { width: 44px; height: 1px; background: var(--ink); margin-top: 13px; flex: none; }
.problem__aside h2 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.45; letter-spacing: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .problem__aside { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .problem__statement .pw { color: inherit; transition: none; } }

/* ============================================================
   TRUST strip — one confident utility bar: lead | chips | meta
   ============================================================ */
.trustbar__inner--bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: left; }
.trustbar__inner--bar .trustbar__lead { margin-bottom: 0; white-space: nowrap; }
.trustbar__inner--bar .channels { width: auto; flex: 1 1 auto; justify-content: center; }
.trustbar__inner--bar .trustbar__metarow { justify-content: flex-end; white-space: nowrap; }
@media (max-width: 900px) {
  .trustbar__inner--bar { flex-direction: column; gap: 14px; text-align: center; }
  .trustbar__inner--bar .trustbar__metarow { justify-content: center; white-space: normal; }
}

/* ============================================================
   HOW — connected timeline: a gradient beam draws across the
   steps and node dots pop as it passes (keys off .how.is-in,
   set by the existing reveal IntersectionObserver — zero JS)
   ============================================================ */
.how__steps--line { position: relative; padding-top: 34px; }
.how__beam { position: absolute; top: 10px; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orb-lavender), var(--orb-mint) 52%, var(--orb-sky)); opacity: .85; transform: scaleX(0); transform-origin: left center; transition: transform 1.2s cubic-bezier(.16,.84,.28,1) .15s; }
.how.is-in .how__beam { transform: scaleX(1); }
.how__steps--line .step { position: relative; opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .6s var(--ease-out); }
.how__steps--line .step::before { content: ""; position: absolute; top: -28px; left: 18px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); opacity: 0; transform: scale(.4); transition: opacity .45s ease, transform .5s var(--ease-spring); }
.how.is-in .step { opacity: 1; transform: none; }
.how.is-in .step::before { opacity: 1; transform: none; }
.how.is-in .step:nth-of-type(1) { transition-delay: .05s; }
.how.is-in .step:nth-of-type(2) { transition-delay: .22s; }
.how.is-in .step:nth-of-type(3) { transition-delay: .39s; }
.how.is-in .step:nth-of-type(4) { transition-delay: .56s; }
.how.is-in .step:nth-of-type(1)::before { transition-delay: .25s; }
.how.is-in .step:nth-of-type(2)::before { transition-delay: .5s; }
.how.is-in .step:nth-of-type(3)::before { transition-delay: .75s; }
.how.is-in .step:nth-of-type(4)::before { transition-delay: 1s; }
@media (max-width: 940px) {
  .how__steps--line { padding-top: 0; }
  .how__beam, .how__steps--line .step::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .how__beam { transform: none; transition: none; }
  .how__steps--line .step, .how__steps--line .step::before { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   CONNECTS — bento grid (dense auto-flow: no DOM reorder needed;
   varied tile widths + one featured ink tile for Victor·Otto)
   ============================================================ */
.conns--bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.conns--bento .conns__group { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease; }
.conns--bento .conns__group:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.conns__group--w2 { grid-column: span 2; }
.conns__group--ink { background: var(--surface-dark); border-color: #2a2724; }
.conns__group--ink .conns__label { color: #fff; }
.conns__group--ink .conns__label span { color: var(--on-dark-soft); }
@media (max-width: 940px) { .conns--bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .conns--bento { grid-template-columns: 1fr; } .conns__group--w2 { grid-column: auto; } }

/* ============================================================
   PROOF — full-bleed message ticker + editorial ledger
   ============================================================ */
.proof .proof__head { text-align: left; margin: 0 0 26px; max-width: 640px; }
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; margin: 10px 0 44px; }
.ticker__track { display: flex; width: max-content; will-change: transform; animation: tickerMove 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; gap: 12px; padding: 13px 6px; }
.tick { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13.5px; color: var(--muted); background: var(--canvas-soft); border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 15px; }
.tick b { color: var(--ink); font-weight: 600; }
.tick--call { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.72); }
.tick--call b { color: #fff; }
.tick--call::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex: none; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.ledger { border-top: 1px solid var(--line); }
.ledger.reveal { opacity: 1; transform: none; } /* the rows animate, not the block */
.ledger__row { display: grid; grid-template-columns: 72px .9fr 1.1fr; gap: 24px; align-items: baseline; padding: clamp(22px, 3vw, 34px) 4px; border-bottom: 1px solid var(--line); }
.ledger__n { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted-soft); font-variant-numeric: tabular-nums; }
.ledger__t { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; color: var(--ink); line-height: 1.05; }
.ledger__d { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 46ch; }
.ledger.reveal .ledger__row { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .55s var(--ease-out); }
.ledger.reveal.is-in .ledger__row { opacity: 1; transform: none; }
.ledger.reveal.is-in .ledger__row:nth-child(2) { transition-delay: .12s; }
.ledger.reveal.is-in .ledger__row:nth-child(3) { transition-delay: .24s; }
@media (max-width: 760px) { .ledger__row { grid-template-columns: 48px 1fr; } .ledger__d { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ledger.reveal .ledger__row { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   FINAL CTA — dark bookend panel (echoes the approved .how panel)
   ============================================================ */
.cta-panel { position: relative; overflow: hidden; text-align: center; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 64px); }
.cta-panel__orbs { position: absolute; inset: 0; z-index: 0; }
.cta-panel .orb { opacity: .18; }
.cta-panel .orb--l { width: 420px; height: 420px; top: -140px; left: 4%; }
.cta-panel .orb--r { width: 460px; height: 460px; bottom: -200px; right: 2%; }
.cta-panel h2 { position: relative; z-index: 1; color: var(--ink); font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -.025em; max-width: 16ch; margin-inline: auto; }
.cta-panel p { position: relative; z-index: 1; margin: 20px auto 0; max-width: 46ch; color: var(--body); font-size: 17px; }
.cta-panel .btn { position: relative; z-index: 1; margin-top: 32px; }

/* ============================================================
   One-physics pass — every surface lifts, presses and settles
   with the same spring; premium primary CTA sheen.
   ============================================================ */
.agent:active, .bundle:active, .pb-agent:active, .cchip:active, .demo-opt:active, .faq__q:active { transform: translateY(1px) scale(.995); }
.btn { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.25) 48%, rgba(255,255,255,.06) 55%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s var(--ease-out);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(12,10,9,.18); }
.btn--primary:active { transform: translateY(1px) scale(.99); }
.btn--sm { height: 36px; padding-inline: 14px; } /* was claiming small but inherited 44px */
.lg:hover { box-shadow: var(--shadow-raise); }
@media (prefers-reduced-motion: reduce) { .btn--primary::after { display: none; } }

/* small print must clear 4.5:1 — muted-soft is placeholders/decor only */
.leadpop__consent, .share-ask__note, .bubble--meta, .msg-time { color: var(--muted); }

/* ============================================================
   Machinery — one text, everything it sets in motion
   (composio anatomy: dark panes, connector links, stage trail)
   ============================================================ */

    /* one text, the machinery around it — composio anatomy on the site canvas */
    .csx { background: transparent; padding: clamp(56px, 8vw, 96px) 0 clamp(70px, 9vw, 120px); }
    .csx__wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
    .csx__label { display: block; text-align: center; font: 600 11px/1.4 "JetBrains Mono", "SF Mono", ui-monospace, monospace; letter-spacing: .88px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
    .csx__title { text-align: center; font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3vw, 38px); color: var(--ink); letter-spacing: -.015em; margin-bottom: clamp(34px, 5vw, 60px); }
    .csx__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px) minmax(0, 1fr); gap: clamp(30px, 3.4vw, 52px); align-items: center; }
    .csx__grid::before { content: ""; position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(139,92,246,.14), transparent 62%); pointer-events: none; }
    .csx__col { display: flex; flex-direction: column; gap: clamp(22px, 2.4vh, 34px); }

    /* panes */
    .cpane { position: relative; background: #171412; border: 1px solid #2c2825; border-radius: 13px; padding: 16px 16px 14px;
      font: 400 12px/1.5 "JetBrains Mono", "SF Mono", ui-monospace, monospace; color: #a8a8a8;
      box-shadow: 0 12px 32px rgba(12,10,9,.14); transition: border-color .35s ease, opacity .4s ease; }
    .cpane.hot { border-color: #333; }
    .cpane__head { display: flex; justify-content: space-between; align-items: baseline; font: 600 10.5px/1.4 "JetBrains Mono", "SF Mono", ui-monospace, monospace;
      letter-spacing: .88px; text-transform: uppercase; color: #888; margin-bottom: 12px; }
    .cpane__head i { font-style: normal; font-weight: 400; color: #666; letter-spacing: .4px; text-transform: none; }
    .crow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 9px; border: 1px solid #1a1a1a; border-radius: 6px;
      margin-bottom: 6px; opacity: .38; transition: opacity .35s ease, border-color .35s ease, background .35s ease; }
    .crow:last-child { margin-bottom: 0; }
    .crow span { display: inline-flex; align-items: center; gap: 8px; color: #a8a8a8; min-width: 0; }
    .crow span img { width: 13px; height: 13px; }
    .crow b { font-weight: 400; font-size: 10px; letter-spacing: .5px; color: #666; flex: none; }
    .crow.lit { opacity: 1; border-color: #333; background: #222; }
    .crow.lit span { color: #fff; }
    .crow.lit b { color: #00d4ff; }
    .crow--conn b { color: #33d17a99; }
    .crow--conn.lit b { color: #33d17a; }

    /* plan pane */
    .cplan { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
    .cplan__col > div { display: flex; gap: 8px; padding: 3px 0; opacity: .38; transition: opacity .3s ease, color .3s ease; }
    .cplan__col > div i { font-style: normal; color: #666; }
    .cplan__col > div.lit { opacity: 1; color: #fff; }
    .cplan__col > div.done { opacity: .8; color: #33d17a; }
    .cplan__col--warn b { display: block; font-weight: 600; font-size: 10px; letter-spacing: .88px; color: #b8860b; margin-bottom: 4px; }
    .cplan__col--warn > div { color: #a8863f; opacity: .6; }

    /* execute pane */
    .cexec__tool { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #333; border-radius: 6px; background: #222; color: #fff; margin-bottom: 10px; }
    .cexec__tool img { width: 13px; height: 13px; }
    .cexec__kv { display: flex; justify-content: space-between; gap: 12px; padding: 3px 10px; }
    .cexec__kv span { color: #666; }
    .cexec__kv b { font-weight: 400; color: #a8a8a8; text-align: right; }
    .cexec__ok { margin-top: 10px; padding: 0 10px; color: #33d17a; opacity: 0; transition: opacity .3s ease; }
    .cexec__ok.on { opacity: 1; }
    .cexec--idle { color: #666; padding: 6px 10px; }

    /* config pane */
    .ckv { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #1a1a1a; }
    .ckv:last-child { border-bottom: 0; }
    .ckv span { color: #666; font-size: 10.5px; letter-spacing: .88px; }
    .ckv b { font-weight: 400; color: #fff; }

    /* the centre: iMessage card, light — kept exactly in the site's imsg dialect */
    .cimsg { position: relative; z-index: 1; background: #fff; border-radius: 18px; overflow: hidden; height: 500px; display: flex; flex-direction: column;
      box-shadow: 0 0 0 1px var(--line), 0 28px 70px rgba(12,10,9,.18); }
    .cimsg .imsg__head { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 16px 9px; background: #f7f6f4; border-bottom: 1px solid #e8e4de; }
    .cimsg .imsg__head b { font-size: 12.5px; font-weight: 600; color: #111; }
    .cimsg .imsg__head b i { font-style: normal; color: #b0aba4; font-weight: 400; }
    .cimsg .imsg__av { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
    .cimsg .imsg__day { text-align: center; font-size: 10px; color: #a8a49e; padding: 8px 0 0; }
    @media (max-width: 1020px) {
      .csx__grid { grid-template-columns: 1fr; }
      .cimsg { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
    }

    /* linked-flow choreography: one active pane at a time, connector lines, in-chat stages */
    .cpane { opacity: .42; }
    .cpane.on { opacity: 1; border-color: #333; }
    .cx-link { position: absolute; height: 2px; border-radius: 2px; z-index: 0; opacity: 0; transition: opacity .3s ease;
      background: linear-gradient(90deg, rgba(12,10,9,.08), rgba(12,10,9,.42), rgba(12,10,9,.08)); }
    .cx-link.on { opacity: 1; }
    .cx-link::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
      background: #8b5cf6; box-shadow: 0 0 10px rgba(139,92,246,.9), 0 0 22px rgba(139,92,246,.45); animation: cxdot 1.05s linear infinite; }
    .cx-link--rev::after { animation-direction: reverse; }
    @keyframes cxdot { from { left: 0; } to { left: calc(100% - 5px); } }
    .imsg__thread .cx-stage { align-self: center; max-width: none; padding: 3px 0 0; background: none; transform: none;
      font: 500 9.5px/1.5 "JetBrains Mono", "SF Mono", ui-monospace, monospace; letter-spacing: .8px; text-transform: uppercase;
      color: #8f8a82; opacity: 0; }
    .imsg__thread .cx-stage.on { opacity: 1; transition: opacity .35s ease; }
    .imsg__thread .cx-stage.past { opacity: .38; transition: opacity .35s ease; }
    .imsg__thread .cx-sys { align-self: center; max-width: none; background: none; transform: none;
      font-size: 10.5px; color: #a8a49e; opacity: 0; padding: 1px 0; }
    .imsg__thread .cx-sys.on { opacity: 1; transition: opacity .35s ease; }
    /* voice pane */
    .cvoice { display: flex; align-items: center; gap: 12px; padding: 4px 2px 2px; }
    .cvoice .viz-voice { height: 26px; }
    .cvoice .viz-voice s { background: #4a443f; animation-play-state: paused; height: 7px; }
    .cvoice.talk .viz-voice s { animation-play-state: running; }
    .cvoice.talk .viz-voice s:nth-child(2n) { background: #8b5cf6; }
    .cvoice.talk .viz-voice s:nth-child(3n) { background: #fdba74; }
    .cvoice.talk .viz-voice s:nth-child(3n+1) { background: #e8e4de; }
    .cvoice span { color: #666; font-size: 11px; }
    .cvoice.talk span { color: #fff; }
    .cskill-wave { width: 30px; height: 30px; flex: none; margin: -8px -2px -8px -4px; }
  
    #cp-skill-rows .crow { padding: 5px 9px; }
    #cp-skill-rows .crow b { letter-spacing: .8px; }

/* pool-scan: a reel that starts on the current rows, rips through the whole
   catalog, then decelerates and lands EXACTLY back on the real rows — the
   match lights the moment it settles */
.cpane { overflow: hidden; }
.cscan { position: absolute; left: 16px; right: 16px; z-index: 2; overflow: hidden;
  background: #171412; opacity: 1; transition: opacity .18s ease; }
.cscan.bye { opacity: 0; }
.cscan__track { will-change: transform; transition: transform 1.6s cubic-bezier(.16, .6, .18, 1); }
.cscan__seg { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.cscan .crow { flex: none; margin-bottom: 0; opacity: .82; }
.cdot { display: inline-block; width: 30px; height: 30px; border-radius: 50%; flex: none; margin: -8px -2px -8px -4px; }

/* ============================================================
   Product pages — shared chapter anatomy (hub + subpages)
   ============================================================ */

    /* ---- product page: x.ai product anatomy on the site canvas ---- */
    .phero { padding: clamp(90px, 13vw, 170px) 0 clamp(40px, 6vw, 80px); text-align: center; }
    .phero h1 { font-size: clamp(52px, 7vw, 96px); letter-spacing: -.03em; line-height: 1; }
    .phero p { margin: 20px auto 30px; max-width: 52ch; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.55; color: var(--body); }
    .phero__cta { display: flex; gap: 10px; justify-content: center; }

    .pchap { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
    .pchap__grid { display: grid; grid-template-columns: minmax(320px, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
    .pchap--flip .pchap__grid { grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr); }
    .pchap--flip .pchap__copy { order: 2; }
    .pchap__copy .eyebrow { margin-bottom: 14px; }
    .pchap__copy h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 16px; }
    .pchap__copy p { font-size: 15.5px; line-height: 1.62; color: var(--body); max-width: 48ch; margin-bottom: 12px; }
    .pfacts { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
    .pfacts div { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--ink-soft); }
    .pfacts b { color: #2f9e6e; font-weight: 600; flex: none; }
    .pviz { position: relative; }

    /* chapter visuals */
    .pcardx { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(12,10,9,.1); overflow: hidden; }

    /* 01 chat */
    .pv-chat .imsg__head { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 13px 16px 10px; background: #f7f6f4; border-bottom: 1px solid #e8e4de; }
    .pv-chat .imsg__head b { font-size: 12.5px; font-weight: 600; color: #111; }
    .pv-chat .imsg__av { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
    .pv-chat .imsg__thread { padding: 16px 14px 18px; min-height: 180px; }
    .pv-chat .imsg__thread span { opacity: 1; transform: none; }
    .pv-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
    .pv-num { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 11px 13px; }
    .pv-num i { display: block; font: 500 9.5px/1.4 "SF Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; font-style: normal; }
    .pv-num b { font-size: 13.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
    .pv-chans { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
    .pv-chans span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12.5px; color: var(--ink-soft); }
    .pv-chans img, .pv-chans svg { width: 14px; height: 14px; }

    /* 02 voice */
    .pv-voice { padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
    .pv-voice .vcmp { gap: 34px; }
    .pv-pool { width: 100%; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
    .pv-pool i { font: 500 9.5px/1.4 "SF Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-bottom: 2px; }
    .pv-voicerow { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink); }
    .pv-voicerow u { text-decoration: none; width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #0c0a09; color: #fff; font-size: 8px; }
    .pv-voicerow em { font-style: normal; color: var(--muted); font-size: 11.5px; margin-left: auto; }
    .pv-voicerow--you { border-color: #2f9e6e; background: rgba(52,211,153,.06); }

    /* 03 personality */
    .pv-int { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
    .pv-int .imsg__thread { padding: 0; }
    .pv-meter { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
    .pv-meter i { display: flex; justify-content: space-between; font: 500 9.5px/1.4 "SF Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-bottom: 8px; }
    .pv-meter__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
    .pv-meter__bar b { display: block; height: 100%; width: 24%; border-radius: 999px; background: linear-gradient(90deg, #26a5e4, #8b5cf6 55%, #fdba74); animation: pmeter 6s ease-in-out infinite alternate; }
    @keyframes pmeter { from { width: 24%; } to { width: 92%; } }
    .pv-meter span { display: block; margin-top: 8px; font-size: 11.5px; color: var(--muted); text-align: right; }

    /* 04 connections */
    .pv-conn { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
    .pv-connrow { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--ink); }
    .pv-connrow img { width: 15px; height: 15px; }
    .pv-connrow b { margin-left: auto; font: 500 9.5px/1 "SF Mono", ui-monospace, monospace; letter-spacing: .1em; color: #2f9e6e; font-weight: 500; }
    .pv-connrow--private { opacity: .55; }
    .pv-connrow--private b { color: var(--muted); }
    .pv-conn > span { font-size: 11.5px; color: var(--muted); text-align: center; padding-top: 6px; }

    /* 05 action */
    .pv-act { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
    .pv-scope { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
    .pv-scope div { min-width: 0; }
    .pv-scope b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
    .pv-scope span { font-size: 11.5px; color: var(--muted); }
    .pv-toggle { margin-left: auto; flex: none; width: 36px; height: 21px; border-radius: 999px; background: #2f9e6e; position: relative; }
    .pv-toggle::after { content: ""; position: absolute; top: 2.5px; right: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(12,10,9,.25); }
    .pv-toggle--off { background: #d8d2c9; }
    .pv-toggle--off::after { right: auto; left: 2.5px; }
    .pv-act > span { font-size: 11.5px; color: var(--muted); text-align: center; padding-top: 6px; }

    @media (max-width: 900px) {
      .pchap__grid, .pchap--flip .pchap__grid { grid-template-columns: 1fr; gap: 32px; }
      .pchap--flip .pchap__copy { order: 0; }
    }
  
/* nav product dropdown — faithful x.ai anatomy: soft panel, large titles
   with gray subtitles left, big inset gray preview right */
.nav__drop { position: relative; display: inline-flex; }
.nav__drop > .nav__link { display: inline-flex; align-items: center; }
.nav__caret { width: 11px; height: 11px; margin-left: 5px; align-self: center; transition: transform .25s var(--ease-out); }
.nav__drop:hover .nav__caret, .nav__drop:focus-within .nav__caret { transform: rotate(180deg); }
.nav__drop__panel { position: absolute; top: calc(100% + 14px); left: -300px; background: #f7f6f3;
  border-radius: 20px; box-shadow: 0 24px 70px rgba(12,10,9,.14), 0 0 0 1px rgba(12,10,9,.04); padding: 18px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--ease-out), visibility .2s; z-index: 80; }
.nav__drop:hover .nav__drop__panel, .nav__drop:focus-within .nav__drop__panel { opacity: 1; visibility: visible; transform: none; }
.nav__drop__panel--mega { display: grid; grid-template-columns: 250px 600px; gap: 18px; width: 885px; }
.nav__drop__list { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; justify-content: center; }
.nav__drop__list a { display: block; padding: 9px 14px; border-radius: 10px; }
.nav__drop__list a.is-hot { background: rgba(12,10,9,.035); }
.nav__drop__list a b { display: block; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; color: #101113; margin-bottom: 2px; }
.nav__drop__list a span { display: block; font-size: 12.5px; line-height: 1.4; color: #8a8d92; }
.nav__drop__pv { position: relative; background: #ececea; border: 0; border-radius: 14px; overflow: hidden; min-height: 272px; }
.dpv { position: absolute; inset: 0; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.dpv.is-on { opacity: 1; }
.dpv > p { font-size: 12.5px; color: #8a8d92; line-height: 1.5; text-align: center; }
.dpv__mq { overflow: hidden; max-height: 196px;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.dpv__mq__track { display: flex; flex-direction: column; animation: dmq 16s linear infinite; }
.dpv__seg { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.dpv__seg--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@keyframes dmq { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.dpv__mock { display: flex; flex-direction: column; gap: 10px; }
/* chat mock — x.ai bubbles: all white on the gray inset */
.dpv__mock--chat { gap: 7px; }
.dpv__mock--chat span { max-width: 74%; padding: 9px 14px; border-radius: 16px; font-size: 12.5px; line-height: 1.4; background: #fff; color: #2c2e31; }
.dpv__mock--chat .in { align-self: flex-start; border-radius: 18px; }
.dpv__mock--chat .out { align-self: flex-end; border-radius: 9999px; background: #0a84ff; color: #fff; }
/* voice mock */
.dpv__mock--voice { align-items: center; gap: 11px; }
.dpv__orb { position: relative; width: 122px; height: 122px; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(12,10,9,.05), 0 2px 14px rgba(12,10,9,.08); }
.dpv__orb::before { content: ""; position: absolute; inset: -28%;
  background:
    radial-gradient(45% 45% at 30% 35%, #f88c7a, transparent 70%),
    radial-gradient(50% 50% at 72% 28%, #aeb9ec, transparent 70%),
    radial-gradient(55% 55% at 68% 75%, #f7b267, transparent 72%),
    radial-gradient(70% 70% at 40% 70%, #ef6a88, transparent 75%),
    #f2a58f;
  animation: dorb 9s linear infinite; }
@keyframes dorb { to { transform: rotate(360deg); } }
.dpv__orb__b { position: absolute; inset: -30%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(42% 42% at 62% 58%, rgba(159,180,240,.85), transparent 70%),
    radial-gradient(46% 46% at 24% 62%, rgba(255,208,138,.85), transparent 72%),
    radial-gradient(38% 38% at 70% 26%, rgba(239,106,136,.7), transparent 70%);
  filter: blur(7px); animation: dorb2 5.5s ease-in-out infinite alternate; }
@keyframes dorb2 { from { transform: rotate(0deg) scale(1); } to { transform: rotate(-170deg) scale(1.3); } }
.dpv__orb::after { content: ""; position: absolute; inset: 0; opacity: .4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='110' height='110' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.dpv__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(12,10,9,.18); color: #0a0a0a; }
.dpv__mock--voice .viz-voice { height: 26px; }
.dpv__mock--voice .viz-voice s { animation: dbar .85s ease-in-out infinite alternate; }
.dpv__mock--voice .viz-voice s:nth-child(2n) { animation-duration: .65s; animation-delay: .12s; }
.dpv__mock--voice .viz-voice s:nth-child(3n) { animation-duration: 1.05s; animation-delay: .28s; }
.dpv__mock--voice .viz-voice s:nth-child(5n) { animation-delay: .4s; }
@keyframes dbar { from { height: 5px; } to { height: 24px; } }
.dpv__mock--voice .viz-voice s { width: 3.5px; height: 9px; }
.dpv__mock--voice i, .dpv__mock--pers i { font: 400 10px/1.4 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: 1.2px; text-transform: uppercase; color: #8a8d92; font-style: normal; }
/* personality mock */
.dpv__qq { background: #fff; border-radius: 12px; padding: 11px 13px; }
.dpv__qq b { display: block; font-size: 12.5px; font-weight: 500; color: #101113; margin-bottom: 3px; }
.dpv__qq span { display: block; font-size: 11px; line-height: 1.4; color: #8a8d92; }
.dpv__qq span em { font-style: normal; color: #2f9e6e; }
.dpv__bar { width: 74%; height: 6px; border-radius: 999px; background: #dddcd8; overflow: hidden; }
.dpv__bar b { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #26a5e4, #8b5cf6 55%, #fdba74); animation: pmeter 5s ease-in-out infinite alternate; }
/* connections + action mocks — white rows on gray */
.dpv__mock--conn span, .dpv__mock--act span { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 0; border-radius: 12px; background: #fff; font-size: 12.5px; color: #2c2e31; min-width: 0; }
.dpv__mock--conn img { width: 14px; height: 14px; }
.dpv__mock--conn b { margin-left: auto; font: 400 9px/1 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: 1.1px; color: #2f9e6e; }
.dpv__mock--conn .off { opacity: .55; } .dpv__mock--conn .off b { color: #8a8d92; }
.dpv__mock--act u { margin-left: auto; text-decoration: none; width: 30px; height: 17px; border-radius: 999px; background: #dddcd8; position: relative; }
.dpv__mock--act u::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(12,10,9,.2); }
.dpv__mock--act u.on { background: #2f9e6e; } .dpv__mock--act u.on::after { left: auto; right: 2px; }

/* feature grid — "a whole page of features" */
.pfeatwrap { padding: clamp(50px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.pfeatwrap > .wrap > .eyebrow { display: block; text-align: center; margin-bottom: 12px; }
.pfeatwrap h2 { text-align: center; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; margin-bottom: clamp(28px, 4vw, 46px); }
.pfeats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pfeat { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px 20px 20px; }
.pfeat i { display: block; font: 500 9.5px/1.4 "SF Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-bottom: 10px; }
.pfeat h3 { font-size: 19px; line-height: 1.2; margin-bottom: 7px; font-weight: 600; }
.pfeat p { font-size: 13.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 900px) { .pfeats { grid-template-columns: 1fr; } }

/* interview questions — question + why */
.pv-qs { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pv-q { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pv-q b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.pv-q span { font-size: 12px; color: var(--muted); }
.pv-q span em { font-style: normal; color: #2f9e6e; }

/* ============================================================
   x.ai system — product family (.ppx pages)
   Weight-400 sans displays w/ negative tracking · GeistMono-style
   uppercase eyebrows · 8px hairline rectangles, zero shadows ·
   pill outline buttons · 64px band rhythm. Per x.ai DESIGN.md.
   ============================================================ */
.ppx { --xink: #0f0f10; --xbody: #46484d; --xmute: #7d8187; --xhair: #e6e4df; }

/* type: sans 400 everywhere, tracking does the work */
.ppx h1, .ppx h2, .ppx h3, .ppx .cta-min__t { font-family: var(--font-body); font-weight: 400; color: var(--xink); }
.ppx .phero h1 { font-size: clamp(52px, 7.5vw, 96px); line-height: 1; letter-spacing: -.028em; }
.ppx .phero p { font-size: 18px; line-height: 28px; color: var(--xbody); }
.ppx .pchap__copy h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.025em; }
.ppx .pchap__copy p { font-size: 16px; line-height: 24px; color: var(--xbody); }
.ppx .pfeatwrap h2 { font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -.025em; }
.ppx .cta-min__t { letter-spacing: -.028em; }
.ppx .cta-min__p { color: var(--xbody); }
.ppx .eyebrow { font: 400 12px/1.35 "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: 1.3px; text-transform: uppercase; color: var(--xmute); }
.ppx .pfacts div { font-size: 14px; line-height: 20px; color: var(--xbody); }

/* rectangles: 8px, hairline, flat — no shadows anywhere */
.ppx .pcardx, .ppx .pfeat, .ppx .pv-num, .ppx .pv-connrow, .ppx .pv-voicerow,
.ppx .pv-scope, .ppx .pv-q, .ppx .pv-chans span { border-radius: 8px; border-color: var(--xhair); box-shadow: none; }
.ppx .pcardx { box-shadow: none; }
.nav__link--trigger { cursor: default; }
/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--xhair, var(--line)); border-radius: 12px; padding: 28px 26px; display: flex; flex-direction: column; }
.price--main { border-color: #0c0a09; box-shadow: 0 18px 50px rgba(12,10,9,.10); }
.price__tag { position: absolute; top: -11px; left: 26px; font: 600 10.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .8px; text-transform: uppercase; background: #0c0a09; color: #fff; border-radius: 999px; padding: 6px 12px; }
.price h3 { font-size: 17px; font-weight: 500; margin: 0 0 8px; }
.price__num { font-family: var(--font-display); font-weight: 300; font-size: 44px; letter-spacing: -.02em; }
.price__num span { font-size: 15px; color: var(--xmute, #7d8187); font-family: var(--font-body); }
.price__num s { font-size: 22px; color: var(--xmute, #7d8187); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 6px; font-weight: 300; }
.price__sub { font-size: 13.5px; color: var(--body); line-height: 1.5; margin: 8px 0 16px; }
.price ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; flex: 1; }
.price ul li { font-size: 13.5px; color: var(--body); padding-left: 20px; position: relative; }
.price ul li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.price-co { margin-top: 18px; background: #101113; color: #fff; border-radius: 12px; padding: 30px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.price-co h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.price-co p { font-size: 14px; color: rgba(255,255,255,.72); max-width: 52ch; margin: 0; }
.price-co__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.price-co .pcard__link { color: rgba(255,255,255,.85); }
.prices--4 { grid-template-columns: repeat(4, 1fr); }
.price__cta { width: 100%; margin: 14px 0 18px; }
.price__feats i { display: block; font: 600 10.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .7px; text-transform: uppercase; color: var(--xmute, #7d8187); font-style: normal; margin-bottom: 10px; }
.price__base { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--xhair, var(--line)); font-size: 12.5px; color: var(--xmute, #7d8187); }
.price__base a { color: inherit; text-decoration: underline; }
.price--ent { background: #101113; border-color: #101113; color: #fff; }
.price--ent h3, .price--ent .price__num { color: #fff; }
.price--ent .price__sub, .price--ent ul li, .price--ent .price__base { color: rgba(255,255,255,.72); }
.price--ent .price__base { border-top-color: rgba(255,255,255,.14); }
.ppx .price--ent .btn--ghost, .price--ent .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; -webkit-text-fill-color: #fff; }
.ppx .price--ent .btn--ghost:hover { background: rgba(255,255,255,.12); }
/* plan calculator */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.calc__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1.08; margin: 0 0 28px; }
.calc__step { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); margin: 22px 0 12px; }
.calc__step i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__chip { font: inherit; font-size: 13.5px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--xhair, var(--line)); background: #fff; color: var(--body); cursor: pointer; transition: all .15s ease; }
.calc__chip.is-on { background: #0c0a09; border-color: #0c0a09; color: #fff; }
.calc__slider { margin: 14px 0; }
.calc__slider label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.calc__slider label b { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 16px; }
.calc__hint { font-size: 12px; color: var(--xmute, #7d8187); }
.calc__slider input[type="range"] { width: 100%; accent-color: #0c0a09; }
.calc__card { border-radius: 20px; padding: 30px 28px; color: #1c1421; min-height: 380px; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 90% at 82% 88%, rgba(253,186,116,.85) 0%, rgba(253,186,116,0) 55%),
    radial-gradient(130% 110% at 15% 10%, #cdb8f5 0%, #b9a3ee 45%, #d8b9e8 75%, #f3c9b1 100%);
  box-shadow: 0 24px 70px rgba(90,60,180,.28); }
.calc__card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.calc__plan { font-family: var(--font-display); font-weight: 300; font-size: 42px; letter-spacing: -.02em; line-height: 1; }
.calc__rec { font-size: 13px; opacity: .75; margin-top: 6px; }
.calc__price { text-align: right; }
.calc__price span { font-family: var(--font-display); font-weight: 300; font-size: 38px; }
.calc__price i { display: block; font-style: normal; font-size: 12.5px; opacity: .75; }
.calc__feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.calc__feats li { font-size: 14.5px; padding-left: 26px; position: relative; }
.calc__feats li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid rgba(28,20,33,.55); display: grid; place-items: center; font-size: 10px; }
.calc__cta { margin-top: auto; display: block; text-align: center; background: #fff; color: #0c0a09; border-radius: 999px; padding: 15px 20px; font-size: 15px; font-weight: 500; transition: transform .12s ease; }
.calc__cta:hover { transform: translateY(-1px); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__card { min-height: 0; gap: 18px; } }

.ptable-wrap { margin-top: 46px; overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; border: 1px solid var(--xhair, var(--line)); border-radius: 12px; overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--xhair, var(--line)); color: var(--body); }
.ptable thead th { font: 600 11px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .7px; text-transform: uppercase; color: var(--xmute, #7d8187); background: #fafaf8; }
.ptable td:first-child { color: var(--ink); font-weight: 500; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable .ptable__hl { background: rgba(12,10,9,.035); }
@media (max-width: 1100px) { .prices--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* solutions dropdown — simple list panel */
.nav__drop__panel--sol { left: -60px; width: 320px; padding: 10px; }
.nav__drop__panel--sol a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav__drop__panel--sol a:hover { background: #edece8; }
.nav__drop__panel--sol a b { display: block; font-size: 14.5px; font-weight: 500; color: #0f0f10; letter-spacing: -.01em; }
.nav__drop__panel--sol a > span { display: block; font-size: 12px; color: #7d8187; margin-top: 2px; }
.nav__drop__panel--sol .nav__drop__all { margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(12,10,9,.08); border-radius: 0 0 10px 10px; font-size: 13px; color: #4a4d52; }
.nav__drop__panel--sol .nav__drop__all em { font-style: normal; }
.nav__drop__gr { display: block; font: 600 10px/1 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: .9px; text-transform: uppercase; color: #9a9ea4; font-style: normal; padding: 12px 12px 5px; }
.nav__drop__gr:first-child { padding-top: 6px; }

/* solution pages — skills strip */
.solsk { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 34px; }
.solsk__it { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px 16px; background: #fff; border: 1px solid var(--xhair, var(--line)); border-radius: 8px; }
.solsk__it canvas.w2 { width: 96px; height: 96px; margin: -14px 0 -8px; }
.solsk__it b { font-size: 13.5px; font-weight: 500; color: #0f0f10; letter-spacing: -.01em; }
.solsk__it span { font-size: 11.5px; color: #7d8187; margin-top: 2px; }

/* features menu — skills marquee, 3-up grid of flares + specialty */
.dpv__mq--skills { max-height: 430px; }
.skmq__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; }
.skmq__it { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.skmq__it canvas.w2 { width: 82px; height: 82px; margin: -12px 0 -8px; }
.skmq__it span { font-size: 11.5px; font-weight: 500; color: #26282b; line-height: 1.25; }
/* live subpage-hero embeds on the product hub — scaled via transform (browser-safe) */
.pvlive { position: relative; }
.pvlive > * { transform-origin: top left; }
.ppx .pfeat { padding: 24px; }
.ppx .pfeat h3 { font-size: 20px; line-height: 28px; letter-spacing: -.01em; margin-bottom: 8px; }
.ppx .pfeat i { font-size: 11px; letter-spacing: 1.2px; color: var(--xmute); margin-bottom: 12px; }
.ppx .pfeat p { font-size: 14px; line-height: 20px; color: var(--xbody); }
.ppx .pfeats { gap: 12px; }
.ppx .pchap { border-color: var(--xhair); }
.ppx .pv-meter__bar, .ppx .dpv__bar { border-radius: 2px; }

/* buttons: the pill is the brand — flat, weight 400, no glass */
.ppx .btn { border-radius: 9999px; font-weight: 400; font-size: 14px; box-shadow: none; }
.ppx .btn::after { display: none; }
.ppx .btn:hover, .ppx .btn:active { transform: none; box-shadow: none; }
.ppx .btn--primary { background: var(--xink); color: #fff; border: 1px solid var(--xink); }
.ppx .btn--primary:hover { background: #26262a; }
.ppx .btn--ghost { background: transparent; border: 1px solid var(--xhair); color: var(--xink); }
.ppx .btn--ghost:hover { background: rgba(12,10,9,.04); }
.ppx .pcard__link { font-size: 14px; }

/* dropdown voice bars: revive the call animation past the global JS-bars kill switch */
.dpv__mock--voice .viz-voice s { animation: dbar .85s ease-in-out infinite alternate !important; }
.dpv__mock--voice .viz-voice s:nth-child(2n) { animation-duration: .65s !important; animation-delay: .12s !important; }
.dpv__mock--voice .viz-voice s:nth-child(3n) { animation-duration: 1.05s !important; animation-delay: .28s !important; }
.dpv__mock--voice .viz-voice s:nth-child(5n) { animation-delay: .42s !important; }
@keyframes dbar { from { height: 5px; } to { height: 24px; } }

/* machinery connector v2 — bezier port-to-port link with flowing comet */
.cx-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; opacity: 1; transition: opacity .25s ease; }
.cx-svg .cxp-base { fill: none; stroke: rgba(12,10,9,.15); stroke-width: 1.5; }
.cx-svg .cxp-flow { fill: none; stroke: url(#cxgrad); stroke-width: 2.5; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(139,92,246,.5)); }
.cx-svg circle { fill: #fff; stroke: rgba(12,10,9,.35); stroke-width: 1.2; }

/* machinery: scanning sweep over the REAL skill rows — orbs never covered */
.cpane .crow.scan { opacity: 1; border-color: #4a443f; background: #241f1c; }

/* machinery: locked geometry — scenario changes never resize a pane */
.cpane .crow > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cp-mem-rows { min-height: 150px; }
#cp-conn-rows { min-height: 112px; }
#cp-exec-body { min-height: 152px; }
.cplan { min-height: 102px; }
#cp-steps > div, #cp-guard > div { white-space: nowrap; overflow: hidden; }

/* x.ai scroll-story — left chapters scroll, the right frame stays and its
   content swaps to match the chapter in view */
.pscroll { border-top: 1px solid var(--xhair, var(--line)); }
.pscroll__grid { display: grid; grid-template-columns: minmax(320px, 5fr) 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pstep { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 10vh 0; opacity: .25; transition: opacity .35s ease; }
.pstep.is-on { opacity: 1; }
.pstep .eyebrow { margin-bottom: 14px; }
.pstep h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 14px; }
.pstep p { font-size: 16px; line-height: 24px; color: var(--xbody, var(--body)); max-width: 44ch; }
.pscroll__stick { position: sticky; top: calc(50vh - 265px); height: 530px; padding: 5vh 0; box-sizing: content-box; }
.pscroll__frame { position: relative; height: 530px; }
.pvz { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 34px; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .55s var(--ease-out); }
.pvz.is-on { opacity: 1; transform: none; }
.pvz__cap { font: 400 11px/1.5 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: 1.2px; text-transform: uppercase; color: #8a8d92; text-align: center; }
.pvz__card { background: #fff; border-radius: 14px; padding: 18px 20px; width: min(360px, 100%); display: flex; flex-direction: column; gap: 8px; }
.pvz__card .in, .pvz__card .out { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.pvz__card .in { background: #efeeeb; color: #2c2e31; align-self: flex-start; border-bottom-left-radius: 5px; }
.pvz__card .out { background: #0a84ff; color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.pvz__rows { width: min(360px, 100%); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) {
  .pscroll__grid { grid-template-columns: 1fr; }
  .pscroll__stick { position: static; height: auto; padding: 0 0 40px; }
  .pscroll__frame { height: 440px; }
  .pstep { min-height: 0; padding: 48px 0 12px; opacity: 1; }
}

/* cool-spectrum living orb — the "you" side of the clone pair */
.dpv__orb--cool::before { background:
  radial-gradient(45% 45% at 30% 35%, #7fb4f2, transparent 70%),
  radial-gradient(50% 50% at 72% 28%, #9be8d8, transparent 70%),
  radial-gradient(55% 55% at 68% 75%, #8a9af0, transparent 72%),
  radial-gradient(70% 70% at 40% 70%, #5f8ef2, transparent 75%),
  #86a9ef; }
.dpv__orb--cool .dpv__orb__b { background:
  radial-gradient(42% 42% at 62% 58%, rgba(155,232,216,.85), transparent 70%),
  radial-gradient(46% 46% at 24% 62%, rgba(196,181,253,.8), transparent 72%),
  radial-gradient(38% 38% at 70% 26%, rgba(127,180,242,.75), transparent 70%); }

/* full mini-iMessage card inside scroll-story frames */
.pvz__imsg { background: #fff; border-radius: 16px; overflow: hidden; width: min(390px, 100%); display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(12,10,9,.05); }
.pvz__imsg .imsg__head { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 14px 8px; background: #f7f6f4; border-bottom: 1px solid #e8e4de; }
.pvz__imsg .imsg__head b { font-size: 12px; font-weight: 600; color: #111; }
.pvz__imsg .imsg__head b i { font-style: normal; color: #b0aba4; font-weight: 400; }
.pvz__imsg .imsg__av { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
.pvz__imsg .imsg__day { text-align: center; font-size: 10px; color: #a8a49e; padding: 7px 0 0; }
.pvz__imsg .imsg__thread { padding: 9px 12px 14px; flex: none; overflow: visible; min-height: 0; justify-content: flex-start; }

/* connections hero cards — grok/business anatomy: privacy vault + endless connector wall */
.cx2 { padding: 6px 0 clamp(40px, 6vw, 72px); }
.cx2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ccard { background: #f7f6f3; border-radius: 24px; padding: 30px 30px 0; overflow: hidden; }
.ccard h3 { font-size: 23px; font-weight: 400; letter-spacing: -.02em; color: var(--xink, #0f0f10); margin-bottom: 10px; }
.ccard p { font-size: 14.5px; line-height: 1.55; color: var(--xbody, #46484d); max-width: 46ch; margin-bottom: 24px; }
.ccard__viz { height: 400px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0, #000 9%, #000 82%, transparent);
  mask-image: linear-gradient(transparent 0, #000 9%, #000 82%, transparent); }
.ccard__track { animation: dmq 30s linear infinite; }
.ccard__track--slow { animation-duration: 38s; }
.ccard__seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-bottom: 10px; }
.ccard__tile { aspect-ratio: 1 / 1; background: #fff; border: 1px solid rgba(12,10,9,.07); border-radius: 14px; display: grid; place-items: center; color: #8f8a82; }
.ccard__tile img { width: 25px; height: 25px; }
.ccard__tile svg { width: 20px; height: 20px; }
.ccard__tile--key { border-color: #ff7a17; color: #ff7a17; box-shadow: 0 0 0 1px rgba(255,122,23,.25), 0 4px 16px rgba(255,122,23,.18); }
@media (max-width: 900px) { .cx2__grid { grid-template-columns: 1fr; } .ccard__viz { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .ccard__track { animation: none; } }

/* ============================================================
   Messenger showcase — one conversation, real phone chrome:
   iMessage / WhatsApp iOS / Telegram iOS, faithfully drawn
   ============================================================ */
.cx2--one { padding-top: 0; }
.ccard--chat { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 34px 30px 40px; }
.chskin__tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.chskin__tabs button { border: 1px solid transparent; background: none; border-radius: 999px; padding: 7px 16px; font: 400 13.5px/1 var(--font-body); color: var(--muted); cursor: pointer; transition: all .2s ease; }
.chskin__tabs button.on { background: #101113; border-color: #101113; color: #fff; }

.phone { width: min(430px, 100%); border-radius: 28px; overflow: hidden; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  box-shadow: 0 0 0 1px rgba(12,10,9,.09), 0 30px 70px rgba(12,10,9,.16); background: #fff; }
.phone__head { display: none; align-items: center; padding: 10px 14px; gap: 10px; }
.phone__thread { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 10px; min-height: 330px; }
.phone__thread .msg { position: relative; max-width: 76%; padding: 8px 13px; font-size: 14.5px; line-height: 1.35; letter-spacing: -.01em; }
.phone__thread .in { align-self: flex-start; }
.phone__thread .out { align-self: flex-end; }
.phone__day { align-self: center; font-size: 11px; padding: 2px 0; }
.phone__dlv { display: none; align-self: flex-end; font-size: 10.5px; color: #8a8a8e; padding: 1px 4px 0; }
.phone__input { display: none; align-items: center; gap: 9px; padding: 8px 12px 6px; }
.phone__field { flex: 1; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(12,10,9,.16); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; color: #8a8a8e; background: #fff; }
.phone__home { width: 120px; height: 4.5px; border-radius: 999px; background: rgba(12,10,9,.85); margin: 7px auto 8px; }
.phone__ic { width: 21px; height: 21px; color: #8a8a8e; flex: none; }
.pav { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); flex: none; }

/* ——— iMessage ——— */
.chskin--imessage .phone__head--im { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px 6px; background: rgba(249,249,249,.94); border-bottom: .5px solid rgba(60,60,67,.29); position: relative; }
.chskin--imessage .phone__head--im .pav { width: 44px; height: 44px; margin: 0 auto; }
.chskin--imessage .phone__head--im b { font-size: 11px; font-weight: 400; color: #000; text-align: center; }
.chskin--imessage .phone__head--im b i { font-style: normal; color: #8a8a8e; font-size: 9px; }
.chskin--imessage .phone__head--im .phone__back { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #007aff; }
.chskin--imessage .phone__head--im .phone__video { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #007aff; }
.chskin--imessage .phone__thread { background: #fff; }
.chskin--imessage .phone__day { color: #8a8a8e; font-weight: 500; }
.chskin--imessage .msg { border-radius: 18px; }
.chskin--imessage .in { background: #e9e9eb; color: #000; }
.chskin--imessage .out { background: #007aff; color: #fff; }
.chskin--imessage .in::before, .chskin--imessage .out::before { content: ""; position: absolute; bottom: 0; width: 13px; height: 17px; }
.chskin--imessage .in::before { left: -6px; background: radial-gradient(13px 17px at 0 0, transparent 12px, #e9e9eb 12.5px); transform: scaleX(-1); border-bottom-left-radius: 3px; }
.chskin--imessage .out::before { right: -6px; background: radial-gradient(13px 17px at 0 0, transparent 12px, #007aff 12.5px); border-bottom-right-radius: 3px; }
.chskin--imessage .in::before { left: -5px; }
.chskin--imessage .phone__dlv { display: block; }
.chskin--imessage .phone__input--im { display: flex; background: #fff; }

/* ——— WhatsApp iOS ——— */
.chskin--whatsapp .phone__head--wa { display: flex; background: rgba(246,246,246,.97); border-bottom: .5px solid rgba(60,60,67,.29); }
.chskin--whatsapp .phone__head--wa .phone__back { color: #007aff; margin-right: -2px; }
.chskin--whatsapp .phone__head--wa .pav { width: 36px; height: 36px; }
.chskin--whatsapp .phone__head--wa b { font-size: 15px; font-weight: 600; color: #000; line-height: 1.15; display: block; }
.chskin--whatsapp .phone__head--wa b i { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: #8a8a8e; }
.chskin--whatsapp .phone__head--wa .phone__icons { margin-left: auto; display: flex; gap: 18px; color: #007aff; }
.chskin--whatsapp .phone__thread { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%231f2c33' stroke-opacity='.05' stroke-width='1.5'%3E%3Ccircle cx='24' cy='26' r='8'/%3E%3Cpath d='M66 16c3-6 12-6 14 0M110 34l5-9 5 9-10 0z'/%3E%3Cpath d='M32 92c7-9 16 2 9 9s-16-2-9-9z'/%3E%3Cpath d='M92 78h18M101 69v18'/%3E%3Ccircle cx='128' cy='116' r='10'/%3E%3Cpath d='M20 130c5 5 12 5 17 0M70 122c2-4 8-4 10 0'/%3E%3C/g%3E%3C/svg%3E"),
  #efe7dd; }
.chskin--whatsapp .phone__day { background: #fff; color: #5b6870; border-radius: 8px; padding: 4px 10px; font-size: 10.5px; font-weight: 500; box-shadow: 0 1px 1px rgba(12,10,9,.08); text-transform: uppercase; }
.chskin--whatsapp .msg { border-radius: 9px; box-shadow: 0 1px 1px rgba(12,10,9,.10); padding-bottom: 16px; }
.chskin--whatsapp .in { background: #fff; color: #111; }
.chskin--whatsapp .out { background: #d9fdd3; color: #111; }
.chskin--whatsapp .in::before { content: ""; position: absolute; left: -7px; top: 0; border: 7px solid transparent; border-top-color: #fff; border-right-color: #fff; }
.chskin--whatsapp .out::before { content: ""; position: absolute; right: -7px; top: 0; border: 7px solid transparent; border-top-color: #d9fdd3; border-left-color: #d9fdd3; }
.chskin--whatsapp .phone__input--wa { display: flex; background: rgba(246,246,246,.97); }
.chskin--whatsapp .phone__input--wa .phone__ic { color: #007aff; }

/* ——— Telegram iOS ——— */
.chskin--telegram .phone__head--tg { display: flex; background: rgba(247,247,247,.97); border-bottom: .5px solid rgba(60,60,67,.29); }
.chskin--telegram .phone__head--tg .phone__back { color: #007aff; }
.chskin--telegram .phone__head--tg .phone__title { flex: 1; text-align: center; }
.chskin--telegram .phone__head--tg b { font-size: 15px; font-weight: 600; color: #000; display: block; line-height: 1.15; }
.chskin--telegram .phone__head--tg b i { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: #8a8a8e; }
.chskin--telegram .phone__head--tg .pav { width: 34px; height: 34px; }
.chskin--telegram .phone__thread { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%234a6b2f' stroke-opacity='.09' stroke-width='1.5'%3E%3Ccircle cx='24' cy='26' r='8'/%3E%3Cpath d='M66 16c3-6 12-6 14 0M110 34l5-9 5 9-10 0z'/%3E%3Cpath d='M32 92c7-9 16 2 9 9s-16-2-9-9z'/%3E%3Cpath d='M92 78h18M101 69v18'/%3E%3Ccircle cx='128' cy='116' r='10'/%3E%3Cpath d='M20 130c5 5 12 5 17 0M70 122c2-4 8-4 10 0'/%3E%3C/g%3E%3C/svg%3E"),
  linear-gradient(135deg, #d7e5b5, #e3ecc0 45%, #cfe0ad); }
.chskin--telegram .phone__day { background: rgba(255,255,255,.75); color: #5b7083; border-radius: 999px; padding: 3px 11px; font-size: 10.5px; font-weight: 500; }
.chskin--telegram .msg { border-radius: 16px; padding-bottom: 16px; }
.chskin--telegram .in { background: #fff; color: #111; box-shadow: 0 1px 1px rgba(12,10,9,.06); }
.chskin--telegram .out { background: #effdde; color: #111; box-shadow: 0 1px 1px rgba(12,10,9,.08); }
.chskin--telegram .in::before { content: ""; position: absolute; left: -6px; bottom: 0; border: 8px solid transparent; border-bottom-color: #fff; border-right-color: #fff; border-radius: 0 0 0 8px; }
.chskin--telegram .out::before { content: ""; position: absolute; right: -6px; bottom: 0; border: 8px solid transparent; border-bottom-color: #effdde; border-left-color: #effdde; border-radius: 0 0 8px 0; }
.chskin--telegram .phone__input--tg { display: flex; background: rgba(247,247,247,.97); }
.chskin--telegram .phone__input--tg .phone__field { border-radius: 17px; }
@media (max-width: 900px) { .ccard--chat { padding: 24px 16px 30px; } }

/* voice lab — the elevenlabs section: examples / clone your voice */
.ccard--voice { padding: 30px 34px 40px; }
.vlab__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.vlab__head h3 { font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: var(--xink, #0f0f10); }
.vlab__head p { font-size: 13.5px; color: var(--xmute, #7d8187); margin-top: 3px; }
.vlab__tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.vlab__tabs button { border: 1px solid transparent; background: none; border-radius: 999px; padding: 8px 18px; font: 400 14px/1 var(--font-body); color: var(--muted); cursor: pointer; transition: all .2s ease; }
.vlab__tabs button.on { background: #101113; border-color: #101113; color: #fff; }
.vlab__pane { display: none; flex-direction: column; align-items: center; gap: 22px; padding: 26px 0 8px; }
.vlab__pane.on { display: flex; }
.vlab__pair { display: flex; gap: clamp(40px, 8vw, 110px); }
.vlab__fig { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.vlab__fig figcaption { font-size: 13.5px; color: var(--xbody, #46484d); }
.vlab__disc { width: clamp(150px, 18vw, 210px); height: clamp(150px, 18vw, 210px); border-radius: 50%; overflow: hidden; position: relative; }
.vlab__disc--photo { background: linear-gradient(150deg, #cfe0ff, #e9d5ff 55%, #ffd9b8); display: grid; place-items: end center; }
.vlab__disc--photo img { width: 82%; display: block; }
.vlab__disc .dpv__orb, .vlab__disc.dpv__orb { width: 100%; height: 100%; }
.vlab__orb { width: 100%; height: 100%; }
.vlab__btn { width: clamp(150px, 18vw, 210px); height: clamp(150px, 18vw, 210px); border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease-out); position: relative; }
.vlab__btn:hover { transform: scale(1.03); }
.vlab__btn i { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #0c0a09; display: grid; place-items: center; box-shadow: 0 3px 14px rgba(12,10,9,.2); }
.vlab__btn--up { background: #eceae5; }
.vlab__btn--rec { background: radial-gradient(circle at 33% 30%, #cdb9f8, #8b5cf6 55%, #4c2c96); }
.vlab__btn--rec.rec::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(139,92,246,.55); animation: vrec 1.15s ease-out infinite; }
.vlab__hint { font-size: 13px; color: var(--xmute, #7d8187); text-align: center; max-width: 52ch; font-variant-numeric: tabular-nums; }
.vlab__done { display: none; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 6px; }
.vlab__done.on { display: flex; }
.vlab__done b { font-size: 18px; font-weight: 500; color: var(--xink, #0f0f10); }
.vlab__done p { font-size: 13.5px; color: var(--xbody, #46484d); max-width: 44ch; }
.vlab__redo { border: 0; background: none; font-size: 12px; color: var(--xmute, #7d8187); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* personality — the accumulation stream: everything she learns, raining in */
.ccard--mem { padding: 30px 34px 0; }
.ccard--mem h3 { font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: var(--xink, #0f0f10); margin-bottom: 8px; }
.ccard--mem > p { font-size: 14px; color: var(--xbody, #46484d); max-width: 62ch; margin-bottom: 22px; }
.ccard__viz--mem { height: 430px; }
.mseg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding-bottom: 10px; }
.mrow { background: #fff; border-radius: 12px; padding: 11px 13px; border: 1px solid rgba(12,10,9,.06); }
.mrow i { display: block; font: 400 8.5px/1.4 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: 1.1px; text-transform: uppercase; color: #8f8a82; font-style: normal; margin-bottom: 3px; }
.mrow b { font-size: 12.5px; font-weight: 500; color: #101113; line-height: 1.35; display: block; }
@media (max-width: 900px) { .mseg { grid-template-columns: 1fr; } .ccard__viz--mem { height: 320px; } }

/* desktop messenger window — sidebar + pane, per-app chrome (phone stays for mobile) */
.dtwin { display: grid; grid-template-columns: 295px minmax(0, 1fr); width: 100%; border-radius: 16px; overflow: hidden;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif; background: #fff;
  box-shadow: 0 0 0 1px rgba(12,10,9,.09), 0 30px 70px rgba(12,10,9,.14); }
.dt__side { border-right: 1px solid rgba(12,10,9,.08); background: #fff; display: flex; flex-direction: column; }
.dt__sidehead { padding: 16px 16px 8px; font-size: 19px; font-weight: 700; color: #111; }
.dt__search { margin: 0 12px 10px; background: rgba(118,118,128,.12); border-radius: 8px; padding: 7px 11px; font-size: 12.5px; color: #8a8a8e; display: flex; align-items: center; gap: 6px; }
.dt__search svg { width: 13px; height: 13px; }
.dt__item { display: flex; gap: 10px; padding: 10px 14px; align-items: center; }
.dtav { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 600; }
.dtav--mira { background: radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%); }
.dt__item > div { min-width: 0; flex: 1; }
.dt__item b { display: block; font-size: 13.5px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__item .prev { display: block; font-size: 12px; color: #8a8a8e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__meta { margin-left: auto; text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.dt__time { font-size: 11px; color: #8a8a8e; }
.dt__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: #fff; padding: 0 5px; }
.dt__main { display: flex; flex-direction: column; min-width: 0; }
.dtwin .phone__thread { flex: 1; min-height: 430px; padding: 16px 22px 12px; }
.dtwin .phone__thread .msg { max-width: 62%; }
.dtwin .phone__home { display: none; }
/* skin accents */
.chskin--imessage .dt__item.on { background: #007aff; }
.chskin--imessage .dt__item.on b, .chskin--imessage .dt__item.on .prev, .chskin--imessage .dt__item.on .dt__time { color: #fff; }
.chskin--imessage .dt__badge { background: #007aff; }
.chskin--whatsapp .dt__item.on { background: #f0f2f5; }
.chskin--whatsapp .dt__badge { background: #25d366; }
.chskin--telegram .dt__item.on { background: #419fd9; }
.chskin--telegram .dt__item.on b, .chskin--telegram .dt__item.on .prev, .chskin--telegram .dt__item.on .dt__time { color: #fff; }
.chskin--telegram .dt__badge { background: #2aabee; }
/* desktop pane heads sit flush */
.dtwin .phone__head { padding: 12px 18px; }
@media (max-width: 900px) {
  .dtwin { grid-template-columns: 1fr; border-radius: 22px; }
  .dt__side { display: none; }
  .dtwin .phone__thread { min-height: 330px; }
  .dtwin .phone__home { display: block; }
}

/* in-bubble timestamps + read ticks — real elements, floated like the real apps */
.msg time { float: right; display: none; align-items: center; gap: 3px; font-size: 10px; line-height: 1;
  margin: 10px -5px -2px 9px; color: rgba(17,27,33,.42); font-variant-numeric: tabular-nums; }
.msg time svg { width: 14px; height: 9px; display: block; }
.chskin--whatsapp .msg time, .chskin--telegram .msg time { display: inline-flex; }
.chskin--whatsapp .out time svg { color: #53bdeb; }
.chskin--telegram .out time svg { color: #4fae4e; }
.chskin--imessage .msg time { display: none; }
/* telegram desktop header: avatar left, icons right */
.dtwin .phone__head--tg { justify-content: flex-start; gap: 10px; }
.dtwin .phone__head--tg .phone__title { text-align: left; flex: 1; }
.dtwin .phone__head--tg .phone__back { display: none; }
.dtwin .phone__head--tg .pav { order: -1; }
.dtwin .phone__head--tg .phone__tgicons { display: flex; gap: 16px; color: #8a8a8e; }
.phone__tgicons { display: none; }

/* avatars with photos + full sidebars, threads anchored to the bottom like real apps */
.dtav img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.dtav { overflow: hidden; font-size: 18px; }
.dt__side { overflow: hidden; }
.dtwin .phone__thread { justify-content: flex-end; }

.dtwin[hidden] { display: none; }

/* voice lab example pair: real photo vs AI twin */
.vlab__disc--full img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sam's Mira — the face of it, everywhere she appears */
.cimsg .imsg__av, .pvz__imsg .imsg__av, .pav, .dtav--mira {
  background:
    url("assets/net/sam-mira-cut.png") no-repeat center 14% / 165% auto,
    radial-gradient(circle at 32% 28%, #fff, #fdba74 42%, #8b5cf6 85%);
}
/* becoming stage: she floats free */
.bf-img { filter: drop-shadow(0 14px 28px rgba(139,92,246,.18)); }

/* voice lab: play buttons over the pair (audio wired later) */
.vlab__disc { cursor: pointer; }
.vlab__playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer;
  box-shadow: none; transition: transform .2s var(--ease-out), background .2s ease;
  filter: drop-shadow(0 1px 4px rgba(12,10,9,.35)); }
.vlab__playbtn:hover { background: rgba(255,255,255,.28); }
.vlab__playbtn:hover { transform: translate(-50%, -50%) scale(1.07); }
.vlab__playbtn:active { transform: translate(-50%, -50%) scale(.96); }

/* skills page — flipped scroll story: orb pinned left, chapters right */
.pscroll--flip .pscroll__grid { grid-template-columns: 6fr 5fr; }
.pscroll--flip .pscroll__stick { order: -1; }
.skw__wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.skw { width: 240px; height: 240px; }
.skw__name { font-size: 30px; font-weight: 400; letter-spacing: -.02em; color: var(--xink, #0f0f10); }
.skw__tag { font: 400 11px/1.4 "Geist Mono", "SF Mono", ui-monospace, monospace; letter-spacing: 1.2px; text-transform: uppercase; color: var(--xmute, #7d8187); }
.pstep .pv-chans { margin-top: 16px; }
.pstep .mrow { margin-top: 8px; }
.pstep .mrow:first-of-type { margin-top: 16px; }
.pstep .mrow { border-color: var(--xhair, var(--line)); }

/* the library — every skill, laid out against one another */
.sklib { padding: clamp(50px, 7vw, 96px) 0; border-top: 1px solid var(--xhair, var(--line)); }
.sklib > .wrap > .eyebrow { display: block; text-align: center; margin-bottom: 12px; }
.sklib h2 { text-align: center; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.025em; margin-bottom: clamp(28px, 4vw, 46px); }
.sklib__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sklib__item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px 18px; background: #fff; border: 1px solid var(--xhair, var(--line)); border-radius: 8px; text-align: center; }
.sklib__orb { width: 64px; height: 64px; border-radius: 50%; }
.sklib__item b { font-size: 14px; font-weight: 500; color: var(--xink, #0f0f10); }
.sklib__item span { font-size: 11.5px; color: var(--xmute, #7d8187); line-height: 1.35; }
@media (max-width: 1020px) { .sklib__grid { grid-template-columns: repeat(3, 1fr); } .sklib__item .w2 { width: 126px; height: 126px; margin: -20px 0 -16px; } }
@media (max-width: 640px) { .sklib__grid { grid-template-columns: repeat(2, 1fr); } }

/* living orb — CSS engine, per-instance palette via --o1/--o2 */
.lorb { position: relative; border-radius: 50%; overflow: hidden; }
.lorb::before { content: ""; position: absolute; inset: -28%;
  background:
    radial-gradient(45% 45% at 30% 35%, var(--o1), transparent 70%),
    radial-gradient(50% 50% at 72% 28%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(60% 60% at 65% 75%, var(--o2), transparent 74%),
    var(--o2);
  animation: dorb var(--spd, 8s) linear infinite; }
.lorb::after { content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(42% 42% at 62% 58%, var(--o1), transparent 70%),
    radial-gradient(38% 38% at 28% 62%, rgba(255,255,255,.5), transparent 70%);
  filter: blur(6px); animation: dorb2 var(--spd2, 5.5s) ease-in-out infinite alternate; }
/* dropdown skills preview: a trio of living orbs */
.dpv__orbs { display: flex; gap: 14px; justify-content: center; align-items: center; }
.dpv__orbs .w2 { width: 86px; height: 86px; margin: -8px 0; }

/* library tiles carry the flare, not a disc */
.sklib__item .w2 { width: 150px; height: 150px; margin: -24px 0 -20px; }
