/* Bracelet's marketing site, from the "Marketing site" page of design/bracelet.figcraft. Colours are the icon's
   palette and the app's slate ramp (docs/DESIGN-TOKENS.md); motion follows tokens/effects.tokens.json. */
:root {
  --ink: #0F172A;
  --sky: #38BDF8;
  --sky-600: #0284C7;
  --cyan: #60E3FA;
  --pale: #E0F7FD;
  --sky-50: #F0F9FF;
  --white: #FFFFFF;
  --s100: #F1F5F9;
  --s200: #E2E8F0;
  --s300: #CBD5E1;
  --s400: #94A3B8;
  --s500: #64748B;
  --s600: #475569;
  --again: #D64545;
  --hard: #D98A1F;
  --good: #2E9E6B;
  --easy: #3B82D9;
  --margin: 72px;
  --enter: 300ms cubic-bezier(0.05, 0.7, 0.1, 1);
  --exit: 200ms cubic-bezier(0.3, 0, 0.8, 0.15);
  --move: 250ms cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.wrap.narrow { max-width: 1006px; }

/* ---------------------------------------------------------------- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 600 16px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}
.button:hover { opacity: 0.9; }
.button:active { transform: scale(0.98); }
.button:focus-visible, .text-link:focus-visible, summary:focus-visible { outline: 2px solid var(--sky-600); outline-offset: 3px; }
.button.small { height: 44px; padding: 0 20px; font-size: 15px; }
.button.sky { background: var(--sky); color: var(--ink); }
.text-link {
  font-weight: 500; font-size: 16px; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- banner */
.banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 16px; background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 500;
}
.beta {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px;
  background: var(--sky); color: var(--ink); font-size: 12px; font-weight: 600;
}
.banner-short { display: none; }
.banner { position: relative; }
.banner-close {
  position: absolute; right: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; padding: 6px;
  border: 0; border-radius: 50%; background: none; color: var(--s300); cursor: pointer;
}
.banner-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.banner-close:focus-visible { outline: 2px solid var(--sky); }
.banner-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.banner[hidden] { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; display: flex; flex-direction: column; background: var(--pale); overflow: hidden; }
.hero-body { flex: 1; }
.hero-cord {
  position: absolute; left: 39%; top: -170px; width: 1180px; height: 1180px; pointer-events: none;
}
.hero-cord use:first-child { fill: var(--sky-50); }
.hero-cord use:last-child { fill: none; stroke: var(--white); stroke-width: 0.45; stroke-linecap: round; }
.nav { position: relative; display: flex; align-items: center; gap: 32px; height: 96px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 22px; }
.wordmark img { border-radius: 9px; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-body {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px;
  align-items: center; padding-bottom: 24px; transform-origin: 50% 0;
}
.hero-copy { padding: 24px 0; }

/* The headline, built like an elevation: each app on its own baseline, a datum down the left, Anki largest. */
.stack {
  --k: 1;
  position: relative; display: flex; flex-direction: column; margin: 0;
  padding-left: calc(64px * var(--k)); font-weight: 700; letter-spacing: -0.035em; line-height: 1;
}
.stack::before {
  content: ""; position: absolute; left: calc(22px * var(--k)); top: -6px; bottom: -8px; width: 1px; background: var(--s300);
}
.stack .lead { font-size: max(16px, calc(26px * var(--k))); font-weight: 600; color: var(--s600); letter-spacing: 0; margin-bottom: calc(18px * var(--k)); }
.stack .row { position: relative; width: max-content; margin-left: -0.05em; }
.stack .row::after {
  content: ""; position: absolute; top: 0.864em; height: 1px; background: var(--s300);
  left: calc(-64px * var(--k) + 0.05em); right: calc(-28px * var(--k));
}
.stack .row::before {
  content: ""; position: absolute; top: calc(0.864em - 3.5px); width: 7px; height: 7px; background: var(--sky-600);
  left: calc(-42px * var(--k) + 0.05em - 3.5px); z-index: 1;
}
.stack .r1 { font-size: calc(92px * var(--k)); margin-bottom: 0.02em; }
.stack .r2 { font-size: calc(156px * var(--k)); margin-bottom: 0.02em; }
.stack .r3 { font-size: calc(60px * var(--k)); }
.stack .plus { color: var(--sky-600); }
.subhead { margin: 32px 0 0 64px; max-width: 520px; font-size: 21px; line-height: 1.45; color: var(--s600); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 40px 0 0 64px; }

/* The stage: the app's screens in turn, each with its labels. Laid out in the design's own coordinates by main.js. */
.stage { position: relative; overflow: hidden; }
.stage-inner { position: relative; transform-origin: 0 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 500ms ease, visibility 0s linear 500ms;
}
.slide.on { opacity: 1; visibility: visible; transition: opacity 500ms ease; }
.slide .device { position: absolute; filter: drop-shadow(0 28px 36px rgba(15, 23, 42, 0.16)); }
.slide svg.threads { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.slide svg.threads path { fill: none; stroke: var(--sky-600); stroke-width: 2; stroke-linecap: round; }
.slide svg.threads circle { fill: var(--sky-600); }
.label { position: absolute; }
.label.left { text-align: right; }
.label b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.label span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--s600); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.pager button {
  width: 28px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--s300); cursor: pointer;
  transition: background var(--move), width var(--move);
}
.pager button[aria-selected="true"] { background: var(--sky-600); width: 44px; }
.stage-list { display: none; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 144px 0; overflow: hidden; }
.intro { max-width: 760px; }
.marker {
  display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 56px; border-radius: 12px;
  background: var(--sky); margin-bottom: 32px;
}
.marker svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.intro h2 { font-size: 56px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.intro h2.wide { max-width: 1100px; }
.intro p { margin-top: 28px; max-width: 660px; font-size: 20px; line-height: 1.4; color: var(--s600); }
.phone { filter: drop-shadow(0 24px 32px rgba(15, 23, 42, 0.14)); }

/* the problem */
.diagram { display: grid; grid-template-columns: 400px 1fr 400px; align-items: center; margin-top: 120px; }
.store { display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 28px; border-radius: 20px; background: var(--s100); }
.store-label, .caption { font-size: 14px; color: var(--s500); }
.store-label { font-weight: 600; }
.caption { margin-top: auto; font-weight: 500; }
.note-text, .card-front, .card-back { font-size: 17px; line-height: 1.75; }
.card-front { font-weight: 600; line-height: 1.4; }
.card-back { line-height: 1.4; }
.wikilink { color: var(--sky-600); }
.grades { display: flex; gap: 8px; margin-top: 30px; }
.g { padding: 8px 14px; border-radius: 15px; color: var(--white); font-size: 13px; font-weight: 700; }
.g.again { background: var(--again); } .g.hard { background: var(--hard); }
.g.good { background: var(--good); } .g.easy { background: var(--easy); }
.bridge { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.bridge::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 50%; border-top: 2px dashed var(--s300);
}
.bridge span {
  position: relative; padding: 9px 14px; border-radius: 17px; border: 1px solid var(--s200); background: var(--white);
  font-size: 14px; font-weight: 500; color: var(--s600);
}

/* how it works */
.how { background: var(--sky-50); }
.features { display: flex; flex-direction: column; gap: 96px; margin-top: 96px; }
.feature { display: grid; grid-template-columns: 520px 1fr; align-items: center; gap: 60px; }
.feature .phone { justify-self: end; width: 316px; margin-right: 40px; }
.feature.flip { grid-template-columns: 1fr 520px; }
.feature.flip .feature-copy { order: 2; }
.feature.flip .phone { justify-self: start; margin: 0 0 0 60px; }
.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--sky-600); }
.feature h3 { margin-top: 14px; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.feature p { margin-top: 20px; max-width: 500px; font-size: 18px; line-height: 1.5; color: var(--s600); }

/* find */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.card { padding: 40px 32px 48px; border-radius: 24px; background: var(--s100); }
.card .phone { width: 262px; margin: 0 auto 36px; }
.card h3 { font-size: 24px; line-height: 1.2; }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--s600); }

/* Anki */
.dark { background: var(--ink); color: var(--white); }
.dark .intro p { color: var(--s300); }
.anki-cord { position: absolute; left: -240px; top: 380px; width: 900px; height: 900px; fill: none; stroke: var(--sky); stroke-width: 0.27; opacity: 0.18; }
.anki-grid { position: relative; display: grid; grid-template-columns: 640px 1fr; gap: 40px; align-items: start; }
.anki-grid .intro h2 { color: var(--white); }
.anki-grid > .phone { justify-self: end; width: 360px; margin-right: 40px; }
.brings { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.brings li { display: flex; gap: 20px; font-size: 18px; line-height: 1.4; }
.brings svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aside { margin-top: 48px; font-size: 16px; color: var(--s400); }

/* FAQ */
.faq { background: var(--pale); }
.questions { display: flex; flex-direction: column; gap: 12px; margin-top: 56px; }
details { border-radius: 16px; background: var(--white); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px;
  font-size: 19px; font-weight: 600; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 24px; height: 24px; background: var(--s500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--move);
}
details[open] summary::after { transform: rotate(180deg); }
details p { padding: 0 120px 24px 28px; margin-top: -10px; font-size: 17px; line-height: 1.5; color: var(--s600); }

/* the call */
.call { padding: 250px 0 200px; text-align: center; }
.call-cord { position: absolute; left: 50%; top: -60px; width: 1040px; height: 1040px; margin-left: -520px; fill: none; stroke: var(--sky); stroke-width: 0.28; opacity: 0.22; }
.call-body { position: relative; }
br.m { display: none; }
.call h2 { font-size: 72px; line-height: 1.05; letter-spacing: -0.03em; }
.call .button { margin-top: 44px; }

/* feedback and footer */
.footer { padding-bottom: 60px; }
.feedback {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 40px; border-radius: 24px; background: var(--s100);
}
.feedback h2 { max-width: 760px; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.feedback p { margin-top: 20px; max-width: 680px; font-size: 18px; line-height: 1.4; color: var(--s600); }
.foot { display: flex; justify-content: space-between; gap: 40px; margin-top: 120px; }
.about p { margin-top: 16px; color: var(--s600); }
.foot-links { display: grid; grid-template-columns: repeat(3, 200px); }
.foot-links h3 { font-size: 14px; font-weight: 600; color: var(--s500); margin-bottom: 14px; }
.foot-links a, .foot-links span { display: block; font-size: 16px; line-height: 2; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.giant {
  margin-top: 60px; text-align: center; font-weight: 700; color: var(--sky);
  font-size: clamp(88px, 23vw, 330px); line-height: 1; letter-spacing: -0.045em;
}
.copyright { margin-top: 40px; font-size: 14px; color: var(--s500); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 10; display: flex; align-items: center; gap: 10px;
  max-width: min(900px, calc(100vw - 48px)); padding: 16px 20px 16px 16px; border-radius: 28px;
  background: var(--ink); color: var(--white); font-size: 15px; font-weight: 500; line-height: 1.4;
  transform: translate(-50%, 16px); opacity: 0;
  transition: transform var(--exit), opacity var(--exit);
}
.toast.on { transform: translate(-50%, 0); opacity: 1; transition: transform var(--enter), opacity var(--enter); }
.toast svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- motion
   Arrivals use the enter curve; nothing is hidden before the script runs (body.ready). */
.ready .stack .lead, .ready .stack .row, .ready .subhead, .ready .hero-actions, .ready .stage {
  animation: rise 700ms cubic-bezier(0.05, 0.7, 0.1, 1) both;
}
.ready .stack .lead { animation-delay: 60ms; }
.ready .stack .r1 { animation-delay: 140ms; }
.ready .stack .r2 { animation-delay: 240ms; }
.ready .stack .r3 { animation-delay: 340ms; }
.ready .subhead { animation-delay: 480ms; }
.ready .hero-actions { animation-delay: 560ms; }
.ready .stage { animation: rise 900ms cubic-bezier(0.05, 0.7, 0.1, 1) 300ms both; }
/* The headline's construction: the datum drops, the baselines draw out, the nodes land. */
.ready .stack::before { animation: drop 800ms cubic-bezier(0.2, 0, 0, 1) 200ms both; transform-origin: top; }
.ready .stack .row::after { animation: draw 900ms cubic-bezier(0.2, 0, 0, 1) both; transform-origin: left; }
.ready .stack .r1::after { animation-delay: 420ms; }
.ready .stack .r2::after { animation-delay: 520ms; }
.ready .stack .r3::after { animation-delay: 620ms; }
.ready .stack .row::before { animation: pop 400ms cubic-bezier(0.05, 0.7, 0.1, 1) both; }
.ready .stack .r1::before { animation-delay: 700ms; }
.ready .stack .r2::before { animation-delay: 780ms; }
.ready .stack .r3::before { animation-delay: 860ms; }
.ready .stack .plus { display: inline-block; animation: turn 900ms cubic-bezier(0.05, 0.7, 0.1, 1) 500ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { transform: scaleY(0); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes turn { from { opacity: 0; transform: rotate(-90deg) scale(0.4); } to { opacity: 1; transform: none; } }

/* The hero's cord draws itself once, and stays still. */
.hero-cord use:last-child { stroke-dasharray: 80; stroke-dashoffset: 80; }
.ready .hero-cord use:last-child { animation: cord 2.4s cubic-bezier(0.2, 0, 0, 1) 200ms forwards; }
@keyframes cord { to { stroke-dashoffset: 0; } }

/* A slide arriving: the phone settles, then each label's thread draws to its knot and the label follows. */
.slide .device { transition: transform 700ms cubic-bezier(0.05, 0.7, 0.1, 1); transform: translateY(18px) scale(0.98); }
.slide.on .device { transform: none; }
.slide svg.threads path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 600ms cubic-bezier(0.2, 0, 0, 1); }
.slide.on svg.threads path { stroke-dashoffset: 0; transition-delay: calc(350ms + var(--i) * 110ms); }
.slide svg.threads circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 300ms cubic-bezier(0.05, 0.7, 0.1, 1); }
.slide.on svg.threads circle { transform: none; transition-delay: calc(800ms + var(--i) * 110ms); }
.label { opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms ease; }
.slide.on .label { opacity: 1; transform: none; transition-delay: calc(450ms + var(--i) * 110ms); }
.slide .num { transform: scale(0); transition: transform 300ms cubic-bezier(0.05, 0.7, 0.1, 1); }
.slide.on .num { transform: none; transition-delay: 300ms; }
.pager button[aria-selected="true"] { background: linear-gradient(90deg, var(--sky-600) 50%, var(--s300) 50%) 100% 0 / 200% 100%; }
.ready .pager button[aria-selected="true"] { animation: fill 6s linear forwards; }
.stage:hover .pager button[aria-selected="true"], .stage:focus-within .pager button[aria-selected="true"] { animation-play-state: paused; }
@keyframes fill { to { background-position: 0 0; } }

/* Scrolled into view. */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease, transform 900ms cubic-bezier(0.05, 0.7, 0.1, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.cards .card:nth-child(2), .diagram .bridge { transition-delay: 120ms; }
.cards .card:nth-child(3), .diagram .store:last-child { transition-delay: 240ms; }
.brings li, .questions details { opacity: 0; transform: translateX(-12px); transition: opacity 500ms ease, transform 600ms cubic-bezier(0.05, 0.7, 0.1, 1); }
.brings.in li, .questions.in details { opacity: 1; transform: none; }
.brings li:nth-child(2), .questions details:nth-child(2) { transition-delay: 90ms; }
.brings li:nth-child(3), .questions details:nth-child(3) { transition-delay: 180ms; }
.brings li:nth-child(4), .questions details:nth-child(4) { transition-delay: 270ms; }
.questions details:nth-child(5) { transition-delay: 360ms; }
.questions details:nth-child(6) { transition-delay: 450ms; }

/* The problem: the chores shuttle along the bridge between the two apps, for ever. */
.bridge span { animation: shuttle 5.5s ease-in-out infinite; }
.bridge span:nth-child(2) { animation-delay: -1.4s; }
.bridge span:nth-child(3) { animation-delay: -2.8s; }
.bridge span:nth-child(4) { animation-delay: -4.2s; }
@keyframes shuttle { 0%, 100% { transform: translateX(-90px); } 50% { transform: translateX(90px); } }

/* Phones float a little; the dark sections' cords turn slowly. */
.feature .phone, .anki-grid > .phone, .card .phone { animation: float 7s ease-in-out infinite; }
.feature.flip .phone, .card:nth-child(2) .phone { animation-delay: -2.3s; }
.feature:nth-child(3) .phone, .card:nth-child(3) .phone { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
/* The cord behind the dark sections draws itself in as it comes into view, and then stays still. */
.call-cord, .anki-cord { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 2.4s cubic-bezier(0.2, 0, 0, 1); }
.call.in-view .call-cord, .anki.in-view .anki-cord { stroke-dashoffset: 0; }

/* The wordmark's letters rise one after another. */
.giant span { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity 500ms ease, transform 800ms cubic-bezier(0.05, 0.7, 0.1, 1); transition-delay: calc(var(--i) * 60ms); }
.giant.in span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal], .brings li, .questions details, .giant span, .label { opacity: 1 !important; transform: none !important; }
  .slide svg.threads path { stroke-dashoffset: 0 !important; }
  .slide svg.threads circle, .slide .num { transform: none !important; }
  .hero-cord use:last-child, .call-cord, .anki-cord { stroke-dashoffset: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- narrower desktops */
@media (max-width: 1280px) {
  :root { --margin: 48px; }
  .stack { --k: 0.82; }
  .diagram { grid-template-columns: 1fr 260px 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr 1fr; }
  .anki-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- phones and tablets (the mobile column) */
@media (max-width: 1000px) {
  :root { --margin: 24px; }
  .banner { font-size: 13px; }
  .banner-long { display: none; }
  .banner-short { display: inline; }
  .hero-cord { left: -60px; top: auto; bottom: 300px; width: 560px; height: 560px; }
  .nav { height: 64px; }
  .nav-links { display: none; }
  .nav .button { margin-left: auto; height: 36px; padding: 0 14px; font-size: 13px; }
  .wordmark { font-size: 18px; gap: 10px; }
  .wordmark img { width: 28px; height: 28px; border-radius: 7px; }
  .hero-body { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 40px; }
  .stack { --k: 0.6; }
  .subhead { margin: 24px 0 0 38px; font-size: 17px; line-height: 1.5; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; margin: 28px 0 0 38px; }
  .stage { padding: 40px 0 64px; overflow: visible; }
  .stage-inner { transform: none !important; width: 100% !important; height: auto !important; }
  .slide { position: static; display: none; opacity: 1; visibility: visible; }
  .slide.on { display: block; }
  .slide .screen-wrap { position: relative; width: min(330px, 84vw); margin: 0 auto; }
  .slide .device { position: static; width: 100%; height: auto; }
  .slide .num {
    position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
    background: var(--sky-600); color: var(--white); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  }
  .stage-list {
    display: flex; flex-direction: column; gap: 24px; list-style: none; margin: 32px 0 0; padding: 0;
  }
  .stage-list li { display: grid; grid-template-columns: 20px 1fr; column-gap: 14px; }
  .stage-list .num {
    width: 20px; height: 20px; border-radius: 50%; background: var(--sky-600); color: var(--white);
    font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  }
  .stage-list b { font-size: 15px; font-weight: 600; line-height: 1.3; }
  .stage-list span:not(.num) { grid-column: 2; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--s600); }
  .pager { margin-top: 24px; }

  .section { padding: 72px 0; }
  .marker { width: 60px; height: 40px; border-radius: 9px; margin-bottom: 24px; }
  .marker svg { width: 26px; height: 26px; }
  .intro h2 { font-size: 34px; letter-spacing: -0.02em; }
  .intro p { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .diagram { grid-template-columns: 1fr; margin-top: 48px; }
  .store { min-height: 0; }
  .bridge { padding: 24px 0; gap: 14px; }
  .bridge::before { left: 50%; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 2px dashed var(--s300); }
  .bridge span { font-size: 13px; padding: 8px 14px; animation-name: none; }
  .features { gap: 72px; margin-top: 56px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-copy { order: 0; }
  .feature .phone, .feature.flip .phone { justify-self: center; width: 290px; margin: 0; }
  .feature h3 { margin-top: 12px; font-size: 28px; }
  .feature p { font-size: 16px; }
  .cards { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .card { padding: 28px 24px; border-radius: 20px; }
  .card .phone { width: 232px; margin-bottom: 28px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 15px; }
  .anki-cord { left: -120px; top: 260px; width: 520px; height: 520px; }
  .anki-grid { grid-template-columns: 1fr; }
  .anki-grid > .phone { justify-self: center; width: 310px; margin: 8px 0 0; }
  .brings { margin-top: 36px; gap: 20px; }
  .brings li { gap: 16px; font-size: 16px; }
  .brings svg { width: 22px; height: 22px; }
  .aside { margin-top: 28px; font-size: 15px; }
  .questions { margin-top: 36px; gap: 10px; }
  summary { padding: 18px; font-size: 16px; }
  summary::after { width: 20px; height: 20px; }
  details p { padding: 0 18px 18px; margin-top: -6px; font-size: 15px; }
  .call { padding: 136px 0; }
  .call-cord { width: 470px; height: 470px; margin-left: -235px; top: 60px; }
  .call h2 { font-size: 40px; }
  br.m { display: inline; }
  .call .button { margin-top: 32px; }
  .feedback { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; border-radius: 20px; }
  .feedback h2 { font-size: 24px; line-height: 1.2; }
  .feedback p { margin-top: 12px; font-size: 15px; line-height: 1.5; }
  .foot { flex-direction: column; margin-top: 64px; }
  .foot-links { grid-template-columns: repeat(3, 1fr); }
  .foot-links h3 { font-size: 13px; }
  .foot-links a, .foot-links span { font-size: 15px; line-height: 1.85; }
  .toast { left: 24px; right: 24px; bottom: 24px; transform: translateY(16px); border-radius: 16px; font-size: 14px; max-width: none; }
  .toast.on { transform: translateY(0); }
}
