/* ===== Attiva landing page ===== */
/* Colors match the Figma "Companion/color" variables. */
:root {
  --canvas: #111215;
  --window: #191a1e;
  --rail: #15161a;
  --raised: #212228;
  --layer: #2a2b31;
  --border: #3a3b42;
  --paper: #f6f4f0;
  --muted: #b8b9c1;
  --soft: #999aa3;
  --accent: #ff994d;
  --accent-ink: #201108;
  --purple: #6b4bff;

  --chrome: linear-gradient(115deg, #fafaff 0%, #a8a8b8 32%, #f8f8fc 50%, #8c8c9e 72%, #e6e0f5 100%);
  /* Liquid Glass fill: a faint light sheen over a see-through dark tint (used as a background everywhere). */
  --glass: linear-gradient(160deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 38%, rgba(255,255,255,.012) 62%, rgba(255,255,255,.055) 100%), rgba(22, 23, 27, .52);

  /* Type scale. Title and subtitle sizes are paired (see Figma text styles). */
  --display: clamp(46px, 5.3vw, 76px);   --lead-l: clamp(19px, 1.95vw, 28px);
  --h1: clamp(40px, 4.45vw, 64px);       --lead-m: clamp(18px, 1.67vw, 24px);
  --h2: clamp(34px, 3.6vw, 52px);        --lead-s: clamp(17px, 1.4vw, 20px);
  --h3: clamp(26px, 2.2vw, 32px);        --body-l: clamp(16px, 1.25vw, 18px);
  --h4: clamp(19px, 1.55vw, 22px);       --body-m: clamp(15px, 1.2vw, 17px);
  --h5: clamp(18px, 1.4vw, 20px);        --body-s: clamp(15px, 1.1vw, 16px);
  --quote: clamp(23px, 2.2vw, 32px);

  --gutter: clamp(20px, 8.4vw, 120px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--paper);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ----- Type ----- */
.display { font-size: var(--display); line-height: 1.05; font-weight: 600; letter-spacing: -.032em; }
.h1 { font-size: var(--h1); line-height: 1.07; font-weight: 600; letter-spacing: -.031em; }
.h2 { font-size: var(--h2); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.h3 { font-size: var(--h3); line-height: 1.2; font-weight: 600; letter-spacing: -.028em; }
.h4 { font-size: var(--h4); line-height: 1.28; font-weight: 600; letter-spacing: -.018em; }
.h5 { font-size: var(--h5); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.lead-l { font-size: var(--lead-l); line-height: 1.43; color: var(--muted); }
.lead-m { font-size: var(--lead-m); line-height: 1.5; color: var(--muted); }
.lead-s { font-size: var(--lead-s); line-height: 1.55; color: var(--muted); }
.body-l { font-size: var(--body-l); line-height: 1.55; color: var(--muted); }
.body-m { font-size: var(--body-m); line-height: 1.53; color: var(--muted); }
.body-s { font-size: var(--body-s); line-height: 1.5; color: var(--muted); }
.caption { font-size: 14px; line-height: 1.45; color: var(--soft); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Liquid-metal titles. metal.js renders the app's real shader (Silver) into a canvas
   behind transparent text. This gradient is only the fallback when WebGL is missing. */
.metal {
  position: relative;
  background: linear-gradient(110deg, #ffffff 0%, #bcbccc 22%, #fbfbff 38%, #9e9eb2 56%, #ffffff 70%, #c9c3dc 86%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.metal.metal-on, .metal.metal-on .w { background: none !important; color: transparent !important; -webkit-text-fill-color: transparent; }
.metal-canvas { position: absolute; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.18)) drop-shadow(0 10px 36px rgba(160,160,255,.16)); }
.metal-surface { position: relative; isolation: isolate; overflow: hidden; }
.metal-surface-canvas { position: absolute; inset: 0; pointer-events: none; z-index: -1; }

/* ----- Shared page background ----- */
/* Base color + trackpad dot texture live on the background layer,
   so the ribbons (pure black JPEGs) can "screen" blend into it. */
.page-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background-color: var(--canvas);
  background-image: radial-gradient(rgba(255,255,255,.055) 1.2px, transparent 1.6px);
  background-size: 24px 24px;
}
.glow {
  position: absolute; width: min(1220px, 120vw); height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c) 0%, color-mix(in srgb, var(--c) 35%, transparent) 45%, transparent 100%);
  animation: drift 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.glow.purple { --c: rgba(107, 75, 255, .30); }
.glow.indigo { --c: rgba(64, 51, 191, .30); }
.glow.orange { --c: rgba(255, 153, 77, .20); }
.glow.focus  { --c: rgba(107, 75, 255, .34); width: min(1300px, 130vw); height: 1080px; }
@keyframes drift { from { transform: translate3d(-30px, 0, 0); opacity: .85; } to { transform: translate3d(40px, -20px, 0); opacity: 1; } }
/* Live WebGL ribbons (main.js). Black areas vanish through "screen", so only the light shows. */
.ribbon {
  position: absolute; left: -8vw; width: 116vw; height: auto; aspect-ratio: 16 / 9; max-width: none; mix-blend-mode: screen; opacity: .5;
  animation: ribbon 16s ease-in-out infinite alternate;
}
@keyframes ribbon { from { opacity: .4; } to { opacity: .56; } }

main, .fx, .nav { position: relative; z-index: 1; }
main { overflow-x: clip; } /* glow canvases may extend past the edge; never let them widen the page */

/* ----- Nav ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(17,18,21,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: rgba(58,59,66,.6); padding-top: 12px; padding-bottom: 12px; }
/* The Attiva word mark (logo/final). The letters use the text colour. The mic head is the accent colour, with a soft glow that breathes. */
.logo { display: inline-flex; align-items: center; color: var(--paper); }
.logo-svg { display: block; height: 22px; width: auto; overflow: visible; position: relative; top: -1.5px; }
.logo-head, .logo-glow { fill: var(--accent); }
.logo-glow { opacity: .55; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 1; } }
.nav-links { display: flex; gap: 36px; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ----- Buttons ----- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border-radius: 16px; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .3s, background .3s;
}
.btn:active { transform: scale(.97); }
/* Flame: the app's primary button (FlameAppearance + AccentAuraFill).
   Base gradient mid → base → light → deep, plus two light spots that orbit every 4.8 s. */
@property --ph { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-primary {
  --mid: #c43c4f; --base: #f77442; --light: #ffb773; --glow: #ffe6b5; --deep: #4a2141;
  color: #181727;
  border: 1.5px solid transparent;
  /* SwiftUI EllipticalGradient radius fractions are of the full size (0.68 → 68%, 0.60 → 60%).
     The LinearGradient runs (0, .16) → (1.17, .84); on a wide button that is ~95° with stops at 0 / 50 / 77 / 116%. */
  background:
    radial-gradient(ellipse 60% 60% at calc(50% - 30% * cos(var(--ph))) calc(17% + 16% * sin(var(--ph))),
      rgba(255,230,181,.84) 0%, rgba(255,230,181,.3) 43%, rgba(255,230,181,0) 100%) padding-box,
    radial-gradient(ellipse 68% 68% at calc(74% + 18% * cos(var(--ph))) calc(61% - 16% * sin(var(--ph))),
      rgba(255,183,115,.9) 0%, rgba(255,183,115,0) 100%) padding-box,
    linear-gradient(95deg, var(--mid) 0%, var(--base) 50%, var(--light) 77%, var(--deep) 116%) padding-box,
    linear-gradient(to bottom, rgba(255,230,181,.8), rgba(255,183,115,.48), var(--deep)) border-box;
  border-width: 1px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(247,116,66,.23);
  animation: aura 4.8s linear infinite;
}
@keyframes aura { to { --ph: 360deg; } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(247,116,66,.4); }
.btn-secondary { background: rgba(33,34,40,.7); border: 1px solid var(--border); color: var(--paper); backdrop-filter: blur(12px); }
.btn-secondary:hover { background: rgba(42,43,49,.9); transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 20px; border-radius: 14px; font-size: 15px; }
.btn-block { width: 100%; }
/* Apple logo inside every "Download on the App Store" button and link. */
/* Geist sits a little low in its line box. Lift the label so the space above and below the letters is equal. */
.btn, .btn-sm { padding-bottom: 2px; }
/* The logo is ~1.3x the cap height, and its bottom sits on the letters' baseline (like Apple's own badge). */
.btn-apple { flex: 0 0 auto; width: 15px; height: 15px; margin: -3px 8px 0 -2px; fill: currentColor; }
.btn-sm .btn-apple { width: 14px; height: 14px; margin-top: -2px; margin-right: 7px; }
.how-link .btn-apple { width: 14px; height: 14px; margin: 0 6px 0 0; vertical-align: -0.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Apple's official "Download on the App Store" badge (unaltered artwork, shown at button height). */
.app-store-badge { display: inline-flex; align-items: center; justify-content: center; height: 56px; border-radius: 12px; transition: transform .3s var(--ease-out), filter .3s; }
.app-store-badge img { display: block; height: 56px; width: auto; }
.app-store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 20px rgba(0,0,0,.45)); }
.app-store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Header only: Apple's minimum on-screen size (40px tall). */
.app-store-badge-sm, .app-store-badge-sm img { height: 40px; border-radius: 8px; }
.actions.center { justify-content: center; }

/* ----- Layout ----- */
.section { position: relative; padding: 120px var(--gutter); }
.head { display: flex; flex-direction: column; gap: 18px; max-width: 1200px; }
.head.center { align-items: center; text-align: center; margin: 0 auto; }
.head.center .lead-s { max-width: 760px; }
.glass {
  background: var(--glass); border: 1px solid var(--border); border-radius: 24px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}

/* ----- Motion helpers ----- */
.load { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1s + .1s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 1s); }
.reveal.in { opacity: 1; transform: none; }
.w { display: inline-block; }
.split-words .w { opacity: 0; filter: blur(10px); transform: translateY(.35em); }
.split-words.go .w { animation: word .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + var(--base, 150ms)); }
@keyframes word { to { opacity: 1; filter: blur(0); transform: none; } }

/* ----- Hero: a dramatic entrance ----- */
.hero { position: relative; min-height: max(780px, 100svh); display: flex; align-items: center; padding: 130px var(--gutter) 100px; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,21,.75) 0%, rgba(17,18,21,.35) 50%, transparent 75%); }
.hero-parallax { position: absolute; inset: 0; transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--sy, 0px)), 0) scale(var(--ss, 1)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  animation: heroIn 2.6s cubic-bezier(.16,1,.3,1) .15s both, float 8s ease-in-out 2.8s infinite; }
.hero-reel { position: relative; margin-left: auto; width: 70%; background: #111215;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%); mask-image: linear-gradient(90deg, transparent, #000 28%); }
@media (max-width: 900px) { .hero-reel { width: 100%; -webkit-mask-image: none; mask-image: none; } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: inherit; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
/* Never show Safari's big play button over the films. */
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
.hero .display { font-size: clamp(48px, 6.1vw, 88px); }
/* Live transcript chip beside the phone */
.live-chip { position: absolute; right: calc(var(--gutter) + 2%); bottom: 17%; z-index: 2; width: min(340px, 30vw); padding: 14px 16px 15px; border-radius: 18px;
  background: rgba(17,18,21,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(107,75,255,.18); display: flex; flex-direction: column; gap: 8px; }
.live-chip-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.chip-ico { display: grid; place-items: center; width: 14px; height: 14px; }
.chip-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; margin-left: auto; }
.mini-bars i { width: 2.5px; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: center; animation: bar .7s ease-in-out infinite alternate; }
.mini-bars i:nth-child(2) { animation-delay: -.2s; } .mini-bars i:nth-child(3) { animation-delay: -.45s; } .mini-bars i:nth-child(4) { animation-delay: -.1s; } .mini-bars i:nth-child(5) { animation-delay: -.35s; }
.live-chip-text { font-size: 15px; line-height: 1.45; color: var(--paper); min-height: 2.9em; }
@keyframes heroIn {
  0%   { opacity: 0; transform: translateY(110px) scale(1.18) rotate(-4deg); filter: blur(26px) brightness(.25) saturate(.6); }
  45%  { opacity: 1; filter: blur(4px) brightness(1.25) saturate(1.2); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-bloom { position: absolute; left: 50%; top: -10%; width: 70%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107,75,255,.55), rgba(107,75,255,.12) 55%, transparent);
  opacity: 0; transform: scale(.35); animation: bloom 2.8s cubic-bezier(.16,1,.3,1) .1s forwards, pulse 7s ease-in-out 3s infinite; }
@keyframes bloom { 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: .85; transform: scale(1); } }
@keyframes pulse { 50% { opacity: 1; transform: scale(1.06); } }
.hero-flash { position: absolute; inset: -20% -40%; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255,240,225,.28) 49%, rgba(200,190,255,.18) 52%, transparent 58%);
  transform: translateX(-60%); animation: flash 1.9s cubic-bezier(.5,0,.2,1) 1.05s forwards; opacity: 0; }
@keyframes flash { 0% { opacity: 1; transform: translateX(-60%); } 100% { opacity: 0; transform: translateX(55%); } }
.hero-copy { position: relative; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; will-change: transform, opacity, filter; }
.hero .split-words .w { transform: translateY(.7em) scale(.94); filter: blur(18px); }
.hero .split-words.go .w { animation: word 1.15s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i) * 95ms + 700ms); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(246,244,240,.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--paper); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.pill { font-size: 13px; font-weight: 600; color: var(--accent); padding: 7px 14px; border-radius: 999px; background: rgba(255,153,77,.1); border: 1px solid rgba(255,153,77,.3); }
.hero .actions { margin-top: 8px; }

/* ----- Founder + testimonial ----- */
.quote-card { position: relative; max-width: 960px; margin: 0 auto; padding: 64px; display: flex; flex-direction: column; gap: 28px; }
.quote-card > :not(.beam-bloom) { position: relative; z-index: 1; }
.founder-card { align-items: center; text-align: center; }

/* Border Beam — based on chungusui.com/components/border-beam (size md, dark), with the color window moved behind the ray:
   a 1px ring of soft color spots, seen only through a rotating window (stroke opacity .26),
   an inner glow limited to a 28px band at the edge (.42), and a faint blurred bloom on the ring (.24).
   Colors are ours: purple, orange, peach, rose. Nothing reaches the middle of the card. */
@property --beam-a { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.beam {
  --beam-spots:
    radial-gradient(70px 40px at 33% -7.4%, #f77442, transparent), radial-gradient(60px 35px at 12% -5%, #6b4bff, transparent),
    radial-gradient(40px 70px at 2.1% 68.3%, #ffb773, transparent), radial-gradient(20px 35px at 2.1% 68.3%, #ff994d, transparent),
    radial-gradient(180px 32px at 74.4% 100%, #6b4bff, transparent), radial-gradient(85px 26px at 55% 100%, #c43c4f, transparent),
    radial-gradient(74px 32px at 93.9% 0%, #ff994d, transparent), radial-gradient(26px 42px at 100% 27.1%, #c43c4f, transparent),
    radial-gradient(52px 48px at 100% 70%, #8a6bff, transparent);
  /* Timing: the white ray (--beam-shine, 54–78%, peak 66%) leads. The color window (--beam-window) opens only
     as the ray's peak goes by (69% → 60%), so each color spot lights up after the ray, then fades out behind it. */
  --beam-window: conic-gradient(from var(--beam-a), transparent 0% 22%, rgba(255,255,255,.12) 28%, rgba(255,255,255,.4) 34%, #fff 42% 60%, rgba(255,255,255,.5) 64%, transparent 69% 100%);
  --beam-shine: conic-gradient(from var(--beam-a), transparent 0% 54%, rgba(255,255,255,.1) 57%, rgba(255,255,255,.3) 60%, rgba(255,255,255,.6) 63%, rgba(255,255,255,.75) 66%, rgba(255,255,255,.6) 69%, rgba(255,255,255,.3) 72%, rgba(255,255,255,.1) 75%, transparent 78% 100%);
  animation: beamSpin 2.6s linear infinite; isolation: isolate;
}
@keyframes beamSpin { to { --beam-a: 360deg; } }
.beam::after { /* the stroke */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: var(--beam-shine), var(--beam-spots);
  mask-image: var(--beam-window), linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  mask-clip: border-box, content-box, border-box; mask-origin: border-box, content-box, border-box;
  mask-composite: intersect, exclude, intersect;
  filter: brightness(1.3) saturate(1.2); opacity: .32;
}
.beam::before { /* inner glow, only a 28px band along the edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: var(--beam-spots); box-shadow: inset 0 0 9px 1px rgba(255,255,255,.27);
  mask-image: var(--beam-window),
    linear-gradient(#fff, transparent 28px, transparent calc(100% - 28px), #fff),
    linear-gradient(to right, #fff, transparent 28px, transparent calc(100% - 28px), #fff);
  mask-composite: intersect, add, intersect;
  filter: brightness(1.3) saturate(1.2); opacity: .2;
}
.beam-bloom { /* faint blurred glow on the ring */
  position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none; padding: 3px;
  background: var(--beam-spots);
  mask-image: var(--beam-window), linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  mask-clip: border-box, content-box, border-box; mask-origin: border-box, content-box, border-box;
  mask-composite: intersect, exclude, intersect;
  filter: blur(8px) brightness(1.3) saturate(1.2); opacity: .24;
}
.quote-wave { position: absolute; left: 0; right: 0; top: 50%; height: 70%; width: 100%; transform: translateY(-50%); opacity: .4; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; opacity: .3; transition: opacity .3s, box-shadow .3s; }
.speaking .live-dot { opacity: 1; box-shadow: 0 0 10px var(--accent); animation: rec 1s ease-in-out infinite; }
/* Spoken words: dim until said, then light up one at a time */
/* Spoken words: hidden until said, then each one appears on its own */
.speak .sw { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.25em); color: var(--paper);
  transition: opacity .45s ease, filter .5s ease, transform .55s var(--ease-out), text-shadow .8s ease; }
.speak .sw.said { opacity: 1; filter: none; transform: none; }
.speak .sw.now { text-shadow: 0 0 16px rgba(255,183,115,.55); }
.quote { font-size: var(--quote); line-height: 1.38; letter-spacing: -.012em; }
.author { display: flex; align-items: center; gap: 14px; text-align: left; }
.author strong { display: block; font-size: 16px; font-weight: 600; }
.author small { display: block; font-size: 14px; color: var(--muted); }
/* Founder card: no photo; name and title centered under the quote on every screen size. */
.founder-author { justify-content: center; text-align: center; align-self: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--layer); border: 1px solid var(--border); }
.quote-mark { font-size: 72px; line-height: .6; font-weight: 600; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; height: 32px; }
.testimonial { padding-top: 170px; } /* breathing room after Who it's for */
.testimonial-slides { display: grid; }
.testimonial-slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 20px; }
.testimonial-slide .author { margin-top: auto; }
.testimonial-slide[aria-hidden="true"] { visibility: hidden; }
.testimonial-controls:not([hidden]) { display: flex; align-items: center; gap: 8px; }
.testimonial-controls button {
  min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--layer); color: var(--paper); font: inherit;
  font-size: 14px; cursor: pointer;
}
.testimonial-controls button:hover { border-color: var(--muted); }
.testimonial-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Quote progress: one thin bar per quote. The current bar fills over 7.5 s; it holds still while paused. */
.quote-progress { display: flex; gap: 6px; flex: 1; min-width: 0; margin-right: 8px; }
.testimonial-controls .qp-seg { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.qp-seg span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; transition: background .3s; }
.qp-seg:hover span { background: rgba(255,255,255,.24); }
.qp-seg span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--chrome); transform: scaleX(var(--p, 0)); transform-origin: left; }
.qp-seg.on span::after { box-shadow: 0 0 10px rgba(255,255,255,.35); }
.testimonial-controls .qp-seg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ----- Try it ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 56px auto 0; }
.step { padding: 32px; display: flex; flex-direction: column; gap: 18px;
  /* iOS Safari can cut the bottom border of a blurred (backdrop-filter) card. Draw the outline inside the card instead. */
  border-color: transparent; box-shadow: inset 0 0 0 1px var(--border); }
.steps { padding-bottom: 2px; }
.step-visual { height: 132px; border-radius: 16px; background: var(--canvas); display: flex; align-items: center; justify-content: center; padding: 0 20px; margin-bottom: 6px; overflow: hidden; }
.step-visual-left { justify-content: stretch; height: auto; min-height: 132px; padding: 16px; }
.h3 .num { font-size: 13px; letter-spacing: .18em; color: var(--accent); margin-right: 14px; vertical-align: middle; }
.hint { text-align: center; margin-top: 28px; font-size: 14px; color: var(--soft); }

/* Hold to Talk: the app's liquid-metal talk button (TalkButtonFill .metal + TalkLabelStyle).
   metal.js paints the surface. Ink #323232 sits on a soft white lift. */
.talk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 236px; height: 64px; border-radius: 22px; background: #b7b7bf;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s var(--ease-out), box-shadow .35s;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.talk-ink { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: #323232; }
.talk-ink::before { content: ""; position: absolute; inset: -5px -8px; border-radius: 12px; background: rgba(255,255,255,.58); filter: blur(7px); z-index: -1; }
.talk-ink .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.talk-btn.pressed { transform: scale(.95); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 6px rgba(255,153,77,.18), 0 0 46px rgba(255,140,70,.65); }
@keyframes rec { 50% { opacity: .35; } }
.step-visual-wave { padding: 0; }
.step-visual-wave canvas { width: 100%; height: 100%; }

.meter { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; height: 100%; }
.meter-demo { justify-content: center; }
.bar { flex: 0 0 auto; width: 6px; border-radius: 3px; background: var(--accent); transform-origin: center; animation: bar var(--t, 1.2s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); transition: transform .5s var(--ease-out), opacity .5s; }
.bar:nth-child(3n) { opacity: .55; }
@keyframes bar { from { transform: scaleY(var(--lo, .35)); } to { transform: scaleY(1); } }
.meter.idle .bar { animation-play-state: paused; transform: scaleY(.12); opacity: .35; }
.meter-loud .bar { width: 8px; background: rgba(153,154,163,.55); opacity: 1; }
.meter-whisper .bar { width: 8px; }

.prompt-field { width: 100%; background: var(--window); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 16px; line-height: 1.4; min-height: 84px; }
.prompt-label { display: block; font-size: 12px; color: var(--soft); margin-bottom: 6px; }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 1px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ----- Problem ----- */
/* Problem: one cause, three results. "Bad" visuals use red, the same red as the laptop waveform in the Fix. */
.problem { display: flex; flex-direction: column; align-items: center; }
.problem::before { content: ""; position: absolute; left: 50%; top: 32%; width: min(1100px, 90vw); height: 520px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,59,59,.10), rgba(255,59,59,0)); }
.eyebrow-bad { color: #ff6b6b; }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1200px; margin-top: 56px; }
.pain { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 28px; border-radius: 26px; background: rgba(25,26,30,.62); box-shadow: inset 0 0 0 1px var(--border); }
.pain h3, .pain .pain-n, .pain p.body-s { padding: 0 12px; }

.pain .body-s { color: var(--muted); }
.pain-n { font: 600 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: #ff6b6b; margin-top: 8px; }
.pain-vis { position: relative; height: 200px; border-radius: 18px; overflow: hidden; margin-bottom: 6px;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255,59,59,.10), transparent 60%), #0c0d0f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
/* 01: your voice spreads; the people around you light up */
.pv-heard .pv-you { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 18px rgba(255,255,255,.4); }
.pv-ring { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1.5px solid #ff3b3b; opacity: 0; transform: scale(.06); animation: pvRing 2.7s ease-out infinite; }
.pv-ring:nth-child(2) { animation-delay: .9s; } .pv-ring:nth-child(3) { animation-delay: 1.8s; }
@keyframes pvRing { 0% { opacity: .9; transform: scale(.06); } 100% { opacity: 0; transform: scale(1); } }
.pv-p { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #2a2b31; animation: pvHeard 2.7s ease-out infinite; animation-delay: .55s; }
.pv-p::after { content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #55565e; box-shadow: 0 9px 0 3px #55565e; clip-path: inset(0 -6px -4px -6px round 6px); }
@keyframes pvHeard { 0%, 100% { background: #2a2b31; box-shadow: none; } 25%, 55% { background: #4a1c1f; box-shadow: 0 0 0 2px rgba(255,59,59,.65), 0 0 18px rgba(255,59,59,.45); } }
.pv-bubble { position: absolute; right: 10%; top: 38%; max-width: 62%; padding: 7px 11px; border-radius: 12px 12px 12px 4px; font-size: 12px; color: #ffb3ad; background: rgba(58,20,22,.9); box-shadow: inset 0 0 0 1px rgba(255,59,59,.4); opacity: 0; animation: pvBubble 5.4s ease-in-out infinite; }
@keyframes pvBubble { 0%, 18% { opacity: 0; transform: translateY(6px); } 28%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-4px); } }
/* 02: the room's noise gets typed into the prompt */
.pv-noise { display: flex; align-items: center; padding: 18px; }
.pv-field { width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--window); box-shadow: inset 0 0 0 1px var(--border); font-size: 15px; line-height: 1.5; min-height: 112px; }
.pv-label { display: block; font-size: 12px; color: var(--soft); margin-bottom: 6px; }
.pv-text mark { background: rgba(255,59,59,.16); color: #ff8a80; border-radius: 4px; padding: 0 3px; text-decoration: line-through; text-decoration-color: rgba(255,90,80,.7); }
/* 03: your hand shuttles between talking and the keyboard; each trip adds to a counter */
.pv-reach { display: flex; align-items: center; justify-content: space-between; padding: 0 22px 26px; }
.pv-st { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 74px; padding: 12px 0 10px; border-radius: 16px; font-size: 12px; font-weight: 600; color: var(--muted); background: #17181c; box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .35s, color .35s; }
.pv-st svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pv-st.hit { color: #ff8a80; box-shadow: inset 0 0 0 1px rgba(255,59,59,.6), 0 0 22px rgba(255,59,59,.25); }
.pv-st b { font-weight: 600; min-width: 4.5em; text-align: center; }
.pv-path { position: absolute; left: 96px; right: 96px; top: calc(50% - 13px); border-top: 1.5px dashed rgba(246,244,240,.18); }
.pv-hand { position: absolute; top: calc(50% - 13px); left: 96px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 16px rgba(255,255,255,.35); transition: left .9s cubic-bezier(.6,0,.3,1); }
.pv-hand.away { left: calc(100% - 96px); }
.pv-count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 12.5px; color: var(--soft); }
.pv-count b { display: inline-block; margin-left: 6px; font-weight: 700; color: #ff8a80; font-variant-numeric: tabular-nums; transition: transform .25s; }
.pv-count b.bump { transform: scale(1.25); }

/* ----- Fix: one stage, two states ----- */
/* Mode labels inside the Fix card (replace the old toggle). Laptop = red, Attiva = orange; a thin bar times the auto-switch. */
.mode-tabs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mode-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); opacity: .55; cursor: pointer; transition: color .4s, opacity .4s; }
.mode-tabs button:hover { opacity: .85; }
.mode-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.mode-tabs i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mode-tabs button.on { opacity: 1; }
.mode-tabs button[data-mode="laptop"].on { color: #ff6b6b; }
.mode-tabs button[data-mode="attiva"].on { color: var(--accent); }
.mode-tabs button.on i { box-shadow: 0 0 8px currentColor; }
.mode-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: rgba(255,255,255,.08); overflow: hidden; }
.mode-bar::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.mode-tabs button.on .mode-bar::after { animation: modeTime 4.2s linear forwards; }
.mode-tabs.manual button.on .mode-bar::after { animation: none; transform: scaleX(1); }
@keyframes modeTime { to { transform: scaleX(1); } }
/* The drawing has no padding: the person fills the card's full height on its left edge. */
.distance { max-width: 1200px; margin: 52px auto 0; padding: 0; display: grid; grid-template-columns: 1.9fr 1fr; gap: 0; align-items: stretch; overflow: hidden; }
.dist-visual { width: 100%; height: 100%; min-height: 360px; display: block; }
.dist-copy { padding: 30px 40px 30px 8px; justify-content: center; }
.dist-visual .track { stroke: rgba(246,244,240,.22); stroke-width: 1.6; stroke-dasharray: 3 9; }
.dist-visual .ring { fill: none; stroke: #ff994d; stroke-width: 2.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: ringSoft 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
.dist-visual .ring:nth-child(2) { animation-delay: .73s; } .dist-visual .ring:nth-child(3) { animation-delay: 1.46s; }
.distance[data-mode="laptop"] .ring { stroke: #ff6a4d; stroke-width: 3; animation-name: ringLoud; }
@keyframes ringSoft { 0% { transform: scale(.06); opacity: .9; } 100% { transform: scale(.62); opacity: 0; } }
@keyframes ringLoud { 0% { transform: scale(.1); opacity: .95; } 100% { transform: scale(4.5); opacity: 0; } }
.dist-visual .dev { fill: #23242a; stroke: url(#silver); stroke-width: 1.4; }
.dist-visual .dev-screen { fill: #0c0d0f; }
.dist-visual .dev-label { font: 600 15px Geist, sans-serif; fill: var(--paper); }
.dist-visual .dev-sub { font: 400 12.5px Geist, sans-serif; fill: var(--soft); }
.mic-phone, .mic-laptop { transition: opacity .6s, filter .6s; }
.distance[data-mode="laptop"] .mic-phone { opacity: .22; }
.distance[data-mode="attiva"] .mic-laptop { opacity: .22; }
.distance[data-mode="laptop"] .mic-laptop, .distance[data-mode="attiva"] .mic-phone { filter: drop-shadow(0 0 14px rgba(255,153,77,.45)); }
.dist-copy { display: flex; flex-direction: column; gap: 12px; }
.dist-big { font-size: var(--h2); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.distance[data-mode="laptop"] [data-show="attiva"], .distance[data-mode="attiva"] [data-show="laptop"] { display: none; }
.distance [data-show] { animation: swapIn .6s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
/* Live voice trace (main.js draws it). Laptop: red, rough, clipping. Attiva: smooth orange glow. */
.glow-meter { position: relative; width: 100%; height: 104px; margin: 4px 0 6px; border-radius: 16px; background: #0c0d0f; box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.glow-meter canvas { display: block; width: 100%; height: 100%; }
.glow-tag { position: absolute; left: 14px; top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff6b6b; transition: color .5s; }
.glow-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; transition: background .5s, box-shadow .5s; }
.distance[data-mode="attiva"] .glow-tag { color: var(--accent); }
.distance[data-mode="attiva"] .glow-tag i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.glow-read { position: absolute; right: 14px; bottom: 12px; font-size: 13px; font-weight: 500; color: var(--soft); font-variant-numeric: tabular-nums; }
.distance .checks { color: var(--muted); }
.distance[data-mode="attiva"] .checks { color: var(--paper); }
/* "With Attiva" check: same style as the iPhone app's success check (ring + rounded tick on a dark tint), in orange.
   The ring draws first, then the tick, each time the list switches to Attiva. */
.distance .mark.good, .distance .mark.bad { --c: var(--accent); --tint: rgba(255,153,77,.12); flex: 0 0 24px; height: 24px; background: none; }
.distance .mark.bad { --c: #ff6b6b; --tint: rgba(255,59,59,.12); }
.mark.good svg, .mark.bad svg { width: 24px; height: 24px; overflow: visible; }
.mark.good .ring, .mark.bad .ring { fill: var(--tint); stroke: var(--c); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 1; transform: rotate(-90deg); transform-origin: 12px 12px; animation: checkRing .38s ease-in-out .05s both; }
.mark.good .tick, .mark.bad .tick { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; animation: checkTick .26s ease-out .29s both; }
.checks li:nth-child(2) .mark.bad .ring, .checks li:nth-child(5) .mark.good .ring { animation-delay: .15s; }
.checks li:nth-child(2) .mark.bad .tick, .checks li:nth-child(5) .mark.good .tick { animation-delay: .39s; }
.checks li:nth-child(3) .mark.bad .ring, .checks li:nth-child(6) .mark.good .ring { animation-delay: .25s; }
.checks li:nth-child(3) .mark.bad .tick, .checks li:nth-child(6) .mark.good .tick { animation-delay: .49s; }
@keyframes checkRing { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes checkTick { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .mark.good .ring, .mark.good .tick, .mark.bad .ring, .mark.bad .tick { animation: none; } }

/* ----- Fix (old panels, unused) ----- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1200px; margin: 56px auto 0; }
.side { display: flex; flex-direction: column; gap: 20px; }
.side-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.side-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); }
.side-good .side-label { color: var(--accent); }
.side-good .side-label .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: rec 1.6s ease-in-out infinite; }
.h3.dim { color: var(--soft); }
.panel { padding: 32px; display: flex; flex-direction: column; gap: 28px; }
.panel-good { border-color: rgba(255,153,77,.35); background: radial-gradient(60% 60% at 50% 50%, rgba(255,153,77,.2), rgba(107,75,255,.1) 55%, transparent), var(--glass); }
.panel-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--layer); color: var(--paper); }
.tag-good { background: rgba(255,153,77,.16); color: var(--accent); }
.panel .meter { height: 150px; border-bottom: 1px solid var(--border); padding-bottom: 28px; height: 178px; }
.checks { display: flex; flex-direction: column; gap: 10px; font-size: var(--body-s); color: var(--muted); }
.panel-good .checks { color: var(--paper); }
.checks li { display: flex; align-items: center; gap: 12px; }
.mark { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--layer); color: var(--soft); }
.panel-good .mark { background: rgba(255,153,77,.18); color: var(--accent); }

/* ----- Accordions ----- */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.acc-item { position: relative; border-bottom: 1px solid var(--border); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; color: var(--soft); transition: color .3s, padding .45s var(--ease-out); }
.acc-item.open .acc-btn { padding-bottom: 6px; }
.acc-item.open .acc-btn, .acc-btn:hover { color: var(--paper); }
.acc-icon { position: relative; flex: 0 0 14px; height: 14px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .4s var(--ease-out), background .3s; }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.open .acc-icon::before, .acc-item.open .acc-icon::after { background: var(--accent); }
.acc-item.open .acc-icon::after { transform: rotate(0deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 40px 22px 0; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-item.open .acc-body p { opacity: 1; transform: none; transition-delay: .1s; }
.acc-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.acc-item.open .acc-progress.run { animation: progress var(--dur, 5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ----- Mic + remote ----- */
.live { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: center; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; }
.live-copy { display: flex; flex-direction: column; gap: 40px; }
.stage { padding: 64px 0 36px; display: flex; flex-direction: column; align-items: center; gap: 28px; border-radius: 32px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(107,75,255,.38), rgba(51,31,128,.12) 60%, transparent), var(--glass); }
/* A still, silver iPhone: brushed metal band, black screen border, and side buttons. It matches the Liquid Metal titles. */
.phone { position: relative; width: 340px; aspect-ratio: 1206 / 2622; border-radius: 58px; padding: 4px;
  /* Black under the screen (content-box) so no silver can show through at the screen edge; silver for the band. */
  background: linear-gradient(#050506, #050506) content-box, linear-gradient(90deg, #7d7e86 0%, #e6e7eb 5%, #b9bac1 16%, #f4f4f6 48%, #c4c5cb 80%, #eceef1 94%, #7b7c84 100%) border-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 3px 1px rgba(0,0,0,.35), 0 40px 90px rgba(0,0,0,.55), 0 24px 70px rgba(107,75,255,.28); }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #8a8b92, #e9eaee 55%, #a7a8af); }
/* Left: Action button, volume up, volume down. Right: side button. */
.phone::before { left: -3px; top: 17%; height: 25%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 17%, transparent 17% 33%, #000 33% 63%, transparent 63% 70%, #000 70% 100%);
  mask-image: linear-gradient(to bottom, #000 0 17%, transparent 17% 33%, #000 33% 63%, transparent 63% 70%, #000 70% 100%); }
.phone::after { right: -3px; top: 27%; height: 13%; }
.phone .phone-screen { border: 7px solid #050506; border-radius: 54px; }
@keyframes phoneGlow { 50% { box-shadow: 0 30px 112px rgba(107,75,255,.65), 0 -10px 60px rgba(255,153,77,.22); } }
.phone img { width: 100%; height: 100%; border-radius: 51px; object-fit: cover; }
/* Real screen recordings. Sizes inside use cqw (1% of the screen width) so the status bar scales with the phone. */
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 51px; overflow: hidden; background: #050506; container-type: inline-size; }
.demo-vid, .demo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* 2px bigger than the screen on each side: hides a bright hairline the encoder leaves on the frame edge. */
.demo-vid { inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); opacity: 0; transition: opacity .35s ease; }
/* iPhone home bar: screen recordings leave it out, so draw it on top. */
.home-bar { position: absolute; left: 50%; bottom: 2.2cqw; width: 34cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 99px; background: rgba(255,255,255,.88); z-index: 2; pointer-events: none; }
.demo-vid.active { opacity: 1; }
.demo-fallback { z-index: 1; }
.demo-fallback[hidden] { display: none; }
/* A thin black ring over the screen edge: hides any light hairline the browser draws at the video edge. */
.phone-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px #050506; z-index: 3; pointer-events: none; }
/* Live layer on top of the real screenshot: dots, metal button, finger */
.phone-ui { position: absolute; inset: 7px; border-radius: 51px; overflow: hidden; pointer-events: none; }
.pad-dots { position: absolute; border-radius: 22px; opacity: 0; transition: opacity .5s; }
.pad-dots.on { opacity: 1; }
.strip-canvas { position: absolute; opacity: 0; transition: opacity .35s; }
.strip-canvas.on { opacity: 1; }
.talk-btn-phone { position: absolute; width: auto; height: auto; border-radius: 18px; transition: opacity .22s, transform .25s var(--ease-out), box-shadow .35s; }
.talk-btn-phone .talk-ink { font-size: var(--ink, 16px); gap: 7px; }
.talk-btn-phone .talk-ink .ico { width: 1.05em; height: 1.05em; }
.ripple { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 2px solid rgba(222,236,255,.85); opacity: 0; z-index: 6; }
.ripple.go { animation: ripple .6s ease-out; }
@keyframes ripple { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
.finger { position: absolute; left: 0; top: 0; z-index: 7; transform-origin: 49% 2%;
  filter: drop-shadow(-8px 18px 16px rgba(0,0,0,.6)) drop-shadow(0 0 1px rgba(0,0,0,.4)); opacity: 0; transition: opacity .45s; will-change: transform; }
.finger.on { opacity: 1; }
/* Held to talk (values from Controls.swift, sized in app points via --pt) */
.held { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease-out; pointer-events: none; }
.held.on { opacity: 1; }
.held-dim { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--pt) * 741); background: rgba(12,13,15,.82); }
.held-cover { position: absolute; left: 0; right: 0; top: calc(var(--pt) * 744); height: calc(var(--pt) * 90); background: #0c0d0f; }
.aura, .jet { position: absolute; inset: 0; width: 100%; height: 100%; }
.jet { mix-blend-mode: plus-lighter; opacity: 0; transition: opacity .3s; }
.held.locked .jet { opacity: 1; }
.held.locked .aura { opacity: 0; transition: opacity .32s; }
.held-timer { position: absolute; right: calc(var(--pt) * 22); top: calc(var(--pt) * 80); font-size: calc(var(--pt) * 17); font-weight: 600; color: #c4cbd5; font-variant-numeric: tabular-nums; }
.rec-actions, .finish-row { position: absolute; left: calc(var(--pt) * 16); right: calc(var(--pt) * 16); top: calc(var(--pt) * 750); height: calc(var(--pt) * 82); display: flex; align-items: center; gap: calc(var(--pt) * 10); transition: opacity .25s; }
.finish-row { opacity: 0; }
.held.locked .rec-actions { opacity: 0; }
.held.locked .finish-row { opacity: 1; }
.cancel-key { flex: 0 0 calc(var(--pt) * 111); height: 100%; border-radius: calc(var(--pt) * 22); background: #1b1c20; border: 1px solid rgba(196,203,213,.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--pt) * 6); font-size: calc(var(--pt) * 12); font-weight: 600; color: #e9ecf2; }
.cancel-key svg { width: calc(var(--pt) * 22); height: calc(var(--pt) * 22); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slide-cancel { display: inline-flex; align-items: center; gap: calc(var(--pt) * 6); font-size: calc(var(--pt) * 15); font-weight: 600; white-space: nowrap; }
.slide-cancel .chev { width: calc(var(--pt) * 36); text-align: center; color: #fff; letter-spacing: -.1em; animation: chev 1.5s linear infinite; }
@keyframes chev { 0% { transform: translateX(calc(var(--pt) * 8)); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateX(calc(var(--pt) * -8)); opacity: 0; } }
.slide-text { color: rgba(255,255,255,.68); background: linear-gradient(90deg, rgba(255,255,255,.68) 0 35%, #fff 50%, rgba(255,255,255,.68) 65% 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: slideShine 1.5s linear infinite; }
@keyframes slideShine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.finish-btn { flex: 1; width: auto; height: 100%; border-radius: calc(var(--pt) * 23); }
.finish-btn .talk-ink { font-size: calc(var(--pt) * 21); }
.finish-btn .ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lock-face { position: absolute; width: calc(var(--pt) * 68); height: calc(var(--pt) * 66); border-radius: calc(var(--pt) * 20);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--pt) * 5);
  background: linear-gradient(to bottom, rgba(196,203,213,.16), transparent), rgba(12,13,15,.88);
  border: 1px solid rgba(246,249,255,.6); box-shadow: 0 0 calc(var(--pt) * 14) rgba(196,203,213,.24); transition: box-shadow .4s, background .4s, transform .4s var(--ease-out); }
.lock-face svg { width: calc(var(--pt) * 21); height: calc(var(--pt) * 21); fill: none; stroke: #deecff; stroke-width: 1.9; stroke-linecap: round; }
.lock-face .shackle { transition: d .3s; }
.lock-face b { font-size: calc(var(--pt) * 11); font-weight: 600; color: rgba(255,255,255,.78); }
.lock-face .lock-chev { position: absolute; bottom: calc(var(--pt) * -14); font-style: normal; font-size: calc(var(--pt) * 11); color: #deecff; line-height: 1; }
.held.locked .lock-face { background: linear-gradient(to bottom, rgba(196,203,213,.44), transparent), rgba(12,13,15,.88); border-color: #f6f9ff; box-shadow: 0 0 calc(var(--pt) * 36) rgba(196,203,213,.65); }
.held.locked .lock-face svg { stroke: #fff; fill: rgba(255,255,255,.0); }
.held.locked .lock-face .shackle { d: path("M8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3"); }
.held.locked .lock-face b { color: #f6f9ff; }
.held.locked .lock-chev { display: none; }
.phone-ui.holding .talk-btn-phone { opacity: 0; }

/* ----- Chips ----- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1100px; margin: 56px auto 32px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); font-size: 17px; font-weight: 600; backdrop-filter: blur(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .3s, background .3s; }
.chip:hover { border-color: rgba(255,153,77,.5); background: rgba(33,34,40,.85); transform: translateY(-3px); }
.logo-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--chrome); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); transition: transform .5s var(--ease-out); }
.chip:hover .logo-dot { transform: rotate(-12deg) scale(1.08); }
.logo-dot img { width: 18px; height: 18px; filter: brightness(0); opacity: .85; }

/* ----- Who ----- */
/* Who: the photo IS the section background. Person on the left, list on the dark right. */
.who { display: grid; grid-template-columns: 1fr minmax(440px, 600px); align-items: center; min-height: 920px; padding-top: 160px; padding-bottom: 160px; overflow: hidden; }
/* Desktop: the film fills the left 64% only (person + their screen stay visible); its right edge and top/bottom fade into the page under the cards. */
.who-art { position: absolute; top: 0; bottom: 0; left: 0; width: 64%; z-index: -1;
  /* Long, eased fades on the top, bottom and right, so no edge of the film reads as a line. */
  --fade-y: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.14) 6%, rgba(0,0,0,.42) 13%, rgba(0,0,0,.74) 20%, #000 28%, #000 70%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.3) 90%, transparent 100%);
  --fade-x: linear-gradient(90deg, #000 0%, #000 42%, rgba(0,0,0,.75) 56%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.12) 88%, transparent 100%);
  -webkit-mask-image: var(--fade-y), var(--fade-x);
  mask-image: var(--fade-y), var(--fade-x);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.who-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(17,18,21,.35)); }
.who-art > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0; transform: scale(1.08); filter: blur(6px);
  transition: opacity 1.1s ease, transform 6s cubic-bezier(.2,.6,.2,1), filter 1.1s ease; }
.who-art > .active { opacity: 1; transform: scale(1); filter: none; }
.who-copy { grid-column: 2; display: flex; flex-direction: column; gap: 32px; }
/* Persona cards: 2 × 2 on desktop. The active one lifts and its icon turns warm. Outline drawn inside (iOS-safe). */
.who-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.who-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; text-align: left; color: var(--paper); cursor: pointer;
  border-color: transparent; box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .5s, background .5s, opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.who-card:hover { box-shadow: inset 0 0 0 1px rgba(255,183,115,.35); }
.who-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.who-card.active { background: rgba(33,30,32,.78); box-shadow: inset 0 0 0 1px rgba(255,183,115,.55), 0 18px 50px rgba(0,0,0,.35), 0 0 40px rgba(247,116,66,.12); }
/* 3D liquid-chrome persona icons. Inactive cards dim them a little; the active one lifts and gets a warm glow. */
.who-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: -6px 0 -2px -6px; }
.who-icon::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,153,77,.38), rgba(107,75,255,.18) 60%, transparent); opacity: 0; transform: scale(.7); transition: opacity .6s, transform .6s var(--ease-out); }
.who-icon img { position: relative; width: 64px; height: 64px; object-fit: contain; filter: saturate(.75) brightness(.86) drop-shadow(0 8px 14px rgba(0,0,0,.5)); transition: filter .6s, transform .6s var(--ease-out); }
.who-card.active .who-icon::before { opacity: 1; transform: scale(1.15); }
.who-card.active .who-icon img { filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.who-name { font-size: var(--h5); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
/* Cards hold only icon, name and tags. The active persona's story shows once, in the panel below. */
.who-card { display: grid !important; grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 8px; align-items: center; padding: 16px 18px !important; }
.who-card .who-icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
.who-card .who-icon img { width: 56px; height: 56px; }
.who-card .who-tags { align-self: start; }
.who-tags span { font-size: 11.5px; padding: 5px 8px; }
/* One fixed line per card on what this person does. */
.who-desc { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.5; color: var(--soft); transition: color .5s; }
.who-card.active .who-desc { color: var(--paper); }
/* The live transcript chip sits on the film, over the desk, and types what the person whispers. */
.who .who-chip { left: max(var(--gutter), 9%); right: auto; top: auto; bottom: 15%; width: min(330px, 26vw); z-index: 1; }
.who-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.who-tags span { font-size: 12px; font-weight: 500; line-height: 1; padding: 6px 9px; border-radius: 99px; color: var(--soft); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); transition: color .5s, box-shadow .5s, background .5s; }
.who-card.active .who-tags span { color: #ffd2a3; background: rgba(255,153,77,.08); box-shadow: inset 0 0 0 1px rgba(255,183,115,.3); }

/* ----- Lean back: a full-bleed film that fades into the page; three actions sit on its faded bottom ----- */
.lean { display: flex; flex-direction: column; align-items: center; padding-bottom: 120px; }
/* The film starts behind the subtitle and fades in slowly (eased stops, about a third of its height),
   so there is no hard edge under the title. It is at most 66% of the screen tall, so the three steps still show with it. */
.lean .head { position: relative; z-index: 1; }
.lean-art { --fade: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.12) 5%, rgba(0,0,0,.38) 10%, rgba(0,0,0,.68) 15%, rgba(0,0,0,.9) 20%, #000 25%, #000 72%, rgba(0,0,0,.6) 86%, transparent 100%);
  position: relative; z-index: 0; width: calc(100% + 2 * var(--gutter)); margin: -90px calc(-1 * var(--gutter)) 0; aspect-ratio: 16 / 9; max-height: 74vh;
  -webkit-mask-image: var(--fade); mask-image: var(--fade); }
.lean-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.lean-steps { position: relative; z-index: 1; list-style: none; margin: -150px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; width: 100%; max-width: 1100px; }
.lean-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; min-width: 0; }
/* Each step is a glass card, like the other cards on the page. It sits over the bottom of the film, so the glass blurs it. */
.lean-steps li.glass { padding: 32px 24px; border-radius: 24px;
  transition: opacity .8s var(--ease-out) calc(var(--d, 0) * 1s), transform .6s var(--ease-out), border-color .4s; }
.lean-steps li.glass:hover { border-color: rgba(255,153,77,.4); transform: translateY(-4px); }
.lean-text { display: flex; flex-direction: column; gap: 8px; max-width: 300px; }
/* 3D liquid-chrome icons (shared look: soft warm glow behind, gentle float) */
.lean-icon, .pillar-icon { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; }
.lean-icon::before, .pillar-icon::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,153,77,.32), rgba(107,75,255,.16) 62%, transparent); }
.lean-icon img, .pillar-icon img, .price-tiles img { position: relative; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); animation: chromeFloat 5s ease-in-out infinite; }
.lean-icon img, .pillar-icon img { width: 72px; height: 72px; }
.lean-steps li:nth-child(2) img, .pillar:nth-child(2) img, .price-tiles li:nth-child(2) img { animation-delay: -1.6s; }
.lean-steps li:nth-child(3) img, .pillar:nth-child(3) img, .price-tiles li:nth-child(3) img { animation-delay: -3.2s; }
@keyframes chromeFloat { 50% { transform: translateY(-4px) rotate(-2deg); } }

/* ----- Privacy: a live diagram, centered ----- */
.privacy .head.center .lead-s { max-width: 640px; }
.flow { max-width: 1000px; margin: 56px auto 0; padding: 48px 40px; display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; gap: 24px;
  background: radial-gradient(60% 90% at 50% 50%, rgba(107,75,255,.16), transparent 70%), var(--glass); }
.node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
/* Mini devices instead of line icons */
.device { position: relative; margin-bottom: 8px; }
/* iPhone: a matte titanium edge and a black bezel, the same shine level as the Mac. The screen is the real app. */
.device-phone { width: 74px; aspect-ratio: 1206 / 2622; padding: 1.5px; border-radius: 16px; background: linear-gradient(160deg, #8e8f99, #4b4c55 45%, #6e6f79 70%, #3d3e46);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 34px rgba(0,0,0,.5), 0 0 30px rgba(255,153,77,.12); }
.device-phone img { display: block; width: 100%; height: 100%; border: 2.5px solid #050506; border-radius: 14.5px; object-fit: cover; }
/* When the person talks, the Hold to Talk button is pressed: it dims a little and glows. */
.flow-press { position: absolute; left: 48.4%; top: 84%; width: 45%; height: 8.7%; border-radius: 6px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,183,115,0); background: rgba(255,153,77,0); transition: background .25s, box-shadow .25s; }
.device-phone.talking .flow-press { background: rgba(255,153,77,.28); box-shadow: 0 0 0 1px rgba(255,183,115,.8), 0 0 14px rgba(247,116,66,.7); }
.device-mac { width: 176px; display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.mac-screen { position: relative; width: 100%; aspect-ratio: 16 / 10.4; border-radius: 9px 9px 3px 3px; padding: 5px;
  background: linear-gradient(160deg, #4b4c55, #17181c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 14px 34px rgba(0,0,0,.5), 0 0 30px rgba(255,153,77,.12);
  display: flex; flex-direction: column; justify-content: flex-end; }
.mac-screen::before { content: ""; position: absolute; inset: 5px; border-radius: 5px; background: radial-gradient(120% 90% at 50% 0%, #1d1e26, #0c0d0f); }
.mac-app { position: absolute; left: 11px; top: 10px; display: flex; gap: 3px; }
.mac-app i { width: 5px; height: 5px; border-radius: 50%; background: #3a3b42; }
.mac-field { position: relative; margin: 0 8px 8px; padding: 6px 8px; min-height: 30px; border-radius: 7px; background: #1b1c20; border: 1px solid #3a3b42;
  font-size: 9.5px; line-height: 1.35; color: var(--paper); text-align: left; transition: border-color .3s, box-shadow .3s; }
.mac-field.typing { border-color: rgba(255,153,77,.55); box-shadow: 0 0 14px rgba(255,153,77,.25); }
.mac-base { width: 112%; height: 7px; margin-top: -1px; border-radius: 0 0 9px 9px; background: linear-gradient(to bottom, #c9cad3, #6d6e78); }
.node .caption { max-width: 180px; }
.caret-sm { height: .95em; width: 1.5px; vertical-align: -2px; }
/* The stream sits above the iPhone and Mac. Its canvas reaches past the middle column, so the star, glow and sparks are never cut off. */
.link { position: relative; z-index: 3; height: 190px; }
.link-canvas { --pad-x: 90px; --pad-y: 60px; position: absolute; left: calc(-1 * var(--pad-x)); top: calc(-1 * var(--pad-y)); width: calc(100% + 2 * var(--pad-x)); height: calc(100% + 2 * var(--pad-y)); pointer-events: none; z-index: 2; }
.packet { position: absolute; z-index: 4; top: 50%; left: 0; transform: translate(-50%, 70%); white-space: nowrap; font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em;
  padding: 7px 10px; border-radius: 8px; color: var(--paper); background: rgba(33,34,40,.9); border: 1px solid var(--border); opacity: 0; transition: opacity .3s; }
.packet.on { opacity: 1; }
.packet.cipher { color: var(--accent); border-color: rgba(255,153,77,.4); }
.no-cloud { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--soft); white-space: nowrap; }
.no-cloud svg { width: 22px; height: 22px; fill: none; stroke: var(--soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.no-cloud .strike { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 23; stroke-dashoffset: 23; transition: stroke-dashoffset .9s var(--ease-out) .4s; }
.flow.in .no-cloud .strike { stroke-dashoffset: 0; }
.lock-chip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--accent); background: rgba(255,153,77,.1); border: 1px solid rgba(255,153,77,.3); transition: box-shadow .4s, background .4s; }
.lock-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lock-chip.hot { background: rgba(255,153,77,.2); box-shadow: 0 0 24px rgba(255,153,77,.45); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 24px auto 0; }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 24px; border-radius: 24px; border: 1px solid rgba(58,59,66,.6);
  background: rgba(25,26,30,.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: border-color .4s, transform .5s var(--ease-out); }
.pillar:hover { border-color: rgba(255,153,77,.4); transform: translateY(-4px); }
.pillar-icon { margin: -6px 0 2px -8px; }

/* ----- Pricing ----- */
/* How it works: three steps on a dashed line. Step 2 (the Mac app) is the one people miss, so it gets a warm outline and a "Required" pill. */
.how-steps { position: relative; list-style: none; margin: 56px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1200px; }
.how-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 62px; border-top: 1.5px dashed rgba(255,183,115,.28); z-index: -1; }
.how-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 26px 28px; border-radius: 26px; background: rgba(25,26,30,.72); box-shadow: inset 0 0 0 1px var(--border); }
.how-step .body-s { color: var(--muted); }
.how-step-key { background: rgba(33,30,32,.82); box-shadow: inset 0 0 0 1px rgba(255,183,115,.5), 0 20px 60px rgba(0,0,0,.35), 0 0 60px rgba(247,116,66,.12); }
.how-icon { position: relative; width: 88px; height: 88px; margin: -6px 0 2px -8px; }
.how-icon::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,153,77,.3), rgba(107,75,255,.14) 62%, transparent); }
.how-icon img { position: relative; width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); }
.how-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.how-tag em { font-style: normal; letter-spacing: .06em; padding: 4px 8px; border-radius: 99px; color: #201108; background: linear-gradient(95deg, #f77442, #ffb773); }
.how-link { margin-top: 6px; font-size: 15px; font-weight: 600; color: #ffd2a3; }
.how-link:hover { color: var(--paper); }
.how-done { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--paper); }
.how-done::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.8' fill='%23ff994d' fill-opacity='.12' stroke='%23ff994d' stroke-width='1.4'/%3E%3Cpath d='M7.4 12.3 10.5 15.4 16.6 9' fill='none' stroke='%23ff994d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.how-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: var(--body-m); line-height: 1.6; color: var(--muted); }
.how-note b { color: var(--paper); font-weight: 600; }

/* Price card: the same Border Beam as the founder card (.beam); three tiles show what you get. */
.price-card { position: relative; isolation: isolate; max-width: 520px; margin: 48px auto 0; padding: 32px; border-radius: 28px; background: rgba(25,26,30,.86);
  display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 90px rgba(247,116,66,.08); }
.price-card > :not(.beam-bloom) { position: relative; z-index: 1; }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; line-height: 1; }
.price-num { display: inline-block; font-size: 40px; font-weight: 700; letter-spacing: -.035em; } /* liquid metal comes from metal.js (.metal), same as the titles */
.price small { font-size: 13px; font-weight: 500; color: var(--soft); }
.price-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-tiles li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: 18px; background: #0c0d0f; box-shadow: inset 0 0 0 1px var(--border);
  font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; }
.price-tiles img { width: 56px; height: 56px; margin: -4px 0 -2px; }
.price-facts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; font-size: var(--body-s); color: var(--muted); }
.price-facts li { display: flex; align-items: center; gap: 8px; }
.price-facts li::before { content: ""; flex: 0 0 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.8' fill='%23ff994d' fill-opacity='.12' stroke='%23ff994d' stroke-width='1.4'/%3E%3Cpath d='M7.4 12.3 10.5 15.4 16.6 9' fill='none' stroke='%23ff994d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ----- FAQ ----- */
.faq { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; }
.faq .head { position: sticky; top: 120px; }
.faq-list .acc-btn { color: var(--paper); }

/* ----- CTA ----- */
.cta { position: relative; text-align: center; padding: 140px var(--gutter) 520px; display: flex; flex-direction: column; align-items: center; gap: 24px; overflow: hidden; }
.cta-art { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 42%); mask-image: linear-gradient(to bottom, transparent, #000 42%); }
.cta-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: translateY(40px); opacity: 0; transition: transform 2s var(--ease-out), opacity 1.6s; }
.cta.in-view .cta-art img { transform: none; opacity: 1; }
.cta-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,18,21,.5), rgba(17,18,21,.35) 55%, transparent); }

/* ----- Footer ----- */

/* ===== Small laptop: keep the hero text off the phone ===== */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero-copy { max-width: 500px; }
  .hero-video { object-position: 82% 50%; }
  .live-chip { width: 300px; bottom: 12%; }
}

/* ===== Tablet and phone ===== */
@media (max-width: 1100px) {
  .live { grid-template-columns: 1fr; gap: 48px; }
  .stage { order: -1; }
  .who { grid-template-columns: 1fr; min-height: 0; padding-top: 480px; }
  .who-copy { grid-column: 1; }
  .who-art { width: 100%; bottom: auto; height: 560px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 64%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 64%, transparent); }
  .who-art::after { background: linear-gradient(to bottom, transparent 50%, rgba(17,18,21,.6)); }
  .who-art > * { object-position: 22% 50%; }
  .who .who-chip { left: 24px; right: 24px; width: auto; max-width: 420px; top: 372px; bottom: auto; padding: 12px 14px; }
  .distance { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq .head { position: static; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .section { padding: 72px 20px; }
  .head { gap: 14px; }
  .eyebrow { font-size: 12px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 110px 20px 56px; }
  /* Phones: a vertical film fills the whole hero. The dark top of each scene holds the title;
     a soft shade keeps the text readable and fades the bottom into the page. No mask, so iOS plays the video. */
  .hero-art { -webkit-mask-image: none; mask-image: none; inset: 0; height: auto; }
  .hero-art::after { display: block; background: linear-gradient(to bottom, rgba(17,18,21,.72) 0%, rgba(17,18,21,.35) 30%, rgba(17,18,21,0) 44%, rgba(17,18,21,0) 64%, rgba(17,18,21,.8) 82%, #111215 100%); }
  .hero-bloom { display: none; }
  .hero-video { object-position: 50% 40%; }
  /* Keep the live transcript inside the first screen on any phone height */
  .live-chip { left: 20px; right: 20px; width: auto; top: clamp(470px, calc(100svh - 128px), 660px); bottom: auto; padding: 12px 14px; }
  .live-chip-text { font-size: 14px; min-height: 2.8em; }
  .hero-copy { gap: 20px; }
  .hero .actions { margin-top: 400px; flex-direction: column; width: 100%; }
  .lean { padding-bottom: 72px; }
  .lean-art { aspect-ratio: 3 / 4; max-height: none; width: calc(100% + 40px); margin: -40px -20px 0;
    --fade: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.2) 7%, rgba(0,0,0,.55) 14%, rgba(0,0,0,.85) 20%, #000 26%, #000 66%, rgba(0,0,0,.6) 82%, transparent 100%); }
  .lean-steps { grid-template-columns: 1fr; gap: 26px; margin-top: -120px; }
  .lean-video { object-position: 50% 55%; }
  .lean-steps li { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .lean-steps li.glass { padding: 20px; }
  .lean-icon, .lean-icon img { width: 60px; height: 60px; }
  .price-tiles img { width: 48px; height: 48px; }
  .hero .btn { width: 100%; }
  .quote-card { padding: 32px 24px; gap: 20px; }
  .founder-card { align-items: flex-start; text-align: left; }
  .steps, .compare, .pillars { grid-template-columns: 1fr; }
  /* Phone: a tidy 2-column card. Each device sits in a 112px left column with its title and caption beside it;
     the comet runs straight down that same column, with its two labels and the travelling code to the right. */
  .flow { grid-template-columns: 1fr; padding: 24px 16px; gap: 0; }
  .node { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; text-align: left; }
  .node .device { grid-row: 1 / span 2; justify-self: center; margin: 0; }
  .node .h5 { align-self: end; margin: 0; }
  .node .caption { align-self: start; max-width: none; margin: 0; }
  .device-phone { width: 52px; border-radius: 11px; }
  .device-phone img { border-width: 2px; border-radius: 9.5px; }
  .device-mac { width: 96px; margin-top: 0; }
  .mac-field { font-size: 8px; margin: 0 6px 6px; padding: 4px 6px; min-height: 22px; }
  .link { height: 190px; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 14px; padding: 0; }
  .link-canvas { --pad-x: 50px; --pad-y: 36px; position: relative; left: auto; top: auto; grid-column: 1; grid-row: 1 / span 2;
    width: calc(100% + 100px); height: calc(100% + 72px); margin: -36px -50px; }
  .no-cloud { position: static; transform: none; grid-column: 2; grid-row: 1; align-self: start; justify-self: start; flex-direction: row; margin-top: 16px; }
  .lock-chip { position: static; transform: none; grid-column: 2; grid-row: 2; align-self: end; justify-self: start; font-size: 11.5px; padding: 5px 10px; gap: 6px; margin-bottom: 16px; max-width: 100%; }
  .packet { display: block; font-size: 11px; padding: 5px 8px; transform: translate(20px, -50%); transition: opacity .2s; }
  .pillar { padding: 24px 20px; }
  .scroll-cue { display: none; }
  .quote-wave { height: 46%; opacity: .26; }
  .steps, .compare { margin-top: 36px; }
  .step { padding: 20px; gap: 14px; }
  .step-visual { height: 96px; }
  .step-visual-left { height: auto; min-height: 96px; padding: 12px; }
  .prompt-field { min-height: 0; padding: 12px 14px; font-size: 15px; }
  .talk-btn { width: 200px; height: 56px; border-radius: 18px; }
  .talk-ink { font-size: 18px; }
  .phone-ui { inset: 6px; border-radius: 38px; }
  .pain-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .testimonial { padding-top: 112px; }
  .how-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .how-steps::before { display: none; }
  .how-step { padding: 20px 22px 24px; }
  .how-note { text-align: left; }
  .pain-vis { height: 176px; }
  .panel { padding: 22px 20px; gap: 20px; }
  .panel .meter { height: 130px; padding-bottom: 20px; }
  .meter-loud .bar, .meter-whisper .bar { width: 6px; }
  .phone { width: 250px; border-radius: 44px; padding: 3px; }
  .phone .phone-screen { border-width: 5px; border-radius: 41px; }
  .phone::before, .phone::after { width: 2.5px; }
  .phone::before { left: -2.5px; } .phone::after { right: -2.5px; }
  .phone img, .phone-screen { border-radius: 38px; }
  .stage { padding: 40px 0 24px; }
  .chips { gap: 10px; margin: 36px auto 24px; justify-content: center; }
  .chip { font-size: 15px; padding: 8px 14px 8px 8px; gap: 8px; }
  .logo-dot { width: 24px; height: 24px; }
  .logo-dot img { width: 14px; height: 14px; }
  .who { padding-top: 344px; }
  .who-art { height: 400px; }
  .who-cards { grid-template-columns: 1fr; gap: 10px; }
  .who-card { grid-template-columns: 48px 1fr; padding: 14px 16px !important; }
  .who-card .who-icon, .who-card .who-icon img { width: 48px; height: 48px; }
  .who .who-chip { left: 16px; right: 16px; top: 246px; }
  .who-desc { font-size: 13px; }
  .distance { padding: 0; gap: 0; }
  .dist-visual { min-height: 0; height: auto; aspect-ratio: 2 / 1; }
  .dist-copy { padding: 20px 20px 24px; }
  .glow-meter { height: 140px; }
  .checks { gap: 14px; }
  .dist-big { font-size: 30px; }
  .dist-visual .dev-label { font-size: 19px; }
  .dist-visual .dev-sub { font-size: 14px; }
  .price-card { padding: 22px; border-radius: 24px; }
  .price-num { font-size: 32px; }
  .price-tiles li { padding: 14px 6px; font-size: 13px; }
  .price-facts { justify-content: center; gap: 8px 18px; }
  .cta { padding: 100px 20px 360px; }
  .cta .actions { flex-direction: column; width: 100%; }
  .cta .btn { width: 100%; }
}

/* Respect "Reduce motion": no loops or movement, content stays visible. */
@media (prefers-reduced-motion: reduce) {
  .mode-tabs button.on .mode-bar::after { animation: none; transform: scaleX(1); }
  .pv-ring { opacity: .4; transform: scale(.6); } .pv-bubble { opacity: 1; }
  .lean-icon img, .pillar-icon img, .price-tiles img { animation: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .load, .reveal, .split-words .w, .hero-img, .hero-bloom { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-flash { display: none; }
  .speak .sw { opacity: 1 !important; filter: none !important; transform: none !important; }
  .who-art > * { transition: none; }
  .cta-art img { opacity: 1 !important; transform: none !important; }
  .meter.idle .bar { transform: scaleY(.5); opacity: 1; }
}

/* ----- Liquid Glass (shared) -----
   Every card blurs and tints what is behind it (--glass + backdrop blur), and gets a bright rim that catches
   light on the top-left and bottom-right edges plus a soft glare in the top corner. Cards with the border beam
   (founder and price) keep their beam and get only the fill. */
.pain, .pillar, .how-step { background: var(--glass); }
.pain, .pillar, .how-step, .chip, .glass, .live-chip { -webkit-backdrop-filter: blur(26px) saturate(175%); backdrop-filter: blur(26px) saturate(175%); }
.pain, .pillar, .how-step, .chip, .glass:not(.beam) { position: relative; }
.pain, .pillar, .how-step, .chip, .glass:not(.beam), .live-chip { isolation: isolate; }
.pain::before, .pillar::before, .how-step::before, .chip::before, .glass:not(.beam)::before, .live-chip::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.12) 28%, rgba(255,255,255,0) 55%, rgba(255,255,255,.07) 78%, rgba(255,255,255,.34));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pain::after, .pillar::after, .how-step::after, .glass:not(.beam)::after, .live-chip::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 45% at 12% 0%, rgba(255,255,255,.12), transparent 70%); }
/* Soft colored light under the card rows, so the glass has something to bend. */
.pain-grid, .pillars, .how-steps { position: relative; isolation: isolate; }
.pain-grid::after, .pillars::after { content: ""; position: absolute; inset: 8% -6% -4%; z-index: -2; pointer-events: none; filter: blur(60px); }
.pain-grid::after { background: radial-gradient(28% 50% at 18% 55%, rgba(255,59,59,.28), transparent 70%), radial-gradient(30% 55% at 52% 40%, rgba(107,75,255,.3), transparent 70%),
  radial-gradient(26% 48% at 86% 62%, rgba(255,120,77,.26), transparent 70%); }
.pillars::after { background: radial-gradient(28% 50% at 18% 50%, rgba(107,75,255,.3), transparent 70%), radial-gradient(30% 55% at 52% 55%, rgba(255,153,77,.22), transparent 70%),
  radial-gradient(26% 48% at 86% 45%, rgba(107,75,255,.28), transparent 70%); }
.pain-vis { background: radial-gradient(120% 90% at 50% 100%, rgba(255,59,59,.12), transparent 60%), rgba(8,9,11,.72) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 0 rgba(255,255,255,.12) !important; }
/* Beam cards (quote, founder, price): the border beam already uses the card's two drawing layers,
   so the glass rim is its own element (.glass-rim) and the glare is a background layer. */
.beam > .glass-rim { position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.12) 28%, rgba(255,255,255,0) 55%, rgba(255,255,255,.07) 78%, rgba(255,255,255,.34));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.beam.glass { background: radial-gradient(60% 45% at 12% 0%, rgba(255,255,255,.12), transparent 70%), var(--glass); }
/* Secondary button: the same glass, in pill size. */
.btn-secondary { isolation: isolate; border-color: rgba(255,255,255,.08); background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(175%); backdrop-filter: blur(20px) saturate(175%); }
.btn-secondary:hover { background: linear-gradient(160deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.06) 40%, rgba(255,255,255,.03) 62%, rgba(255,255,255,.09) 100%), rgba(30, 31, 36, .6); }
.btn-secondary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.1) 30%, rgba(255,255,255,0) 55%, rgba(255,255,255,.08) 78%, rgba(255,255,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* Price card facts: three equal columns under the three tiles, each with the check above centered text. */
.price-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-content: stretch; }
.price-facts li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; line-height: 1.35; }
.price-facts li::before { flex: 0 0 22px; width: 22px; height: 22px; }
/* Key-word mode for liquid metal titles: the other words are a quieter gray, so the metal words stand out. */
.metal.metal-on .w.plain { color: #c8c9d1 !important; -webkit-text-fill-color: #c8c9d1 !important; }
/* Mic + remote on tablets and phones: title, then the video, then the 5 topics as pill tabs right under it,
   with the active topic's text below. The video, the topics and the text fit on one screen together. */
@media (max-width: 1100px) {
  .live { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .live-copy { display: contents; }
  .live-copy > .head { order: 1; margin-bottom: 24px; }
  .live > .stage { order: 2; }
  #liveAcc { order: 3; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; border: 0; }
  #liveAcc::before, #liveAcc::after { display: none; }
  #liveAcc .acc-item { display: contents; }
  #liveAcc .acc-btn { order: 0; flex: 0 0 auto; width: auto; padding: 8px 14px; border-radius: 99px; gap: 0; color: var(--soft);
    background: var(--glass); box-shadow: inset 0 0 0 1px var(--border); transition: color .3s, background .3s, box-shadow .3s; }
  #liveAcc .acc-btn .h4 { font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
  #liveAcc .acc-item.open .acc-btn { padding: 8px 14px; color: #ffd2a3; background: rgba(255,153,77,.14); box-shadow: inset 0 0 0 1px rgba(255,183,115,.55); }
  #liveAcc .acc-icon, #liveAcc .acc-progress { display: none; }
  #liveAcc .acc-body { order: 1; flex: 0 0 100%; display: none; }
  #liveAcc .acc-item.open .acc-body { display: grid; grid-template-rows: 1fr; }
  #liveAcc .acc-body p { padding: 6px 8px 0; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); }
}
@media (max-width: 900px) {
  .phone { width: 220px; border-radius: 40px; }
  .phone .phone-screen { border-radius: 37px; }
  .stage { padding: 28px 0 18px; gap: 16px; }
}

/* ----- Footer: links, then the Attiva wordmark in Liquid Glass -----
   Seamless with the CTA above: the phone photo fades out at the bottom, and the footer moves up onto its reflection. */
.cta-art {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 70%, rgba(0,0,0,.6) 82%, rgba(0,0,0,.2) 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 70%, rgba(0,0,0,.6) 82%, rgba(0,0,0,.2) 92%, transparent 100%); }
.fx { position: relative; z-index: 1; margin-top: -60px; padding: 0 var(--gutter) 32px; overflow: hidden; }
.fx-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.fx-intro { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fx-cols { display: flex; gap: clamp(48px, 7vw, 112px); }
.fx-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.fx-col a { color: var(--muted); transition: color .2s; }
.fx-col a:hover { color: var(--paper); }
.fx-head { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.fx-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) {
  .fx { margin-top: -30px; padding: 0 20px 28px; }
  .fx-top { flex-direction: column; gap: 40px; }
}

/* Wordmark in Liquid Glass. Same letter shapes and orange mic dot as the approved SVG.
   .gm-blur blurs what is behind, cut to the letter shapes. .gm-svg adds the glass tint, top glare and bright rim.
   .gm-light is slow colored light behind the letters, so the glass has something to bend.
   .gm-spot is a soft light inside the letters that slowly follows the pointer (main.js). */
.fx-mark { display: block; position: relative; aspect-ratio: 2755.11 / 676; margin: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 64px); isolation: isolate; }
.gm-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gm-dot { filter: drop-shadow(0 0 18px rgba(255,153,77,.55)); }
.gm-blur { position: absolute; inset: 0; -webkit-backdrop-filter: blur(14px) saturate(190%) brightness(1.15); backdrop-filter: blur(14px) saturate(190%) brightness(1.15);
  -webkit-mask: url(assets/logos/attiva-wordmark-dark.svg) center / 100% 100% no-repeat; mask: url(assets/logos/attiva-wordmark-dark.svg) center / 100% 100% no-repeat; }
.gm-light { position: absolute; inset: -20% -6%; z-index: -1; pointer-events: none; filter: blur(46px);
  background: radial-gradient(22% 46% at 20% 62%, rgba(255,153,77,.55), transparent 70%), radial-gradient(24% 50% at 52% 48%, rgba(107,75,255,.55), transparent 70%),
              radial-gradient(20% 44% at 84% 58%, rgba(255,120,77,.45), transparent 70%);
  animation: gmDrift 14s ease-in-out infinite alternate; }
@keyframes gmDrift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@media (prefers-reduced-motion: reduce) { .gm-light { animation: none; } }
@media (max-width: 600px) {
  .testimonial-controls:not([hidden]) { flex-wrap: wrap; }
  .quote-progress { flex-basis: 100%; margin-right: 0; }
  .testimonial-controls .qp-seg { min-height: 28px; }
}

/* ----- Pricing: founder offer (first 100) and regular plans -----
   The section has two states (data-state on #pricing): "founder" and "plans". */
.pricing[data-state="founder"] .when-plans, .pricing[data-state="plans"] .when-founder { display: none; }
.price-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  background: rgba(255,153,77,.10); box-shadow: inset 0 0 0 1px rgba(255,153,77,.35); }
.price-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: priceDot 1.8s ease-in-out infinite; }
@keyframes priceDot { 50% { opacity: .35; } }
.price-was { font-size: 15px; font-weight: 500; color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(255,153,77,.8); }
.price-note { margin-top: -6px; text-align: center; font-size: 13px; color: var(--soft); }

/* Locked plans under the founder card: the prices after spot 100. */
.price-locked { max-width: 520px; margin: 22px auto 0; padding: 22px; border-radius: 24px; background: rgba(12,13,15,.6); box-shadow: inset 0 0 0 1px var(--border); }
.price-locked-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.price-lock { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.price-locked-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-locked-cards li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 16px; text-align: center; opacity: .78;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 6px, transparent 6px 12px), #0c0d0f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.price-locked-cards span, .price-locked-cards small { font-size: 13px; color: var(--soft); }
.price-locked-cards small { font-size: 12px; }
.price-locked-cards b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); }
.price-locked-foot { margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--soft); }
.price-locked-foot b { color: var(--paper); font-weight: 600; }

/* Regular plans (state "plans"): Monthly, Annual (beam), Lifetime. */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 48px auto 0; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 26px; }
.plan.plan-best { max-width: none; margin: 0; padding: 28px; transform: translateY(-10px); }
.plan-price { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.plan-price b { font-size: 34px; font-weight: 700; letter-spacing: -.035em; }
.plan-price span { font-size: 14px; color: var(--soft); }
.plan-chrome { font-size: 40px !important; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: auto; padding-bottom: 6px; font-size: var(--body-s); color: var(--muted); }
.plan-list li { display: flex; align-items: center; gap: 10px; }
.plan-list li::before { content: ""; flex: 0 0 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.8' fill='%23ff994d' fill-opacity='.12' stroke='%23ff994d' stroke-width='1.4'/%3E%3Cpath d='M7.4 12.3 10.5 15.4 16.6 9' fill='none' stroke='%23ff994d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plans-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--soft); }

@media (max-width: 900px) {
  .price-locked { padding: 18px; }
  .price-locked-cards { gap: 8px; }
  .price-locked-cards b { font-size: 16px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; gap: 14px; }
  .plan, .plan.plan-best { padding: 22px; border-radius: 24px; }
  .plan.plan-best { transform: none; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .price-dot { animation: none; } }

/* ----- Mic + remote bento: five tiles, each a cropped window onto a real iPhone screen recording -----
   The windows (.crop) are canvases drawn by main.js. Grid: 6 columns, 3 rows on desktop; one column on phones. */
.bento-wrap { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.bento-wrap .head { margin: 0 auto; }

.bento { position: relative; isolation: isolate; display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 420px 292px 292px; }
.bento::after { content: ""; position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none; filter: blur(10px);
  background: radial-gradient(30% 40% at 22% 30%, rgba(255,120,77,.22), transparent 70%),
              radial-gradient(30% 45% at 78% 62%, rgba(107,75,255,.26), transparent 70%),
              radial-gradient(24% 30% at 40% 92%, rgba(255,153,77,.14), transparent 70%); }

.bt { position: relative; overflow: hidden; border-radius: 28px; padding: 26px; display: flex; gap: 22px; min-width: 0; }
.bt-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bt-num { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.bt-copy .body-m { max-width: 34ch; }
.bt-media { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; }

/* One cropped window onto a screen recording. The canvas is drawn from a hidden video. */
.crop { position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden; background: #0b0c0f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 18px 40px -18px rgba(0,0,0,.7); }
.crop canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity .28s ease; }
.crop.dip canvas { opacity: 0; }
.crop::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(11,12,15,.55), transparent 16%, transparent 84%, rgba(11,12,15,.55)),
              linear-gradient(90deg, rgba(11,12,15,.35), transparent 10%, transparent 90%, rgba(11,12,15,.35)); }
.crop.pad::after { display: none; }
.crop-tag { position: absolute; right: 12px; bottom: 12px; z-index: 1; font: 500 11px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .08em; color: rgba(255,255,255,.7); padding: 6px 8px; border-radius: 8px;
  background: rgba(11,12,15,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Layout: 6 columns, 3 rows. */
.bt-hold   { grid-column: 1 / 4; grid-row: 1 / 3; flex-direction: column; }
.bt-review { grid-column: 4 / 7; grid-row: 1; }
.bt-pad    { grid-column: 4 / 6; grid-row: 2 / 4; flex-direction: column; }
.bt-scroll { grid-column: 6 / 7; grid-row: 2 / 4; flex-direction: column; padding: 22px 18px; }
.bt-keys   { grid-column: 1 / 4; grid-row: 3; }
.bt-review .bt-copy { width: 30%; flex: none; justify-content: flex-end; }
.bt-keys .bt-copy { width: 36%; flex: none; justify-content: flex-end; }
.bt-scroll .body-m { font-size: 14px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .bt { grid-column: auto !important; grid-row: auto !important; flex-direction: column !important; padding: 20px !important; }
  .bt-hold { grid-column: 1 / -1 !important; }
  .bt-review, .bt-keys { grid-column: 1 / -1 !important; }
  .bt-review .bt-copy, .bt-keys .bt-copy { width: auto; }
  .bt-media { flex: none; height: 240px; }
  .bt-hold .bt-media { height: 420px; }
  .bt-pad .bt-media { height: 260px; }
  .bt-hold .crop-tag { top: 10px; bottom: auto; }
  .bt-review .bt-media { height: auto; }
  .bt-review .crop:not(.pad) { flex: none !important; height: 96px; }
  .bt-keys .bt-media { height: auto; }
  .bt-keys .crop:not(.pad) { flex: none !important; height: 120px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bt-pad, .bt-scroll { grid-column: 1 / -1 !important; }
  /* Scroll wheel: words on the left, a narrow tall window on the right. */
  .bt-scroll { flex-direction: row !important; align-items: stretch; }
  .bt-scroll .bt-copy { flex: 1; justify-content: center; }
  .bt-scroll .bt-media { flex: none; width: 112px; height: 220px; }
}
.proto-note { text-align: center; }
