:root {
  --ink: #17201b;
  --muted: #637067;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #d8d2c7;
  --forest: #21372d;
  --gold: #c9903d;
  --sage: #8a9a80;
  --clay: #b96f55;
  --blue: #536c7b;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.12);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(92vh - 72px);
  padding: clamp(44px, 6vw, 78px) clamp(18px, 5vw, 76px) 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.4vw, 4.25rem);
  font-weight: 520;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 520;
  line-height: 1.05;
}

h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary,
.secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  font-weight: 720;
}

.primary {
  background: var(--forest);
  color: #fff;
}

.secondary {
  color: var(--forest);
}

.hero-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
}

.hero-board img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(23, 32, 27, 0.1);
  background: #fff;
}

.band {
  padding: clamp(32px, 5vw, 68px) clamp(18px, 5vw, 76px);
  background: var(--forest);
  color: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: rgba(23, 32, 27, 0.14);
}

.metrics div {
  min-height: 118px;
  padding: 28px;
  background: var(--forest);
}

.metrics strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 520;
}

.metrics span {
  color: #d7dfd8;
}

.section {
  padding: clamp(50px, 7vw, 96px) clamp(18px, 5vw, 76px);
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tag {
  align-self: flex-start;
  padding: 4px 8px;
  border: 1px solid #d6c0a0;
  border-radius: 999px;
  color: #8b602d;
  font-size: 0.78rem;
  font-weight: 720;
}

.product-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: auto 0 18px;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 720;
}

.text-link {
  color: var(--forest);
  font-weight: 780;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: #263c31;
}

.market-grid article {
  padding: 4px 0;
}

.flag {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #e9c992;
  font-weight: 780;
}

.market-grid p,
.policy-grid p {
  max-width: 440px;
  color: #d7dfd8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
}

.flow {
  display: grid;
  gap: 12px;
}

.flow div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.flow span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #e8b35f;
  font-weight: 780;
}

.flow p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #415047;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  background: #32463b;
}

.policy-grid h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 24px;
  }

  .product-grid,
  .metrics,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .hero-board img {
    aspect-ratio: 1;
  }

  h1 {
    font-size: 2.16rem;
    line-height: 1.02;
  }

  .lede {
    font-size: 1rem;
  }

  .actions {
    flex-direction: column;
    margin-top: 22px;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
