:root {
  --canvas: #f7f7f7;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #62625d;
  --line: #d3d3d3;
  --rule: #151515;
  --accent: #a84d37;
  --accent-soft: #e7e2df;
  --sage: #e0e5d8;
  --sage-strong: #aeb9a1;
  --charcoal: #252525;
  --display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --poster: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(100% - clamp(48px, 8vw, 160px), 1500px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.announce {
  border-bottom: 1px solid var(--rule);
  background: var(--rule);
  color: #fff;
}

.announce a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links:last-child {
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  font-family: var(--poster);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--accent);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.logo::after {
  content: "";
  width: 38px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: skewX(-28deg);
}

.nav-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  padding: 0 14px;
}

.page-hero {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  padding: clamp(58px, 8vw, 118px) 0 clamp(48px, 7vw, 92px);
}

.page-kicker,
.card-kicker,
.eyebrow {
  color: var(--muted);
  font-family: var(--poster);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.page-hero h1 {
  max-width: 1060px;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.section-head p,
.dek {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.index-card,
.disclosure,
.table,
.newsletter-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(20px, 2vw, 30px);
}

.card h3,
.index-card h3 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  line-height: 0.98;
}

.card p,
.index-card p {
  margin-top: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: var(--rule);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  margin-top: 24px;
  padding: 0 20px;
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.score {
  width: 104px;
  height: 104px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.score small {
  display: block;
  font-size: 12px;
}

.disclosure {
  border-color: var(--accent);
  background: #fbfbfb;
}

.disclosure strong {
  display: block;
  margin-bottom: 8px;
}

.table {
  padding: 0;
}

.table-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1.2fr) 120px minmax(160px, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: var(--muted);
  font-family: var(--poster);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rank {
  font-size: 28px;
  font-weight: 900;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.article-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.article-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.article-list time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-list h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.article-page {
  background: var(--paper);
}

.article-hero {
  border-bottom: 1px solid var(--rule);
  padding: clamp(58px, 8vw, 118px) 0 clamp(38px, 6vw, 70px);
}

.article-hero h1 {
  max-width: 1120px;
  font-size: clamp(54px, 7vw, 112px);
  font-weight: 900;
  line-height: 0.92;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 360px);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.article-body {
  display: grid;
  gap: 24px;
}

.article-body p {
  color: #2f2f2c;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.56;
}

.article-body h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.96;
}

.article-aside {
  position: sticky;
  top: 108px;
  border-top: 4px solid var(--rule);
  padding-top: 18px;
}

.site-footer {
  background: var(--rule);
  color: #fff;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}

.site-footer p {
  max-width: 680px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 48px, 1240px);
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 40px, 900px);
  }

  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-head,
  .grid-2,
  .grid-3,
  .footer-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .table-row {
    grid-template-columns: 56px minmax(0, 1fr) 86px;
  }

  .table-row span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1240px);
  }

  .announce {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
  }

  .nav {
    min-height: 64px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: stretch;
    gap: 12px;
    padding: 0;
  }

  .nav .nav-links:first-child {
    display: none;
  }

  .nav .nav-links:last-child {
    justify-content: flex-end;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .logo {
    gap: 7px;
    font-size: 15px;
  }

  .logo::after {
    width: 30px;
    height: 10px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
  }

  .nav a {
    font-size: 14px;
  }

  .page-hero {
    padding: 44px 0 52px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 0.98;
  }

  .article-list a {
    grid-template-columns: 1fr auto;
  }

  .article-list time {
    grid-column: 1 / -1;
  }
}
