@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--scene-mint);
  color: var(--ink);
  font: 400 16px/1.4 'Inter', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; font-weight: 400; }
img { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

button, input, textarea, select {
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

button { cursor: pointer; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

input::placeholder, textarea::placeholder { color: inherit; opacity: 0.72; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.small { font-size: 13px; line-height: 1.4; }
.eyebrow { font-size: 15px; color: var(--on-white-accent); }

/* The app's highlighted word, with its slightly uneven corners. */
.mark {
  padding: 0 3px;
  margin: 0 -3px;
  border-radius: 4px 6px 5px 7px;
  background: var(--marker);
  color: var(--on-marker);
}

/* The same marker scaled up for a headline. Inline-block keeps it inside its own line. */
.hl {
  display: inline-block;
  padding: 0 0.09em 0.05em;
  margin: 0 -0.09em;
  border-radius: 0.07em 0.11em 0.09em 0.13em;
  background: var(--marker);
  color: var(--on-marker);
  line-height: 1;
}

/* Buttons sit on a 4 px edge drawn inside their own height. */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px 4px;
  border-radius: var(--radius-button);
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 -4px 0 var(--accent-edge);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px currentColor;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }

.join {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(10, 15, 31, 0.1);
}

.join input { flex: 1; min-width: 0; padding: 0 10px; font-size: 16px; /* Below 16 px, iOS zooms the page on focus. */ }
.join .btn { min-height: 48px; padding: 0 16px 4px; font-size: 16px; white-space: nowrap; }

.chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(10, 15, 31, 0.2);
  white-space: nowrap;
}

.chip-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; }
.chip b { display: block; font-size: 15px; font-weight: 400; line-height: 1.25; }
.chip small { display: block; font-size: 13px; line-height: 1.25; color: var(--on-white-secondary); }

/* --- Hero --- */
.top {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 16px;
}

.copy { padding: 6px 16px 0; }
.h1 { font-size: 11.3vw; line-height: 1.08; letter-spacing: -0.035em; }
.lead { margin-top: 12px; font-size: 18px; line-height: 1.4; }
.copy .join { margin-top: 16px; }
.copy .small { margin-top: 8px; }

/* As the feed scrolls, each saved word lands in the list beside the phone. */
.stream { position: relative; max-width: 440px; height: 580px; margin: 20px auto 0; overflow: hidden; }
.stream .phone { --s: 0.66; position: absolute; top: 0; right: 10px; z-index: 1; transform: rotate(3deg); transform-origin: 50% 0; }
.list-title { position: absolute; z-index: 3; top: 64px; left: 14px; font-size: 15px; }
.word-list { position: absolute; z-index: 3; top: 96px; left: 10px; display: flex; flex-direction: column; gap: 8px; }
.word-list .chip:nth-child(odd) { transform: rotate(-2deg); }
.word-list .chip:nth-child(even) { transform: rotate(1.5deg); margin-left: 8px; }
.word-chip .chip-icon { background: var(--marker); color: var(--ink); }
.word-chip .chip-icon svg { fill: currentColor; }
.word-list .word-chip:not(.static) { animation: drop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes drop { from { opacity: 0; translate: 0 -14px; scale: 0.9; } }
.stream .dachsi { position: absolute; z-index: 3; bottom: -4px; left: -14px; width: 176px; height: 176px; }

/* The phone. The screen is built at the app's 390 x 844 and scaled as one piece. */
.phone {
  --s: 0.66;
  width: calc(390px * var(--s) + 14px);
  height: calc(844px * var(--s) + 14px);
  padding: 7px;
  border-radius: calc(46px * var(--s) + 7px);
  background: var(--stage);
  box-shadow: inset 0 0 0 1.5px var(--stage-divider), 0 30px 60px rgba(10, 15, 31, 0.32);
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border-radius: 46px;
  background: var(--stage);
  color: var(--stage-text);
  transform: scale(var(--s));
  transform-origin: 0 0;
}

.status { position: relative; flex: none; height: 54px; padding: 18px 0 0 40px; font-size: 16px; }
.island { position: absolute; top: 13px; left: 50%; width: 118px; height: 34px; margin-left: -59px; border-radius: 17px; background: var(--stage); box-shadow: 0 0 0 1px var(--stage-track); }
.bar { flex: none; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 16px; font-size: 14px; }
.track { flex: 1; height: 6px; border-radius: 3px; background: var(--stage-track); }
.track i { display: block; width: 53%; height: 100%; border-radius: 3px; background: var(--stage-accent); }
.tabs { flex: none; display: flex; justify-content: center; height: 40px; font-size: 15px; }
.tabs span { display: flex; align-items: center; padding: 0 8px; box-shadow: inset 0 -3px 0 var(--stage-accent); }

.window { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.reel { transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.3, 1); }
.reel.jump { transition: none; }

.clip { display: flex; flex-direction: column; height: var(--page); }
.player { position: relative; flex: none; height: 286px; overflow: hidden; }
.player img { position: absolute; top: -4px; left: 50%; width: 310px; height: 310px; margin-left: -155px; }
.t-mint { background: var(--scene-mint); }
.t-coral { background: var(--marker); }
.t-night { background: var(--scene-night); }
.t-white { background: var(--white); }

.clip-progress { flex: none; height: 3px; background: var(--stage-track); }
.clip-progress i { display: block; width: 0; height: 100%; background: var(--stage-accent); transition: width 0.28s linear; }
.controls { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); height: 54px; padding: 0 40px; font-size: 11px; color: var(--stage-text-secondary); }
.controls span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.controls b { display: flex; align-items: center; height: 24px; font-size: 14px; font-weight: 400; color: var(--stage-text); }
.controls svg { color: var(--stage-text); }

.subtitles { flex: 1; min-height: 0; margin-top: 12px; padding: 10px; overflow: hidden; border-radius: 24px 24px 0 0; background: var(--background); color: var(--text); }
.line { padding: 10px 12px 12px; border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); }
.de { display: flex; flex-wrap: wrap; column-gap: 0.27em; row-gap: 3px; font-size: 18px; line-height: 1.35; }
.en { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--text-secondary); }
.next { padding: 10px 12px; font-size: 18px; line-height: 1.35; color: var(--text-faint); }

.w { display: inline-block; padding: 0 3px; margin: 0 -3px; border-radius: 4px 6px 5px 7px; font: inherit; color: inherit; transition: background-color 0.12s ease; }
.w.on { background: var(--marker); color: var(--on-marker); }
.w.saved { text-decoration: underline; text-decoration-color: var(--accent-text); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.tabbar { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); height: 84px; padding-top: 8px; border-top: 1px solid var(--border); background: var(--background); font-size: 12px; color: var(--text-secondary); text-align: center; }
.tabbar svg { display: block; margin: 0 auto 3px; }
.tabbar .now { color: var(--accent-text); }

/* --- Sections. Each rounds over the one before it, like the app's panel over the stage. --- */
.sheet {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * var(--radius-panel));
  padding-bottom: 72px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: var(--white); /* White in Dark too, as Alex asked. */
  color: var(--ink);
}

.how { max-width: 1160px; margin: 0 auto; padding: 44px 16px 0; }
.steps { display: grid; gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.step-n { grid-row: span 2; font-family: 'DM Sans', 'Inter', sans-serif; font-size: 44px; line-height: 1; color: var(--on-white-accent); }
.steps h3 { font-size: 22px; line-height: 1.25; }
.steps p { margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--on-white-secondary); }

.row { display: flex; flex-direction: column; gap: 22px; max-width: 1160px; margin: 0 auto; padding: 64px 16px 0; }
.row h2 { margin-top: 8px; font-size: 8.6vw; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.row-text p:last-child { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--on-white-secondary); text-wrap: pretty; }

.stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; padding: 24px 16px; overflow: hidden; border-radius: var(--radius-panel); }
.stage-coral { background: var(--marker); }
.stage-mint { background: var(--scene-mint); }
.stage-black { background: var(--stage); color: var(--stage-text); }

/* Tap: a separable verb, the most German thing on the page. */
.tap-line { width: 100%; max-width: 330px; padding: 14px 16px 16px; border-radius: var(--radius-card); background: var(--white); color: var(--ink); box-shadow: 0 10px 26px rgba(10, 15, 31, 0.16); }
.tap-line .de { font-size: 20px; }
.tap-line .en { font-size: 15px; color: var(--on-white-secondary); }
.word-card { position: relative; z-index: 1; width: 100%; max-width: 300px; margin-top: 14px; padding: 14px 16px 16px; border-radius: var(--radius-panel); background: var(--white); color: var(--ink); box-shadow: 0 2px 4px rgba(10, 15, 31, 0.1), 0 16px 38px rgba(10, 15, 31, 0.3); transform: rotate(-2deg); }
.word-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; color: var(--accent); }
.word-card-word { font-size: 30px; line-height: 1.15; color: var(--ink); }
.word-card-head svg { flex: none; fill: currentColor; }
.word-card-meta { margin-top: 2px; font-size: 14px; color: var(--on-white-secondary); }
.sense { margin-top: 10px; padding: 10px 14px 12px; border-radius: 12px; background: var(--scene-mint); }
.sense small { display: block; font-size: 13px; color: var(--accent-edge); }
.sense span { font-size: 19px; }

/* Remember: a flashcard. */
.flash { position: relative; z-index: 1; width: 100%; max-width: 310px; padding: 18px 16px 16px; border-radius: var(--radius-panel); background: var(--white); color: var(--ink); box-shadow: 0 2px 4px rgba(10, 15, 31, 0.08), 0 18px 40px rgba(10, 15, 31, 0.2); }
.flash-word { font-size: 36px; line-height: 1.15; }
.flash-meta { margin-top: 2px; font-size: 14px; color: var(--on-white-secondary); }
.flash-sentence { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--scene-teal-edge); font-size: 16px; line-height: 1.4; }
.flash-gloss { margin-top: 2px; font-size: 14px; color: var(--on-white-secondary); }
.flash-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.btn-again { background: var(--again); color: var(--on-again); box-shadow: inset 0 -4px 0 var(--again-edge); }
.btn-good { background: var(--good); color: var(--on-good); box-shadow: inset 0 -4px 0 var(--good-edge); }
.flash-dachsi { position: absolute; right: -18px; bottom: -22px; width: 150px; height: 150px; }
.stage-mint { padding-bottom: 76px; }

/* Your level: the onboarding's staircase. */
.stairs { --step: 20%; --at: 2; position: relative; width: 100%; height: 330px; align-self: stretch; }
.stairs-steps { position: absolute; right: 0; bottom: 34px; left: 0; display: flex; align-items: flex-end; gap: 6px; height: 214px; }
.stairs-steps button { flex: 1; min-width: 0; padding-top: 12px; border-radius: var(--radius-button) var(--radius-button) 0 0; background: var(--stage-card); color: var(--stage-text); font-size: 15px; align-self: flex-end; transition: background-color 0.2s ease; }
.stairs-steps button[aria-pressed='true'] { background: var(--stage-accent); color: var(--on-stage-accent); }
.stairs-steps button:nth-child(1) { height: 54px; }
.stairs-steps button:nth-child(2) { height: 94px; }
.stairs-steps button:nth-child(3) { height: 134px; }
.stairs-steps button:nth-child(4) { height: 174px; }
.stairs-steps button:nth-child(5) { height: 214px; }
.stairs img {
  position: absolute;
  left: calc(var(--at) * 20% + 10% - 56px);
  bottom: calc(34px + 54px + var(--at) * 40px - 6px);
  width: 112px;
  height: 112px;
  pointer-events: none;
  transition: left 0.28s cubic-bezier(0.3, 1.4, 0.5, 1), bottom 0.28s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.stairs-note { position: absolute; right: 0; bottom: 0; left: 0; font-size: 15px; line-height: 1.3; color: var(--stage-text-secondary); text-align: center; }

/* Widgets, like app/targets/widget, with Dachsi given more room. */
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 330px; }
.widget { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1; padding: 13px; overflow: hidden; border-radius: 22px; background: var(--scene-teal); color: var(--white); box-shadow: 0 12px 26px rgba(10, 15, 31, 0.22); }
.widget-wide { grid-column: span 2; aspect-ratio: 2.1; padding: 14px 16px; }
.widget > img { position: absolute; top: 11px; right: 11px; width: 50%; height: 56%; object-fit: contain; object-position: top right; }
.widget-wide > img { top: 12px; right: 16px; width: 30%; height: 60%; }
.widget-level { position: absolute; top: 13px; left: 13px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--level-a); color: var(--level-a-text); font-size: 11px; }
.widget-wide .widget-level { top: 14px; left: 16px; }
.widget small { position: absolute; top: 20px; left: 50px; font-size: 12px; line-height: 1.3; color: var(--widget-text-secondary); }
.widget b { display: block; font-size: 21px; font-weight: 400; line-height: 1.15; }
.widget-wide b { font-size: 26px; }
.widget-gloss { font-size: 14px; line-height: 1.3; color: var(--widget-text-secondary); }
.widget-sentence { margin-top: 8px; font-size: 14px; line-height: 1.35; }

/* FAQ */
.faq-section {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * var(--radius-panel));
  padding: 52px 16px 76px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: var(--background);
  color: var(--text);
}

.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-section h2 { font-size: 8.6vw; line-height: 1.12; letter-spacing: -0.025em; }
.faq-list { margin-top: 20px; overflow: hidden; border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); }
.faq-list details + details { box-shadow: inset 0 1px 0 var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 14px; font-size: 17px; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; color: var(--text-secondary); transition: transform 0.16s ease; }
.faq-list details[open] summary svg { transform: rotate(90deg); }
.faq-list details p { padding: 0 14px 16px; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }

/* Closing: the night sky, with Dachsi asleep. */
.closing {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * var(--radius-panel));
  padding: 52px 16px 0;
  overflow: hidden;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: var(--scene-night);
  color: var(--white);
}

.closing-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.moon { position: absolute; top: 30px; right: 26px; width: 58px; height: 58px; border-radius: 50%; background: var(--moon); }
.closing h2 { padding-right: 76px; font-size: 10vw; line-height: 1.08; letter-spacing: -0.03em; }
.closing .lead { margin-top: 12px; }
.closing .join { margin-top: 20px; }
.closing .small { margin-top: 8px; }
.closing .sleeper { width: 92%; max-width: 420px; height: auto; margin: 6px auto -44px; aspect-ratio: 1; }

.foot { position: relative; z-index: 5; background: var(--stage); color: var(--stage-text-secondary); }
.foot-inner { display: flex; flex-direction: column; gap: 14px; max-width: 1160px; margin: 0 auto; padding: 24px 16px 40px; }
.foot .logo { color: var(--stage-text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.foot nav a:hover { color: var(--stage-text); }

/* Legal and support pages: mint at the top, then white in both themes, like the home page. */
body.doc { display: flex; flex-direction: column; min-height: 100svh; }
body.doc .doc-sheet { flex: 1; width: 100%; }
body.doc .top, body.doc .doc-head { width: 100%; }
.doc-head { position: relative; max-width: 688px; margin: 0 auto; padding: 8px 16px 60px; }
.doc-head .h1 { padding-right: 84px; }
.doc-head .lead { padding-right: 116px; }
.doc-dachsi { position: absolute; right: 8px; bottom: 16px; width: 124px; height: 124px; }
.doc-sheet { position: relative; z-index: 4; margin-top: calc(-1 * var(--radius-panel)); border-radius: var(--radius-panel) var(--radius-panel) 0 0; background: var(--white); color: var(--ink); }
.doc-body { max-width: 672px; margin: 0 auto; padding: 32px 16px 72px; font-size: 16px; line-height: 1.55; }
.doc-body h2 { margin-top: 36px; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.doc-body p { margin-top: 12px; }
.doc-body a:not(.btn) { color: var(--on-white-accent); }
.doc-body address { margin-top: 12px; font-style: normal; }
.doc-date { color: var(--on-white-secondary); font-size: 14px; }
.summary { margin-top: 16px; padding: 16px 18px 18px; border-radius: var(--radius-card); background: var(--scene-mint); }
.doc-body .summary h2 { margin: 0; font-size: 18px; }
.summary ul { margin: 8px 0 0; padding-left: 20px; }
.summary li + li { margin-top: 6px; }
.rows { margin: 14px 0 0; border-top: 1px solid var(--on-white-line); }
.rows > div { padding: 12px 0; border-bottom: 1px solid var(--on-white-line); }
.rows dt { font-size: 16px; }
.rows dd { margin: 2px 0 0; color: var(--on-white-secondary); }
.rows + p { margin-top: 16px; }
.doc-body > .rows:first-child { margin-top: 0; }

/* Support form */
.contact { display: flex; flex-direction: column; gap: 14px; }
.field-group label { display: block; margin-bottom: 6px; font-size: 15px; }
.field { display: block; width: 100%; height: 54px; padding: 0 14px; border-radius: var(--radius-button); background: var(--on-white-field); color: var(--ink); font-size: 16px; }
textarea.field { height: 168px; padding: 14px; line-height: 1.4; resize: vertical; }
.select { position: relative; }
.select svg { position: absolute; top: 18px; right: 14px; pointer-events: none; color: var(--on-white-secondary); }
.trap { position: absolute; left: -9999px; }
.contact .btn { width: 100%; }
.doc-body .contact-note { margin-top: 0; }
.help-list { margin-top: 12px; border-top: 1px solid var(--on-white-line); }
.help-list details { border-bottom: 1px solid var(--on-white-line); }
.help-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 10px 0; font-size: 17px; line-height: 1.3; cursor: pointer; list-style: none; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary svg { flex: none; color: var(--on-white-secondary); transition: transform 0.16s ease; }
.help-list details[open] summary svg { transform: rotate(90deg); }
.help-list details p { margin: 0 0 14px; color: var(--on-white-secondary); }

/* Unsubscribe and 404 */
.doc-status h2 { margin-top: 0; }
.doc-status-btn { display: inline-flex; margin-top: 20px; }

/* The Join bar on a phone, while neither form is on screen. */
.bar-sticky {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--card);
  color: var(--text);
  box-shadow: 0 -1px 0 var(--border), 0 -10px 30px rgba(10, 15, 31, 0.12);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.3s ease, visibility 0.3s;
}

.bar-sticky.on { visibility: visible; transform: none; }
.bar-sticky p { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; }
.bar-sticky .btn { min-height: 46px; padding: 0 22px 4px; font-size: 16px; }

@media (max-width: 359px) {
  .widget > img { height: 44%; }
  .widget b { font-size: 18px; }
  .widget-wide { aspect-ratio: auto; min-height: 152px; }
  .widget-wide > img { height: 50%; }
  .widget-wide b { font-size: 22px; }
  .stream .phone { --s: 0.56; }
  .stream { height: 500px; }
  .stream .dachsi { width: 140px; height: 140px; }
}

@media (min-width: 900px) {
  .top { padding: 20px 24px; }
  .logo { font-size: 26px; }
  .logo img { width: 42px; height: 42px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 580px; align-items: center; column-gap: 32px; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
  .copy { padding: 0; }
  .h1 { font-size: min(4.7vw, 62px); }
  .lead { margin-top: 18px; max-width: 24em; font-size: 21px; }
  .copy .join { max-width: 500px; margin-top: 28px; }
  .stream { max-width: none; height: 690px; margin: 0; overflow: visible; }
  .stream .phone { --s: 0.76; top: 10px; right: 30px; }
  .list-title { top: 118px; left: 24px; font-size: 17px; }
  .word-list { top: 150px; left: 20px; }
  .stream .dachsi { left: 10px; bottom: 10px; width: 240px; height: 240px; }

  .sheet { padding-bottom: 112px; }
  .how { padding: 72px 24px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 28px; }
  .steps li { display: block; }
  .step-n { display: block; font-size: 58px; }
  .steps h3 { margin-top: 12px; font-size: 26px; }
  .steps p { margin-top: 8px; font-size: 17px; }

  .row { flex-direction: row; align-items: center; gap: 72px; padding: 104px 24px 0; }
  .row:nth-of-type(even) { flex-direction: row-reverse; }
  .row > * { flex: 1 1 0; min-width: 0; }
  .stage { min-height: 520px; padding: 32px; }
  .row h2 { font-size: 46px; }
  .row-text p:last-child { margin-top: 16px; font-size: 18px; max-width: 28em; }
  .tap-line, .widgets { max-width: 400px; }
  .word-card, .flash { max-width: 350px; }
  .stairs { height: 420px; }
  .stairs-steps { height: 300px; }
  .stairs-steps button:nth-child(1) { height: 76px; }
  .stairs-steps button:nth-child(2) { height: 132px; }
  .stairs-steps button:nth-child(3) { height: 188px; }
  .stairs-steps button:nth-child(4) { height: 244px; }
  .stairs-steps button:nth-child(5) { height: 300px; }
  .stairs img { bottom: calc(34px + 76px + var(--at) * 56px - 6px); }

  .faq-section { padding: 88px 24px 112px; }
  .faq-section h2 { font-size: 46px; }

  .closing { padding: 72px 24px 0; }
  .closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 40px; max-width: 1112px; padding-bottom: 72px; }
  .closing h2 { padding-right: 0; font-size: 64px; }
  .closing .join { max-width: 480px; }
  .closing .sleeper { grid-column: 2; grid-row: 1 / 6; width: 100%; max-width: 520px; margin: -40px 0 -180px auto; }
  .moon { top: 60px; right: max(84px, calc((100vw - 1112px) / 2)); width: 84px; height: 84px; }

  .foot-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 24px; }

  .doc-head { padding: 24px 24px 72px; }
  .doc-head .h1 { font-size: 56px; }
  .doc-dachsi { right: 16px; bottom: 16px; width: 170px; height: 170px; }
  .doc-body { padding: 44px 24px 96px; }
  .doc-body h2 { font-size: 24px; }

  .bar-sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .reel, .w, .clip-progress i, .stairs img, .bar-sticky, .faq-list summary svg, .help-list summary svg { transition: none; }
  .btn:active { transform: none; }
  .word-list .word-chip:not(.static) { animation: none; }
}
