:root {
  --navy: #1B2A44;
  --navy-2: #24365A;
  --cream: #F4F1EA;
  --tan: #ECE7DC;
  --line: #DDD6C8;
  --ink-2: #3A4A63;
  --muted: #55627A;
  --gold: #E8B98F;
  --accent: #B23A12;
  --serif: 'Bitter', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--sans); }
a { color: var(--navy); }
a:hover { color: #9A3412; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 64px 0; }
.dark { background: var(--navy); color: var(--cream); }
.tan { background: var(--tan); }

.site-header { background: var(--navy); color: var(--cream); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { text-decoration: none; color: var(--cream); display: flex; align-items: baseline; gap: 10px; }
.brand:hover { color: var(--cream); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 24px; letter-spacing: .5px; }
.brand-tag { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a:hover { color: var(--gold); }
.btn, .nav a.btn { background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.btn:hover { color: #fff; background: #962F0E; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.eyebrow.light { color: var(--gold); }
h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; margin: 12px 0 16px; max-width: 900px; }
h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; margin: 12px 0 16px; }
h2.big { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; max-width: 860px; }
.lede { font-size: 19px; line-height: 1.55; max-width: 720px; margin: 0 0 40px; color: var(--ink-2); }
.lede.light { color: #C9D2E0; font-size: 18px; }
.body { font-size: 17px; line-height: 1.65; margin: 0 0 14px; color: var(--ink-2); }
.note { font-size: 14px; color: var(--muted); margin: 20px 0 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h2 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }
.card .unit { font-size: 13px; color: var(--muted); }
.card .value { font-family: var(--serif); font-weight: 800; font-size: 54px; line-height: 1; font-variant-numeric: tabular-nums; }
.change-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.pill { background: var(--tan); font-weight: 700; padding: 5px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.since { color: var(--muted); }
.spark { display: block; width: 100%; height: 56px; }
.card .src { font-size: 12px; color: var(--muted); border-top: 1px solid var(--tan); padding-top: 10px; }
.card .src a { color: var(--muted); }

.planks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plank { background: var(--navy-2); border-radius: 10px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plank-top { display: flex; align-items: center; gap: 14px; color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 15px; }
.plank h3 { font-family: var(--serif); font-weight: 800; font-size: 28px; margin: 0; }
.plank p { font-size: 16px; line-height: 1.6; margin: 0; color: #DCE3EE; }
.plank ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: #DCE3EE; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.photo { background: #E3DCCD; border-radius: 10px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 600; }

.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.signup input { flex: 1 1 280px; max-width: 420px; min-height: 52px; padding: 0 16px; font-size: 16px; font-family: inherit; border: 1px solid #B9B0A0; border-radius: 6px; background: #fff; color: var(--navy); }
.signup button { min-height: 52px; padding: 0 26px; font-size: 16px; font-weight: 700; font-family: inherit; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
.signup button:hover { background: #962F0E; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-footer { background: var(--navy); color: #C9D2E0; padding: 32px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.6; }

@media (max-width: 600px) {
  .nav { gap: 14px; }
  .card .value { font-size: 44px; }
}
