/* The Daylight look, shared with the app (owner's pick, 4 Dec 2026): cool light ground, navy for the one dark
   panel and for links, one amber button, Hanken Grotesk. It sits on top of the Hi-vis theme in themes.css
   and is switched on by data-look="amber" on <html>. Remove that attribute to get Hi-vis back. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

html[data-theme][data-look] {
  --mf-font-heading: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mf-font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mf-fs-hero: clamp(42px, 4.4vw + 25px, 88px);
  --mf-lh-hero: 1.03;
  --mf-ls-hero: -0.03em;
  --mf-fs-section: clamp(32px, 2.5vw + 22px, 58px);
  --mf-lh-section: 1.08;
  --mf-ls-display: -0.022em;
  --mf-ls-heading: -0.015em;
  --mf-radius: 12px;
  --mf-radius-btn: 10px;
  --mf-bg: #F2F5FA;
  --mf-surface: #FFFFFF;
  --mf-surface-2: #E9EEF7;
  --mf-text: #101318;
  --mf-text-muted: #565D68;
  --mf-border: #E0E3E8;
  --mf-border-strong: #7C838E;
  --mf-placeholder: #E9EEF7;
  --mf-primary: #0F2D5E;
  --mf-primary-hover: #0A2148;
  --mf-primary-tint: #E9EEF7;
  --mf-on-primary: #FFFFFF;
  --mf-accent-tint: #E9EEF7;
  --mf-on-accent: #0F2D5E;
  --mf-accent-border: rgba(15, 45, 94, 0.34);
  --mf-success: #101318;
  --mf-success-tint: #E9EEF7;
  --mf-warning-tint: #E9EEF7;
  --mf-danger-tint: #E9EEF7;
  --mf-numeral: #0F2D5E;
  --mf-rule: #0F2D5E;
  --mf-wm-2: #565D68;
  --mf-focus: 3px solid #0F2D5E;
  --mf-frame-bg: #FFFFFF;
  --mf-top-bg: rgba(255, 255, 255, 0.84);
}
html[data-look="amber"] { --mf-accent: #FFB224; --mf-accent-hover: #F5A000; }

/* dark sections: the app's navy panel, never black */
html[data-theme][data-look] .ink {
  --mf-bg: #0F2D5E;
  --mf-surface: #1B3E78;
  --mf-surface-2: #1B3E78;
  --mf-text: #FFFFFF;
  --mf-text-muted: #C5D0E3;
  --mf-border: rgba(255, 255, 255, 0.16);
  --mf-border-strong: #93A6C7;
  --mf-placeholder: #1B3E78;
  --mf-primary: #FFFFFF;
  --mf-primary-hover: #FFFFFF;
  --mf-primary-tint: #1B3E78;
  --mf-on-primary: #0F2D5E;
  --mf-accent-tint: #1B3E78;
  --mf-accent-border: transparent;
  --mf-success: #FFFFFF;
  --mf-success-tint: #1B3E78;
  --mf-warning: #C5D0E3;
  --mf-warning-tint: #1B3E78;
  --mf-danger-tint: #1B3E78;
  --mf-numeral: var(--mf-accent);
  --mf-rule: var(--mf-accent);
  --mf-wm-2: #C5D0E3;
  --mf-focus: 3px solid #FFFFFF;
  --mf-frame-bg: #FFFFFF;
  --mf-shot-filter: none;
  --mf-top-bg: rgba(255, 255, 255, 0.84);
}
html[data-theme][data-look="amber"] .ink { --mf-accent: #FFB224; --mf-accent-hover: #FFC24F; }

/* first screen and header: light, like the app */
html[data-theme][data-look] .hero,
html[data-theme][data-look] .top,
html[data-theme][data-look].js .top.is-clear {
  --mf-bg: #F2F5FA;
  --mf-surface: #FFFFFF;
  --mf-surface-2: #E9EEF7;
  --mf-text: #101318;
  --mf-text-muted: #565D68;
  --mf-border: #E0E3E8;
  --mf-border-strong: #7C838E;
  --mf-primary: #0F2D5E;
  --mf-primary-hover: #0A2148;
  --mf-on-primary: #FFFFFF;
  --mf-accent-border: rgba(15, 45, 94, 0.34);
  --mf-wm-2: #565D68;
  --mf-focus: 3px solid #0F2D5E;
  color: var(--mf-text);
}
html[data-theme][data-look="amber"] .hero { --mf-accent: #FFB224; --mf-accent-hover: #F5A000; }
html[data-look] .top { background-color: rgba(255, 255, 255, 0.84); }
html[data-look].js .top.is-clear { background-color: transparent; }

html[data-look] .hero { min-height: 0; align-items: stretch;
  background: radial-gradient(70vw 80vh at 6% -10%, rgba(118, 164, 240, 0.34), transparent 70%), linear-gradient(180deg, #EEF3FB, #F2F5FA); }
html[data-look] .hero-in { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--mf-space-7);
  padding-top: calc(var(--mf-header-h) + var(--mf-space-7)); padding-bottom: var(--mf-space-8); }
/* the one amber button: same size and same navy ink wherever it appears */
html[data-look] .btn-main { min-height: 60px; padding-inline: 28px; }
html[data-look] .btn-main, html[data-look] .btn-main:hover { color: #0F2D5E; }
html[data-look] .hero .proof { margin-top: var(--mf-space-5); max-width: 30em; color: var(--mf-text-muted); }
html[data-look] .hero .proof b { color: var(--mf-text); font-weight: 600; font-variant-numeric: tabular-nums; }
html[data-look] .hero-shot { width: 100%; height: auto; border-radius: var(--mf-radius); border: 1px solid rgba(16, 26, 48, 0.1);
  box-shadow: 0 1px 2px rgba(16, 26, 48, 0.06), 0 14px 28px -10px rgba(16, 26, 48, 0.16), 0 44px 88px -28px rgba(16, 26, 48, 0.26); }
@media (min-width: 1000px) {
  html[data-look] .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(100svh, 860px); }
  html[data-look] .hero-shot { width: 150%; max-width: none; }
}
html[data-look] .top .btn-second { background: none; border-color: transparent; padding-inline: 8px; font-weight: 500; }
html[data-look] .stack { margin-top: 0; }

/* the sentence under the first screen, the four numbers, and the folded table */
html[data-look] .stage { padding: var(--mf-space-section) 0; }
html[data-look] .split { margin-top: 0; }
.nums-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mf-space-7) var(--mf-space-5); margin: var(--mf-space-8) 0 0; padding: var(--mf-space-7) 0 0; list-style: none; border-top: var(--mf-line); }
.nums-row .num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.2em; font: 600 var(--mf-fs-section)/1 var(--mf-font-heading); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nums-row .num span:last-child { font-size: var(--mf-fs-body); line-height: 1.3; letter-spacing: 0; color: var(--mf-text-muted); }
.nums-row p + p { margin-top: var(--mf-space-3); max-width: 16em; color: var(--mf-text-muted); }
@media (min-width: 900px) { .nums-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.all-parts summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--mf-primary); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.all-parts[open] summary { margin-bottom: var(--mf-space-5); }
.legend dd b { color: var(--mf-text); font-weight: 600; }
a, button, summary { touch-action: manipulation; }
body { -webkit-tap-highlight-color: transparent; }
@media print { .all-parts > * { display: block; } }

/* Type: six sizes (hero, section, sub-heading, lead, body, small) plus the wordmark. */
html[data-theme][data-look] { --mf-fs-caption: 16px; --mf-fs-statement: var(--mf-fs-h2); }
html[data-look] .who h2 { font-size: var(--mf-fs-section); line-height: var(--mf-lh-section); letter-spacing: var(--mf-ls-display); }
html[data-look] .steps > li::before { font-size: var(--mf-fs-section); }
html[data-look] .pilot .lead { max-width: 30em; }

/* Motion: everything under 300ms. Reduced motion keeps the 150ms values in tokens.css. */
@media (prefers-reduced-motion: no-preference) {
  html[data-theme][data-look] { --mf-dur-normal: 240ms; --mf-dur-slow: 260ms; --mf-dur-crawl: 280ms; --mf-stagger: 50ms; }
}

/* Hover feedback on the quiet controls. */
.faq-q { transition: color 150ms ease; }
@media (hover: hover) {
  .faq-q:hover { color: var(--mf-primary); }
  .all-parts summary:hover, .copy:hover { text-decoration-thickness: 2px; }
}

/* Phone: the step screenshot is not pinned (it took a third of the screen and hid the step headings),
   and the fixed bottom button is the smaller of the two sizes. */
@media (max-width: 959px) {
  html[data-look].js .pane { position: static; padding: 0; border-bottom: 0; background: none; }
}
html[data-look] .btn-main.stick { min-height: 48px; }

/* Phone: screenshots are shown larger and cropped from the top left, so the app can be read
   instead of shrunk to a thumbnail. */
@media (max-width: 699px) {
  html[data-look] .hero-shot { width: 185%; max-width: none; }
  html[data-look] .crop { aspect-ratio: 4 / 3; }
  html[data-look] .crop img { width: 190%; margin-left: 0; }
}
html[data-look] .top .btn { white-space: nowrap; }
/* Lines on the navy panel are quiet, so amber stays on the button alone. */
html[data-theme][data-look] .ink { --mf-rule: rgba(255, 255, 255, 0.34); }
