/* fwtoday.app — the app's identity: off-white and soft black, never pure white; red only on the
   push button. Inter, served from this site (SIL Open Font License). No outside request. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-display-800.woff2") format("woff2"); }

:root {
  --paper: #F2F0EB;
  --ink: #0B0B0B;
  --muted: #64615B;
  --line: rgba(11, 11, 11, 0.14);
  --frame: #0B0B0B;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B0B0B;
    --ink: #F2F0EB;
    --muted: #A39F98;
    --line: rgba(242, 240, 235, 0.16);
    --frame: #2A2925;
  }
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Labels: the app's small capitals (12 px, bold, spaced). */
.label, .top-badge, .store, .step-num, .foot-links a, .lang a, .back a {
  font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase;
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: inline-block; line-height: 0; }
.logo svg { height: 30px; width: auto; }
.logo-small svg { height: 22px; }
.logo-box { fill: var(--ink); }
.logo-letters { fill: var(--paper); }
.top-badge { border: 1.5px solid var(--ink); padding: 6px 10px 5px; white-space: nowrap; }

/* Hero */
.hero { text-align: center; padding-top: 40px; padding-bottom: 72px; }
.display {
  font-family: "Inter Display", "Inter", system-ui, sans-serif; font-weight: 800;
  letter-spacing: -0.025em; line-height: 0.98; margin: 0;
}
.hero h1 { font-size: clamp(44px, 12.5vw, 112px); max-width: 11ch; margin: 0 auto; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34ch; margin: 22px auto 0; }

.push-area { margin: 44px auto 0; }
.push {
  position: relative; display: block; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  width: min(340px, 82vw); aspect-ratio: 300 / 190;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; border-radius: 24px;
}
.push svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.push .cap-window { position: absolute; left: 0; top: 0; width: 100%; height: 75.95%; overflow: hidden; pointer-events: none; }
.push .cap { position: absolute; left: 0; top: 0; width: 100%; height: 131.67%; transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1); }
.push.is-down .cap { transform: translateY(20.82%); transition: transform 0.07s ease-out; }
.push .front { pointer-events: none; }
.push-label { font-weight: 700; font-size: 15px; line-height: 20px; letter-spacing: 0.1em; text-transform: uppercase; margin: 14px 0 0; min-height: 20px; }
.push-note { color: var(--muted); max-width: 30ch; margin: 10px auto 0; }
.push-note:empty { margin: 0; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.store { display: inline-flex; align-items: baseline; gap: 10px; border: 1.5px solid var(--ink); padding: 13px 18px 12px; }
.store span { color: var(--muted); }

/* Sections */
.section { border-top: 1.5px solid var(--ink); padding-top: 34px; padding-bottom: 72px; }
.section > .label { margin: 0 0 26px; }
.section h2 { font-size: clamp(34px, 7vw, 64px); max-width: 16ch; }
.section .intro { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 46ch; margin: 18px 0 0; }

.steps { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid var(--line); padding: 20px 0 22px; display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; }
.step-num { padding-top: 7px; }
.steps h3 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.steps p { margin: 0; grid-column: 2; color: var(--muted); max-width: 38ch; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
  .steps p { grid-column: 1; }
}

.phones {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 18px;
  list-style: none; scrollbar-width: thin;
}
.phones li { scroll-snap-align: center; }
@media (min-width: 980px) { .phones { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 44px 0 0; padding: 0; } }
.phone { border: 9px solid var(--frame); border-radius: 38px; overflow: hidden; background: var(--frame); }
.phone img { border-radius: 29px; width: 100%; }
.phones h3 { font-size: 17px; line-height: 1.3; margin: 18px 0 4px; }
.phones p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.more { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.more li { border-top: 1px solid var(--line); padding: 16px 0; max-width: 62ch; }
.more strong { font-weight: 700; }
.small-print { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 18px 0 0; }

.promises { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.promises li { font-family: "Inter Display", "Inter", sans-serif; font-weight: 800; font-size: clamp(26px, 6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; border-top: 1px solid var(--line); padding: 14px 0 16px; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(4, 1fr); } }

/* Legal pages */
.doc { max-width: 720px; padding-top: 18px; padding-bottom: 80px; }
.doc .lang { margin: 0 0 30px; }
.doc h1 { font-size: clamp(38px, 8vw, 64px); }
.doc .updated { color: var(--muted); margin: 14px 0 0; }
.doc h2 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2; margin: 40px 0 10px; letter-spacing: -0.005em; }
.doc p, .doc li { max-width: 64ch; }
.doc ul { padding-left: 1.1em; }
.doc li { margin: 6px 0; }
.doc .lead { font-size: 19px; margin-top: 26px; }
.back { margin: 48px 0 0; }

/* 404 */
.lost { padding-top: 60px; padding-bottom: 120px; }
.lost h1 { font-size: clamp(48px, 12vw, 104px); }

/* Footer */
.foot { border-top: 1.5px solid var(--ink); padding-top: 26px; padding-bottom: 40px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 18px 0 0; max-width: 72ch; }

@media (prefers-reduced-motion: reduce) {
  .push .cap, .push.is-down .cap { transition: none; }
  .phones { scroll-behavior: auto; }
}
.stores-left { justify-content: flex-start; }
.section h2.label { margin: 0 0 26px; font-family: inherit; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; max-width: none; }
