:root {
  --ink: #171411;
  --paper: #fffaf2;
  --panel: #ffffff;
  --muted: #665f58;
  --line: #1f1a14;
  --sun: #ffb703;
  --ember: #d84a2b;
  --rose: #b91c1c;
  --plum: #5b2b82;
  --shadow: 9px 9px 0 rgba(31, 26, 20, 0.22);
  --soft-shadow: 5px 5px 0 rgba(31, 26, 20, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 20, 17, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 20, 17, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: var(--plum);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--rose);
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 99;
}

.skip-link:focus {
  background: var(--sun);
  border: 3px solid var(--line);
  color: var(--ink);
  padding: 0.75rem 1rem;
  top: 1rem;
}

.site-header {
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 4px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap,
.section,
.hero-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 1.25rem;
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--sun), var(--ember));
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.93rem;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.hero {
  padding: 3.5rem 0 2.4rem;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
}

.eyebrow,
.tag {
  align-items: center;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: 4.6rem;
  margin: 1rem 0 1rem;
  max-width: 920px;
}

h2 {
  font-size: 2.8rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.22rem;
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  color: #312c26;
  font-size: 1.08rem;
  max-width: 720px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.button:hover {
  background: var(--rose);
  color: #fff;
}

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

.hero-card,
.panel,
.fact-card,
.toc,
.image-frame {
  background: var(--panel);
  border: 4px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  width: 100%;
}

.score-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 1rem;
}

.team-box {
  border: 3px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
}

.team-box strong {
  display: block;
  font-size: 1.4rem;
}

.at-mark {
  align-self: center;
  background: var(--sun);
  border: 3px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
}

.meta-grid,
.card-grid,
.two-col,
.format-grid {
  display: grid;
  gap: 1rem;
}

.meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.fact-card {
  min-height: 130px;
  padding: 1rem;
}

.fact-card span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.section {
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.section.narrow {
  max-width: 860px;
}

.section-head {
  max-width: 820px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.panel,
.toc {
  padding: 1.25rem;
}

.panel strong {
  color: var(--rose);
}

.two-col {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
}

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

.callout {
  background: #ffe8b2;
  border: 4px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  margin: 1.5rem 0;
  padding: 1.25rem;
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.timeline li {
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 0.9rem;
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
}

.timeline li::before {
  background: var(--ember);
  border: 3px solid var(--line);
  border-radius: 999px;
  color: #fff;
  content: attr(data-step);
  font-weight: 900;
  height: 30px;
  left: 0.8rem;
  line-height: 24px;
  position: absolute;
  text-align: center;
  top: 1rem;
  width: 30px;
}

.toc ul,
.clean-list {
  margin: 0;
  padding-left: 1.1rem;
}

.clean-list li {
  margin-bottom: 0.65rem;
}

.image-frame {
  margin: 1.5rem 0;
  overflow: hidden;
}

.image-frame figcaption {
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
}

.site-footer {
  background: var(--ink);
  color: #fff7e8;
  margin-top: 2rem;
  padding: 2rem 0;
}

.site-footer a {
  color: #fff7e8;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

@media (max-width: 820px) {
  .nav-wrap,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .two-col,
  .format-grid,
  .card-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .score-strip {
    grid-template-columns: 1fr;
  }

  .at-mark {
    justify-self: start;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.85rem;
  }
}
.adsterra-link-wrap {
  padding: 0 0 1.25rem;
  text-align: center;
}

.adsterra-link {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}