@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #f4efe7;
  --paper: rgba(255, 250, 242, 0.88);
  --paper-strong: #fff8ef;
  --ink: #161311;
  --soft-ink: #645b52;
  --line: rgba(120, 97, 78, 0.2);
  --line-strong: rgba(120, 97, 78, 0.36);
  --accent: #a24f34;
  --accent-deep: #6f311d;
  --accent-2: #456a52;
  --accent-2-soft: #d9e8dc;
  --gold: #c08c2d;
  --shadow: 0 24px 80px rgba(68, 40, 16, 0.08);
  --shadow-strong: 0 26px 90px rgba(68, 40, 16, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --max-prose: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(162, 79, 52, 0.16), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(69, 106, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #efe8de 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 100% 42px, 42px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
}

a {
  color: inherit;
}

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

button,
a.button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 239, 231, 0.74);
  border-bottom: 1px solid rgba(120, 97, 78, 0.1);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-emblem {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(162, 79, 52, 0.28);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.85)),
    linear-gradient(135deg, rgba(162, 79, 52, 0.1), rgba(69, 106, 82, 0.15));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 800;
  color: var(--accent-deep);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-kicker,
.eyebrow,
.section-kicker,
.chip,
.score-label,
.table-kicker {
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-kicker,
.section-kicker,
.table-kicker {
  color: var(--accent-2);
}

.brand-name {
  font-weight: 800;
  font-size: 0.94rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

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

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

.hero {
  position: relative;
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 1.6rem;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.merchant-card,
.principle-card,
.summary-card,
.matrix-card,
.timeline-card,
.article-lead,
.offer-shell,
.merchant-summary,
.info-panel,
.quote-panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.7rem, 4vw, 3rem);
  overflow: hidden;
}

.hero-copy::after,
.hero-card::after,
.panel::after,
.merchant-card::after,
.principle-card::after,
.summary-card::after,
.matrix-card::after,
.timeline-card::after,
.offer-shell::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(162, 79, 52, 0.2), transparent 62%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(162, 79, 52, 0.12), transparent 34%),
    radial-gradient(circle at left bottom, rgba(69, 106, 82, 0.1), transparent 30%);
  pointer-events: none;
}

.eyebrow {
  color: var(--accent-2);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.hero-title-wrap {
  position: relative;
  z-index: 1;
}

.hero-title-wrap p,
.lede,
.summary-body,
.info-panel p,
.article-summary p,
.merchant-summary p {
  color: var(--soft-ink);
}

.hero-note {
  max-width: var(--max-prose);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  margin: 1.35rem 0 0;
  position: relative;
  z-index: 1;
}

.hero-actions,
.signal-strip,
.button-row,
.footer-row,
.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-actions {
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--ink), #2c2018);
  color: #fff7f0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(31, 20, 14, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(31, 20, 14, 0.22);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.7);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-tertiary {
  background: transparent;
  color: var(--accent-deep);
  border-color: rgba(162, 79, 52, 0.22);
  box-shadow: none;
}

.signal-strip {
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.signal-strip span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 97, 78, 0.18);
  background: rgba(255, 250, 242, 0.72);
  color: var(--soft-ink);
}

.hero-card {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(69, 106, 82, 0.07), transparent 44%),
    radial-gradient(circle at 85% 18%, rgba(162, 79, 52, 0.14), transparent 28%);
  pointer-events: none;
}

.scoreboard {
  display: grid;
  gap: 0.9rem;
}

.score-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(120, 97, 78, 0.16);
}

.score {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
}

.score-row p {
  margin: 0.35rem 0 0;
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.score-label {
  color: var(--accent-2);
}

.stack {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4.4rem;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 56rem;
}

.section-head p {
  margin: 0;
  color: var(--soft-ink);
  max-width: 52rem;
}

.grid {
  display: grid;
  gap: 1.35rem;
}

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

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

.merchant-card,
.principle-card,
.summary-card,
.matrix-card,
.timeline-card,
.panel,
.quote-panel {
  padding: 1.35rem;
}

.merchant-card {
  display: grid;
  gap: 1rem;
}

.merchant-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.merchant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-2-soft);
  color: #214935;
  font-weight: 700;
  font-size: 0.82rem;
}

.merchant-card p,
.principle-card p,
.merchant-summary p,
.quote-panel p,
.timeline-card p,
.timeline-card li,
.matrix-card li,
.summary-card p,
.summary-card li,
.panel li,
.panel p,
table {
  color: var(--soft-ink);
}

.merchant-card h3 a {
  text-decoration: none;
}

.merchant-card h3 a:hover {
  color: var(--accent-deep);
}

.fact-row,
.mini-grid {
  display: grid;
  gap: 0.75rem;
}

.fact {
  display: grid;
  gap: 0.22rem;
}

.fact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 800;
}

.fact strong,
.merchant-metric strong {
  color: var(--ink);
}

.merchant-summary {
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(252, 248, 241, 0.9)),
    radial-gradient(circle at top right, rgba(192, 140, 45, 0.1), transparent 28%);
}

.matrix {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.35rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.timeline-step {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(162, 79, 52, 0.28);
  color: var(--accent-deep);
  font-weight: 800;
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(120, 97, 78, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent-2);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quote-panel {
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(255, 250, 242, 0.96), rgba(247, 239, 228, 0.92)),
    radial-gradient(circle at top left, rgba(69, 106, 82, 0.08), transparent 28%);
}

.quote-number {
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-shell {
  padding: 2.3rem 0 4rem;
}

.article-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}

.back-link {
  text-decoration: none;
  color: var(--soft-ink);
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 1.4rem;
}

.article-main {
  display: grid;
  gap: 1.35rem;
}

.article-lead,
.merchant-summary,
.offer-shell {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.article-lead {
  overflow: hidden;
}

.article-lead::before,
.offer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(162, 79, 52, 0.12), transparent 30%),
    linear-gradient(160deg, rgba(69, 106, 82, 0.06), transparent 45%);
  pointer-events: none;
}

.article-summary {
  max-width: 44rem;
  margin-top: 1rem;
}

.offer-shell {
  display: grid;
  gap: 1rem;
}

.offer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(120, 97, 78, 0.14);
}

.offer-label {
  color: var(--accent-2);
}

.offer-code {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.offer-code-small {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.offer-meta {
  display: grid;
  gap: 0.3rem;
  color: var(--soft-ink);
  justify-items: end;
  text-align: right;
  font-size: 0.95rem;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff7f0;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.copy-button.is-copied {
  background: linear-gradient(135deg, var(--accent-2), #2e5140);
}

.merchant-metrics {
  display: grid;
  gap: 0.8rem;
}

.merchant-metric {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(120, 97, 78, 0.14);
}

.merchant-metric strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 0.3rem;
}

.aside-note {
  display: grid;
  gap: 0.95rem;
  align-self: start;
  position: sticky;
  top: 96px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

.reveal-delay-3 {
  transition-delay: 320ms;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-row {
  justify-content: space-between;
  border-top: 1px solid rgba(120, 97, 78, 0.14);
  padding-top: 1.2rem;
  color: var(--soft-ink);
  font-size: 0.94rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .article-layout,
  .proof-grid,
  .matrix {
    grid-template-columns: 1fr;
  }

  .aside-note {
    position: static;
  }
}

@media (max-width: 780px) {
  .nav-row {
    align-items: start;
    padding: 1rem 0;
  }

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

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .offer-box {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .offer-meta {
    justify-items: start;
    text-align: left;
  }

  .button,
  .copy-button {
    width: 100%;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
