:root {
  --navy: #0F2340;
  --navy-deep: #081428;
  --gold: #C6A15B;
  --gold-bright: #E0BE7A;
  --cream: #F5F1E8;
  --ink: #1B2430;
  --slate: #5B6B7C;
  --line: rgba(15, 35, 64, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5em;
}

a { color: var(--navy); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  background: var(--navy);
  padding: 20px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--cream);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand span { color: var(--gold-bright); }

/* Ledger rule - the signature motif */
.ledger {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 48px 0;
  color: var(--gold);
}
.ledger .tick {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.ledger .rule {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg, var(--line), var(--line) 6px, transparent 6px, transparent 12px
  );
}
.ledger .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  max-width: 720px;
}
.hero .lede {
  font-size: 20px;
  color: var(--slate);
  max-width: 620px;
  margin: 20px 0 32px;
}
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.stat {
  font-family: 'IBM Plex Mono', monospace;
}
.stat .num {
  font-size: 32px;
  color: var(--navy);
  font-weight: 600;
}
.stat .cap {
  font-size: 13px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section { padding: 40px 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}
.card .idx {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--navy-deep); }
.btn.gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn.gold:hover { background: var(--gold-bright); }

footer.site {
  background: var(--navy-deep);
  color: rgba(245,241,232,0.6);
  padding: 32px 0;
  margin-top: 64px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-row { gap: 24px; }
}
