@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #151814;
  --muted: #565e51;
  --paper: #f7f8f3;
  --line: #dce1d6;
  --dark: #111413;
  --guide: #edf1e5;
  --rounding: .65rem;
  --lime: #d3f85a;
  --heading: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid #5e8200;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.065em; line-height: 1.02; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.shell { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2; transform: translateY(-160%); background: var(--lime); color: var(--dark); padding: .75rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { background: var(--dark); color: #f7f9f4; border-bottom: 1px solid #ffffff24; }
.header-layout, .inner-header { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--heading); font-size: 1.5rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.brand img { flex: none; }
.site-nav { display: flex; gap: clamp(1.1rem, 3.2vw, 3rem); align-items: center; font-size: .9375rem; color: #d6dad2; }
.site-nav a, .back-link { text-decoration: none; }
.site-nav a:hover, .back-link:hover { color: var(--lime); }
.region { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .7rem; border: 1px solid #ffffff2e; border-radius: .35rem; font-size: .875rem; color: #e1e6dc; white-space: nowrap; }
.region svg { width: 1rem; height: 1rem; color: #b8c0b3; }
.region span { color: inherit; }

.hero { background: var(--dark); color: #f7f9f4; overflow: clip; }
.hero-layout { position: relative; min-height: 32.5rem; display: grid; align-items: center; grid-template-columns: 49% 51%; }
.hero-copy { padding-block: 4.4rem; position: relative; z-index: 1; }
.overline { font-size: .875rem; text-transform: uppercase; font-weight: 700; letter-spacing: .09em; }
.hero-label { color: var(--lime); display: flex; gap: .65rem; align-items: center; }
.hero-label::before { content: ''; width: 1.45rem; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(3.65rem, 7vw, 6.7rem); letter-spacing: -.088em; line-height: .94; margin-top: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-description { font-size: clamp(1rem, 1.5vw, 1.19rem); line-height: 1.55; max-width: 24rem; color: #c5ccc0; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button { min-height: 3.1rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .38rem; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.2; transition: background-color .18s, color .18s, border-color .18s; }
.button-lime { background-color: var(--lime); color: var(--ink); }
.button-lime:hover { background-color: #e2ff9d; }
.button-outline { color: #eff4eb; background: color-mix(in srgb, var(--dark) 70%, transparent); border-color: #747d71; }
.button-outline:hover { background: #252e23; border-color: #a9b59f; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #38432e; }
.button-quiet { background: #eef1e7; color: var(--ink); border-color: #dce2d3; }
.button-quiet:hover { background: #e2e7d8; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.hero-visual { position: absolute; inset: 0 calc((100% - 100vw) / 2) 0 41%; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 54%; }
.hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--dark) 0%, color-mix(in srgb, var(--dark) 7%, transparent) 22%, transparent 43%), linear-gradient(0deg, var(--dark) 0%, transparent 20%); }
.hero-strip { position: relative; background: #171b17; border-block: 1px solid #ffffff20; }
.strip-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip-layout > span { min-height: 4.25rem; display: flex; gap: .65rem; align-items: center; justify-content: center; padding: .75rem; color: #e1e7db; font-size: .9375rem; }
.strip-layout > span + span { border-left: 1px solid #ffffff1b; }
.strip-layout svg { flex: none; color: var(--lime); }

.catalog, .guide-section, .faq { scroll-margin-top: 1.5rem; }
.catalog { padding-block: 4.65rem 4.85rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: .85rem 1rem; margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); font-size: .9375rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.product { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--rounding); }
.product-image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.52; background: var(--image-color); }
.product-image::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #ffffffbf, transparent 72%); }
.product-image img { position: absolute; width: 78%; height: 88%; object-fit: contain; transition: transform .28s ease; filter: drop-shadow(0 .7rem .65rem #171b1727); }
.product:hover .product-image img { transform: translateY(-3px); }
.product-info { flex: 1; display: flex; flex-direction: column; padding: 1.3rem 1.3rem 1.2rem; }
.product-info .overline { color: #536148; }
.product-info h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.1; letter-spacing: -.05em; margin: .35rem 0 .55rem; }
.product-info > p:not(.overline) { margin-bottom: 1.25rem; color: var(--muted); }
.product-action { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.price { font-family: var(--heading); font-weight: 700; font-size: 1.55rem; letter-spacing: -.05em; }
.product-action .button { min-height: 2.75rem; }

.guide { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(1.5rem, 5vw, 4.15rem); background: var(--guide); border: 1px solid #dce4d3; border-radius: var(--rounding); }
.guide-intro .overline { color: #536148; margin-bottom: .75rem; }
.guide-intro h2 { max-width: 26rem; }
.guide-intro > p:not(.overline) { margin: 1.05rem 0 1.2rem; color: var(--muted); max-width: 25rem; }
.guide-link { color: #344f08; font-weight: 700; }
.guide-steps { display: grid; gap: 1rem; list-style: none; counter-reset: guide-step; margin: 0; padding: 0; }
.guide-steps li { counter-increment: guide-step; display: flex; gap: .95rem; align-items: start; border-bottom: 1px solid #d2dbcb; padding-bottom: .9rem; }
.guide-steps li:last-child { border: 0; padding: 0; }
.guide-steps li::before { content: counter(guide-step); display: grid; place-items: center; flex: 0 0 2.12rem; aspect-ratio: 1; border-radius: 50%; background: #dce6ca; color: #26351a; font-family: var(--heading); font-weight: 700; }
.guide-steps h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .15rem; }
.guide-steps p { color: var(--muted); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; padding-block: 4.75rem; }
.faq h2 { font-size: clamp(2rem, 3.45vw, 2.75rem); }
.faq-items details { border-top: 1px solid var(--line); }
.faq-items details:last-child { border-bottom: 1px solid var(--line); }
.faq-items summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95rem; font-weight: 700; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: '+'; font-family: var(--heading); font-size: 1.4rem; line-height: 1; color: #466507; }
.faq-items details[open] summary::after { content: '−'; }
.faq-items details p { padding-bottom: 1rem; max-width: 36rem; color: var(--muted); }

.site-footer { background: var(--dark); color: #f7f9f4; }
.footer-layout { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; padding-block: 1.25rem; }
.footer-layout p { color: #b7c0b1; font-size: .9375rem; }
.footer-layout > a:last-child { font-size: .9375rem; }
.footer-layout > a:last-child:hover { color: var(--lime); }

body:has(dialog[open]) { overflow: hidden; }
.modal { width: min(100% - 2.5rem, 27rem); max-height: calc(100% - 2.5rem); border: 1px solid var(--line); padding: 1.85rem; border-radius: .85rem; box-shadow: 0 18px 75px #0005; color: var(--ink); background: #fbfcf8; }
.modal::backdrop { background: #080b08a6; backdrop-filter: blur(2px); }
.modal h2 { font-size: 2.15rem; }
.modal h2:focus { outline: none; }
.modal p { color: var(--muted); margin-top: .75rem; }
.modal-mark { display: block; margin-bottom: 1.1rem; }
.welcome-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.35rem; }
.welcome-privacy { display: inline-block; color: #54634a; font-size: .875rem; margin-top: 1rem; }
.checkout-modal h2 { margin-right: 2rem; }
.icon-button { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .4rem; background: #f2f4ee; color: var(--ink); }
.icon-button:hover { background: #e9eddf; }
.close-checkout { position: absolute; inset: 1.1rem 1.1rem auto auto; }
.checkout-item { display: flex; gap: .5rem; justify-content: space-between; align-items: baseline; background: #eef2e8; padding: .75rem; margin-top: 1.1rem; border-radius: .35rem; }
.checkout-item span { white-space: nowrap; }
#checkout-form { display: grid; gap: .45rem; margin-top: 1rem; }
#checkout-form label { font-weight: 700; font-size: .9375rem; }
#checkout-form input { width: 100%; min-height: 3rem; background: white; color: var(--ink); border: 1px solid #a9b3a2; border-radius: .35rem; padding: .55rem .75rem; }
#checkout-form input::placeholder { color: #687466; }
#checkout-form input + label, #checkout-form input + button { margin-top: .45rem; }

.inner-page { min-height: 100vh; display: flex; flex-direction: column; }
.inner-page main { flex: 1; }
.back-link { font-size: .9375rem; color: #e0e7db; }
.policy { max-width: 46rem; padding-block: clamp(2.6rem, 7vw, 5rem); }
.policy h1, .confirmation h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); letter-spacing: -.075em; line-height: .97; }
.policy p { color: var(--muted); }
.policy .policy-date { color: #465638; font-weight: 700; margin-block: 1rem 1.4rem; }
.policy h2 { font-size: 1.5rem; letter-spacing: -.04em; margin: 1.8rem 0 .5rem; }
.policy a { color: #344f08; }
.confirmation { display: grid; place-items: center; padding-block: 2.5rem; }
.confirmation-card { width: min(100%, 39rem); padding: clamp(1.5rem, 5.5vw, 3.75rem); background: white; border: 1px solid var(--line); border-radius: .65rem; }
.confirmation-card p { margin: 1rem 0 1.5rem; color: var(--muted); }
.confirmation-icon { display: grid; place-items: center; background: var(--lime); width: 3rem; height: 3rem; border-radius: .5rem; margin-bottom: 1.25rem; }
.confirmation-icon svg { width: 1.55rem; height: 1.55rem; stroke-width: 2; }

@media (max-width: 60rem) {
  .shell { width: calc(100% - 3.5rem); }
  .hero-layout { min-height: 29rem; }
  .hero-visual { left: 39%; }
  .product-info { padding-inline: 1rem; }
}

@media (max-width: 45rem) {
  .shell { width: calc(100% - 2.25rem); }
  .header-layout { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; padding-block: .65rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.25rem; border-top: 1px solid #ffffff24; padding-top: .55rem; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding: 2.4rem 0 0; }
  .hero h1 { font-size: clamp(3.1rem, 11.75vw, 5.4rem); }
  .hero-description { margin-top: 1rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-visual { position: relative; inset: auto; margin-inline: -1.125rem; min-height: 13rem; aspect-ratio: 1.95; }
  .hero-visual::after { background: linear-gradient(180deg, var(--dark) 0%, transparent 20%, transparent 83%, var(--dark) 100%); }
  .strip-layout > span { flex-direction: column; text-align: center; gap: .35rem; font-size: .875rem; line-height: 1.15; padding-inline: .3rem; }
  .catalog { padding-block: 3rem; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 1.25rem; }
  .product-grid, .guide, .faq { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1.65; }
  .guide { gap: 1.6rem; }
  .faq { padding-block: 3rem; }
}

@media (min-width: 35rem) and (max-width: 45rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
