:root {
  color-scheme: light;
  --ink: #10110d;
  --text: #24251f;
  --muted: #62645d;
  --paper: #faf9f1;
  --surface: #ffffff;
  --line: #d8d7ce;
  --green: #b7f500;
  --green-dark: #517000;
  --red: #e8443e;
  --amber: #f1b342;
  --blue: #dcecf2;
  --radius: 6px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-color: var(--green-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: #000000;
  text-decoration-color: var(--red);
}

code {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f4ec;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  padding: 0.18rem 0.35rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 10;
  transform: translateY(-180%);
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section-band,
.page-hero,
.newsletter-band,
.ad-layout,
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 241, 0.96);
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--green);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav a,
.site-footer a {
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.cheat-first {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 1.5rem;
}

.top-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.lead {
  max-width: 78ch;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.08rem;
}

.quick-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin: 1rem 0;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.quick-links a {
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.48rem 0.62rem;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.tracker-head {
  margin: 1.25rem 0 0.8rem;
}

.tracker-head p,
.section-heading p,
.page-hero p,
.split-section p,
.newsletter-band p,
.phase-card li,
.ad-banner p,
.ad-slot p {
  color: var(--muted);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(145px, 210px) minmax(140px, 190px);
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.filters label,
.newsletter-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 0.68rem 0.75rem;
}

input:focus,
select:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
}

.table-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cheat-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.cheat-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cheat-table th,
.cheat-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.cheat-table th {
  background: #f0f0e8;
  color: var(--ink);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.cheat-table td {
  font-size: 0.92rem;
}

.cheat-table td > span,
.cheat-table td > a + span {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.81rem;
}

.row-title {
  font-weight: 900;
}

.status {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.status-pending {
  background: #fff3c9;
  color: #6e4c00;
}

.status-verified {
  background: #e7ffd0;
  color: #315400;
}

.status-unverified {
  background: #ffe2e0;
  color: #8f1712;
}

.policy-note {
  border-left: 5px solid var(--red);
  margin: 0.9rem 0 0;
  padding: 0.55rem 0 0.55rem 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.section-band,
.newsletter-band,
.ad-layout {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.compact-section {
  padding-block: clamp(1rem, 3vw, 2rem);
}

.card-grid,
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.info-card,
.phase-card,
.source-item,
.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.9rem;
  text-decoration: none;
}

.info-card:hover,
.category-card:hover {
  border-color: var(--ink);
}

.card-kicker,
.category-card span,
.phase-card span,
.source-item span,
.ad-slot span,
.ad-banner span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card strong,
.category-card strong,
.ad-slot strong,
.ad-banner strong {
  display: block;
  margin: 0.18rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}

.info-card span:last-child,
.status-list span {
  color: var(--muted);
}

.ad-banner,
.ad-slot {
  border: 1px dashed #9d9d94;
  border-radius: var(--radius);
  background: #ffffff;
}

.ad-banner {
  display: grid;
  min-height: 92px;
  align-content: center;
  margin: 1rem 0;
  padding: 0.85rem;
}

.ad-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ad-slot {
  min-height: 118px;
  padding: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0.7rem 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--red);
  color: #ffffff;
}

.button-ghost {
  background: var(--surface);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: start;
}

.status-list,
.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li,
.check-list li {
  border-left: 5px solid var(--green);
  background: var(--surface);
  padding: 0.75rem 0.85rem;
}

.status-list strong {
  display: block;
}

.newsletter-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 170px auto;
  gap: 0.65rem;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.85rem;
}

.field-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.newsletter-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.page-hero {
  padding: clamp(1.8rem, 5vw, 3.8rem) 0 clamp(1rem, 3vw, 2rem);
}

.page-hero h1 {
  max-width: 18ch;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1rem;
}

.phase-card ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 1.25rem 0 2rem;
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters,
  .split-section,
  .newsletter-band,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .phase-grid,
  .source-grid,
  .ad-layout {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .site-header,
  .section-band,
  .page-hero,
  .newsletter-band,
  .ad-layout,
  .site-footer {
    width: min(var(--max), calc(100% - 1rem));
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .table-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
