/* Michigan navy + maize. Light by default, dark when the system asks for it. */
:root {
  --navy: #00274c;
  --maize: #ffcb05;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --text: #0e1a2b;
  --muted: #55627a;
  --border: #e7e3d8;
  --accent: var(--navy);
  --accent-ink: #ffffff;
  --hl: rgba(255, 203, 5, 0.55);
  --shadow: 0 1px 2px rgba(14, 26, 43, 0.04), 0 8px 24px rgba(14, 26, 43, 0.06);
  --radius: 14px;
  --max: 1040px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071426;
    --surface: #0d1d33;
    --text: #edf2f9;
    --muted: #9dabc1;
    --border: #1c2e4a;
    --accent: var(--maize);
    --accent-ink: #071426;
    --hl: rgba(255, 203, 5, 0.28);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--maize); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--navy); color: var(--maize); font-size: 13px; font-weight: 800;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--maize) 35%, transparent);
}
.nav nav { display: flex; gap: 4px; }
.nav nav a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
}
.nav nav a:hover { color: var(--text); background: var(--surface); }

main, .footer { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: center; }
.portrait {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--border); box-shadow: 10px 10px 0 var(--maize), var(--shadow);
}
.eyebrow {
  font: 500 13px/1.4 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.02em; color: var(--muted); margin: 0 0 18px;
}
h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.07; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 22px; max-width: 16ch;
}
.hl { background: linear-gradient(transparent 58%, var(--hl) 58%); padding: 0 2px; }
.lede { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.1); }

.now {
  margin-top: 44px; max-width: 640px; padding: 18px 20px;
  border: 1px solid var(--border); border-left: 4px solid var(--maize); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.now p { margin: 0; }
.now-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px !important;
  font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }

/* Sections */
.section { padding: 56px 0 8px; scroll-margin-top: 70px; }
.section-head { margin-bottom: 22px; }
.section-head.sub { margin-top: 44px; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.section-head p { color: var(--muted); margin: 0; }
h3 { font-size: 19px; letter-spacing: -0.01em; margin: 0; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card p { margin: 10px 0 0; }
.card-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.tags { font: 500 12.5px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); margin: 0 !important; }
.feature { margin-bottom: 16px; }
.feature h3 { font-size: 23px; }

.metrics { list-style: none; padding: 0; margin: 20px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metrics li { border-radius: 10px; padding: 14px; background: color-mix(in srgb, var(--maize) 12%, var(--surface)); }
.metrics strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.metrics span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 4px; }

.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: 1fr 1fr; }

.links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px !important; }
.links a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); }
@media (prefers-color-scheme: dark) { .links a { color: var(--maize); } }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Game */
.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.shots { display: grid; gap: 10px; }
.shots img { border-radius: 10px; border: 1px solid var(--border); aspect-ratio: 1000 / 586; object-fit: cover; }
.soon { font-size: 14px; color: var(--muted); }

/* Principles */
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: p; }
.principles li { counter-increment: p; padding: 22px; border-top: 3px solid var(--maize); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.principles li::before { content: "0" counter(p); font: 500 13px "JetBrains Mono", monospace; color: var(--muted); }
.principles h3 { margin-top: 6px; }
.principles p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

.about-body { max-width: 62ch; }
.about-body p { margin: 0 0 14px; }

/* Footer */
.footer { padding: 64px 24px 40px; border-top: 1px solid var(--border); margin-top: 56px; color: var(--muted); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.footer-links a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer p { margin: 0; }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; }
  .nav nav { display: none; }
  main, .footer { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .portrait { order: -1; width: 112px; border-radius: 50%; box-shadow: 0 0 0 3px var(--maize); }
  .lede { font-size: 17px; }
  .metrics, .grid.two, .principles, .game { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
