/* Marketing site. One stylesheet, no build step, no web fonts. */

:root {
  color-scheme: light dark;
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --surface: #fff;
  --surface-2: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --hairline: rgba(0, 0, 0, .12);
  --accent: #0062cc;
  --accent-fill: #0062cc;
  --accent-hover: #0057b5;
  --on-accent: #fff;
  --accent-soft: rgba(0, 98, 204, .1);
  --accent-on-soft: #0062cc;
  --nav-bg: rgba(255, 255, 255, .8);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-device: 0 2px 6px rgba(0, 0, 0, .08), 0 34px 70px -18px rgba(0, 0, 0, .34);
  --device-ring: 0 0 0 1px #3a3a3c;
  --bezel: #1d1d1f;
  --glow-a: rgba(10, 132, 255, .28);
  --glow-b: rgba(191, 90, 242, .22);
  --glow-c: rgba(255, 159, 10, .18);
  --grad-text: linear-gradient(95deg, #0062cc 5%, #7a3fd1 55%, #c2410c 95%);
  --icon-ring: 0 0 0 1px rgba(0, 0, 0, .06);
  --radius: 28px;
  --radius-sm: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-alt: #0e0e10;
    --surface: #1c1c1e;
    --surface-2: #161618;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --hairline: rgba(255, 255, 255, .15);
    --accent: #0a84ff;
    --accent-fill: #0a84ff;
    --accent-hover: #3b9bff;
    --on-accent: #000;
    --accent-soft: rgba(10, 132, 255, .17);
    --accent-on-soft: #4da3ff;
    --nav-bg: rgba(22, 22, 23, .8);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, .06);
    --shadow-device: 0 40px 90px -20px rgba(0, 0, 0, .9);
    --device-ring: 0 0 0 1px rgba(255, 255, 255, .2);
    --bezel: #111113;
    --glow-a: rgba(10, 132, 255, .34);
    --glow-b: rgba(191, 90, 242, .28);
    --glow-c: rgba(255, 159, 10, .2);
    --grad-text: linear-gradient(95deg, #409cff 5%, #bf5af2 55%, #ff9f0a 95%);
    --icon-ring: 0 0 0 1px rgba(255, 255, 255, .14);
  }
}

/* Base */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--accent-fill); color: var(--on-accent); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 10px; text-decoration: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Type */
.eyebrow { margin: 0 0 12px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--accent); letter-spacing: -.01em; }
.display { font-size: clamp(46px, 8.4vw, 92px); line-height: 1.03; letter-spacing: -.035em; }
.h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 22px; }
.h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.42; font-weight: 500; color: var(--text-2); letter-spacing: -.015em; }
.lede strong, .statement strong { color: var(--text); font-weight: 600; }
.nowrap { white-space: nowrap; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (forced-colors: active) { .nowrap { white-space: nowrap; }
.grad { background: none; color: CanvasText; } }
.statement {
  font-size: clamp(26px, 3.8vw, 44px); line-height: 1.2; font-weight: 600;
  letter-spacing: -.025em; color: var(--text-2); max-width: 26em; margin: 0 auto;
}
.fineprint { margin-top: 18px; font-size: 14px; color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-on-soft); }
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; font-weight: 500; }
.link-more::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 4px; transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 34px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .nav { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 54px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; flex: none; box-shadow: var(--icon-ring); }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); margin: 0; padding: 0; list-style: none; font-size: 14px; }
.nav-links a:not(.btn) { color: var(--text); padding: 6px 0; opacity: .88; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-links .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-links .btn { padding: 0 12px; }
}
@media (max-width: 389px) { .nav .brand span { display: none; } }

/* Sections */
.section { padding-block: clamp(80px, 11vw, 150px); overflow-x: hidden; overflow-x: clip; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section-head .lede { margin: 0 auto; max-width: 36em; }

/* Hero */
.hero { position: relative; overflow: hidden; overflow: clip; text-align: center; padding-top: clamp(56px, 9vw, 112px); }
.hero .lede { max-width: 33em; margin: 26px auto 0; }
.hero-stage {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  margin-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 128px);
}
.glow {
  position: absolute; inset: 8% -5% 4%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 42% at 28% 52%, var(--glow-a), transparent 70%),
    radial-gradient(38% 42% at 72% 42%, var(--glow-b), transparent 70%),
    radial-gradient(34% 36% at 50% 82%, var(--glow-c), transparent 70%);
  filter: blur(24px);
}
.hero-stage .phone { position: relative; z-index: 1; width: clamp(224px, 27vw, 330px); }
.hero-stage .phone--side { z-index: 0; width: clamp(188px, 22vw, 272px); margin-top: clamp(44px, 6vw, 84px); }
.hero-stage .phone--left { margin-right: calc(clamp(188px, 22vw, 272px) * -.26); }
.hero-stage .phone--right { margin-left: calc(clamp(188px, 22vw, 272px) * -.26); }

/* Devices */
.phone, .ipad, .mac { margin: 0; container-type: inline-size; flex: none; }
.phone-frame {
  position: relative; padding: 3.4cqw; border-radius: 16.4cqw; background: var(--bezel);
  box-shadow: var(--device-ring), inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow-device);
}
.phone-frame img { width: 100%; border-radius: 13cqw; }
.island { position: absolute; top: 5.8cqw; left: 50%; width: 29cqw; height: 8.4cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.ipad-frame {
  padding: 2.6cqw; border-radius: 6.2cqw; background: var(--bezel);
  box-shadow: var(--device-ring), inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow-device);
}
.ipad-frame img { width: 100%; border-radius: 3.6cqw; }
.mac-window {
  overflow: hidden; border-radius: max(8px, 1.3cqw); background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), var(--shadow-device);
}
.mac-bar { position: relative; display: flex; align-items: center; gap: .75cqw; height: 4.4cqw; padding: 0 1.6cqw; background: #f3f3f3; border-bottom: 1px solid #e2e2e2; }
.mac-bar i { width: 1.15cqw; height: 1.15cqw; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac-title { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.35cqw; font-weight: 600; color: #3a3a3c; }
.mac-window img { width: 100%; }

/* Feature rows */
.feature { display: grid; gap: clamp(48px, 7vw, 104px); align-items: center; }
.feature-copy { max-width: 540px; }
@media (max-width: 899px) { .feature-copy { margin-inline: auto; width: 100%; } }
.feature-copy .lede { margin-bottom: 0; }
.feature-media { position: relative; display: flex; justify-content: center; }
.feature-media .phone { position: relative; z-index: 1; width: min(320px, 74vw); }
.feature-media .glow { inset: 0 -10%; filter: blur(30px); opacity: .9; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip .feature-media { order: -1; }
  .feature--flip .feature-copy { justify-self: end; }
}

.points { display: grid; gap: 26px 32px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .points { grid-template-columns: 1fr 1fr; } }
.point .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 559px) {
  .point { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; }
  .point .i { grid-row: span 2; margin: 0; }
  .spot .points:first-child { text-align: left; }
}
.point h3 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.point p { margin: 0; font-size: 15px; line-height: 1.47; color: var(--text-2); }

/* Search spotlight */
.ask {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  margin: 8px auto 0; padding: 12px 20px; border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-card);
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 500; color: var(--text); text-align: left;
}
.ask .i { color: var(--text-2); width: 20px; height: 20px; }
.spot { display: grid; gap: 48px; align-items: center; justify-items: center; }
.spot .phone { position: relative; z-index: 1; width: min(320px, 74vw); }
.spot .phone::before {
  content: ""; position: absolute; inset: 4% -45%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 30% 55%, var(--glow-a), transparent 70%), radial-gradient(40% 40% at 70% 45%, var(--glow-b), transparent 70%);
  filter: blur(30px);
}
.spot .points { margin: 0; width: 100%; max-width: 560px; }
@media (min-width: 960px) {
  .spot { grid-template-columns: 1fr auto 1fr; gap: 64px; }
  .spot .points { grid-template-columns: 1fr; gap: 44px; max-width: 280px; }
  .spot .points:first-child { justify-self: end; text-align: right; }
  .spot .points:first-child .i { margin-left: auto; }
}

/* Bento tiles */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } .tile--wide { grid-column: span 2; } }
.tile { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: var(--surface-2); }
.section--alt .tile { background: var(--surface); box-shadow: var(--shadow-card); }
.tile .i { width: 32px; height: 32px; color: var(--accent); margin-bottom: 18px; }
.tile h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--text-2); }
.tile--wide { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1000px) { .tile--wide { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.instr {
  padding: 20px 22px; border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow-card); font-size: 16px; line-height: 1.5;
}
.instr-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.instr p { margin: 0; color: var(--text); }
.instr-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-2); }
.instr-foot .i { width: 16px; height: 16px; margin: 0; color: var(--text-2); }

/* Everything-you-expect grid */
.grid-3 { display: grid; gap: 34px 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
.points-gap { margin-top: 40px; }

/* Device lineup */
.lineup { position: relative; max-width: 1040px; margin: 0 auto; padding-bottom: 7%; }
.lineup .mac { width: 80%; margin-left: auto; }
.lineup .ipad { position: absolute; left: 0; bottom: 0; width: 31%; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--surface-2); font-size: 15px; font-weight: 500; }
.section--alt .chips li { background: var(--surface); }

/* Cards row */
.cards { display: grid; gap: 16px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Closing CTA */
.closing { position: relative; overflow: hidden; overflow: clip; text-align: center; }
.closing .glow { inset: 10% 10%; filter: blur(40px); }
.closing .container { position: relative; z-index: 1; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: var(--icon-ring), 0 12px 30px -8px rgba(0, 0, 0, .4); }

/* Footer */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--hairline); background: var(--bg-alt); font-size: 13px; color: var(--text-2); }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.footer .brand { margin-right: 0; font-size: 15px; }
.footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.footer ul a { color: var(--text-2); font-size: 14px; }
.footer ul a:hover { color: var(--text); }
.footer p { margin: 0 0 6px; }

/* Pricing */
.price-hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: 0; text-align: center; }
.price-hero .lede { max-width: 32em; margin: 22px auto 0; }
.billing-input { position: absolute; opacity: 0; pointer-events: none; }
.segmented {
  display: inline-flex; gap: 2px; margin: 40px auto 0; padding: 3px; border: 0; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline);
}
.segmented label { padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s; }
.segmented label small { font-size: 13px; font-weight: 600; color: var(--accent); margin-left: 4px; }
#bill-yearly:checked ~ .billing-row label[for="bill-yearly"],
#bill-monthly:checked ~ .billing-row label[for="bill-monthly"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 1px var(--hairline); }
#bill-yearly:focus-visible ~ .billing-row label[for="bill-yearly"],
#bill-monthly:focus-visible ~ .billing-row label[for="bill-monthly"] { outline: 3px solid var(--accent); outline-offset: 2px; }
#bill-monthly:checked ~ .plans .yearly-only, #bill-yearly:checked ~ .plans .monthly-only { display: none; }
.billing-row { text-align: center; }

.plans { display: grid; gap: 16px; margin-top: 40px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; text-align: left; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--surface-2); }
.plan--featured { background: var(--surface); box-shadow: 0 0 0 2px var(--accent), var(--shadow-card); }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-on-soft); font-size: 12px; font-weight: 600; }
.plan h2 { font-size: 24px; letter-spacing: -.02em; }
.plan-for { margin: 6px 0 22px; color: var(--text-2); font-size: 15px; }
@media (min-width: 900px) { .plan-for { min-height: 2.94em; } }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0; }
.amount { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.per { font-size: 15px; color: var(--text-2); line-height: 1.3; }
.billed { min-height: 2.9em; margin: 10px 0 24px; font-size: 14px; color: var(--text-2); }
.plan .btn { width: 100%; }
.plan-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hairline); list-style: none; font-size: 15px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.plan-list .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); stroke-width: 2.4; }
.plan-list .lead-in { color: var(--text-2); font-weight: 500; }
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.plan--featured .soon { background: var(--bg-alt); }
.price-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--text-2); }

.compare-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--hairline); text-align: center; vertical-align: middle; line-height: 1.35; }
.compare thead th { font-size: 17px; font-weight: 600; padding-top: 0; }
.compare tbody th { text-align: left; font-weight: 500; padding-left: 0; width: 34%; }
.compare td { color: var(--text-2); }
.compare td .i { width: 20px; height: 20px; margin: 0 auto; color: var(--accent); stroke-width: 2.4; }
.compare .dash { color: var(--text-2); }
@media (max-width: 599px) {
  .compare { min-width: 0; font-size: 13px; table-layout: fixed; }
  .compare th, .compare td { padding: 12px 4px; }
  .compare thead th { font-size: 14px; }
  .compare tbody th { width: 36%; padding-right: 8px; }
  .compare .soon { white-space: normal; padding: 1px 6px; }
}

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq .answer { padding: 0 0 24px; color: var(--text-2); max-width: 44em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Legal pages */
.legal { padding-block: clamp(48px, 7vw, 88px) clamp(80px, 10vw, 120px); }
.legal h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 12px; }
.legal .updated { color: var(--text-2); font-size: 15px; }
.draft-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 36px; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(255, 159, 10, .14); color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, .45); font-size: 15px;
}
.draft-note .i { color: #b25000; margin-top: 1px; }
@media (prefers-color-scheme: dark) { .draft-note .i { color: #ff9f0a; } }
.draft-note p { margin: 0; }
.summary-box { margin: 0 0 40px; padding: 24px 26px; border-radius: var(--radius-sm); background: var(--surface-2); }
.summary-box h2 { font-size: 19px; margin-bottom: 12px; letter-spacing: -.015em; }
.summary-box ul { margin: 0; padding-left: 20px; }
.summary-box li { margin-bottom: 6px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal .summary-box h2 { margin-top: 0; }
.legal h3 { font-size: 18px; letter-spacing: -.015em; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal .toc { margin: 0 0 8px; padding: 0; list-style: none; columns: 2 220px; column-gap: 32px; font-size: 15px; }
.legal .toc li { margin-bottom: 6px; break-inside: avoid; }
.ph { font-family: var(--mono); font-size: .88em; padding: 1px 5px; border-radius: 6px; background: var(--accent-soft); color: var(--text); overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Join + 404 */
.solo { position: relative; overflow: hidden; overflow: clip; min-height: calc(100vh - 54px - 160px); min-height: calc(100svh - 54px - 160px); display: grid; place-items: center; padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.solo .glow { inset: 0 0 20%; filter: blur(40px); opacity: .9; }
.solo .container { position: relative; z-index: 1; max-width: calc(640px + 2 * var(--gutter)); }
.solo h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; }
.solo .lede { margin: 18px auto 0; max-width: 30em; }
.code-block { margin: 32px auto 0; }
.solo .cta-row .btn { min-width: 236px; }
.code-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.code-pill {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
}
.code-pill code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 clamp(18px, 2.4vw, 22px)/1.2 var(--mono); letter-spacing: .06em; color: var(--text); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; margin-left: 8px;
  border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent-on-soft);
  font: 600 14px/1 var(--font); cursor: pointer; flex: none;
}
.copy-btn .i { width: 16px; height: 16px; }
.copy-btn:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.steps { max-width: 30em; margin: 40px auto 0; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.steps li { position: relative; padding: 0 0 16px 44px; counter-increment: step; color: var(--text-2); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--text);
  font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--hairline);
}
.steps strong { color: var(--text); font-weight: 600; }
.big-404 { font-size: clamp(88px, 16vw, 168px); font-weight: 800; line-height: .9; letter-spacing: -.05em; margin-bottom: 18px; }

/* Scroll reveal: only when JS runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal:not(.in) { opacity: 0; transform: translateY(32px); }
  .js .reveal.d1 { transition-delay: .08s; }
  .js .reveal.d2 { transition-delay: .16s; }
  .js .reveal.d3 { transition-delay: .24s; }
  .js .hero-stage .phone { animation: rise 1.1s var(--ease) both; }
  .js .hero-stage .phone--side { animation-delay: .12s; }
  html { scroll-behavior: smooth; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

@media print {
  .nav, .footer, .skip-link, .glow { display: none !important; }
  body { background: #fff; color: #000; }
}
