/* The landing page at www.onreport.app. Same tokens as the app (src/styles.css), dark only. */
:root {
  --bg: #07090e;
  --surface: #161b26;
  --raised: #212836;
  --fg: #f4f6fa;
  --muted: #a3acbf;
  --line: #343d52;
  --accent: #6aa6ff;
  --ink: #071018;
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

.top { max-width: 1040px; margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; min-width: 0; max-width: 100%; }
.brand img { border-radius: 8px; }
.brand span { min-width: 0; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.top nav a { color: var(--muted); font-size: 15px; }
.top nav a:hover { color: var(--fg); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 64px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; }
h2 { font-size: 28px; font-weight: 600; margin-bottom: 20px; }

.hero { padding: 56px 0 32px; }
.kicker { color: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; max-width: 100%; overflow-wrap: break-word; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 700; max-width: 14ch; }
.lead { font-size: 19px; color: var(--muted); max-width: min(60ch, 100%); margin-top: 20px; overflow-wrap: break-word; }
/* The promise that sets On Report apart: no airline login, ever (Hiram, 1 Nov 2026). */
.lead strong { color: var(--fg); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; min-width: 0; max-width: 100%; }
/* A flex item's min-width is the whole line, so "Join the iPhone and iPad beta" stretched the page at 320 px and 200% text. */
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; min-height: 46px; height: auto; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 16px; border: 1px solid var(--line); white-space: normal; text-align: center; overflow-wrap: break-word; }
.button.primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button.primary:hover { text-decoration: none; filter: brightness(1.08); }
.button.quiet { color: var(--muted); }
.note { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 100%; overflow-wrap: break-word; }
.note strong { color: var(--fg); font-weight: 600; }

.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 0; padding-top: 8px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); display: block; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
/* Narrower than a laptop: a sideways swipe, one screen and the edge of the next, so the page is not five screens of
   pictures before the first word (Hiram, 20 Oct 2026). */
@media (max-width: 900px) {
  .shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 62vw; max-width: 300px; scroll-snap-align: start; }
  /* A soft fade on the right edge says there are more screens to swipe to (site review, 31 Oct 2026). */
  .shots { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cards article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.cards h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.cards p { color: var(--muted); font-size: 15px; }

.lead-line { color: var(--muted); font-size: 17px; max-width: 64ch; margin-bottom: 16px; }
.airlines ul, .tiers { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; max-width: 70ch; }
.airlines li, .tiers li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; color: var(--muted); font-size: 16px; }
.airlines li strong, .tiers li strong { color: var(--fg); font-weight: 600; }

.privacy .sentence { font-size: clamp(22px, 3.5vw, 30px); font-weight: 500; max-width: 30ch; margin-bottom: 16px; }
.privacy p:not(.sentence), .pro p { color: var(--muted); font-size: 17px; max-width: 64ch; }
.privacy .points { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; max-width: 64ch; color: var(--muted); font-size: 17px; }
.privacy .points strong { color: var(--fg); font-weight: 600; }

footer { border-top: 1px solid var(--line); }
footer { max-width: 1040px; margin: 0 auto; padding: 28px 16px 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; min-width: 0; }
footer p { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
footer nav a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .hero { padding-top: 32px; }
  .button { width: 100%; justify-content: center; }
  section { padding: 36px 0; }
}

/* Folds: one glanceable line, details behind a tap. */
details.more { margin-top: 0.5rem; }
details.more summary { cursor: pointer; color: var(--accent); min-height: 44px; display: flex; align-items: center; gap: 0.4em; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "▸"; display: inline-block; transition: transform 0.15s; }
details.more[open] summary::before { transform: rotate(90deg); }
details.more p { margin: 0.25rem 0 0; }
/* Which airlines: the list behind one button, since each visitor needs only their own (Priya's review, 31 Oct 2026). */
details.fold { margin-top: 16px; }
details.fold > summary { display: inline-flex; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); font-weight: 500; }
details.fold[open] > summary { margin-bottom: 4px; }
/* Each airline's state at a glance, as the line above the button says it (Hiram, 31 Oct 2026). */
.pill { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); vertical-align: 1px; }
.pill.ok { color: var(--accent); border-color: var(--accent); }
/* The second ask at the bottom: after reading, join without scrolling back up. */
.cta { text-align: left; }
.cta p { color: var(--muted); font-size: 17px; }
/* 320 px phone with text at 200% (page zoom): the layout is about 160 CSS px wide. The beta sentence (.lead) drops to
   body size so it no longer fills the screen, long words wrap, and nothing scrolls sideways (WCAG 1.4.4 and 1.4.10).
   Wider than 240 px, i.e. every phone at 100%, nothing here applies (Hiram's flag via Marcus, 13 Nov 2026). */
@media (max-width: 240px) {
  body { overflow-wrap: anywhere; }
  .beta .app { flex-wrap: wrap; }
  .beta .app strong { overflow-wrap: normal; }
  .lead { font-size: 16px; line-height: 1.4; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .scan { flex-wrap: wrap; padding: 12px; }
  .scan .tile { max-width: 100%; }
  .scan .qr { width: 100%; height: auto; }
  .scan p { flex: 1 1 100%; }
  /* .button sets break-word for wider screens, which keeps a step's "TestFlight" button from shrinking here. */
  .button { overflow-wrap: anywhere; }
}
