/* WattStat — wattstat.app
   Brand colours from design/logo/build.py: field #0F1B17, mint #4ADE9A, white #F4F6F5, rest of scale #24443A. */

/* Inter Tight (SIL Open Font License 1.1), self-hosted so no visitor data goes to Google */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0F1B17;
  --surface: #16261F;
  --surface-2: #1D3129;
  --moss: #24443A;
  --pine: #2E5A4B;
  --ink: #F4F6F5;
  --muted: #A3B6AE;
  --accent: #4ADE9A;
  --accent-strong: #6FE8AF;
  --accent-ink: #0F1B17;
  --paper: #F4F6F5;
  --sky-ink: #0F1B17;

  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* five sizes do the work */
  --s-xl: clamp(56px, 9.4vw, 152px);
  --s-l: clamp(38px, 5.4vw, 88px);
  --s-m: clamp(22px, 2.5vw, 36px);
  --s-body: 18px;
  --s-small: 15px;

  --margin: clamp(20px, 2.4vw, 36px);
  --gap: clamp(16px, 1.8vw, 28px);
  --section: clamp(120px, 14vw, 220px);
  --radius-screen: clamp(18px, 2.2vw, 34px);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --ease-soft: cubic-bezier(.25, .6, .25, 1);
  --t-press: 120ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s-body)/1.55 var(--font);
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button-dark { background: var(--bg); color: var(--ink); }
.button-quiet { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button-dark:hover { background: var(--surface-2); }
  .button-quiet:hover { background: #fff; }
}

/* ---------- bar ---------- */
.bar {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center;
  padding: 24px var(--margin) 0;
  color: var(--sky-ink);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; grid-column: 1 / 4; }
.wordmark svg { width: 34px; height: 34px; }
.bar .wordmark svg { background: var(--bg); border-radius: 9px; padding: 2px; }
.bar-links { grid-column: 6 / 11; justify-content: flex-end; display: flex; gap: 28px; font-size: 18px; font-weight: 500; }
.bar-links a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .bar-links a:hover { text-decoration-color: currentColor; } }
.bar-action { grid-column: 11 / 13; justify-self: end; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #8db4dd; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-type { position: absolute; left: var(--margin); right: var(--margin); top: clamp(104px, 13vh, 132px); text-align: center; color: var(--sky-ink); }
.hero-title { font-size: clamp(60px, 7.6vw, 124px); font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; }
.hero-title .line { display: block; white-space: nowrap; }

/* the gauge sits on the baseline, one cap-height tall */
.gauge {
  display: inline-flex; align-items: center; gap: 0.1em;
  height: 0.74em; padding: 0 0.16em 0 0.08em; margin: 0 0.04em;
  background: var(--bg); color: var(--ink); border-radius: 0.16em;
  vertical-align: baseline; letter-spacing: -0.03em;
}
.gauge-dial { width: 0.6em; height: 0.6em; }
.gauge-dial path { fill: none; stroke-width: 13; stroke-linecap: round; }
.gauge-track { stroke: var(--moss); }
.gauge-fill { stroke: var(--accent); stroke-dasharray: 64 100; }
.gauge-read { display: grid; grid-template-columns: auto auto; align-items: baseline; line-height: 1; }
.gauge-pct { font-weight: 600; font-size: 0.42em; color: var(--accent); }
.gauge-read i { font-style: normal; font-size: 0.26em; color: var(--accent); font-weight: 600; }
.gauge-read small { grid-column: 1 / 3; font-size: 0.15em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 0.35em; }

.hero-sub { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: clamp(20px, 3vh, 32px); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.half-a { grid-column: 1 / 7; text-align: right; padding-right: clamp(10px, 3vw, 60px); }
.half-b { grid-column: 7 / 13; text-align: left; padding-left: clamp(10px, 3vw, 60px); }
.hero-action { display: none; }

/* ---------- ask (showcase) ---------- */
.ask { padding: var(--section) var(--margin) 0; }
.ask-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.ask-main { grid-column: 1 / 9; padding-top: clamp(0px, 4vw, 56px); }
.ask-title { font-size: var(--s-m); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; max-width: 22em; color: var(--muted); }
.ask-form { margin-top: 20px; }
.ask-line { position: relative; }
.ask-input {
  width: 100%; padding: 0; margin: 0; border: 0; background: none; outline: none;
  color: var(--ink); caret-color: var(--accent); caret-shape: block;
  font: 600 var(--s-l)/1.1 var(--font); letter-spacing: -0.04em;
  text-overflow: clip;
}
.ask-input:focus-visible { outline: none; }
.ask-line:focus-within::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--accent); }
.answer { margin-top: 48px; max-width: 560px; min-height: 236px; }
.answer-card { background: var(--surface); border-radius: 22px; padding: 24px 26px 26px; }
.answer-q { font-size: var(--s-small); color: var(--muted); font-weight: 500; }
.answer-a { margin-top: 6px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.answer-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.answer-figs div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.answer-figs dt { font-size: 14px; color: var(--muted); line-height: 1.25; }
.answer-figs dd { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.answer-figs dd.good { color: var(--accent); }
.ask-examples { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; }
.example {
  padding: 6px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 18px; font-weight: 500; color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}
.example[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .example:hover { color: var(--ink); text-decoration-color: var(--accent); } }
.ask-screen { grid-column: 9 / 13; justify-self: end; width: 100%; max-width: 380px; }
.ask-screen img { width: 100%; border-radius: var(--radius-screen); background: #0b0d0f; transition: opacity 220ms ease; }
.ask-screen img.is-swapping { opacity: 0; }

/* ---------- rules (bands with switches) ---------- */
.rules { padding-top: var(--section); }
.rules-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 0 var(--margin) clamp(40px, 5vw, 72px); align-items: end; }
.rules-title { grid-column: 1 / 8; font-size: var(--s-l); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.rules-note { grid-column: 9 / 13; color: var(--ink); max-width: 30em; }
.band {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center;
  min-height: clamp(132px, 19vh, 200px); padding: 22px var(--margin);
  background: var(--bg); color: var(--muted);
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out);
}
.band:nth-child(even) { background: var(--surface); }
.band-text { grid-column: 1 / 11; }
.band-line { font-size: var(--s-m); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.band-then { font-size: 18px; line-height: 1.45; max-width: 46em; margin-top: 8px; color: inherit; display: none; }
.band.is-on .band-then { display: block; }
.band.is-on { color: var(--ink); }
.band.is-on[data-tone="mint"] { background: var(--accent); color: var(--accent-ink); }
.band.is-on[data-tone="moss"] { background: var(--moss); }
.band.is-on[data-tone="paper"] { background: var(--paper); color: var(--accent-ink); }
.band.is-on[data-tone="pine"] { background: var(--pine); }
.switch {
  grid-column: 11 / 13; justify-self: end;
  position: relative; width: 84px; height: 48px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--moss); transition: background-color 220ms var(--ease-out);
}
.switch span { position: absolute; top: 5px; left: 5px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); transition: transform 260ms var(--ease-out); }
.switch[aria-checked="true"] { background: var(--bg); }
.switch[aria-checked="true"] span { transform: translateX(36px); background: var(--accent); }
.band.is-on[data-tone="moss"] .switch[aria-checked="true"] span,
.band.is-on[data-tone="pine"] .switch[aria-checked="true"] span { background: var(--accent); }
.switch:active span { width: 44px; }
.switch[aria-checked="true"]:active span { transform: translateX(30px); }

/* ---------- how it works ---------- */
.how { margin-top: var(--section); }
.how-fields { display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; }
.how-say { background: var(--surface); padding: clamp(40px, 6vw, 96px) var(--margin) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.how-clause { font-size: var(--s-l); font-weight: 600; line-height: 1; letter-spacing: -0.04em; max-width: 9em; min-height: 2em; }
.how-detail { max-width: 30em; }
.how-show { background: var(--moss); display: grid; place-items: center; padding: 48px var(--margin); }
.how-frame { position: relative; width: min(100%, 360px); aspect-ratio: 1206 / 2000; }
.how-frame > * { position: absolute; inset: 0; opacity: 0; transition: opacity 200ms ease; }
.how-frame > .is-active { opacity: 1; }
.js .how-frame > :not(.is-active) { visibility: hidden; transition: opacity 200ms ease, visibility 0s 200ms; }
html:not(.js) .how-frame > [data-stage]:not([data-stage="0"]) { display: none; }
html:not(.js) .how-frame > [data-stage="0"] { opacity: 1; }
.how-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: var(--radius-screen); }
.how-connect { overflow: hidden; background: var(--bg); border-radius: var(--radius-screen); padding: 34px 24px; display: flex; flex-direction: column; gap: 22px; }
.hc-title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.hc-steps { display: grid; gap: 10px; }
.hc-steps li { background: var(--surface); border-radius: 16px; padding: 14px 16px 14px 48px; position: relative; display: grid; gap: 2px; }
.hc-steps li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--moss); }
.hc-steps li.done::before { background: var(--accent); }
.hc-steps li.now { background: var(--surface-2); }
.hc-steps li.now::before { border: 5px solid var(--accent); background: var(--bg); }
.hc-steps b { font-weight: 600; font-size: 17px; }
.hc-steps span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.hc-car { margin-top: auto; background: var(--surface); border-radius: 16px; padding: 14px 16px; font-size: 16px; display: grid; }
.hc-car span { font-size: 14px; color: var(--muted); }
.how-slider { background: var(--bg); padding: 28px var(--margin) 0; }
.how-range { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.how-range::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--ink) var(--p), var(--moss) var(--p)); } /* taste-skill-ignore: hard-stop fill of the passed part of the track, two flat colours */
.how-range::-moz-range-track { height: 8px; background: var(--moss); }
.how-range::-moz-range-progress { height: 8px; background: var(--ink); }
.how-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: 0; transition: transform var(--t-press) var(--ease-out); }
.how-range::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }
.how-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.how-stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.how-stops li:nth-child(2) { text-align: center; padding-right: 16%; }
.how-stops li:nth-child(3) { text-align: center; padding-left: 16%; }
.how-stops li:last-child { text-align: right; }
.how-stops button { border: 0; background: none; padding: 8px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); transition: color var(--t-hover) ease; }
.how-stops button[aria-current="step"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .how-stops button:hover { color: var(--ink); } }

/* ---------- screens ---------- */
.screens { padding: var(--section) var(--margin) 0; }
.screens-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.screens-title { grid-column: 1 / 8; font-size: var(--s-l); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.screens-note { grid-column: 9 / 13; }
.screens-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.screens-row img { width: 100%; border-radius: var(--radius-screen); }
.screens-row li:nth-child(even) { margin-top: clamp(40px, 8vw, 120px); }
.screens-row p { margin-top: 16px; font-size: var(--s-small); color: var(--muted); max-width: 26em; }
.screens-row p b { color: var(--ink); font-weight: 600; }

/* ---------- pilot (pricing) ---------- */
.pilot { margin-top: var(--section); background: var(--moss); min-height: 80svh; padding: clamp(80px, 10vw, 160px) var(--margin) clamp(56px, 6vw, 96px); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.pilot-line { font-size: var(--s-xl); font-weight: 600; line-height: 0.95; letter-spacing: -0.05em; max-width: 8.6em; }
.price { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 0 0.15em; line-height: 0.95; }
.pilot-foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.pilot-what { grid-column: 1 / 7; font-size: 22px; line-height: 1.45; }
.pilot-act { grid-column: 10 / 13; justify-self: end; }

/* ---------- faq ---------- */
.faq { padding: var(--section) var(--margin) 0; }
.faq-title { font-size: var(--s-l); font-weight: 600; line-height: 1; letter-spacing: -0.04em; max-width: 11em; }
.faq-list { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 80px; }
.faq-list details { grid-column: 5 / 13; margin: 0 -24px 12px; padding: 0 24px; border-radius: 18px; transition: background-color 220ms ease; }
.faq-list details[open] { background: var(--surface); padding-bottom: 24px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { max-width: 48ch; font-size: 18px; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--accent); } }

/* ---------- invite (cta) ---------- */
.invite { margin-top: var(--section); background: var(--surface); min-height: min(100svh, 860px); padding: 32px var(--margin) 24px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.invite-title { font-size: var(--s-xl); font-weight: 600; line-height: 1; letter-spacing: -0.05em; display: contents; }
.invite-title .line { display: block; white-space: nowrap; }
.invite-mid { padding: 48px 0; }
.invite-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 clamp(32px, 6vw, 96px); }
.invite-row .button { min-width: 220px; height: 60px; font-size: 18px; }
.invite-row .button:first-child { justify-self: end; }
.invite-row .button:last-child { justify-self: start; }
.invite-or { font-size: 18px; color: var(--muted); }
.invite-then { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--accent); color: var(--accent-ink); min-height: min(76svh, 720px); padding: 40px var(--margin) 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; font-size: var(--s-small); font-weight: 500; }
.foot-top .foot-note:nth-child(1) { grid-column: 1 / 3; }
.foot-top .foot-note:nth-child(2) { grid-column: 3 / 6; }
.foot-top .foot-note:nth-child(3) { grid-column: 6 / 9; }
.foot-top-link { grid-column: 11 / 13; justify-self: end; }
.wordmark-dark { font-size: 15px; }
.wordmark-dark svg { width: 28px; height: 28px; }
.foot a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-mail { margin-top: auto; font-size: clamp(52px, 10.4vw, 172px); font-weight: 600; line-height: 0.95; letter-spacing: -0.055em; }
.foot-mail a { text-decoration: none; display: inline-flex; flex-wrap: wrap; }
.foot-mail a span { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot-mail a:hover span:last-child { transform: translateX(0.06em); } }
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; font-size: 15px; font-weight: 500; }
.foot-meta p:nth-child(2) { text-align: center; }
.foot-meta p:nth-child(3) { text-align: right; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .js .gauge-fill { stroke-dasharray: 0 100; transition: stroke-dasharray 1400ms var(--ease-out) 500ms; }
  .js .gauge.is-in .gauge-fill { stroke-dasharray: 64 100; }

  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }

  .hero-photo.is-in img { animation: drift 24s var(--ease-soft) 1.5s both; }
  @keyframes drift { from { transform: none; } to { transform: scale(1.05) translateY(-1%); } }

  .answer-card.is-new { animation: answer-in 360ms var(--ease-out); }
  @keyframes answer-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .bar-links { display: none; }
  .hero-sub { display: block; }
  .half { display: block; text-align: center; padding: 0; }
  .ask-main { grid-column: 1 / 13; }
  .ask-screen { grid-column: 1 / 13; justify-self: start; max-width: 320px; margin-top: 48px; }
  .rules-title, .rules-note, .screens-title, .screens-note { grid-column: 1 / 13; }
  .rules-note, .screens-note { margin-top: 20px; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .faq-list details { grid-column: 3 / 13; margin-left: 0; margin-right: 0; }
  .invite { min-height: 0; }
  .invite-mid { padding: 96px 0; }
  .foot { min-height: 0; }
  .foot-mail { margin-top: 96px; }
  .pilot { min-height: 0; justify-content: flex-start; }
  .pilot-what { grid-column: 1 / 9; }
  .pilot-act { grid-column: 9 / 13; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .bar { padding-top: 16px; }
  .bar-action { display: none; }
  .wordmark { grid-column: 1 / 13; }
  .hero { min-height: 600px; }
  .hero-photo img { object-position: 46% 70%; }
  .hero-type { top: 96px; }
  .hero-title { font-size: 12.4vw; }
  .pilot-line, .invite-title, .foot-mail { font-size: 12.4vw; }
  .how-clause, .faq-title, .rules-title, .screens-title { font-size: 38px; }
  .hero-sub { display: block; font-size: 18px; margin-top: 22px; }
  .half { display: block; text-align: center; padding: 0; }
  .hero-action { display: flex; position: absolute; left: var(--margin); right: var(--margin); bottom: 24px; }

  .ask-title { font-size: 22px; }
  .ask-input { font-size: 7.2vw; }
  .answer { margin-top: 28px; min-height: 0; }
  .answer-card { padding: 20px; }
  .answer-a { font-size: 22px; }
  .answer-figs { grid-template-columns: 1fr 1fr; }
  .ask-examples { gap: 8px; margin-top: 28px; }
  .example { min-height: 44px; padding: 10px 14px; background: var(--surface); text-decoration: none; color: var(--ink); font-size: 15px; }
  .example[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
  .ask-screen { max-width: none; width: 78%; justify-self: center; }

  .band { min-height: 132px; }
  .band-text { grid-column: 1 / 10; }
  .switch { grid-column: 10 / 13; width: 72px; height: 44px; }
  .switch span { width: 34px; height: 34px; }
  .switch[aria-checked="true"] span { transform: translateX(28px); }
  .band-line { font-size: 22px; }
  .band-then { font-size: 15px; }

  .how-fields { grid-template-columns: 1fr; }
  .how-show { order: -1; min-height: 46svh; padding: 32px var(--margin); }
  .how-frame { width: min(76%, 300px); aspect-ratio: 1206 / 2300; }
  .how-connect { padding: 24px 16px; gap: 14px; }
  .hc-title { font-size: 22px; }
  .hc-car { display: none; }
  .how-say { padding-top: 40px; justify-content: flex-start; gap: 20px; }
  .how-range::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .how-stops { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .how-stops li, .how-stops li:nth-child(n) { text-align: left; padding: 0; }
  .how-stops button { font-size: 15px; min-height: 44px; }

  .screens-row { grid-template-columns: 1fr 1fr; gap: 14px; }

  .pilot-foot { display: block; }
  .pilot-what { font-size: 18px; }
  .pilot-act { margin-top: 28px; }
  .pilot-act .button { width: 100%; }

  .faq-list { display: block; margin-top: 40px; }
  .faq-list details { margin: 0 calc(var(--margin) * -1) 8px; padding: 0 var(--margin); border-radius: 0; }
  .faq-list summary { font-size: 18px; }
  .faq-list details p { font-size: 15px; }

  .invite { min-height: 0; }
  .invite-mid { padding: 72px 0; }
  .invite-row { display: flex; flex-direction: column; gap: 12px; }
  .invite-row .button { width: 72%; min-width: 0; }

  .foot-top { display: block; }
  .foot-top > * { display: block; margin-bottom: 8px; }
  .foot-mail a { flex-direction: column; }
  .foot-meta { grid-template-columns: 1fr; gap: 6px; font-size: 15px; }
  .foot-top-link { text-align: left; }
  .foot-meta p:nth-child(n) { text-align: left; }
}

/* ---------- German ---------- */
:lang(de) :is(.screens-note, .pilot-what, .faq-list p, .how-detail, .rules-note, .band-then) { hyphens: auto; -webkit-hyphens: auto; }

/* ---------- legal pages ---------- */
.legal-bar { padding: 24px var(--margin); }
.legal-bar .wordmark img { width: 34px; height: 34px; border-radius: 9px; }
.legal-body { padding: 64px var(--margin) 160px; max-width: calc(720px + 2 * var(--margin)); }
.legal-body h1 { font-size: var(--s-l); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 40px; }
.legal-body h2 { font-size: 22px; font-weight: 600; margin: 40px 0 8px; }
.legal-body p { margin-bottom: 12px; }
.legal-todo { background: var(--moss); padding: 16px 20px; }
