@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/literata-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/literata-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: oklch(0.978 0.006 110);
  --surface: oklch(0.955 0.01 110);
  --ink: oklch(0.22 0.028 110);
  --muted: oklch(0.45 0.022 110);
  --primary: oklch(0.42 0.09 110);
  --primary-ink: oklch(0.985 0.004 110);
  --accent: oklch(0.5 0.12 35);
  --hairline: oklch(0.88 0.012 110);
  --focus: oklch(0.55 0.12 110);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: Literata, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Cascadia Mono", ui-monospace,
    monospace;
  --measure: 65ch;
  --space-1: 0.35rem;
  --space-2: 0.7rem;
  --space-3: 1.15rem;
  --space-4: 1.85rem;
  --space-5: 3rem;
  --space-6: 4.85rem;
  --space-7: 7.5rem;
  --radius: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(
      120% 80% at 18% 12%,
      color-mix(in oklch, var(--primary) 7%, transparent),
      transparent 55%
    ),
    radial-gradient(
      90% 60% at 88% 8%,
      color-mix(in oklch, var(--accent) 4%, transparent),
      transparent 50%
    ),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) clamp(1.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--primary);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 550;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  min-height: calc(100dvh - 4.5rem);
  padding: clamp(2.5rem, 7vh, 5.5rem) clamp(1.25rem, 4vw, 3.5rem)
    clamp(2rem, 5vh, 4rem);
}

.hero-copy {
  max-width: 28rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0 0 var(--space-4);
  color: var(--ink);
  text-wrap: balance;
}

.hero-claim {
  font-family: var(--font-ui);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}

.hero-support {
  margin: 0 0 var(--space-5);
  color: var(--muted);
  max-width: 36ch;
}

.day-plane {
  align-self: stretch;
  min-height: 18rem;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(
      160deg,
      color-mix(in oklch, var(--surface) 70%, var(--bg)),
      var(--bg)
    );
  padding: var(--space-3);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-3);
  overflow: hidden;
}

.day-plane-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 4px;
  min-height: 12rem;
}

.day-cell {
  border-radius: 2px;
  background: color-mix(in oklch, var(--primary) 12%, var(--bg));
  opacity: 0;
  transform: translateY(6px);
  animation: cell-in 700ms var(--ease) forwards;
}

.day-cell.on {
  background: var(--primary);
}

.day-cell.warn {
  background: var(--accent);
}

.day-plane-caption {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  min-width: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 140ms var(--ease), background-color 180ms var(--ease),
    color 180ms var(--ease), border-color 180ms var(--ease);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.button-primary:hover {
  background: color-mix(in oklch, var(--primary) 88%, black);
  color: var(--primary-ink);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.button-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  padding: var(--space-6) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}

.section-narrow {
  max-width: var(--measure);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.section p {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  max-width: var(--measure);
}

.section p strong {
  color: var(--ink);
  font-weight: 650;
}

.fact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  background: var(--surface);
}

.fact-intro p:last-child {
  margin-bottom: 0;
}

.ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.ledger li {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.ledger-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.ledger-body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  background: var(--ink);
  color: var(--bg);
}

.cta-band h2 {
  color: var(--bg);
  margin-bottom: var(--space-2);
}

.cta-band p {
  color: color-mix(in oklch, var(--bg) 72%, transparent);
  margin: 0;
  max-width: 42ch;
}

.cta-band .button-primary {
  background: var(--bg);
  color: var(--ink);
}

.cta-band .button-secondary {
  color: var(--bg);
  border-color: color-mix(in oklch, var(--bg) 35%, transparent);
}

.cta-band .button-secondary:hover {
  border-color: var(--bg);
  color: var(--bg);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.legal-main {
  padding: var(--space-6) clamp(1.25rem, 4vw, 3.5rem) var(--space-7);
}

.legal-main article {
  max-width: var(--measure);
}

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 var(--space-2);
}

.legal-meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 var(--space-5);
}

.legal-main h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: var(--space-5) 0 var(--space-2);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main ul {
  padding-left: 1.2rem;
}

.legal-main li + li {
  margin-top: var(--space-1);
}

@keyframes cell-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero,
  .fact-band,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-5);
  }

  .day-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    min-height: 10rem;
  }

  .ledger li {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .cta-band .cta-row {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .day-cell {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .button {
    transition: none;
  }
}
