:root {
  --ink: #21362e;
  --green: #557766;
  --green-dark: #456b5b;
  --mint: #78d9c7;
  --paper: #fffdf8;
  --cream: #f8f3eb;
  --sage: #eef6f2;
  --terra: #d28a68;
  --terra-dark: #8f4f39;
  --terra-deeper: #7c412f;
  --terra-light: #f0b08d;
  --line: rgba(33, 54, 46, .18);
  --hard-line: #21362e;
  --shadow: 0 24px 70px rgba(33, 54, 46, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

p,
li {
  color: rgba(33, 54, 46, .74);
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.62;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 112px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 900;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--terra-dark);
  color: var(--paper);
  padding: 11px 17px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .24s ease, background .24s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  background: var(--terra-deeper);
}

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hard-line);
}

.btn.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--hard-line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(33, 54, 46, .2), rgba(33, 54, 46, .82)),
    linear-gradient(90deg, rgba(33, 54, 46, .76), rgba(33, 54, 46, .18) 62%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.kicker,
.eyebrow {
  color: var(--terra-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--mint);
}

h1 {
  max-width: 940px;
  margin: 16px 0 20px;
  color: var(--paper);
  font-size: clamp(44px, 7vw, 104px);
  line-height: .9;
  text-transform: lowercase;
  text-wrap: balance;
}

.lead {
  max-width: 730px;
  color: rgba(255, 253, 248, .9);
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.42;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 900px;
}

.hero-notes span {
  border: 1px solid rgba(255, 253, 248, .24);
  border-radius: 999px;
  background: rgba(255, 253, 248, .1);
  color: rgba(255, 253, 248, .86);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}

.section {
  border-bottom: 1px solid var(--hard-line);
  background: var(--paper);
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vh, 108px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .64fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin: 12px 0 20px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .94;
  text-transform: lowercase;
  text-wrap: balance;
}

.dark h2,
.dark p {
  color: var(--paper);
}

.dark .kicker,
.dark .eyebrow {
  color: var(--terra-light);
}

h3 {
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.04;
  text-transform: lowercase;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.wide-photo {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--hard-line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--sage);
}

.wide-photo img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
}

.card-grid,
.story-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hard-line);
  border-left: 1px solid var(--hard-line);
}

.card,
.story-card,
.link-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  border-right: 1px solid var(--hard-line);
  border-bottom: 1px solid var(--hard-line);
  background: var(--cream);
  padding: 26px;
  text-decoration: none;
}

.card p,
.story-card p,
.link-card p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.46;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(210, 138, 104, .16);
  color: var(--terra-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.steps,
.checks {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(33, 54, 46, .32);
}

.step,
.check {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid rgba(33, 54, 46, .32);
  padding: 24px 0;
}

.step b,
.check b {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--hard-line);
  border-radius: 999px;
  color: var(--terra-dark);
  font-size: 14px;
  font-weight: 900;
}

.step p,
.check p {
  margin-top: 8px;
}

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

.comparison-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  border-top: 1px solid rgba(33, 54, 46, .3);
  padding: 18px 0;
}

.comparison-row strong {
  color: var(--terra-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.comparison-row p {
  color: var(--ink);
  font-weight: 700;
}

.dark .comparison-row {
  border-top-color: rgba(255, 253, 248, .3);
}

.dark .comparison-row strong {
  color: var(--terra-light);
}

.dark .comparison-row p {
  color: rgba(255, 253, 248, .92);
}

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

.limit {
  border: 1px solid var(--hard-line);
  border-radius: 20px;
  background: var(--paper);
  padding: 24px;
}

.limit p {
  margin-top: 10px;
  font-size: 18px;
}

.dark .limit {
  color: var(--ink);
}

.dark .limit h3 {
  color: var(--ink);
}

.dark .limit p {
  color: rgba(33, 54, 46, .74);
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hard-line);
}

details {
  border-bottom: 1px solid var(--hard-line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 900;
}

details p {
  max-width: 780px;
  margin-top: 12px;
}

.final-cta {
  background: linear-gradient(135deg, var(--sage), var(--paper));
  border-bottom: 1px solid var(--hard-line);
}

.final-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--hard-line);
  border-radius: 24px;
  background: var(--paper);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.final-box h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 62px);
}

.footer {
  border-top: 1px solid var(--hard-line);
  padding: 42px 0 24px;
  color: rgba(33, 54, 46, .68);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand img {
  width: 118px;
  height: auto;
}

.footer-brand p {
  max-width: 330px;
  color: rgba(33, 54, 46, .74);
  font-size: 15px;
  line-height: 1.45;
}

.footer-block {
  display: grid;
  gap: 10px;
}

.footer-block h2 {
  margin: 0;
  color: var(--terra-dark);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  color: rgba(33, 54, 46, .72);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(33, 54, 46, .12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(33, 54, 46, .68);
  font-size: 13px;
  font-weight: 500;
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-box {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(33, 54, 46, .18);
  border-radius: 18px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 18px 50px rgba(33, 54, 46, .16);
  padding: 14px 14px 14px 18px;
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.cookie-box p {
  margin: 0;
  color: rgba(33, 54, 46, .74);
  font-size: 14px;
  line-height: 1.38;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-actions button {
  min-height: 42px;
  border: 1px solid rgba(33, 54, 46, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .78);
  color: var(--ink);
  padding: 9px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cookie-actions button:last-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .split,
  .final-box {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .story-grid,
  .link-grid,
  .limits {
    grid-template-columns: 1fr;
  }

  .wide-photo {
    min-height: 320px;
  }

  .comparison-row,
  .step,
  .check {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .wrap,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 98px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 8px 12px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: .95;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 96px;
  }

  .card,
  .story-card,
  .link-card {
    min-height: auto;
  }

  .cookie-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cookie-actions button {
    flex: 1;
  }
}
