/* ShiftHands homepage. Facebook-dark surfaces, Meta blue accents, Figtree throughout.
   Brand tokens (--sh-*) live in fonts.css, loaded first on every site page; this block only maps them.
   No green, no orange, no purple. Amber = "needs you" only. Mobile first.
   The .app / .mob blocks mirror the real app's dark theme. */
:root {
  color-scheme: dark;
  --bg: var(--sh-bg);
  --surface: var(--sh-card);
  --surface-2: var(--sh-raised);
  --line: var(--sh-line);
  --line-2: var(--sh-line-2);
  --text: var(--sh-text);
  --muted: var(--sh-text-2);
  --faint: var(--sh-muted);
  --blue: var(--sh-blue);
  --blue-fb: var(--sh-blue-fb);
  --blue-text: var(--sh-blue-text);
  --blue-soft: var(--sh-blue-soft);
  --amber: var(--sh-amber);
  --focus: var(--sh-blue-text);
  /* app replica */
  --app-bg: var(--sh-bg);
  --app-bubble: var(--sh-raised);
  --app-line: var(--sh-line-2);
  --app-text: var(--sh-text);
  --app-muted: var(--sh-text-2);
  --app-faint: var(--sh-muted);

  --font: var(--sh-font);
  --sys: var(--sh-font);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: 16px;
  --max: 1200px;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .3s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--sh-blue); color: #fff; }
.btn-primary:hover { background: var(--sh-blue-hover); box-shadow: 0 10px 30px -10px rgba(8,102,255,.55); }
.btn-primary:active { background: var(--sh-blue-press); }
.btn-ghost { background: var(--sh-raised); color: var(--text); }
.btn-ghost:hover { background: var(--sh-raised-hover); }
.btn-quiet { color: var(--text); background: transparent; }
.btn-quiet:hover { background: rgba(255,255,255,.06); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(24,25,26,.8); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17.5px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.nav-links { display: none; gap: 4px; margin-left: 24px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-actions { margin-left: auto; display: flex; gap: 6px; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Type ---------- */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
h1, h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
/* The emphasised phrase is a colour shift, not italics: Facebook blue (4.2:1 on --bg, AA for large text). */
h1 em, h2 em { font-style: normal; color: var(--blue-fb); }
h2 { font-size: clamp(32px, 7.2vw, 54px); font-weight: 750; text-wrap: balance; }
.head { max-width: 720px; margin-bottom: clamp(32px, 6vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); margin-top: 16px; max-width: 38em; text-wrap: pretty; }
.head.center .sub { margin-left: auto; margin-right: auto; }
.fine { color: var(--faint); font-size: 13px; margin-top: 20px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234599FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(28px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); isolation: isolate; }
.hero-glow { position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-glow::before, .hero-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.hero-glow::before { width: 720px; height: 520px; right: -160px; top: 40px; background: radial-gradient(closest-side, rgba(24,119,242,.13), transparent); transform: translate3d(calc(var(--mx, 0) * 30px), calc(var(--my, 0) * 20px), 0); }
.hero-glow::after { width: 520px; height: 420px; left: -200px; top: 260px; background: radial-gradient(closest-side, rgba(8,102,255,.08), transparent); transform: translate3d(calc(var(--mx, 0) * -24px), calc(var(--my, 0) * -16px), 0); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; min-height: min(640px, calc(100svh - 120px)); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-fb); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--blue-fb); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-size: clamp(44px, 11.6vw, 84px); margin-top: 22px; line-height: 1; letter-spacing: -0.04em; }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin-top: 22px; max-width: 32em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ctas.center { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 26px; color: var(--faint); font-size: 14px; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.hero-meta span:first-child { color: var(--text); font-weight: 600; }

/* Mascot stage: Ezra's component (site/hero-mascot) mounts into #hero-mascot at a fixed size. */
.hero-stage { position: relative; display: grid; justify-items: center; }
.hero-mascot { position: relative; width: 100%; max-width: 460px; height: 540px; z-index: 1; border-radius: 24px; }
@media (max-width: 480px) { .hero-mascot { height: 520px; } }
.hero-mascot.hm { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 110px -40px rgba(0,0,0,.95), 0 30px 90px -50px rgba(24,119,242,.22); transition: box-shadow .8s var(--ease); }
.hero.is-working .hero-mascot.hm { box-shadow: 0 0 0 1px rgba(24,119,242,.5), 0 50px 110px -40px rgba(0,0,0,.95), 0 30px 110px -40px rgba(8,102,255,.35); }
.hero-halo { position: absolute; left: 50%; top: 50%; width: min(640px, 130%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.06), rgba(255,255,255,.02) 55%, transparent 70%); transition: background .8s; }
.hero-halo::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px solid var(--line); }
.hero.is-working .hero-halo { background: radial-gradient(closest-side, rgba(8,102,255,.14), rgba(255,255,255,.02) 55%, transparent 70%); }
.caret { width: 1.5px; height: 18px; background: var(--blue-fb); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--app-faint); }
.dot-blue { background: var(--blue-fb); }
.dot-amber { background: var(--amber); }

/* Sprites */
.sprite-wave { background-image: url("/site/img/wave-strip.webp"); background-size: 3600% 100%; aspect-ratio: 200 / 244; animation: wave 1.5s steps(36) infinite; }
.sprite-type { background-image: url("/site/img/type-strip.webp"); background-repeat: no-repeat; background-size: 2400% 100%; aspect-ratio: 204 / 218; animation: type 1s steps(24) infinite; }
@keyframes wave { from { background-position: 0 0; } to { background-position: calc(100% * 36 / 35) 0; } }
@keyframes type { from { background-position: 0 0; } to { background-position: calc(100% * 24 / 23) 0; } }

/* Page-load stagger */
.js .load { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Hero headline + subhead are painted from the first frame (never opacity 0) so the H1 counts as the LCP element. */
.js .hero h1.load, .js .hero .lede.load { opacity: 1; animation-name: riseText; animation-fill-mode: both; }
@keyframes riseText { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Showcase ---------- */
.showcase { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 7vw, 80px); }
.showcase::before { content: ""; position: absolute; left: 50%; top: 22%; width: min(1100px, 100%); height: 60%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(8,102,255,.08), transparent); pointer-events: none; }
.tabs { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 24px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: 10px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px/1 var(--font); cursor: pointer; overflow: hidden; transition: color .25s, background-color .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.tab-bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tab[aria-selected="true"] .tab-bar { opacity: .9; }
.tab.playing .tab-bar { animation: tabfill var(--dur, 8s) linear forwards; }
.tabs.paused .tab.playing .tab-bar { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }
@media (min-width: 560px) { .tab { padding: 11px 20px; font-size: 15px; } }

.stage { position: relative; perspective: 1600px; }
.stage-tilt { position: relative; transform-origin: 50% 0; transform: rotateX(calc(var(--tilt, 0) * 14deg)) scale(calc(1 - var(--tilt, 0) * .06)); will-change: transform; }
.mac { position: relative; border-radius: 14px; background: var(--app-bg); border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 120px -40px rgba(0,0,0,.9), 0 30px 80px -50px rgba(24,119,242,.2); }
.mac-bar { display: flex; align-items: center; height: 34px; padding: 0 14px; background: var(--sh-card); border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; }
/* Window dots stay neutral: no traffic-light green (brand rule). */
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--sh-raised); }
.mac-title { flex: 1; text-align: center; font: 500 12.5px var(--sys); color: var(--app-muted); }
.mac-spacer { width: 47px; }
.mac-body { position: relative; aspect-ratio: 390 / 700; container-type: inline-size; }
@media (min-width: 640px) { .mac-body { aspect-ratio: 16 / 10; } }
.panel { position: absolute; inset: 0; }
.panel.is-entering { animation: panelIn .7s var(--ease) both; }
.panel.is-leaving { display: block !important; animation: panelOut .45s var(--ease-io) both; z-index: 0; }
.panel.is-active { z-index: 1; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes panelOut { to { opacity: 0; transform: translateY(-8px) scale(.99); } }

.media-slot { position: absolute; inset: 0; z-index: 2; display: none; background: var(--app-bg); }
.media-slot.has-media { display: block; }
.media-slot img, .media-slot video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.media-slot.has-media + .replica { display: none; }

.stage-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 22px; }

/* ---------- App replica (mirrors the real app) ---------- */
.app { position: absolute; inset: 0; display: flex; font-family: var(--sys); color: var(--app-text); background: var(--app-bg); font-size: 14px; line-height: 1.45; }
.ap-side { display: none; flex: none; width: 250px; padding: 16px 12px 12px; border-right: 1px solid var(--app-line); flex-direction: column; gap: 10px; }
@container (min-width: 700px) { .ap-side { display: flex; } }
.ap-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--app-muted); font-size: 15px; }
.ap-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.ap-search kbd { font: inherit; }
.ap-online { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; }
.ap-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-fb); }
.ap-list { display: grid; gap: 2px; }
.ap-list li { position: relative; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px; border-radius: 10px; font-size: 15px; transition: background-color .4s; }
.ap-list li b { font-weight: 400; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-list li.strong b { font-weight: 600; }
.ap-list li.two { flex-wrap: wrap; row-gap: 0; }
.ap-list li.two small { order: 3; flex-basis: 100%; font-size: 12.5px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-list li.is-sel { background: var(--sh-card); }
.ap-count { color: var(--app-muted); font-size: 13px; }
.ap-new { padding: 1px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; font-family: var(--sys); }
.ap-run { color: var(--blue-text); font-size: 13px; }
.ap-time { color: var(--app-muted); font-size: 13px; }
.d { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--app-faint); }
.d.g { background: var(--blue-fb); }
.d.a { background: var(--amber); }
.d.g, .d.a { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; transform: scale(.8); } }
.ap-label { margin: 8px 12px 0; font-size: 13px; color: var(--app-muted); }
.ap-back { display: flex; align-items: center; gap: 12px; padding: 4px 8px; font-weight: 600; font-size: 16px; }
.ap-back span { color: var(--app-muted); font-size: 22px; line-height: 1; }
.ap-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 6px; }
.ap-user b { display: block; font-size: 13px; font-weight: 500; }
.ap-user small { color: var(--app-muted); font-size: 12px; }
.ap-av { width: 30px; height: 30px; border-radius: 50%; background: var(--sh-raised); display: grid; place-items: center; font-weight: 600; font-size: 13px; }

.ap-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 16px 12px; overflow: hidden; }
.ap-agent { display: grid; justify-items: center; flex: none; }
.ap-agent img { width: 64px; height: 64px; border-radius: 50%; }
.ap-pill { display: grid; justify-items: center; margin-top: -6px; padding: 5px 16px; border-radius: 12px; background: var(--sh-raised); }
.ap-pill b { font-size: 14px; font-weight: 600; }
.ap-pill small { font-size: 12px; color: var(--app-muted); transition: color .3s; }
.ap-pill small.needs { color: var(--amber); }
.ap-pill small.work { color: var(--blue-text); }
.ap-thread { flex: 1; width: 100%; max-width: 660px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px 0 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60px); mask-image: linear-gradient(to bottom, transparent, #000 60px); }
.ap-bubble { font-family: var(--sys); font-size: 14px; line-height: 1.5; padding: 11px 15px; border-radius: 18px; max-width: 92%; text-align: left; }
.ap-bubble.ai { align-self: flex-start; background: var(--app-bubble); color: var(--app-text); }
.ap-bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 20px; max-width: 80%; }
.ap-usage { display: block; margin-top: 6px; font-size: 12px; color: var(--app-faint); }
.ap-usage em { font-style: normal; color: var(--blue-text); font-weight: 600; }
.ap-notice { align-self: center; display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--app-muted); }
.ap-auto { align-self: stretch; padding: 12px 15px; border-radius: 16px; background: var(--sh-card); border: 1px solid var(--app-line); font-size: 13.5px; }
.ap-auto > span { font-weight: 600; font-size: 13.5px; }
.ap-auto > small { display: block; color: var(--app-muted); font-size: 12px; }
.ap-auto p { margin-top: 6px; color: var(--app-text); }
.ap-auto p b { font-weight: 600; color: var(--app-text); }
.ap-auto.review { border-color: rgba(247,185,40,.45); }
.ap-auto.review > small { color: var(--amber); }
.ap-composer { flex: none; width: 100%; max-width: 760px; display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--sh-raised); font-size: 15px; }
.ap-composer .plus { font-size: 22px; color: var(--app-muted); }
.ap-composer .ph { flex: 1; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-composer .ph.typed { color: var(--app-text); }
.ap-composer .send { width: 38px; height: 38px; border-radius: 50%; background: #1B3F7A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9C8F5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / 18px no-repeat; transition: background-color .25s, transform .25s var(--ease); }
.ap-composer .send.ready { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }
.ap-composer .send.press { transform: scale(.88); }
.caret-in { display: inline-block; width: 1.5px; height: 1em; background: var(--app-text); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }

/* message entrance inside replicas */
.msg-in { animation: msgIn .55s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.stream-dots { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--app-bubble); align-self: flex-start; }
.stream-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-muted); animation: dots 1.2s infinite; }
.stream-dots i:nth-child(2) { animation-delay: .15s; } .stream-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* Approval card (real app styling) */
.approval { position: relative; align-self: stretch; padding: 14px 15px; border: 1px solid var(--amber); border-radius: 16px; background: var(--sh-card); font-family: var(--sys); overflow: hidden; }
.approval-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.approval-h svg { width: 16px; height: 16px; fill: none; stroke: var(--amber); stroke-width: 2; }
.approval-d { color: var(--app-muted); font-size: 13px; margin-top: 4px; }
.approval code { display: block; margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--sh-bg); font: 12.5px/1.5 ui-monospace, Menlo, monospace; color: var(--app-text); word-break: break-word; }
.approval-btns { display: flex; gap: 8px; margin-top: 12px; }
.approval-btns span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: transform .2s var(--ease), background-color .25s; }
.approval-btns svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.b-allow { background: var(--blue); color: #fff; }
.b-allow.press { transform: scale(.94); background: var(--sh-blue-press); }
.b-deny { background: var(--sh-raised); color: var(--app-text); }

/* Browser viewer (the app's live view) */
.ap-main-browser { padding: 14px; align-items: stretch; }
.viewer { position: relative; flex: 1; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--sh-card); border: 1px solid var(--app-line); font-family: var(--sys); }
.viewer-top { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-text); font-size: 12px; font-weight: 700; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-fb); animation: breathe 1.6s ease-in-out infinite; }
.viewer-title { flex: 1; min-width: 0; font-size: 13px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.return { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease), background-color .3s; }
.return svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.return.press { transform: scale(.93); background: var(--sh-blue-press); }
.viewer-url { display: flex; align-items: center; gap: 10px; margin: 0 10px 10px; padding: 0 12px; height: 32px; border-radius: 999px; background: var(--sh-raised); color: var(--app-muted); font-size: 13px; }
.viewer-url b { font-weight: 400; color: var(--app-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site { position: relative; flex: 1; background: var(--sh-light-bg); color: var(--sh-light-text); display: flex; flex-direction: column; font-family: var(--sys); }
.site-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: var(--sh-light-surface); border-bottom: 1px solid #DADDE1; font-weight: 600; font-size: 15px; }
.site-bar i { width: 20px; height: 20px; border-radius: 50%; background: var(--sh-light-text-2); }
.site-bar span { margin-left: auto; font-weight: 400; color: var(--sh-light-text-2); font-size: 13px; }
.site-card { margin: auto auto 56px; width: min(86%, 340px); display: grid; justify-items: center; gap: 8px; padding: 26px 20px; background: var(--sh-light-surface); border: 1px solid #DADDE1; border-radius: 14px; text-align: center; }
.site-card b { font-size: 19px; font-weight: 600; }
.site-card small { color: var(--sh-light-text-2); font-size: 12.5px; line-height: 1.4; }
.otp { display: flex; gap: 6px; margin: 8px 0 4px; }
.otp i { width: 30px; height: 38px; border-radius: 7px; border: 1.5px solid #CED0D4; display: grid; place-items: center; font: 600 17px var(--sys); font-style: normal; color: var(--sh-light-text); transition: border-color .2s; }
.otp i.on { border-color: var(--blue); }
.verify { width: 100%; height: 38px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; transition: transform .2s; }
.verify.press { transform: scale(.96); }
.you-pill { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 12px); opacity: 0; padding: 7px 14px; border-radius: 999px; background: rgba(24,25,26,.92); color: var(--app-text); font-size: 12.5px; white-space: nowrap; transition: opacity .4s, transform .5s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.you-pill.show { opacity: 1; transform: translate(-50%, 0); }
.cursor { position: absolute; left: 60%; top: 70%; width: 18px; height: 18px; z-index: 3; pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l7 17 2.5-7L21 10.5z' fill='white' stroke='%23111' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: left 1s var(--ease-io), top 1s var(--ease-io), opacity .3s; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.cursor.show { opacity: 1; }

/* Phone frame */
.phone { width: 260px; aspect-ratio: 390 / 836; padding: 9px; border-radius: 44px; background: #0b0b0c; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 2px #1c1c1e, 0 40px 90px -30px rgba(0,0,0,.9); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--app-bg); }
.phone-float { position: relative; width: 236px; margin: 28px auto 0; }
@media (min-width: 1300px) { .phone-float { position: absolute; right: -96px; bottom: -72px; width: 232px; margin: 0; z-index: 3; transform: translateY(calc(var(--tilt, 0) * 60px)); } }
.mob { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 12px; font-family: var(--sys); color: var(--app-text); font-size: 12px; }
.mob .ap-bubble { font-size: 12px; padding: 9px 12px; }
.mob-top { display: flex; align-items: center; justify-content: space-between; }
.mob-top img { width: 54px; height: 54px; border-radius: 50%; }
.mob-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--sh-raised); display: grid; place-items: center; color: var(--app-muted); font-size: 16px; line-height: 1; }
.mob-pill { align-self: center; margin-top: -12px; }
.mob-pill b { font-size: 12.5px; } .mob-pill small { color: var(--amber); font-size: 11px; }
.handover { margin-top: auto; padding: 12px; border: 1px solid var(--sh-blue-line); border-radius: 16px; display: grid; gap: 8px; }
.handover b { font-size: 12.5px; }
.handover p { color: var(--app-muted); font-size: 11.5px; line-height: 1.4; }
.h-open { height: 32px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 12px; animation: glowpulse 2.6s ease-in-out infinite; }
@keyframes glowpulse { 50% { box-shadow: 0 0 0 5px rgba(8,102,255,.2); } }
.h-row { display: flex; gap: 6px; }
.h-ret { flex: 1; height: 30px; border-radius: 999px; border: 1px solid var(--sh-blue-line); color: var(--blue-text); background: var(--blue-soft); display: grid; place-items: center; font-weight: 600; font-size: 11.5px; }
.h-cant { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--sh-raised); display: grid; place-items: center; font-weight: 600; font-size: 11.5px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 12vw, 140px) 0 0; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: .9fr 1.1fr; gap: 72px; } .split.flip .split-copy { order: 2; } }

/* States */
.states { display: grid; gap: 14px; }
@media (min-width: 720px) { .states { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.state { margin: 0; position: relative; padding: 18px 18px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; overflow: hidden; }
@media (min-width: 720px) { .state { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px 26px; } }
.state-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.07), transparent 70%); }
.state-art img, .state-art .sprite-type { width: 70%; height: auto; }
@media (min-width: 720px) { .state-art { aspect-ratio: 5 / 4; } .state-art img, .state-art .sprite-type { width: 46%; } }
.state.is-needs .state-art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--amber); transform: translate(-50%, -50%); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .7; transform: translate(-50%, -50%) scale(.7); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); } }
.state.is-needs img { animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-6px) rotate(-3deg); } 86% { transform: translateY(0) rotate(2deg); } }
.state.is-idle img { animation: idle 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idle { 50% { transform: scale(1.02, .985); } }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--app-faint); }
.tag-blue { color: var(--blue-text); } .tag-blue i { background: var(--blue-fb); }
.tag-amber { color: var(--amber); } .tag-amber i { background: var(--amber); }
.state p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Automations */
.auto-grid { display: grid; gap: 14px; }
.auto-lists { display: grid; gap: 14px; align-content: start; }
@media (min-width: 720px) and (max-width: 1099px) { .auto-lists { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .auto-grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 22px; align-items: start; } }
.auto-col { padding: 18px 10px 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); font-family: var(--sys); }
.auto-col h3 { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 10px; font-size: 16px; font-weight: 700; }
.count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); display: inline-grid; place-items: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease), color .3s; }
.count.bump { transform: scale(1.25); color: var(--blue-text); }
.auto-list { display: grid; gap: 2px; position: relative; }
.row { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 12px; overflow: hidden; }
.row .r-main { flex: 1; min-width: 0; }
.row b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; font-size: 12.5px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-side { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--app-muted); white-space: nowrap; }
.r-side.ok { color: var(--blue-text); }
.r-side.review { color: var(--amber); }
.row.running { background: rgba(8,102,255,.08); }
.run-label { color: var(--blue-text); }
.r-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); opacity: .7; }
.row.running .r-progress { animation: prog var(--run, 4s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.row.enter { animation: rowIn .6s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); background: rgba(8,102,255,.18); } to { opacity: 1; transform: none; } }
.row.leave { animation: rowOut .45s var(--ease-io) both; }
@keyframes rowOut { to { opacity: 0; transform: translateX(24px); } }
.auto-list .row { opacity: 1; }
.js [data-auto]:not(.in) .auto-list .row { opacity: 0; }
.js [data-auto].in .auto-list .row:not(.enter):not(.leave) { animation: rowFill .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 120ms + 200ms); }
@keyframes rowFill { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Browser section */
.browser-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.browser-grid > *, .split > *, .auto-grid > *, .hero-grid > * { min-width: 0; }
.browser-grid .shot { order: -1; }
@media (min-width: 820px) { .steps-rail { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.steps-rail { display: grid; gap: 6px; counter-reset: s; }
.steps-rail li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; border: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.steps-rail li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--muted); transition: background-color .4s, color .4s; }
.steps-rail li b { display: block; font-weight: 600; font-size: 17px; }
.steps-rail li span { display: block; color: var(--faint); font-size: 14.5px; margin-top: 2px; transition: color .4s; }
.steps-rail li.is-on { background: var(--surface); border-color: var(--line); }
.steps-rail li.is-on::before { background: var(--blue); color: #fff; }
.steps-rail li.is-on span { color: var(--muted); }
.ego { margin-top: 28px; display: grid; gap: 16px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, rgba(8,102,255,.10), rgba(255,255,255,.02)); border: 1px solid var(--line-2); }
@media (min-width: 820px) { .ego { grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px 28px; } }
.ego-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; }
.ego-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ego h3 { font-size: 18px; font-weight: 700; }
.ego p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 58em; }
.ego-btn { justify-self: start; }

/* Real app stills: a mac window on desktop, a phone on small screens when a mobile still exists */
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--app-bg); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 110px -45px rgba(0,0,0,.9), 0 30px 80px -55px rgba(24,119,242,.2); }
.shot-bar { display: flex; align-items: center; height: 30px; padding: 0 12px; background: var(--sh-card); border-bottom: 1px solid var(--line); }
.shot-bar .lights i { width: 10px; height: 10px; }
.shot picture { display: block; }
.shot img { width: 100%; height: auto; display: block; transition: filter .5s var(--ease); }
@media (max-width: 639px) {
  .shot.has-mobile { width: min(100%, 300px); margin-inline: auto; padding: 8px; border-radius: 42px; background: #0b0b0c; border-color: rgba(255,255,255,.12); }
  .shot.has-mobile .shot-bar { display: none; }
  .shot.has-mobile img { border-radius: 34px; }
}
.split .shot, .stack .shot { width: 100%; }
.stack { display: grid; gap: clamp(32px, 5vw, 56px); }
.stack .split-copy { max-width: 760px; }
@media (min-width: 980px) { .stack .ticks { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; } }
/* Approval still: tap once, then "Allowed once" */
.tap-ring { position: absolute; left: 15.3%; top: calc(30px + (100% - 30px) * .78); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(8,102,255,.5); transform: scale(0); opacity: 0; pointer-events: none; }
.tap-ring.go { animation: tap .7s var(--ease) both; }
@keyframes tap { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.approved { position: absolute; left: 50%; top: 58%; transform: translate(-50%, 10px); opacity: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--blue); border: 1px solid var(--blue); color: #fff; font: 600 15px var(--sys); white-space: nowrap; transition: opacity .4s .15s, transform .5s .15s var(--ease); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); }
.approved svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
[data-approve].done .approved { opacity: 1; transform: translate(-50%, 0); }
[data-approve].done img { filter: brightness(.55) saturate(.8); }
/* Tour: real loops are 16:10 at every width; phone shows the mobile loop */
.stage.real .mac-body { aspect-ratio: 16 / 10; }
.phone .media-slot video, .phone .media-slot img { object-position: top center; }

/* Everywhere */
.every { display: grid; gap: 14px; }
@media (min-width: 820px) { .every { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.every-card { padding: 18px 18px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.every-card h3 { font-size: 18px; font-weight: 700; margin-top: 18px; }
.every-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.every-art { height: 170px; border-radius: 16px; background: radial-gradient(circle at 50% 110%, rgba(8,102,255,.12), transparent 70%), var(--sh-bg); position: relative; overflow: hidden; display: grid; place-items: center; }
.mini-mac { position: absolute; left: 14%; right: 14%; top: 24px; bottom: -10px; border-radius: 10px 10px 0 0; background: var(--sh-card); border: 1px solid var(--line-2); display: flex; gap: 5px; padding: 9px; }
.mini-mac i { width: 7px; height: 7px; border-radius: 50%; background: var(--sh-raised); }
.mini-rows { position: absolute; left: calc(14% + 12px); top: 52px; width: 34%; display: grid; gap: 7px; }
.mini-rows span { height: 10px; border-radius: 5px; background: var(--sh-raised); }
.mini-rows span.on { background: rgba(8,102,255,.55); animation: breathe 2.4s infinite; }
.mini-phone { width: 92px; height: 190px; margin-top: 40px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--sh-card); padding: 12px 9px; display: grid; gap: 7px; align-content: start; }
.mp-h { width: 28px; height: 28px; border-radius: 50%; background: #e9e6df; justify-self: center; }
.mp-b { height: 16px; border-radius: 8px; background: var(--sh-raised); width: 80%; }
.mp-b.me { background: var(--blue); justify-self: end; width: 60%; }
.mp-card { height: 34px; border-radius: 9px; border: 1px solid var(--sh-blue-line); animation: glowpulse 2.6s ease-in-out infinite; }
.upd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px -14px rgba(8,102,255,.6); animation: floaty 4s ease-in-out infinite; }
.upd-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; animation: spin 4s var(--ease-io) infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@keyframes spin { 0%, 40% { transform: rotate(0); } 70%, 100% { transform: rotate(360deg); } }

/* Pricing: Free + Pro cards, CSS-only Annual / Monthly switch (radio inputs, no JS) */
.plans { position: relative; max-width: 940px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.bill-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.bill-toggle label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.bill-toggle label:hover { color: var(--text); }
.bill-save { font-size: 12px; font-weight: 700; color: var(--blue-text); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; }
#bill-year:checked ~ .bill-toggle label[for="bill-year"],
#bill-month:checked ~ .bill-toggle label[for="bill-month"] { background: var(--surface-2); color: var(--text); }
#bill-year:focus-visible ~ .bill-toggle label[for="bill-year"],
#bill-month:focus-visible ~ .bill-toggle label[for="bill-month"] { outline: 2px solid var(--focus); outline-offset: 2px; }
.bill-month-only { display: none; }
#bill-month:checked ~ .plan-grid .bill-month-only { display: block; }
#bill-month:checked ~ .plan-grid .bill-year-only { display: none; }
.plan-grid { width: 100%; display: grid; gap: 16px; align-items: stretch; }
/* Phones: Pro (the offer) first; side by side from 820px. */
@media (max-width: 819px) { .plan-pro { order: -1; margin-top: 6px; } }
@media (min-width: 820px) { .plan-grid { grid-template-columns: 1fr 1.08fr; gap: 20px; } }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4.5vw, 38px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); }
.plan-pro { background: radial-gradient(120% 80% at 15% 0%, rgba(8,102,255,.22), transparent 62%), #1F2021; border: 1.5px solid var(--blue); box-shadow: 0 50px 120px -60px rgba(8,102,255,.55); }
.plan-flag { position: absolute; top: -13px; right: 24px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.plan-name { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.plan-pro .plan-name { color: var(--blue-text); }
.amount { margin: 0; font-family: var(--font); font-weight: 800; font-size: clamp(52px, 13vw, 72px); line-height: 1; letter-spacing: -.045em; color: var(--text); font-variant-numeric: tabular-nums; }
.amount .cur { font-size: .5em; vertical-align: .75em; margin-right: 2px; color: var(--muted); font-weight: 700; }
.amount .per { font-family: var(--font); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; min-height: 2.9em; }
.plan-card .btn { margin-top: 6px; }
.plan-list { display: grid; gap: 12px; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.plan-list li b { font-weight: 700; color: var(--text); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234599FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan-card:not(.plan-pro) .plan-list li::before { background-color: rgba(255,255,255,.06); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0B3B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan-fine { margin: auto 0 0; padding-top: 8px; color: var(--faint); font-size: 13px; }
.plan-value { max-width: 780px; margin: clamp(40px, 7vw, 64px) auto 0; padding: 0; border: 0; text-align: center; }
.plan-value p { margin: 0; font-size: clamp(19px, 2.6vw, 24px); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }

/* FAQ */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; } .faq-wrap .head { position: sticky; top: 100px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4E6EB' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255,255,255,.08); }
.faq summary:hover { color: var(--blue-text); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq details[open] .faq-a { grid-template-rows: 1fr; }
.faq details.closing .faq-a { grid-template-rows: 0fr; }
.faq-a p { padding: 0 44px 24px 4px; color: var(--muted); }
.faq-a a { color: var(--blue-text); }

/* Final CTA */
.final { padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 100px); }
.final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) 20px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line-2); display: grid; justify-items: center; }
.final-glow { position: absolute; left: 50%; top: -30%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(8,102,255,.2), transparent); pointer-events: none; }
.final-mascot { position: relative; width: 150px; margin-bottom: 14px; }
.final-card h2 { position: relative; max-width: 12em; }
.final-card .sub { position: relative; margin-left: auto; margin-right: auto; }
.final-card .ctas { position: relative; justify-content: center; }
.final-card .fine { position: relative; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 36px; color: var(--faint); font-size: 14px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }
.foot-tag { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-base { margin-top: 28px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .sprite-wave, .sprite-type { animation: none !important; background-position: 0 0; }
  .stage-tilt, .phone-float, .hero-glow::before, .hero-glow::after { transform: none !important; }
}
