:root {
  --ground: #FAFAFA;
  --ink: #111111;
  --border: rgba(17,17,17,0.14);
}
html[data-theme="dark"] {
  --ground: #111111;
  --ink: #FAFAFA;
  --border: rgba(250,250,250,0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  transition: background .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
.mono { font-family: 'Space Mono', monospace; font-variant-numeric: tabular-nums; }
.display { font-family: 'Space Grotesk', sans-serif; }
.hairline { border-bottom: 1px solid var(--border); }

nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  background: var(--ground);
}
.wordmark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.navlinks { display: flex; gap: 16px; align-items: center; font-size: 13px; white-space: nowrap; }
.navlinks span { opacity: 0.4; }
#toggle {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 6px 14px;
  cursor: pointer;
  margin-left: 8px;
}
#toggle:focus-visible, a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.hero { padding: 100px 56px 72px; }
.eyebrow { font-size: 12px; letter-spacing: 0.08em; opacity: 0.5; margin-bottom: 24px; }
h1 {
  font-weight: 700;
  font-size: 58px;
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 820px;
  text-wrap: balance;
}
.sub { font-size: 16px; line-height: 1.6; max-width: 560px; opacity: 0.65; margin: 0; }

.stage-row { display: flex; gap: 48px; padding: 44px 56px; }
.stage-label-col { flex: 0 0 200px; }
.stage-number { font-size: 13px; opacity: 0.4; margin-bottom: 6px; }
.stage-label { font-weight: 700; font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.stage-desc { font-size: 13px; opacity: 0.55; line-height: 1.5; }

.idea-list { flex: 1; display: flex; flex-direction: column; }
.idea-row { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.idea-row:last-child { border-bottom: none; }
.idea-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.idea-blurb { font-size: 13px; opacity: 0.55; line-height: 1.5; max-width: 520px; }
.idea-date { font-size: 12px; opacity: 0.4; white-space: nowrap; }
.idea-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.idea-days { font-size: 11px; opacity: 0.35; white-space: nowrap; }
.idea-empty { font-size: 13px; opacity: 0.4; padding: 16px 0; font-style: italic; }

footer { padding: 32px 56px; font-size: 11px; opacity: 0.4; }

/* Stage detail page: homepage's stage-row pattern at standalone scale
   (fallback per design handoff — not separately mocked) */
.stage-row.detail { flex-direction: column; gap: 24px; padding: 72px 56px; }
.stage-row.detail .stage-label-col { flex: none; max-width: 640px; }
.stage-row.detail .stage-number { font-size: 15px; }
.stage-row.detail .stage-label { font-size: 40px; margin-bottom: 12px; }
.stage-row.detail .stage-desc { font-size: 15px; max-width: 480px; }
.stage-row.detail .idea-list { max-width: 720px; }

@media (max-width: 768px) {
  .stage-row { flex-direction: column; gap: 16px; }
  .stage-label-col { flex: none; }
  .stage-row.detail { padding: 40px 24px; }
  .stage-row.detail .stage-label { font-size: 32px; }
  .navlinks a:not(:last-child) { display: none; }
  .navlinks span { display: none; }
  nav, .hero, .stage-row, footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 56px; padding-bottom: 40px; }
  h1 { font-size: 36px; }
}
