:root {
  --ink: #1c1915;
  --muted: #5e584e;
  --paper: #f3eee4;
  --card: #fffdf8;
  --line: #e3dacb;
  --forest: #1b3a32;
  --forest-soft: #e7f1ed;
  --clay: #b85a32;
  --max: 1100px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--forest);
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 18px;
  text-align: center;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  height: 58px;
  width: auto;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 42px;
}

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

h1,
h2,
.benefit-index {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-photo {
  margin: 0;
}

.hero-photo img,
.benefit-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-photo img {
  aspect-ratio: 4 / 3;
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefit {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "photo copy";
  gap: 28px 36px;
  align-items: center;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.benefit.is-flip {
  grid-template-areas: "copy photo";
}

.benefit-index {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 1.35rem;
}

.benefit-photo {
  grid-area: photo;
  margin: 0;
}

.benefit-photo img {
  aspect-ratio: 5 / 4;
}

.benefit-body {
  grid-area: copy;
  padding: 8px 8px 8px 0;
}

.benefit h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.benefit p {
  margin: 0 0 12px;
}

.cta {
  font-weight: 700;
  text-underline-offset: 4px;
}

.cta::after {
  content: " →";
  text-decoration: none;
}

.site-footer {
  background: var(--forest);
  color: #e7f0ec;
  padding: 48px 20px 28px;
}

.footer-grid,
.footer-brands,
.copy {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 32px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li {
  margin: 0 0 10px;
  color: #d5e4de;
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-brands {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.copy {
  margin-top: 22px;
  margin-bottom: 0;
  color: #b7cdc5;
  font-size: 0.85rem;
  text-align: center;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.45rem;
}

.legal p,
.legal li {
  color: #3a342c;
}

.legal ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

.cookie {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 21, 0.14);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.btn {
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-accept {
  border: 0;
  background: var(--forest);
  color: #fff;
}

.btn-reject {
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
}

@media (max-width: 860px) {
  .hero,
  .benefit,
  .benefit.is-flip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit,
  .benefit.is-flip {
    grid-template-areas:
      "photo"
      "copy";
  }

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

  .cookie-actions {
    justify-content: flex-end;
  }
}
