/* The OnlyLanes site. Brand: Geist (headings 600 to 700, tight tracking) and
   Geist Mono for labels and anything a machine made; Ink, Tile, Paper,
   Surface, Line, Muted, and Lane Yellow for one highlight on a page. Never
   yellow text or thin yellow lines on a light background; text on yellow is
   always Ink. Light by default. No script: everything here is CSS. */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist.19f9c92546.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.684ad5b531.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --tile: #171717;
  --paper: #ffffff;
  --surface: #fafafa;
  --line: #e5e5e5;
  --muted: #737373;
  --yellow: #ffc400;
  /* The neutral steps between Ink and Muted the site also uses: body copy,
     a filled button's hover, a finished card in the board picture; and the
     app's own green for a live card (web/src/style.css, --success). */
  --body: #404040;
  --hover: #262626;
  --done: #d4d4d4;
  --live: oklch(0.527 0.154 150.069);
  /* On Ink and Tile: Muted is too dark there (3.7:1), so a lighter grey. */
  --muted-on-dark: #a3a3a3;
  --line-on-dark: #2e2e2e;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: 20px;
  --max: 1200px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

*, *::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(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .board :focus-visible { outline-color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 8px; }

/* --- type --- */
.label {
  font: 500 13px/20px var(--mono);
  color: var(--muted);
  letter-spacing: 0;
}
.display {
  margin-top: 16px;
  font-weight: 700;
  font-size: clamp(44px, 9.4vw, 88px);
  line-height: 1.045; /* 92 at 88 */
  letter-spacing: -0.04em;
  max-width: 13ch;
  text-wrap: balance;
}
.headline {
  margin-top: 12px;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.167; /* 56 at 48 */
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.lead { margin-top: 24px; max-width: 36rem; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--body); }
.body-lg { margin-top: 16px; max-width: 36rem; font-size: 18px; line-height: 1.6; color: var(--body); }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }

/* "Nothing sleeps.": a thick yellow underline under Ink text, never yellow text. */
.mark-under {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

/* --- buttons and links --- */
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 12px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.button:hover { background: var(--hover); }
.button--outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button--outline:hover { background: var(--surface); }
.button--small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.link-quiet { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; font-weight: 500; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }

/* --- header --- */
.header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.header__nav { display: none; gap: 4px; margin-left: 24px; }
.header__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.header__nav a:hover { color: var(--ink); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
@media (max-width: 380px) { .button--small { padding: 0 12px; } .link-quiet { padding: 0 6px; } }
@media (min-width: 900px) { .header__nav { display: flex; } }

/* The lockup: the mark, then the name in Geist 600 at -3%; the gap is one
   lane's width (80 of the small mark's 512, so 5 px at 32 px). */
.lockup { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.lockup img { width: 32px; height: 32px; }
/* On a narrow phone the header holds the mark alone, so Sign in and
   Request access fit beside it; the link keeps its name (aria-label). */
@media (max-width: 419px) { .header .lockup span { display: none; } }

/* --- hero --- */
.hero { padding: 48px 0 64px; }
@media (min-width: 768px) { .hero { padding: 96px 0 96px; } }

/* The board in the hero: Tile, lanes, white cards. On a phone it shows the
   two middle lanes; the others join as the screen widens. */
.board { margin-top: 56px; background: var(--tile); border-radius: 24px; padding: 16px; }
@media (min-width: 768px) { .board { margin-top: 72px; padding: 24px; } }
.board__lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lane { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lane:first-child, .lane:last-child { display: none; }
@media (min-width: 768px) {
  .board__lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .lane:first-child { display: flex; }
}
@media (min-width: 1024px) {
  .board__lanes { grid-template-columns: 1fr 1fr 1.2fr 1fr; }
  .lane:last-child { display: flex; }
}
.lane__name { display: flex; justify-content: space-between; padding: 4px 4px 2px; font-size: 12px; line-height: 16px; color: var(--muted-on-dark); }
.card { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 20px; font-weight: 500; }
.card--done { background: var(--done); }
.card__meta { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; line-height: 16px; color: var(--muted); font-weight: 400; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.card__shots { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.card__shots span { aspect-ratio: 3 / 4; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.card__accept { margin-top: 10px; text-align: center; padding: 8px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 13px; }

/* --- sections --- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--paper); border-top-color: var(--ink); }
.section--ink .label, .section--ink .body-lg { color: var(--muted-on-dark); }

.steps { margin-top: 48px; display: grid; gap: 32px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { padding-top: 20px; border-top: 1px solid var(--ink); }
.step__n { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.step p, .pillar p:not(.label), .sources p { margin-top: 8px; color: var(--body); }

.pillars { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.pillar h3 { margin-top: 12px; }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; } }
.sources { border-top: 1px solid var(--line); }
.sources li { padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .sources li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; }
  .sources p { margin-top: 0; }
}
.sources h3 { font-size: 18px; }

.stats { margin-top: 56px; display: grid; gap: 1px; background: var(--line-on-dark); border: 1px solid var(--line-on-dark); border-radius: 20px; overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { background: var(--ink); padding: 28px; }
.stats dt { font-weight: 600; font-size: 36px; line-height: 44px; letter-spacing: -0.02em; }
.stats dd { margin-top: 8px; color: var(--muted-on-dark); }

.faq { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq { grid-template-columns: 5fr 7fr; gap: 64px; } }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 18px; line-height: 26px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; font: 400 24px/1 var(--mono); color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 20px; max-width: 40rem; color: var(--body); }

.cta { background: var(--surface); }
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; }
.cta .button { margin-top: 32px; }

/* --- footer --- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 8px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.footer__nav a:hover { color: var(--ink); }
.footer__legal { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* Shown only in a window of the app installed from onlylanes.com, before it
   moved: the home-screen icon now opens this site. */
.moved { display: none; }
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .moved { display: block; margin: 0; padding: 12px 16px; background: var(--ink); color: var(--paper); font-size: 15px; line-height: 22px; text-align: center; }
  .moved a { color: var(--paper); font-weight: 600; text-decoration: underline; }
}
