/* Soft UI look (DESIGN_REFERENCE_SOFT_UI_2026-10-23.md): warm light grey page, white cards with a white rim and
   soft shadow, the App header gradient as a soft-focus glow, charcoal pill buttons. */
:root {
  --page: #eceae8;
  --card: #fff;
  --ink: #2e2c2b;
  --muted: #64615f;      /* 4.9:1 on --page, 5.8:1 on white */
  --soft-ink: #857f7b;   /* first half of two-tone headings, large text only: 3.2:1 on --page */
  --coral: #e85d4a;
  --coral-ink: #c4473a;  /* coral text on light surfaces */
  --hairline: rgba(60, 40, 30, 0.09);
  --rim: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 1px 2px rgba(60, 40, 30, 0.05), 0 14px 34px -10px rgba(60, 40, 30, 0.16);
  --shadow-lift: 0 2px 6px rgba(60, 40, 30, 0.06), 0 26px 56px -14px rgba(60, 40, 30, 0.24);
  --track: #e2dfdc;
  --track-inset: inset 0 1px 3px rgba(60, 40, 30, 0.12);
  /* App brandColors gradientStart / Mid / End, deepened where white copy sits so it keeps 4.5:1 */
  --glow:
    radial-gradient(95% 60% at 50% 36%, #c0462f 0%, #c0462f 45%, rgba(192, 70, 47, 0) 100%),
    linear-gradient(170deg, #b8b0c0 0%, #c9634e 18%, #c94d33 40%, #d65a3a 56%, #ee8660 70%, #ffbe98 86%, #fce6d8 100%);
  --glow-card:
    radial-gradient(90% 85% at 50% 48%, #c0462f 0%, #c0462f 55%, rgba(192, 70, 47, 0) 100%),
    linear-gradient(135deg, #b8b0c0 0%, #c9634e 25%, #c94d33 50%, #e8826b 82%, #ffa87d 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 56px;
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, summary, button { touch-action: manipulation; }
.button, summary, button { -webkit-user-select: none; user-select: none; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.shell { width: min(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), 1120px); margin-inline: auto; }

/* Floating frosted pill navigation */
.site-header { position: fixed; top: max(18px, env(safe-area-inset-top, 0px)); left: max(18px, env(safe-area-inset-left, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); z-index: 20; }
.nav {
  height: var(--nav-h); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 10px;
  border-radius: 999px; color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--rim), 0 10px 30px -12px rgba(60, 40, 30, 0.25);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 6px rgba(150, 60, 40, 0.25); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; white-space: nowrap; }
.nav-links a, .menu a, .lang-menu a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; color: var(--muted); transition: color 200ms ease, background-color 200ms ease; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang { list-style: none; cursor: pointer; font-size: 0.875rem; font-weight: 600; line-height: 22px; padding: 11px 14px; border-radius: 999px; background: var(--track); box-shadow: var(--track-inset); white-space: nowrap; transition: transform 120ms var(--ease-out); }
.lang:active { transform: scale(0.97); }
/* An honest label where a sign-up button would be; it appears once the hero's own label has scrolled away. */
.nav .status { white-space: nowrap; color: var(--muted); background: none; box-shadow: none; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s 200ms; }
.past-hero .nav .status { opacity: 1; visibility: visible; transition: opacity 200ms ease; }
.lang::-webkit-details-marker { display: none; }
.lang-menu { position: relative; }
.lang-menu .menu-panel { min-width: 200px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #5c5856, #2f2c2b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 20px -8px rgba(40, 28, 22, 0.55);
  transition: transform 120ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease;
}
.button:active { transform: scale(0.97); }
/* Translucent white, like the reference's pill over its header gradient; no live blur, the glow behind is already soft. */
.button-glass { color: var(--ink); background: rgba(255, 255, 255, 0.86); box-shadow: var(--rim), 0 10px 20px -10px rgba(120, 40, 25, 0.45); }
.nav-links a:active, .menu a:active, .lang-menu a:active, .menu summary:active { background: rgba(60, 40, 30, 0.08); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .menu a:hover, .lang-menu a:hover { color: var(--ink); background: rgba(60, 40, 30, 0.06); }
  .button:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 26px -8px rgba(40, 28, 22, 0.6); }
  .button-glass:hover { background: rgba(255, 255, 255, 0.92); }
}
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.menu summary span { position: relative; transition: background-color 150ms ease; }
.menu summary span::before, .menu summary span::after { position: absolute; transition: transform 220ms var(--ease-out); }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary span { background-color: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
/* It hangs from the fixed header, so the page cannot scroll it into view: short or landscape screens scroll the panel itself. */
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; max-height: calc(100svh - var(--nav-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: var(--rim), var(--shadow-lift); display: grid; }
.menu-panel a { color: var(--ink); padding: 12px 16px; }
.menu[open] .menu-panel, .lang-menu[open] .menu-panel { transform-origin: top right; animation: pop 160ms var(--ease-out); }
.menu-panel a[aria-current="page"] { font-weight: 650; color: var(--coral-ink); }
.menu-languages { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hairline); }
.menu-panel .menu-languages a { padding: 10px 16px; font-size: 0.875rem; }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } }

/* Shared section rhythm */
.section { padding-block: clamp(88px, 12vw, 148px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; padding: 6px 14px 6px 12px; border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, 0.86); box-shadow: var(--rim); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.2); }
.display { font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 650; text-wrap: balance; }
.heading { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.026em; font-weight: 650; text-wrap: balance; }
.heading span { color: var(--soft-ink); }
:lang(ja) .display, :lang(ja) .heading { word-break: auto-phrase; }
/* Han and kana fill the em box: Latin tight tracking and leading make lines touch. */
:lang(ja) .display, :lang(zh) .display { letter-spacing: 0; line-height: 1.18; }
:lang(ja) .heading, :lang(zh) .heading { letter-spacing: 0; line-height: 1.22; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 38em; text-wrap: pretty; color: var(--muted); }
.section-head { max-width: 46rem; }
.section-head .lead { margin-top: 20px; }
.center { margin-inline: auto; text-align: center; }
.center .lead { margin-inline: auto; }
.source-note { font-size: 0.8125rem; color: var(--muted); text-align: center; margin-top: 16px; }
/* White card with a bright rim and a soft, wide shadow */
.soft { background: linear-gradient(180deg, #fff, #fbfaf9); box-shadow: var(--rim), var(--shadow-soft); }

/* One reveal per block as it scrolls in; the hero has its own load moment. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in), .js .reveal-group:not(.is-in) > * { opacity: 0; }
  .js .reveal.is-in, .js .reveal-group.is-in > * { animation: reveal 600ms var(--ease-out) calc(var(--i, 0) * 60ms) backwards; }
}
/* Stagger by position, so the markup needs no inline styles (the CSP allows none). */
.reveal-group > :nth-child(2) { --i: 1; }
.reveal-group > :nth-child(3) { --i: 2; }
.reveal-group > :nth-child(4) { --i: 3; }
.reveal-group > :nth-child(5) { --i: 4; }
.reveal-group > :nth-child(6) { --i: 5; }
.reveal-group > :nth-child(7) { --i: 6; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(8px); } }

/* Hero: a rounded soft-focus gradient panel; the phone overlaps its lower edge and fades into the page. */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(88px, 11vw, 132px)); text-align: center; overflow: hidden; color: #fff; }
.hero-glow { position: absolute; top: 8px; left: 8px; right: 8px; bottom: clamp(150px, 20vw, 250px); border-radius: clamp(28px, 4vw, 48px); overflow: hidden; background: var(--glow); }
.hero-glow span { position: absolute; border-radius: 50%; }
.hero-glow .b1 { width: 52%; aspect-ratio: 1; left: -18%; top: -34%; background: radial-gradient(closest-side, rgba(184, 176, 192, 0.85), rgba(184, 176, 192, 0)); }
.hero-glow .b2 { width: 64%; aspect-ratio: 1.3; right: -16%; bottom: -38%; background: radial-gradient(closest-side, rgba(255, 196, 160, 0.9), rgba(255, 196, 160, 0)); }
.hero-glow .b3 { width: 70%; aspect-ratio: 3.2; right: -12%; top: -8%; rotate: -24deg; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); }
.hero .shell { position: relative; }
.hero .status { margin-bottom: 24px; }
.hero .display { max-width: 13em; margin-inline: auto; text-shadow: 0 2px 28px rgba(120, 30, 15, 0.22); }
.hero .lead { margin: 24px auto 0; color: #fff; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-stage { position: relative; margin-top: clamp(56px, 8vw, 88px); height: clamp(380px, 52vw, 560px); }
.hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; background: linear-gradient(rgba(236, 234, 232, 0), var(--page) 85%); }
.hero-float { position: absolute; left: 50%; top: 0; translate: -50% 0; will-change: transform; }
.hero-stage .phone { --w: clamp(260px, 30vw, 340px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-stage .phone { animation: rise 900ms var(--ease-out) 150ms both; }
  /* No fade on .hero-glow itself: the white headline sits on it from the first frame. */
  .hero-glow .b1 { animation: drift-a 18s ease-in-out 1s infinite alternate; }
  .hero-glow .b2 { animation: drift-b 22s ease-in-out 1s infinite alternate; }
  .hero-glow .b3 { animation: drift-c 26s ease-in-out 1s infinite alternate; }
  .hero.is-off .hero-glow span { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage .phone { animation: fade 400ms ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift-a { to { transform: translate(8%, -6%) scale(1.05); } }
@keyframes drift-b { to { transform: translate(-10%, 2%) scale(1.06); } }
@keyframes drift-c { to { transform: translate(10%, -8%); } }  /* drifts up and right, away from the copy */

/* Phone drawn in CSS as a light, soft device; screenshots are 1206×2622 (iPhone 17 Pro). */
figure.phone { margin: 0; }
.phone {
  --w: 300px; width: var(--w); padding: calc(var(--w) * 0.035); border-radius: calc(var(--w) * 0.165); position: relative;
  background: linear-gradient(180deg, #fbfaf9, #e6e3e0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), inset 0 -3px 8px rgba(60, 40, 30, 0.08), 0 8px 20px -6px rgba(60, 40, 30, 0.14), 0 44px 80px -24px rgba(60, 40, 30, 0.32);
}
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--w) * 0.058); width: 31%; height: calc(var(--w) * 0.088); translate: -50% 0; border-radius: 999px; background: #000; z-index: 2; }
.screens { position: relative; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * 0.132); overflow: hidden; background: #f2f1ef; box-shadow: 0 0 0 1px rgba(60, 40, 30, 0.06); }
.screen { position: absolute; inset: 0; transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out); }
.js .screens .screen:not(.is-active) { opacity: 0; transform: scale(1.03); }
/* The new screen fades in on top; the old one stays opaque underneath until then, so the frame never shows through. */
.js .screens .screen.is-active { z-index: 1; }
.js .screens .screen:not(.is-active) { transition: opacity 0s 400ms, transform 0s 400ms; }
/* Simulator screenshots, sources in screens/SOURCES.md (PRODUCT_MEDIA_PLAN.md). */
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Statement */
.statement .heading { max-width: 20em; }
.statement .lead { margin-top: 28px; }

/* Scroll-pinned demo: steps on the left, a sticky phone on the right. */
.how { padding-top: 0; }
.how-head .heading span { color: var(--coral-ink); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 8vw, 96px); }
.steps-wrap { position: relative; }
.rail { position: absolute; left: 17px; top: calc(12svh + 16px); bottom: 32svh; width: 3px; border-radius: 3px; background: var(--track); box-shadow: var(--track-inset); }
.rail-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #e8826b, #d2432f); transform: scaleY(0); transform-origin: top; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.step:first-child { min-height: 50svh; justify-content: flex-start; padding-top: 12svh; }
.step:last-child { min-height: 60svh; }
.step-body { position: relative; padding-left: 60px; }
.js .step-body { opacity: 0.5; transition: opacity 250ms ease; }
.js .step.is-active .step-body { opacity: 1; }
.step-number { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); background: linear-gradient(180deg, #fff, #f3f1ef); box-shadow: var(--rim), 0 4px 10px -2px rgba(60, 40, 30, 0.18); transition: color 250ms ease; }
.step-number::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #c4473a, #a83526); box-shadow: 0 6px 14px -4px rgba(168, 53, 38, 0.5); opacity: 0; transition: opacity 250ms ease; }
.step-number { isolation: isolate; }
.step-number::before { z-index: -1; }
.step.is-active .step-number, .step.is-done .step-number { color: #fff; }
.step.is-active .step-number::before, .step.is-done .step-number::before { opacity: 1; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
.step p { color: var(--muted); font-size: 1.0625rem; margin-top: 12px; max-width: 30em; }
.step .phone { display: none; }
.step-dots { display: none; justify-content: center; margin-top: 12px; }
.step-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.step-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(60, 40, 30, 0.18); transition: width 300ms var(--ease-out), background-color 200ms ease; }
.step-dots button[aria-current="step"]::before { width: 24px; background: var(--coral); }
.step-dots button:not([aria-current="step"]):active::before { background: rgba(60, 40, 30, 0.32); }
.pin { position: sticky; top: max(calc(var(--nav-h) + 36px), calc(50svh - 320px)); align-self: start; display: grid; justify-items: center; }
.pin .phone { --w: min(290px, 36svh); }
.source-mobile { display: none; }
.how-note { margin-top: 40px; padding: 18px 22px; border-radius: 24px; color: var(--muted); text-align: center; }

/* Click-to-switch phone tabs */
.features { padding-top: 0; }
.tabs-stage { display: grid; justify-items: center; margin-top: clamp(48px, 7vw, 80px); }
.tabs-phone { --w: min(320px, 72vw); }
.tablist { position: relative; display: flex; gap: 4px; max-width: 100%; margin-top: 44px; padding: 5px; border-radius: 999px; background: var(--track); box-shadow: var(--track-inset); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; min-height: 44px; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; color: var(--muted); cursor: pointer; transition: color 200ms ease, transform 120ms var(--ease-out); }
.tab:active { transform: scale(0.97); }
.tab:focus-visible { outline-offset: -3px; }  /* the scrolling tablist would clip an outside ring */
.tab[aria-selected="true"] { color: var(--ink); }
.tab-indicator { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, #fff, #f7f5f3); box-shadow: var(--rim), 0 2px 4px rgba(60, 40, 30, 0.08), 0 6px 14px -4px rgba(60, 40, 30, 0.18); transition: transform 240ms var(--ease-out), width 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }
/* All panels share one row, sized by the longest, so switching tabs never moves the page below. */
.tab-panel { grid-row: 3; grid-column: 1; max-width: 30rem; margin-top: 24px; text-align: center; }
.tab-panel[hidden] { display: block; visibility: hidden; }
.tabs-stage > .source-note { grid-row: 4; }
.tab-panel h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 650; }
.tab-panel p { color: var(--muted); margin-top: 6px; }
.js .tab-panel:not([hidden]) { animation: rise-sm 240ms var(--ease-out); }

/* Sideways card rail */
.details { padding-top: 0; }
/* Here the head is also the shell: keep the shell's width so it lines up with every other section. */
.details > .section-head { max-width: none; }
.details > .section-head > * { max-width: 46rem; }
.track { display: flex; gap: 20px; margin-top: clamp(48px, 7vw, 72px); padding: 8px var(--gutter) 40px; scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; --gutter: max(16px + env(safe-area-inset-left, 0px), calc((100% - 1120px) / 2)); }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -3px; border-radius: 32px; }
.card { flex: 0 0 min(360px, 84vw); min-height: 460px; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 32px; scroll-snap-align: start; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.card h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 650; }
.card p { color: var(--muted); margin: 10px 0 28px; }
.card > :last-child { margin-top: auto; margin-bottom: 0; }
.card .token-small { font-size: clamp(2rem, 4vw, 2.75rem); }
.card .token { font-size: clamp(3.5rem, 6vw, 4.5rem); line-height: 1; font-weight: 650; letter-spacing: -0.03em; color: var(--coral-ink); }
.crop { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--hairline), 0 10px 24px -12px rgba(60, 40, 30, 0.22); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: var(--rim), var(--shadow-lift); } }
.track-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.track-controls .source-note { margin: 0; text-align: left; }
.round-group { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--track); box-shadow: var(--track-inset); flex: none; }
.round { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--ink); cursor: pointer; background: linear-gradient(180deg, #fff, #f3f1ef); box-shadow: var(--rim), 0 4px 10px -3px rgba(60, 40, 30, 0.2); transition: opacity 200ms ease, transform 120ms var(--ease-out), box-shadow 200ms ease; }
.round:active { transform: scale(0.94); }
.round[aria-disabled="true"] { opacity: 0.4; cursor: default; box-shadow: none; background: transparent; }
.round[aria-disabled="true"]:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .round:not([aria-disabled="true"]):hover { box-shadow: var(--rim), 0 6px 14px -3px rgba(60, 40, 30, 0.26); } }
.also { margin-top: clamp(64px, 9vw, 104px); }
.also > h3 { font-size: 1.125rem; font-weight: 650; }
.also-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.also-grid > div { grid-column: span 2; padding: 24px; border-radius: 24px; }
.also-grid > div:nth-child(n + 4) { grid-column: span 3; }  /* five items: three across, then two wider */
.also h4 { font-size: 1rem; font-weight: 650; }
.also p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }

/* Principles and what's planned */
.principles { padding-top: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 7vw, 72px); }
.principle { padding: 32px; border-radius: 32px; }
.mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--coral-ink); background: linear-gradient(180deg, #ffe6d9, #fbc9ae); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 6px 14px -6px rgba(210, 90, 60, 0.45); }
.mark svg { width: 22px; height: 22px; }
.principle h3 { margin-top: 36px; font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 650; }
.principle p { color: var(--muted); margin-top: 10px; }
.planned { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; margin-top: clamp(64px, 9vw, 104px); }
.planned-head h3 { font-size: 1.5rem; letter-spacing: -0.015em; font-weight: 650; }
.planned-head p { color: var(--muted); margin-top: 8px; }
.planned-list { list-style: none; margin: 0; padding: 8px 28px; border-radius: 28px; }
.planned-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 22px 0; }
.planned-list li + li { border-top: 1px solid var(--hairline); }
.planned-list h4 { font-size: 1.125rem; font-weight: 650; }
.planned-list p { grid-column: 1; color: var(--muted); }
/* Peach tag, as in the reference's category labels */
.chip { grid-row: 1; grid-column: 2; align-self: start; font-size: 0.8125rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #f9c2a0; color: #50240a; }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > .section-head { position: sticky; top: calc(var(--nav-h) + 56px); }
.faq-list { padding: 6px 28px; border-radius: 28px; }
.faq-list details + details { border-top: 1px solid var(--hairline); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #fff, #f1efed); box-shadow: var(--rim), 0 3px 8px -2px rgba(60, 40, 30, 0.2); transition: box-shadow 200ms ease, transform 120ms var(--ease-out); }
.faq-list summary:active .plus { transform: scale(0.92); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover .plus { box-shadow: var(--rim), 0 5px 12px -2px rgba(60, 40, 30, 0.28); } }
.faq-list details p { padding: 0 56px 24px 0; color: var(--muted); }
details[open] p { animation: rise-sm 300ms var(--ease-out); }
/* Where supported, the answers open and close in height instead of pushing the next questions down at once. */
.faq-list { interpolate-size: allow-keywords; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height 250ms var(--ease-out), content-visibility 250ms allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* Early access: the brand glow again, as a card */
.access { padding-bottom: clamp(88px, 12vw, 132px); }
.access-card { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 80px); background: var(--glow-card); color: #fff; text-align: center; box-shadow: var(--shadow-lift); }
.access-card .lead { margin: 20px auto 0; color: #fff; }
.access-card .status { margin-top: 28px; }

/* Footer */
.footer { padding-block: 56px 48px; font-size: 0.9375rem; border-top: 1px solid var(--hairline); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { color: var(--muted); text-decoration: none; padding-block: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.footer-h { font-size: 0.875rem; font-weight: 650; margin-bottom: 10px; }
.footer-grid p { color: var(--muted); margin-top: 6px; }
.footer-grid a { color: var(--ink); text-underline-offset: 3px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.legal-links a { padding-block: 12px; }
/* A 44px hit area for the lone address link: it borrows the gap under the heading, never the line below it. */
.footer-grid a[href^="mailto:"] { display: inline-block; padding-block: 11px; margin-top: -11px; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 0.875rem; }
.footer-languages a { color: var(--muted); text-decoration: none; padding-block: 12px; }
.footer-languages a[aria-current="page"] { color: var(--ink); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover, .footer-languages a:hover { color: var(--ink); } }
.footer-disclaimer { color: var(--muted); margin-top: 24px; max-width: 46em; font-size: 0.875rem; }

/* Long translations need the full row, so the links fold into the menu well before the layout does. */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-tools { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 880px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .pin, .rail { display: none; }
  /* Steps become a sideways track with the phone above each step. */
  .steps { display: flex; gap: 16px; margin-inline: calc(50% - 50vw); padding: 8px calc(50vw - min(150px, 41vw)) 32px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step, .step:first-child, .step:last-child { flex: 0 0 min(300px, 82vw); min-height: 0; padding: 0; justify-content: flex-start; scroll-snap-align: center; }
  .step .phone { display: block; order: -1; --w: min(260px, 70vw); margin: 0 auto 24px; }
  .step-body, .js .step-body { padding-left: 0; text-align: center; opacity: 1; }
  .step-number { position: relative; display: inline-grid; margin-bottom: 12px; }
  .step-dots { display: flex; }
  .source-mobile { display: block; }
  .also-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .also-grid > div, .also-grid > div:nth-child(n + 4) { grid-column: auto; }
  .also-grid > div:last-child { grid-column: 1 / -1; }
  .principle-grid, .planned, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .faq-grid > .section-head { position: static; }
  .nav .status { display: none; }  /* long translations leave no room; the hero carries the same label */
  .footer-grid { gap: 24px; }
  .card { min-height: 400px; }
}
@media (max-width: 480px) {
  .site-header { top: max(12px, env(safe-area-inset-top, 0px)); left: 12px; right: 12px; }
  .nav { gap: 6px; padding-left: 8px; }
  .lang-menu { display: none; }
  .hero-glow { left: 6px; right: 6px; top: 6px; }
  .actions .button { flex: 1 1 100%; min-height: 52px; }
  .also-grid { grid-template-columns: 1fr; }
  .track-controls { flex-direction: column-reverse; }
  .track-controls .source-note { text-align: center; }
  .planned-list, .faq-list { padding-inline: 20px; }
  .planned-list p { grid-column: 1 / -1; }  /* the chip column stays empty below the title; give the text the full row */
  .faq-list details p { padding-right: 0; }
  .tab { padding: 9px 12px; font-size: 0.875rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .button-glass, .status { background: var(--card); }
  .nav .status { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen, .js .step-body { transition-duration: 150ms; }
  .js .screens .screen:not(.is-active) { transform: none; }
  .menu[open] .menu-panel, .js .tab-panel:not([hidden]), details[open] p { animation-name: fade; }
  .tab-indicator, .step-dots button::before, .faq-list details::details-content { transition: none; }
}
