@font-face { font-family: 'Bonum'; src: url('/fonts/bonum-bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bonum'; src: url('/fonts/bonum-regular.otf') format('opentype'); font-weight: 400; font-display: swap; }

:root {
  --red: #c8102e;
  --red-dark: #a80c25;
  --ink: #1c1c22;
  --grey: #5f6370;
  --line: #e4e5ea;
  --alt: #f6f6f8;
  --green: #0f9d58;
  --serif: 'Bonum', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.55; font-size: 16px; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* utility bar */
.util { background: var(--alt); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.util-r a { color: var(--grey); margin-left: 20px; }

/* nav */
.nav { background: var(--red); color: #fff; }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 34px; letter-spacing: -1px; color: #fff; line-height: 1; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: #fff; font-weight: 500; font-size: 15px; opacity: .92; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 4px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #ffecef; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--alt); }

/* hero */
.hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--grey); margin: 0 0 12px; font-weight: 600; }
h1 { font-family: var(--serif); font-weight: 700; font-size: 52px; letter-spacing: -1px; line-height: 1.05; margin: 0 0 12px; }
h1 .tick { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--grey); letter-spacing: .08em; vertical-align: middle; margin-left: 14px; background: var(--alt); padding: 6px 10px; border-radius: 4px; }
.lede { font-size: 20px; color: var(--grey); margin: 0 0 28px; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 28px; }
.stats > div { padding: 14px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stats > div:last-child { border-right: 0; }
.stats .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 600; }
.stats .v { font-family: var(--serif); font-size: 24px; font-weight: 700; min-height: 1.2em; }
.asof { font-size: 12px; color: var(--grey); margin: -16px 0 24px; }
.up { color: var(--green); } .down { color: var(--red); }
.cta { display: flex; gap: 12px; }

/* sections */
.sec { padding: 52px 0; }
.sec.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 700; font-size: 30px; margin: 0 0 16px; letter-spacing: -.5px; }
h2.mt { margin-top: 28px; }
h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 12px; }
p { margin: 0 0 14px; }
.muted { color: var(--grey); }
.fn { font-size: 13px; color: var(--grey); margin-top: 14px; }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

.facts { border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; background: #fff; }
.facts dl { display: grid; grid-template-columns: 1fr 1fr; row-gap: 8px; column-gap: 12px; margin: 0; font-size: 14px; }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* table */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); background: var(--alt); }
.tbl tfoot td { font-weight: 600; border-bottom: 0; background: var(--alt); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* performance */
.perf { border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.perf-head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.perf-chart { height: 460px; position: relative; background: var(--alt); }
.perf-chart iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.perf-tabs { display: flex; gap: 6px; }
.perf-tabs button { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--line); background: #fff; color: var(--grey); border-radius: 3px; cursor: pointer; }
.perf-tabs button.on { background: var(--red); border-color: var(--red); color: #fff; }
.perf-tabs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tblwrap { overflow-x: auto; }

/* how it works */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 16px; position: relative; }
.step .n { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 14px; color: #fff; background: var(--red); width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 13px; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; }
.step p { font-size: 15px; margin: 0; }
.sechead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sechead h2 { margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.grid3 > div { padding: 12px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.grid3 > div:last-child { border-right: 0; }
.grid3 .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 600; }
.grid3 .v { font-weight: 600; font-size: 15px; }

/* round */
.round { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 18px 20px; margin-bottom: 18px; }
.round-clock { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.round-clock .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 600; }
.clock { font-family: var(--serif); font-weight: 700; font-size: 40px; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1; min-width: 5ch; }
.small { font-size: 13px; }
.round-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.round-stats > div { padding: 10px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.round-stats > div:last-child { border-right: 0; }
.round-stats .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 600; }
.round-stats .v { font-family: var(--serif); font-weight: 700; font-size: 22px; min-height: 1.2em; }
.round .fn { margin-top: 12px; }
.checker { margin-bottom: 22px; }
.checker label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 600; margin-bottom: 6px; }
.checker-row { display: flex; gap: 8px; }
.checker input { flex: 1; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; }
.checker input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.checker-out { margin-top: 10px; border: 1px solid var(--line); border-left: 4px solid var(--grey); border-radius: 4px; padding: 12px 14px; font-size: 14px; background: var(--alt); }
.checker-out.ok { border-left-color: var(--green); }
.checker-out.no { border-left-color: var(--red); }
.checker-out b { font-family: var(--serif); font-size: 17px; }
.ledger-h { margin-top: 6px; }

/* holders */
.soon { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.pill { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 3px; }
.mech { padding-left: 18px; margin: 0 0 12px; }
.mech li { margin-bottom: 6px; }
.ledger { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 12px 14px; margin: 12px 0 18px; font-size: 14px; }
.ledger .muted { margin: 0; }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ledger th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.ledger td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* docs */
.docs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.docs li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.docs li a { font-weight: 600; min-width: 220px; }
.docs li span { color: var(--grey); font-size: 14px; }

/* footer */
.foot { background: var(--ink); color: #c9cbd3; padding: 36px 0 40px; font-size: 13px; }
.foot strong { color: #fff; }
.foot .tiny { color: #8a8d99; font-size: 12px; margin-top: 18px; margin-bottom: 0; }

@media (max-width: 820px) {
  .nav nav { display: none; }
  h1 { font-size: 38px; }
  h1 .tick { display: inline-block; margin: 10px 0 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .perf-chart { height: 380px; }
  .stats > div { border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .grid2 { grid-template-columns: 1fr; gap: 28px; }
  .three, .grid3 { grid-template-columns: 1fr; }
  .round-stats { grid-template-columns: repeat(2, 1fr); }
  .round-stats > div { border-bottom: 1px solid var(--line); }
  .clock { font-size: 32px; }
  .grid3 > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .docs li { flex-direction: column; gap: 4px; }
}
