:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #ece7df;
  --ink: #22211d;
  --muted: #6a665f;
  --line: #d8d1c6;
  --green: #2f6f5e;
  --green-dark: #1f4f42;
  --blue: #496a9a;
  --amber: #b06d28;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  padding: 0 clamp(20px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 94%, white);
  border-bottom: 1px solid rgba(34, 33, 29, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, calc(var(--max) - 64px));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background:
    linear-gradient(135deg, var(--green) 0 48%, transparent 48%),
    linear-gradient(315deg, var(--amber) 0 48%, var(--blue) 48%);
  border: 1px solid rgba(34, 33, 29, 0.18);
  border-radius: 6px;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  max-width: var(--max);
  min-height: clamp(500px, calc(100svh - 330px), 570px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 32px) 40px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 5.4vw, 4rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-lede {
  max-width: 535px;
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 1px 0 rgba(34, 33, 29, 0.14);
}

.button.secondary {
  background: transparent;
  border-color: rgba(34, 33, 29, 0.2);
  color: var(--ink);
}

.hero-visual {
  width: 100%;
  justify-self: end;
  max-width: 520px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(34, 33, 29, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(64, 57, 45, 0.18);
}

.section-band,
.split-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) clamp(20px, 4vw, 32px);
}

#product {
  border-top: 1px solid var(--line);
}

.section-band.muted {
  max-width: none;
  background: var(--surface-soft);
}

.section-band.muted > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-band.muted > .section-heading {
  max-width: var(--max);
}

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

.feature-card {
  min-height: 168px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card p {
  margin-bottom: 0;
}

.split-section {
  display: block;
  border-top: 1px solid var(--line);
}

.split-section > div:first-child {
  max-width: 760px;
  margin-bottom: 22px;
}

.copy-stack {
  max-width: 760px;
}

.copy-stack p {
  max-width: 680px;
}

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

.link-grid a {
  min-height: 58px;
  padding: 17px 18px;
  background: var(--surface);
  border: 1px solid rgba(34, 33, 29, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.link-grid a:hover {
  border-color: rgba(31, 79, 66, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(clamp(20px, 4vw, 40px), calc((100vw - var(--max)) / 2 + 20px));
  background: #1f211d;
  color: white;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-page {
  background: var(--surface);
}

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 88px) clamp(20px, 4vw, 32px);
}

.legal-main h1 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
}

.legal-main h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-main a {
  color: var(--green-dark);
  font-weight: 700;
}

.legal-table {
  display: grid;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
}

.legal-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.legal-table strong,
.legal-table span {
  min-width: 0;
  padding: 14px 16px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-table strong {
  background: var(--surface-soft);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .section-heading,
  .split-section,
  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 11px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 2.85rem);
    line-height: 1.05;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual img {
    max-height: 210px;
    object-fit: cover;
    object-position: top center;
  }

  .legal-table [role="row"] {
    grid-template-columns: 1fr;
  }
}
