:root {
  --ink: #f4efe6;
  --muted: #b7b0a6;
  --line: rgba(231, 219, 199, 0.14);
  --paper: #0f0e0d;
  --paper-strong: #181513;
  --sage: #88a88f;
  --sage-dark: #9cc4a7;
  --coral: #f08a6e;
  --coral-dark: #ffb09b;
  --gold: #d7b767;
  --graphite: #12100f;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 138, 110, 0.12), transparent 30rem),
    radial-gradient(circle at 85% 18%, rgba(136, 168, 143, 0.13), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(222, 121, 95, 0.26);
}

a {
  color: inherit;
}

code {
  border: 1px solid rgba(231, 219, 199, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.32rem;
  font-size: 0.92em;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 4vw;
  color: var(--ink);
  background: rgba(15, 14, 13, 0.76);
  border-bottom: 1px solid rgba(231, 219, 199, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--sage-dark);
  border-radius: 7px;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(222, 121, 95, 0.92) 38% 52%, transparent 52%),
    linear-gradient(180deg, #2d2822, #18251e);
  box-shadow: inset 0 -5px 0 rgba(64, 88, 76, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 4vw 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, 0.98) 0%, rgba(15, 14, 13, 0.9) 35%, rgba(15, 14, 13, 0.46) 68%, rgba(15, 14, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(15, 14, 13, 0.35), rgba(15, 14, 13, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-top: 1rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 11ch;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 1.55rem;
  color: rgba(244, 239, 230, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #120f0d;
  background: var(--coral);
  box-shadow: 0 14px 34px rgba(240, 138, 110, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(231, 219, 199, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(620px, 100%);
}

.hero-metrics div,
.summary-card,
.method-card,
.brand-card {
  border: 1px solid rgba(64, 88, 76, 0.16);
  border-radius: 8px;
  border-color: rgba(231, 219, 199, 0.13);
  background: rgba(24, 21, 19, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.hero-metrics div {
  min-height: 82px;
  padding: 0.85rem;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.08rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

.status-band {
  background: #171f19;
  color: white;
}

.status-inner {
  width: min(1160px, 92vw);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.status-dot {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(222, 121, 95, 0.22);
}

.section {
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 5.2rem 0;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: min(6vw, 4.2rem);
  align-items: center;
}

.issue-copy h2,
.method-section h2,
.tracker-section h2,
.sources-section h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.issue-copy p,
.method-card p,
.source-note {
  color: var(--muted);
  font-size: 1.02rem;
}

.comparison-panel {
  position: relative;
  border: 1px solid rgba(231, 219, 199, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 29, 25, 0.96), rgba(19, 27, 22, 0.92)),
    var(--paper-strong);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-radius: 7px;
  padding: 1rem;
}

.comparison-row + .comparison-row {
  margin-top: 0.6rem;
}

.comparison-row span {
  color: var(--muted);
  font-weight: 800;
}

.comparison-row strong {
  font-size: 2rem;
}

.comparison-row.muted {
  background: rgba(231, 219, 199, 0.1);
}

.comparison-row.accent {
  color: white;
  background: var(--coral);
}

.comparison-row.accent span {
  color: rgba(255, 255, 255, 0.82);
}

.timeline-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin: 1.2rem 0;
}

.timeline-rail span {
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage), var(--coral));
}

.comparison-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.tracker-section {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(24, 21, 19, 0.96), rgba(18, 16, 15, 0.98)),
    #151311;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-right: 4vw;
  padding-left: 4vw;
}

.tracker-section > * {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.filter-bar {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 0.25rem;
  border: 1px solid rgba(231, 219, 199, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem;
}

.filter-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: white;
  background: #2f5d47;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.summary-card {
  min-height: 104px;
  padding: 1rem;
  background: rgba(26, 23, 21, 0.9);
}

.summary-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.summary-card strong {
  display: block;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
}

.history-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  gap: 1rem;
  align-items: center;
  min-height: 174px;
  margin-bottom: 1rem;
  border: 1px solid rgba(231, 219, 199, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 24, 21, 0.98), rgba(18, 31, 24, 0.98));
  padding: 1rem;
  color: white;
  box-shadow: 0 22px 55px rgba(39, 48, 44, 0.15);
}

.history-panel h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.history-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.history-chart {
  min-height: 136px;
  border-radius: 7px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 34px, 25% 100%;
  overflow: hidden;
}

.chart-empty {
  min-height: 136px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 1rem;
}

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

.brand-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(24, 21, 19, 0.9);
}

.brand-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.brand-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.product-name {
  margin: 0;
  color: var(--muted);
}

.status-badge {
  min-width: 7.1rem;
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  text-align: center;
  color: #10100e;
  background: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge.changed {
  color: white;
  background: #8f3f32;
}

.status-badge.missing,
.status-badge.collecting {
  color: #16120f;
  background: #d7b767;
}

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

.price-cell {
  min-height: 86px;
  border: 1px solid rgba(231, 219, 199, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.72rem;
}

.price-cell span {
  display: block;
  margin-bottom: 0.34rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-cell strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.1;
}

.price-cell small {
  display: block;
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.sparkline {
  width: 100%;
  height: 82px;
  border: 1px solid rgba(231, 219, 199, 0.12);
  border-radius: 7px;
  background:
    linear-gradient(rgba(231, 219, 199, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 219, 199, 0.09) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 100% 27px, 33.33% 100%;
}

.card-note {
  min-height: 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-top: 1px solid rgba(231, 219, 199, 0.12);
  padding-top: 0.85rem;
}

.source-link {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: none;
}

.source-link:hover {
  color: var(--coral-dark);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.method-card {
  min-height: 245px;
  padding: 1.1rem;
}

.method-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.sources-section {
  padding-top: 2.5rem;
}

.source-note {
  max-width: 430px;
  margin: 0;
}

.source-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(231, 219, 199, 0.14);
  border-radius: 8px;
  background: rgba(24, 21, 19, 0.92);
  box-shadow: 0 18px 45px rgba(35, 45, 40, 0.08);
}

.source-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.source-table th,
.source-table td {
  border-bottom: 1px solid rgba(231, 219, 199, 0.12);
  padding: 0.9rem;
  text-align: left;
}

.source-table th {
  color: var(--sage-dark);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  padding: 1.2rem 4vw;
  color: rgba(255, 255, 255, 0.76);
  background: #0b0a09;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    min-height: 104px;
    padding-top: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem 0.9rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 8.5rem;
  }

  .issue-layout,
  .history-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    display: block;
  }

  .brand {
    margin-bottom: 0.65rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 92vh;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(15, 14, 13, 0.98) 0%, rgba(15, 14, 13, 0.92) 56%, rgba(15, 14, 13, 0.58) 100%),
      linear-gradient(90deg, rgba(15, 14, 13, 0.96), rgba(15, 14, 13, 0.25));
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-metrics,
  .summary-grid,
  .method-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-row strong {
    font-size: 1.45rem;
  }
}
