:root {
  color-scheme: light;
  --paper: #faf7ef;
  --white: #fffdf8;
  --ink: #213829;
  --muted: #526253;
  --green: #244d36;
  --olive: #e9eddf;
  --line: #d8ded0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { letter-spacing: -.055em; }
h2 { font-size: clamp(2.15rem, 5vw, 3.2rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.7rem, 3vw, 2.15rem); letter-spacing: -.035em; }
:focus-visible { outline: 3px solid #8b5c21; outline-offset: 4px; }
[id] { scroll-margin-top: 1.4rem; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; top: .7rem; left: 1rem; z-index: 3; padding: .7rem 1rem; transform: translateY(-160%); background: var(--white); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: var(--white); font-size: 1.4rem; line-height: 1; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(.9rem, 3vw, 2.2rem); }
.site-header nav a, .site-footer nav a { padding-block: .6rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(2.3rem, 5vw, 4.6rem); padding-block: clamp(3.4rem, 7vw, 6.1rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 750; color: var(--green); }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #966428; }
.hero h1 { margin-block: 1.05rem 1.3rem; font-size: clamp(3.45rem, 6.1vw, 6rem); }
.hero h1 em { display: block; color: #447050; font-weight: inherit; }
.intro { color: var(--muted); font-size: clamp(1.04rem, 1.7vw, 1.22rem); max-width: 36ch; }
.hero .button { margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 49px; padding: .7rem 1.12rem; border: 1px solid transparent; border-radius: .55rem; background: var(--green); color: #fffdf7; font: 650 .94rem/1.35 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: #173826; }
.feature { position: relative; overflow: hidden; border-radius: 1.1rem; isolation: isolate; background: #d6c6a9; }
.feature img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.feature figcaption { position: absolute; inset: auto 1rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: .7rem; background: #faf7edf5; }
.feature figcaption small { display: block; font-size: .74rem; color: var(--muted); }
.feature figcaption strong { display: block; font: 600 1.35rem/1.25 var(--serif); }
.feature figcaption a, .text-link { font-weight: 700; text-decoration: none; color: var(--green); }
.feature figcaption a { font-size: .9rem; white-space: nowrap; }
.feature figcaption a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.section { padding-block: clamp(3rem, 6vw, 5.2rem); }
.section-title { margin-bottom: 1.6rem; }
.section-title p { margin-top: .6rem; color: var(--muted); }
.catalog { background: var(--olive); }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.catalog-card { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: .9rem; }
.catalog-card h3 { margin-block: .4rem .65rem; }
.catalog-card > p:not(.eyebrow) { color: var(--muted); }
.catalog-action { display: flex; align-items: center; gap: .6rem 1.3rem; flex-wrap: wrap; margin-top: 1.25rem; }
.price { color: var(--ink); font-size: 1.28rem; font-weight: 750; }
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.flow-list li { padding-top: .9rem; border-top: 2px solid #b0bea3; }
.flow-list strong { font-size: 1.03rem; }
.flow-list p { margin-top: .2rem; color: var(--muted); }
.help-band { background: var(--green); color: var(--white); }
.help-inner { padding-block: clamp(2.5rem, 6vw, 4.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.help-inner p { margin-top: .45rem; color: #e0e8dc; }
.help-inner .button { color: var(--green); background: var(--white); overflow-wrap: anywhere; }
.help-inner .button:hover { background: var(--olive); }

.product-page { padding-block: 2rem 4.8rem; }
.back { display: inline-block; margin-bottom: 1.6rem; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.product h1 { margin-block: .45rem .5rem; font-size: clamp(3rem, 6vw, 5.6rem); }
.product-photo { width: 100%; height: auto; margin-top: 1.25rem; border-radius: .85rem; }
.product-details { margin-top: 1.8rem; }
.product-details dl { margin-top: .5rem; }
.product-details dl > div { padding-block: .65rem; border-bottom: 1px solid var(--line); }
.product-details dt { font-weight: 750; }
.product-details dd { color: var(--muted); }

.checkout { background: var(--white); padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; }
.checkout h2 { margin-top: .45rem; font-size: clamp(1.9rem, 3.5vw, 2.55rem); }
.package-prices { margin-block: 1.15rem 1.3rem; }
.package-prices > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .15rem .7rem; padding-block: .72rem; border-bottom: 1px solid var(--line); }
.package-prices dt { font-weight: 600; }
.package-prices dd { color: var(--green); font-weight: 750; }
.checkout .button { width: 100%; }
.package-help { margin-top: .8rem; color: var(--muted); font-size: .88rem; }

.legal { max-width: 720px; min-height: 55vh; padding-block: clamp(2.7rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.45rem); }
.legal .intro { max-width: none; margin-top: .7rem; }
.legal h2 { margin: 1.7rem 0 .35rem; font-size: 1.75rem; }
.legal p { color: var(--muted); }
.legal a { text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .product-layout { grid-template-columns: 1fr; }
  .hero { gap: 1.75rem; padding-block: 2.6rem 2.8rem; }
  .hero h1 { font-size: clamp(3.15rem, 8.7vw, 4.6rem); }
  .feature img { aspect-ratio: 4 / 3; }
  .help-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: .15rem; padding-block: .7rem; }
  .site-header nav a, .site-footer nav a { padding-block: .33rem; font-size: .88rem; }
  .catalog-grid, .flow-list { grid-template-columns: 1fr; }
  .feature figcaption { inset: auto .65rem .65rem; padding: .65rem .7rem; }
  .feature figcaption a { font-size: .82rem; }
  .section-title { margin-bottom: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
