:root {
  --bg: #f3ecde;
  --paper: #fffdf8;
  --line: #d7cab2;
  --text: #1d1b17;
  --muted: #6f685d;
  --accent: #17663b;
  --accent-soft: #dfebdf;
  --dark-soft: #e6ddd0;
  --shadow: 0 18px 45px rgba(44, 38, 28, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(23, 102, 59, 0.12), transparent 28%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at top center, black, transparent 78%);
}

.site-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 20px auto;
  padding: 22px;
  background: color-mix(in srgb, var(--paper) 94%, white 6%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.topbar,
.footer,
.section-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  margin-bottom: 40px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a,
.footer-links a,
.text-link,
.legal-section a {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover,
.legal-section a:hover {
  color: var(--accent);
}

.hero {
  padding: 24px 0 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  background: var(--dark-soft);
  color: var(--text);
}

.section {
  padding: 36px 0 8px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2,
.section-split h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
}

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

.product-card,
.legal-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(23, 102, 59, 0.08), transparent 32%),
    linear-gradient(180deg, #fffdf9 0%, #f3ecdf 100%);
}

.product-card-featured {
  background:
    radial-gradient(circle at top left, rgba(23, 102, 59, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfffc 0%, #eaf2eb 100%);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.pill,
.status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill {
  color: var(--accent);
}

.status {
  color: var(--muted);
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.product-card p,
.principle p,
.footer-copy,
.legal-card p,
.legal-section p,
.legal-section li,
.text-note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.text-link,
.text-note {
  display: inline-block;
  margin-top: 18px;
}

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

.principle {
  padding: 18px;
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
}

.principle strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.legal-shell {
  max-width: 980px;
}

.legal-page {
  padding: 8px 0 24px;
}

.legal-updated {
  margin: 12px 0 22px;
  color: var(--muted);
}

.legal-section {
  margin-top: 26px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.legal-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@media (max-width: 920px) {
  .card-grid,
  .principles,
  .section-split,
  .topbar,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 64px);
  }
}
