:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #090909;
  --panel-hover: #101010;
  --ink: #f7f7f5;
  --muted: #8b8b8b;
  --quiet: #5d5d5d;
  --line: #202020;
  --accent: #4038ff;
  --max: 760px;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    repeating-linear-gradient(120deg, transparent 0 10px, rgba(255,255,255,.025) 10px 11px),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55));
  z-index: -1;
}

a { color: inherit; }

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 32px;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { padding: 10px 2px 56px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
}

.brand-mark { width: 34px; height: 34px; }

.home-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #b4b4b4;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.home-link:hover,
.home-link:focus-visible { color: var(--ink); border-color: #3b3b3b; background: #101010; }

.intro { padding: 34px 2px 64px; }

.eyebrow,
.section-heading h2,
.link-meta,
.live-dot,
.loading {
  font-family: "Arial Narrow", "Roboto Condensed", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.eyebrow {
  margin: 0 0 22px;
  color: #9a9a9a;
  font-size: 12px;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(52px, 12vw, 92px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lede {
  max-width: 540px;
  margin: 30px 0 0;
  color: #a3a3a3;
  font-size: clamp(16px, 3vw, 19px);
  line-height: 1.55;
}

.links-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5,5,5,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 400;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #707070;
  font-size: 10px;
  text-transform: uppercase;
}

.live-dot > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.links-list { display: grid; }

.sponsor-link {
  position: relative;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease;
}

.sponsor-link:hover,
.sponsor-link:focus-visible { background: var(--panel-hover); outline: none; }

.link-logo {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 14px;
  background: #111;
}

.link-logo img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.link-copy { min-width: 0; flex: 1; display: grid; gap: 6px; }
.link-meta { color: var(--accent); font-size: 10px; text-transform: uppercase; }
.link-title { font-size: clamp(20px, 4vw, 28px); line-height: 1.08; letter-spacing: -.035em; }
.link-description { max-width: 550px; color: var(--muted); font-size: 14px; line-height: 1.45; text-wrap: pretty; }

.link-arrow {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: #cfcfcf;
  font-size: 20px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.sponsor-link:hover .link-arrow,
.sponsor-link:focus-visible .link-arrow { transform: translate(2px, -2px); border-color: #555; background: #171717; }

.loading,
.empty-state,
.error-state {
  padding: 60px 24px;
  color: var(--muted);
  text-align: center;
}

.empty-state strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 20px; }
.empty-state span,
.error-state { font-size: 14px; line-height: 1.5; }

.disclosure {
  margin: 0;
  padding: 20px 24px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.55;
}

footer {
  padding: 28px 2px 0;
  color: #727272;
  font-size: 12px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--ink); }
footer p { margin: 0; white-space: nowrap; }

@media (max-width: 560px) {
  .page-shell { width: min(calc(100% - 20px), var(--max)); padding-top: 14px; }
  .site-header { padding-bottom: 42px; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .intro { padding-top: 20px; padding-bottom: 48px; }
  h1 { font-size: clamp(48px, 18vw, 72px); }
  .section-heading, .sponsor-link, .disclosure { padding-left: 18px; padding-right: 18px; }
  .section-heading { align-items: flex-start; }
  .live-dot { max-width: 105px; line-height: 1.3; text-align: right; }
  .sponsor-link { min-height: 132px; gap: 16px; }
  .link-logo { flex-basis: 52px; width: 52px; height: 52px; border-radius: 12px; }
  .link-logo img { width: 27px; height: 27px; }
  .link-arrow { flex-basis: 42px; width: 42px; height: 42px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
