/* TheCFObox — shared styles
   Identity: ledger ink, ledger green, greenbar, paper, red ink.
   Type: Charter (display + body), Archivo Narrow (labels). */

:root {
  --ink:        #14202E;
  --ink-2:      #1B2836;
  --ink-soft:   #46525F;
  --ink-faint:  #7A848F;
  --ledger:     #2F6B4F;
  --ledger-mid: #4C8A6B;
  --bar:        #EBF1EC;
  --bar-line:   #C8DACE;
  --paper:      #FCFCFA;
  --rule:       #D6D9D2;
  --redink:     #A8342A;

  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Charter, "Bitstream Charter", "Charis SIL", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ledger); text-decoration: none; }
a:hover { text-decoration: underline; }

.util {
  font-family: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}

.eyebrow { font-size: 12px; color: var(--ledger); display: block; margin-bottom: 14px; }
.eyebrow-light { color: var(--ledger-mid); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ── nav ───────────────────────────────────────────── */
nav {
  background: var(--ink);
  height: 68px;
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 50;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { display: block; }
.brand-word {
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: #fff; line-height: 1;
}
.brand-word .the { color: var(--ledger-mid); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #9BA6B2; font-size: 14px; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  border: 1px solid var(--ledger-mid);
  color: #fff !important;
  padding: 7px 16px; border-radius: 3px;
}
.nav-cta:hover { background: var(--ledger); border-color: var(--ledger); }

/* ── hero ──────────────────────────────────────────── */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-size: 52px; line-height: 1.06; font-weight: 700;
  letter-spacing: -0.022em; max-width: 15ch; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--redink); }
.hero .deck {
  font-size: 21px; line-height: 1.45; color: var(--ink-soft);
  max-width: 56ch; margin-bottom: 30px;
}
.hero-note { font-size: 14px; color: var(--ink-faint); margin-top: 16px; }

.btn {
  display: inline-block; background: var(--ledger); color: #fff !important;
  padding: 14px 30px; border-radius: 3px; font-size: 16px; font-weight: 700;
}
.btn:hover { background: #275A42; text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--rule); font-weight: 400;
}
.btn-ghost:hover { background: var(--bar); border-color: var(--bar-line); }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: #EFEFEA; }

/* ── sections ──────────────────────────────────────── */
section { padding: 68px 0; }
section.tint { background: var(--bar); border-top: 1px solid var(--bar-line); border-bottom: 1px solid var(--bar-line); }
section.dark { background: var(--ink); color: #C4CEC8; }
section.dark h2, section.dark h3 { color: #fff; }

h2 {
  font-size: 34px; font-weight: 700; letter-spacing: -0.018em;
  line-height: 1.15; margin-bottom: 14px;
}
.sub { font-size: 18px; color: var(--ink-soft); max-width: 60ch; margin-bottom: 42px; }
section.dark .sub { color: #9FAFA6; }

/* ── channel doors ─────────────────────────────────── */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.door {
  background: #fff; border: 1px solid var(--rule); border-radius: 4px;
  padding: 30px 26px 26px; display: flex; flex-direction: column;
  border-top: 3px solid var(--ledger);
}
.door:hover { border-color: var(--bar-line); border-top-color: var(--ledger); text-decoration: none; }
.door .who { font-size: 12px; color: var(--ledger); margin-bottom: 12px; }
.door h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.01em; }
.door p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.door .go { font-size: 14px; font-weight: 700; color: var(--ledger); }

/* ── generic grids ─────────────────────────────────── */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-head {
  border-top: 2px solid var(--ledger); padding-top: 12px;
  font-size: 12px; margin-bottom: 10px;
}
section.dark .col-head { border-top-color: var(--ledger-mid); }
.three p, .two p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
section.dark .three p { color: #9FAFA6; }

/* ── tick lists ────────────────────────────────────── */
ul.ticks { list-style: none; }
ul.ticks li {
  position: relative; padding-left: 26px; margin-bottom: 13px;
  font-size: 16px; color: var(--ink-soft); line-height: 1.5;
}
ul.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--ledger); font-weight: 700;
}
ul.ticks li b { color: var(--ink); }
section.dark ul.ticks li { color: #9FAFA6; }
section.dark ul.ticks li b { color: #fff; }
section.dark ul.ticks li::before { color: var(--ledger-mid); }

/* ── pull ──────────────────────────────────────────── */
.pull {
  background: var(--bar); border-left: 4px solid var(--ledger);
  padding: 26px 30px; margin: 36px 0;
}
.pull p.big { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; }
.pull p.small { font-size: 16px; color: var(--ink-soft); margin-top: 10px; }

/* ── phases ────────────────────────────────────────── */
table.phases { width: 100%; border-collapse: collapse; }
table.phases th {
  font-family: "Archivo Narrow", Arial, sans-serif; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 11px; font-weight: 700; color: var(--ink-soft);
  text-align: left; padding: 0 14px 8px; border-bottom: 1px solid var(--bar-line);
}
table.phases td { padding: 15px 14px; font-size: 15.5px; vertical-align: top; border-bottom: 1px solid var(--bar-line); color: var(--ink-soft); }
table.phases tr.stripe td { background: var(--bar); }
table.phases td.ph {
  font-family: "Archivo Narrow", Arial, sans-serif; text-transform: uppercase;
  letter-spacing: 0.07em; font-weight: 700; font-size: 13px; color: var(--ledger);
  white-space: nowrap; width: 120px;
}
table.phases td.win { width: 130px; font-weight: 700; color: var(--ink); white-space: nowrap; }
table.phases td b { color: var(--ink); }

/* ── contact ───────────────────────────────────────── */
.contact { text-align: center; }
.contact h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.contact .sub { margin-left: auto; margin-right: auto; text-align: center; }
.contact-alt { margin-top: 20px; font-size: 15px; color: #7E8C84; }
.contact-alt a { color: var(--ledger-mid); }

/* ── footer ────────────────────────────────────────── */
footer { background: var(--ink); padding: 30px 0; border-top: 1px solid #26313D; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer p, footer a { color: #6D7883; font-size: 13px; }
footer a:hover { color: #9BA6B2; text-decoration: none; }
.footer-links { display: flex; gap: 22px; }

/* ── legal documents ───────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 32px 88px; }
.doc h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.doc .effective { color: var(--ink-faint); font-size: 14px; margin-bottom: 38px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; }
.doc p { font-size: 16px; color: var(--ink-soft); margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 16px; color: var(--ink-soft); }
.doc li { font-size: 16px; margin-bottom: 7px; }
.doc strong { color: var(--ink); }
.doc .highlight {
  background: var(--bar); border-left: 4px solid var(--ledger);
  padding: 18px 22px; margin: 26px 0; font-size: 16px; color: var(--ink-soft);
}
.doc .legalese { font-size: 14px; letter-spacing: 0.01em; }

/* ── responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .doors, .three, .two { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; max-width: none; }
  .hero .deck { font-size: 18px; }
  h2 { font-size: 27px; }
  section { padding: 48px 0; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-sm { display: none; }
  table.phases td.ph, table.phases td.win { width: auto; }
}