@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/mulish-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/mulish-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tenor-sans-latin.woff2") format("woff2");
}

:root {
  --forest: #1e2c1e;
  --forest-deep: #0f1a10;
  --cream: #faf6ee;
  --paper: #f3ecdf;
  --amber: #e58325;
  --rust: #92460b;
  --lime: #d4e938;
  --lime-soft: #eff8c2;
  --line: #ddd3c2;
  --ink: #3d473b;
  --ink-soft: #5b6459;
  --gutter: clamp(1.25rem, 5vw, 2rem);
  --header-h: 66px;
  --radius: 18px;
  --stamp: 4px 4px 0 var(--forest);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Mulish, system-ui, sans-serif;
  font-size: clamp(1rem, .955rem + .19vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.14;
  text-wrap: balance;
}
h1 {
  margin: .5rem 0 1rem;
  font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.5rem);
  letter-spacing: -.02em;
}
h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem);
  letter-spacing: -.01em;
}
h3 { margin: 0 0 .5rem; font-size: 1.2rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rust);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .75rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--forest-deep);
  color: #fff;
}
.skip:focus { top: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(250 246 238 / 92%);
  backdrop-filter: blur(12px);
}

.wrap {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.nav {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo { width: clamp(132px, 28vw, 196px); height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:not(.button) { padding-block: .7rem; }
.nav-links a:not(.button):hover { color: var(--rust); }

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem 1.35rem;
  border: 2px solid var(--forest);
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--stamp);
  transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--forest); }
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--forest); }
.button.secondary { background: #fff; }
.button.secondary:hover { background: var(--paper); }
.button.compact { min-height: 44px; padding: .45rem 1rem; font-size: .85rem; box-shadow: 3px 3px 0 var(--forest); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- hero ---------- */

.hero { padding: clamp(2.25rem, 5vw, 4.25rem) 0 clamp(2rem, 4vw, 3.25rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.lede {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero-card {
  max-width: 380px;
  margin-inline: auto;
  padding: .75rem;
  border: 2px solid var(--forest);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 8px 8px 0 var(--forest);
}
.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}

/* ---------- stat rail ---------- */

.proof {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 0;
  padding: 0;
}
.proof-list div {
  padding: 1.15rem .5rem;
  text-align: center;
}
.proof-list div + div { border-left: 1px solid var(--line); }
.proof-list dt {
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--forest);
}
.proof-list dd {
  margin: .3rem 0 0;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* ---------- article ---------- */

.article {
  display: grid;
  grid-template-columns: minmax(0, 60ch) minmax(0, 296px);
  justify-content: space-between;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.prose { min-width: 0; }
.prose > section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.prose ul { margin: 0 0 1.1rem; padding-left: 1.1rem; }
.prose li { margin-bottom: .45rem; padding-left: .2rem; }
.prose li::marker { color: var(--amber); }
.prose a {
  color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--forest); }

/* ---------- sticky rail ---------- */

.rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1rem;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.panel h2, .panel h3 { font-size: 1.05rem; }
.panel-head {
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.spec { margin: 0; padding: .35rem 1.15rem .9rem; font-size: .9rem; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; font-weight: 700; text-align: right; color: var(--forest); }

.rail-buy { padding: 1.15rem; border: 2px solid var(--forest); background: var(--lime-soft); }
.rail-buy .price {
  display: block;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--forest);
}
.rail-buy p { margin: .45rem 0 .9rem; font-size: .85rem; color: var(--ink-soft); }
.rail-buy .button { width: 100%; }

/* ---------- offers ---------- */

.band { padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); background: #fff; }
.band.tinted { background: var(--paper); }
.band-head { max-width: 46ch; margin-bottom: 2rem; }
.band-head h2 { margin-bottom: 0; }
.band-head p { margin: .6rem 0 0; color: var(--ink-soft); }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.offer {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.offer.featured {
  border: 2px solid var(--forest);
  background: var(--lime-soft);
  box-shadow: 6px 6px 0 var(--forest);
}
.offer-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--rust);
}
.offer .price {
  display: block;
  margin: .5rem 0 .15rem;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--forest);
}
.offer strong { font-size: .95rem; }
.offer small { display: block; margin-top: .4rem; font-size: .85rem; line-height: 1.5; color: var(--ink-soft); }
.offer .actions { margin-top: auto; padding-top: 1.25rem; }
.offer .button { width: 100%; }

/* ---------- table ---------- */

.table-wrap { margin-bottom: 1.1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
th, td { padding: .8rem .9rem; text-align: left; vertical-align: top; }
thead th { background: var(--forest); color: var(--cream); font-weight: 700; white-space: nowrap; }
tbody tr + tr td { border-top: 1px solid var(--line); }

/* ---------- faq ---------- */

.faq { display: grid; gap: .6rem; max-width: 72ch; }
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
details[open] { border-color: var(--forest); }
summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rust);
  transition: transform .2s ease-out;
}
details[open] summary::after { content: "\2212"; }
summary:hover { color: var(--rust); }
details > p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--ink-soft); }

/* ---------- related ---------- */

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.related a {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .18s ease-out, background-color .18s ease-out;
}
.related a:hover { border-color: var(--forest); background: var(--lime-soft); }
.related strong { display: block; margin-bottom: .3rem; font-size: 1rem; color: var(--forest); }
.related span { font-size: .87rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- footer ---------- */

.site-footer { padding: 2.75rem 0; background: var(--forest-deep); color: #f4e6be; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.25rem; }
.footer-links a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.site-footer p { margin: 0; font-size: .87rem; color: #c9c0a2; }

/* ---------- focus ---------- */

a:focus-visible, summary:focus-visible, .button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .article { grid-template-columns: 1fr; gap: 2.5rem; }
  .rail { position: static; grid-template-columns: repeat(2, 1fr); align-items: start; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { order: -1; max-width: 320px; margin-inline: auto; }
  .hero-card img { aspect-ratio: 1; }
  .lede { max-width: none; }
  .proof-list { grid-template-columns: repeat(2, 1fr); }
  .proof-list div:nth-child(odd) { border-left: 0; }
  .proof-list div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .offer-grid, .related { grid-template-columns: 1fr; }
  .offer.featured { box-shadow: var(--stamp); }
}

@media (max-width: 620px) {
  .nav-links a:not(.button) { display: none; }
  .nav-links { gap: .75rem; }
  .rail { grid-template-columns: 1fr; }
  .actions { gap: .6rem; }
  .actions .button { flex: 1 1 100%; }
  thead th { white-space: normal; }
  th, td { padding: .6rem .65rem; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .button:hover, .button:active { transform: none; }
}
