:root {
  --ink: #171816;
  --ink-soft: #363b35;
  --paper: #f4f1e8;
  --paper-strong: #fbfaf5;
  --mist: #e4e8df;
  --line: #c9c8bc;
  --forest: #183b2d;
  --forest-2: #25513d;
  --brick: #8f2f28;
  --blue: #263f66;
  --gold: #c2974b;
  --shadow: 0 18px 60px rgb(23 24 22 / 16%);
  --max: 1180px;
  --sans: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgb(23 24 22 / 4%) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper-strong);
  padding: 0.7rem 0.9rem;
  z-index: 20;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  border-bottom: 1px solid rgb(23 24 22 / 12%);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--paper-strong);
  border-radius: 6px;
  font-size: 0.72rem;
}

.nav-links {
  gap: clamp(0.6rem, 2vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-links a,
.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.site-footer a:hover {
  border-bottom-color: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgb(23 24 22 / 12%);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(23 24 22 / 92%) 0%, rgb(23 24 22 / 76%) 44%, rgb(23 24 22 / 32%) 100%),
    linear-gradient(135deg, transparent 0 18%, rgb(194 151 75 / 34%) 18% 18.5%, transparent 18.5% 45%, rgb(143 47 40 / 34%) 45% 45.6%, transparent 45.6%),
    linear-gradient(45deg, transparent 0 58%, rgb(37 81 61 / 58%) 58% 70%, transparent 70%),
    repeating-linear-gradient(90deg, rgb(244 241 232 / 9%) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgb(244 241 232 / 7%) 0 1px, transparent 1px 72px),
    var(--ink);
  transform: scale(1.02);
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgb(23 24 22 / 12%) 52%, rgb(23 24 22 / 46%) 100%),
    repeating-linear-gradient(0deg, rgb(244 241 232 / 5%) 0 1px, transparent 1px 6px);
  z-index: -1;
}

.hero-content {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  color: var(--paper-strong);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  max-width: 880px;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  color: color-mix(in oklch, var(--paper-strong) 86%, var(--gold));
}

.hero-actions,
.contact-band,
.site-footer,
.product-card-top,
.fit-list {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.button-primary {
  background: var(--gold);
  color: #19140a;
}

.button-secondary {
  color: var(--paper-strong);
  border-color: rgb(244 241 232 / 45%);
  background: rgb(244 241 232 / 8%);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-note {
  max-width: 700px;
  margin: 1.5rem 0 0;
  color: rgb(244 241 232 / 74%);
  font-size: 0.95rem;
}

.ledger {
  width: min(var(--max), calc(100% - 2rem));
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.ledger div {
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.ledger div + div {
  border-left: 1px solid var(--line);
}

.ledger-label {
  display: block;
  color: var(--brick);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ledger strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-intro.compact {
  display: block;
  max-width: 860px;
}

.section-intro p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-decoration: none;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: var(--forest);
}

.product-card-featured {
  background:
    linear-gradient(135deg, rgb(24 59 45 / 94%), rgb(23 24 22 / 97%)),
    var(--forest);
  color: var(--paper-strong);
  box-shadow: var(--shadow);
}

.product-card-featured::before {
  background: var(--gold);
}

.product-card-top {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 8vw, 6rem);
  color: color-mix(in oklch, currentColor 72%, transparent);
  font-size: 0.88rem;
}

.status {
  color: var(--gold);
  font-weight: 900;
}

.product-url {
  text-align: right;
  overflow-wrap: anywhere;
}

.product-card p {
  color: color-mix(in oklch, currentColor 76%, transparent);
  font-size: 1.02rem;
}

.detail-list {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  color: color-mix(in oklch, currentColor 82%, transparent);
}

.detail-list li {
  padding: 0.45rem 0;
  border-top: 1px solid color-mix(in oklch, currentColor 18%, transparent);
}

.text-link {
  margin-top: auto;
  font-weight: 900;
  color: var(--gold);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-grid article {
  background: var(--paper-strong);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.method-index {
  display: block;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.method-grid p,
.buyer-fit p,
.policy-main p,
.policy-main li {
  color: var(--ink-soft);
}

.buyer-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-list {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fit-list span {
  display: inline-flex;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--paper-strong) 74%, var(--mist));
  border-radius: 4px;
  font-weight: 800;
}

.contact-band {
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--paper-strong);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 8px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

.policy-hero {
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.policy-hero h1 {
  color: var(--ink);
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.policy-hero p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.policy-main {
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  display: grid;
  gap: 1rem;
}

.policy-panel {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.policy-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.policy-panel ul {
  padding-left: 1.2rem;
  margin: 0;
}

.policy-panel li + li {
  margin-top: 0.55rem;
}

.updated {
  color: var(--brick);
  font-weight: 900;
}

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 6rem;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgb(23 24 22 / 92%) 0%, rgb(23 24 22 / 78%) 100%),
      linear-gradient(135deg, transparent 0 24%, rgb(194 151 75 / 30%) 24% 24.8%, transparent 24.8% 55%, rgb(143 47 40 / 26%) 55% 56%, transparent 56%),
      repeating-linear-gradient(90deg, rgb(244 241 232 / 8%) 0 1px, transparent 1px 48px),
      repeating-linear-gradient(0deg, rgb(244 241 232 / 6%) 0 1px, transparent 1px 48px),
      var(--ink);
    transform: none;
  }

  .ledger,
  .section-intro,
  .product-layout,
  .method-grid,
  .buyer-fit,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .ledger div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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