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

header { background: var(--panel); }
header .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 56px; gap: 12px;
}
.brand { display: inline-flex; flex-direction: column-reverse; align-items: stretch; gap: 4px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { display: block; width: 100%; height: 7px; }
.brand b {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em;
}
.brand b span { color: inherit; }
.nav-side { display: flex; align-items: center; }
nav a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-left: 24px;
}
nav a:hover { color: var(--ink); text-decoration: none; }
.lang {
  font-family: var(--mono); font-size: 11px; margin-left: 24px;
  border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden;
  display: inline-flex;
}
.lang a, .lang span { padding: 3px 8px; color: var(--muted); }
.lang span { background: var(--ink); color: #fff; }
.lang a:hover { color: var(--ink); text-decoration: none; }

.status-bar {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.status-bar .wrap { display: flex; gap: 24px; padding: 8px 28px; flex-wrap: wrap; }

.hero { padding: 104px 0 72px; animation: fade 0.5s ease-out both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero .label { margin-bottom: 22px; display: block; }
h1 {
  font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.015em; max-width: 21ch;
}
h1 strong { font-weight: 600; }
.hero p {
  margin-top: 22px; max-width: 600px; font-size: 1.05rem;
  color: var(--muted); font-weight: 300;
}
.hero p strong { color: var(--ink); font-weight: 500; }
.cta-row { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta {
  display: inline-block; padding: 13px 28px; background: var(--ink);
  color: #fff; font-weight: 500; font-size: 14px; border-radius: 2px;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--red); color: #fff; text-decoration: none; }
.cta-alt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.cta-alt a { color: var(--ink); border-bottom: 1px solid var(--red); }
.cta-alt a:hover { color: var(--red); text-decoration: none; }

.figure { border: 1px solid var(--line-strong); background: var(--panel); }
.figure img {
  display: block; width: 100%; height: auto;
  filter: grayscale(1) contrast(1.06) brightness(0.99);
}
.figure-bar {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.figure-bar .tick { color: var(--red); }

.metrics {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.metric { padding: 20px 28px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .value { font-family: var(--mono); font-size: 1.55rem; font-weight: 500; margin-top: 4px; }

section { padding: 96px 0 0; }
section:last-of-type { padding-bottom: 112px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 10px;
  margin-bottom: 22px; gap: 12px; flex-wrap: wrap;
}
h2 { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.lede { color: var(--muted); max-width: 640px; margin-bottom: 26px; font-weight: 300; }
.lede strong { color: var(--ink); font-weight: 500; }

.table-card { background: var(--panel); border: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
th, td { padding: 10px 16px; text-align: left; }
th {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
  border-bottom: 1px solid var(--line-strong); background: #fafbfc;
}
th.num, td.num { text-align: right; }
tr + tr td { border-top: 1px solid var(--line); }
td.num { font-family: var(--mono); font-weight: 500; }
td.athlete { font-weight: 500; }
td.detail { color: var(--muted); font-size: 12.5px; }
tbody tr:hover td { background: #f7f7f8; }
.table-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--faint);
}

.coverage { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); margin-top: 34px; }
.source { padding: 24px 28px; border-right: 1px solid var(--line); }
.source:last-child { border-right: none; }
.source h3 { font-weight: 500; font-size: 0.95rem; margin: 10px 0 4px; }
.source .depth { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px;
  background: var(--paper);
}
.chip--hot { color: var(--red); border-color: #e5c2c6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.feature { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: none; }
.feature:nth-last-child(-n+3) { border-bottom: none; }
.feature .label { display: block; margin-bottom: 12px; }
.feature h3 { font-weight: 500; font-size: 0.98rem; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); font-weight: 300; }
.feature p code {
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  background: #f4f4f5; padding: 1px 5px; border-radius: 2px;
}

.aud { border: 1px solid var(--line); background: var(--panel); }
.aud-row { display: grid; grid-template-columns: 1.15fr 1fr; }
.aud-row + .aud-row { border-top: 1px solid var(--line); }
.aud-copy { padding: 28px; }
.aud-copy .label { display: block; margin-bottom: 10px; }
.aud-copy h3 { font-weight: 500; font-size: 1rem; margin-bottom: 8px; }
.aud-copy p { font-size: 13.5px; color: var(--muted); font-weight: 300; max-width: 46ch; }
.aud-fig {
  border-left: 1px solid var(--line); background: #fafbfc;
  padding: 22px 28px; display: flex; flex-direction: column; justify-content: center;
}
.fig-caption { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }

.tape { font-family: var(--mono); font-size: 12px; width: 100%; border-collapse: collapse; table-layout: fixed; }
.tape td { padding: 6px 0; border-top: 1px solid var(--line); }
.tape tr:first-child td { border-top: none; }
.tape td:first-child { text-align: left; }
.tape td:last-child { text-align: right; }
.tape .vs { color: var(--faint); text-align: center; width: 36px; }
.tape .who { font-weight: 500; }
.tape .stat { color: var(--muted); }

.quote-fig { border-left: 3px solid var(--red); padding: 6px 0 6px 16px; }
.quote-fig .q { font-size: 1.05rem; font-weight: 300; line-height: 1.45; }
.quote-fig .q b { font-weight: 600; }
.quote-fig .credit { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 8px; }

.ranking { font-family: var(--mono); font-size: 12px; list-style: none; }
.ranking li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.ranking li:first-child { border-top: none; }
.ranking .pos { color: var(--faint); margin-right: 10px; }
.ranking .val { color: var(--muted); }

.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; }
.bar-row .bar { height: 10px; background: var(--ink); border-radius: 0 4px 4px 0; }
.bar-row:nth-child(2) .bar { background: #6b7280; }
.bar-row:nth-child(3) .bar { background: #a6adb8; }
.bar-row .n { text-align: right; color: var(--muted); }

.spec { font-family: var(--mono); font-size: 12px; width: 100%; border-collapse: collapse; }
.spec td { padding: 6px 8px; border-top: 1px solid var(--line); }
.spec tr:first-child td { border-top: none; }
.spec td:last-child { text-align: right; font-weight: 500; }
.spec td:first-child { color: var(--muted); }

.band { margin-top: 72px; position: relative; overflow: hidden; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.band img {
  display: block; width: 100%; height: 380px; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
}
.band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,20,0.35), rgba(16,18,20,0.55)); }
.band-note {
  position: absolute; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #d7d9dc;
  background: rgba(16,18,20,0.72); border: 1px solid rgba(215,217,220,0.25);
  padding: 6px 10px;
}
.band-note b { color: #fff; font-weight: 500; }
.band-note .tick { color: #e58896; }
.n1 { top: 26px; left: 28px; }
.n2 { bottom: 26px; left: 28px; }
.n3 { bottom: 26px; right: 28px; }
.scan {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(179, 32, 46, 0.85);
  box-shadow: 0 0 12px rgba(179, 32, 46, 0.5);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { from { left: -2%; } to { left: 102%; } }
@media (prefers-reduced-motion: reduce) { .scan { display: none; } }

.api-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
pre {
  background: var(--ink); color: #e8e8e6; border-radius: 2px;
  padding: 20px 22px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
}
pre .c { color: #7d858f; }
pre .r { color: #e58896; }
.endpoints { list-style: none; }
.endpoints li {
  font-family: var(--mono); font-size: 12.5px; padding: 10px 0;
  border-bottom: 1px solid var(--line); color: var(--muted);
}
.endpoints li:first-child { padding-top: 2px; }
.endpoints code { color: var(--ink); }
.endpoints li::before { content: "GET "; color: var(--red); font-weight: 500; }

footer { background: var(--panel); padding: 36px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.footer-grid p { font-size: 13px; color: var(--muted); font-weight: 300; margin-top: 10px; max-width: 34ch; }
.footer-grid .label { display: block; margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { padding: 3px 0; }
.footer-links a { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--faint);
}

/* --- mobile --- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .api-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .coverage, .feature-grid { grid-template-columns: 1fr; }
  .source { border-right: none; border-bottom: 1px solid var(--line); }
  .source:last-child { border-bottom: none; }
  .feature { border-right: none; }
  .feature:not(:last-child) { border-bottom: 1px solid var(--line); }
  .aud-row { grid-template-columns: 1fr; }
  .aud-fig { border-left: none; border-top: 1px solid var(--line); }
  .n3 { display: none; }
  .band img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .status-bar .wrap { padding: 8px 18px; gap: 16px; }
  nav a { margin-left: 14px; }
  .nav-extra { display: none; }
  .lang { margin-left: 14px; }
  .hero { padding: 52px 0 40px; }
  section { padding: 56px 0 0; }
  .cta { width: 100%; text-align: center; }
  .metric { padding: 14px 18px; }
  .metric .value { font-size: 1.3rem; }
  th, td { padding: 8px 10px; }
  .aud-copy, .aud-fig, .source, .feature { padding: 20px; }
  .band img { height: 240px; }
  .band-note { font-size: 9.5px; }
  .n1 { top: 16px; left: 16px; }
  .n2 { bottom: 16px; left: 16px; }
}

/* --- conversion components --- */
.cta-strip {
  margin-top: 34px; border: 1px solid var(--line); background: var(--panel);
  padding: 22px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.cta-strip p { font-size: 14.5px; color: var(--muted); font-weight: 300; }
.cta-strip p strong { color: var(--ink); font-weight: 500; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price {
  border: 1px solid var(--line); background: var(--panel);
  padding: 26px 28px; display: flex; flex-direction: column;
}
.price--main { border-color: var(--ink); }
.price .label { display: block; margin-bottom: 14px; }
.price h3 { font-weight: 500; font-size: 1rem; }
.price .amount { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; margin: 10px 0 2px; }
.price .amount small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.price .per { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-bottom: 14px; }
.price ul { list-style: none; margin-bottom: 20px; }
.price li {
  font-size: 13px; color: var(--muted); font-weight: 300;
  padding: 6px 0; border-top: 1px solid var(--line);
}
.price li:first-child { border-top: none; }
.price .cta { margin-top: auto; text-align: center; padding: 11px 18px; font-size: 13.5px; }
.price-note { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--faint); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); margin-bottom: 30px; }
.step { padding: 26px 28px; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step .label { display: block; margin-bottom: 12px; }
.step h3 { font-weight: 500; font-size: 0.98rem; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); font-weight: 300; }

@media (max-width: 760px) {
  .price-grid, .steps { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .step:not(:last-child) { border-bottom: 1px solid var(--line); }
  .cta-strip { padding: 18px 20px; }
  .cta-strip .cta { width: 100%; text-align: center; }
}

.have-sell { margin-top: 20px; max-width: 600px; }
.have-sell p { font-size: 1.02rem; color: var(--muted); font-weight: 300; margin-top: 16px; }
.have-sell p strong { color: var(--ink); font-weight: 500; }
.have-sell .label { display: block; margin-bottom: 3px; }

/* --- coverage orgs ribbon (typographic wordmarks — see disclaimer; no
   official third-party logos, most are non-free/fair-use-restricted) --- */
.orgs-ribbon {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 14px; margin-bottom: 12px; align-items: stretch;
}
.org-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background-color: var(--panel);
  background-image: var(--org-wash, none);
  padding: 18px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  animation: orgIn 0.4s ease-out both;
}
.org-card:hover { border-color: var(--ink); transform: translateY(-3px); }
@keyframes orgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .org-card { animation: none; }
  .org-card:hover { transform: none; }
}
.org-top { display: flex; justify-content: space-between; align-items: center; }
.org-idx { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.12em; }
.org-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--org-dot, var(--line-strong)); flex: none; }
.org-name {
  display: block; font-family: var(--mono); font-weight: 500; font-size: 16.5px;
  letter-spacing: 0.03em; color: var(--ink); margin: 14px 0 auto;
}
.org-headline { margin-top: 18px; }
.org-num { display: block; font-family: var(--mono); font-weight: 500; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.org-num-lbl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.org-caption {
  display: block; font-family: var(--mono); font-size: 10px; color: var(--muted);
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}
.org-soon-note {
  margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--faint);
}
.org-card.soon { border-style: dashed; border-color: var(--line-strong); }
.org-card.soon .org-name { color: var(--faint); }
.org-card.soon:hover { border-color: var(--line-strong); transform: none; }

@media (max-width: 640px) {
  .orgs-ribbon { grid-template-columns: repeat(2, 1fr); }
  .org-card { padding: 16px 18px; }
}
@media (max-width: 420px) {
  .orgs-ribbon { grid-template-columns: 1fr; }
}

/* --- upcoming calendar --- */
.cal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .cal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cal-grid { grid-template-columns: 1fr; } }
.cal-card {
  border: 1px solid var(--line); background: var(--panel);
  display: flex; gap: 14px; padding: 14px 16px; align-items: center;
  color: inherit; transition: border-color 0.15s ease;
}
.cal-card:hover { border-color: var(--ink); text-decoration: none; }
.cal-date {
  font-family: var(--mono); text-align: center; min-width: 44px;
  border-right: 1px solid var(--line); padding-right: 14px;
}
.cal-date b { display: block; font-size: 1.3rem; font-weight: 500; line-height: 1.1; }
.cal-date span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); }
.cal-info { min-width: 0; }
.cal-info .ev { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-info .loc { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-more { margin-top: 16px; font-family: var(--mono); font-size: 12px; }

.cal-logo {
  width: 34px; height: 34px; object-fit: contain; flex: none;
  filter: grayscale(1); transition: filter 0.15s ease;
}
.cal-card:hover .cal-logo { filter: none; }
.row-logo {
  width: 20px; height: 20px; object-fit: contain; vertical-align: -5px;
  margin-right: 8px; filter: grayscale(1);
}
tr:hover .row-logo { filter: none; }

/* --- breathing room --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split .label { display: block; margin-bottom: 16px; }
.split p { color: var(--muted); font-weight: 300; font-size: 15.5px; max-width: 44ch; }
.split p + p { margin-top: 14px; }
.split p strong { color: var(--ink); font-weight: 500; }
