:root {
  --ink: #172119;
  --muted: #687268;
  --green: #176b43;
  --green-dark: #0e4e30;
  --lime: #dff76a;
  --cream: #f6f4eb;
  --paper: #fffef9;
  --line: #dfe5dc;
  --shadow: 0 18px 55px rgba(18, 42, 28, .13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.cart-open { overflow: hidden; }
::selection { color: var(--ink); background: var(--lime); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #9fbe18; outline-offset: 4px; }

.academic-bar { padding: 9px 20px; text-align: center; color: #fff; background: var(--green-dark); font-size: .78rem; font-weight: 750; letter-spacing: .035em; }
.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 16px clamp(20px, 5vw, 72px); border-bottom: 1px solid rgba(223, 229, 220, .85); background: rgba(255, 254, 249, .92); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; width: 42px; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--green-dark); background: var(--lime); font-weight: 950; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; line-height: 1.1; }
.brand small { color: var(--muted); font-size: .67rem; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { position: relative; color: #3c463e; text-decoration: none; font-size: .9rem; font-weight: 700; }
.main-nav a::after { position: absolute; right: 50%; bottom: -7px; left: 50%; height: 2px; border-radius: 99px; content: ""; background: var(--green); transition: left .2s ease, right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; left: 0; }
.main-nav a:hover { color: var(--green); }
.cart-button, .primary-button, .secondary-button { border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; }
.cart-button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; color: #fff; background: var(--ink); }
.cart-count { display: grid; min-width: 27px; height: 27px; padding: 0 7px; place-items: center; border-radius: 99px; color: var(--ink); background: var(--lime); }
.icon-button { border: 0; cursor: pointer; color: inherit; background: transparent; font-size: 1.5rem; }
.menu-toggle { display: none; }

.hero { display: grid; max-width: 1240px; min-height: 690px; margin: 0 auto; padding: clamp(55px, 8vw, 110px) clamp(20px, 4vw, 52px); align-items: center; gap: clamp(42px, 7vw, 90px); grid-template-columns: .9fr 1.1fr; }
.eyebrow { display: inline-block; margin-bottom: 15px; color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(2.8rem, 5.8vw, 5.6rem); }
.hero-copy > p { max-width: 590px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.variant-block { margin: 34px 0 22px; }
.field-label { display: block; margin-bottom: 10px; font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.variants { display: flex; flex-wrap: wrap; gap: 9px; }
.variant { padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink); background: #fff; font-weight: 760; }
.variant, .thumb, .primary-button, .secondary-button, .cart-button { transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.variant:hover, .thumb:hover { border-color: #8aa195; transform: translateY(-2px); }
.variant small { display: block; color: var(--green); font-size: .68rem; }
.variant.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #edf7f0; }
.primary-button { padding: 15px 24px; color: white; background: var(--green); box-shadow: 0 12px 30px rgba(23, 107, 67, .2); }
.primary-button:hover { background: var(--green-dark); }
.primary-button:hover, .cart-button:hover { transform: translateY(-2px); }
.primary-button:active, .cart-button:active, .secondary-button:active { transform: translateY(0); }
.secondary-button { padding: 12px 18px; color: var(--ink); border: 1px solid var(--line); background: white; }
.microcopy { margin: 10px 0 0; font-size: .75rem !important; }

.gallery { min-width: 0; }
.gallery-main { position: relative; display: grid; width: 100%; min-height: 520px; padding: clamp(30px, 5vw, 70px); overflow: hidden; place-items: center; border: 0; border-radius: 34px; cursor: zoom-in; background: linear-gradient(145deg, #e9f4e8, #f7f3de); box-shadow: var(--shadow); }
.gallery-main::before { position: absolute; width: 250px; aspect-ratio: 1; border: 44px solid rgba(223, 247, 106, .55); border-radius: 50%; content: ""; inset: -80px auto auto -90px; }
.gallery-main img { position: relative; max-height: 410px; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(27, 53, 34, .18)); }
.gallery-main span { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 99px; color: #fff; background: rgba(23, 33, 25, .75); font-size: .68rem; }
.gallery-thumbs { display: grid; margin-top: 12px; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.thumb { min-width: 0; height: 94px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; background: white; }
.thumb.active { border: 2px solid var(--green); }
.thumb img { height: 100%; object-fit: contain; }

.content-section { max-width: 1180px; margin: 0 auto; padding: clamp(70px, 9vw, 125px) clamp(20px, 4vw, 52px); }
.section-heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-heading h2, .demo-strip h2, .guarantee h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.section-heading p, .feature p, .guarantee p { color: var(--muted); }
.feature { display: grid; margin: 0 0 70px; align-items: center; gap: clamp(36px, 7vw, 92px); grid-template-columns: .8fr 1.2fr; }
.feature.reverse { grid-template-columns: 1.2fr .8fr; }
.feature.reverse > div { order: 2; }
.feature h3 { margin-bottom: 18px; font-size: clamp(1.9rem, 3vw, 3rem); }
.feature p { font-size: 1.06rem; }
.feature-number { display: inline-grid; width: 46px; height: 30px; margin-bottom: 18px; place-items: center; border-radius: 99px; color: var(--green-dark); background: var(--lime); font-size: .78rem; font-weight: 900; }
.image-button { min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); cursor: zoom-in; background: #eef2eb; }
.image-button img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.image-button:hover img { transform: scale(1.025); }
.demo-strip { display: grid; max-width: 1180px; margin: 15px auto; padding: clamp(34px, 6vw, 70px); align-items: center; gap: 45px; border-radius: 38px; color: white; background: var(--ink); grid-template-columns: 1fr minmax(230px, 360px); }
.demo-strip .eyebrow { color: var(--lime); }
.gif-frame { background: white; }
.gif-frame img { aspect-ratio: 3 / 4; object-fit: cover; }
.testimonials { max-width: 1260px; }
.testimonial-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.testimonial-grid .image-button img { aspect-ratio: 1; }
.box-section { padding-top: 20px; }
.box-diagram { display: grid; padding: clamp(30px, 5vw, 60px); align-items: center; gap: 50px; border: 1px solid var(--line); border-radius: 32px; background: var(--cream); grid-template-columns: .8fr 1.2fr; }
.box-art { display: grid; min-height: 250px; place-content: center; border-radius: 24px; color: var(--green-dark); background: linear-gradient(145deg, var(--lime), #fff7b8); text-align: center; box-shadow: inset 0 0 0 12px rgba(255,255,255,.25); transform: rotate(-2deg); }
.box-art span { font-size: 1.2rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.box-art strong { font-size: 3.5rem; letter-spacing: -.06em; }
.box-diagram ul { display: grid; margin: 0; padding: 0; gap: 15px; list-style: none; }
.box-diagram li { display: flex; align-items: center; gap: 15px; padding: 17px 20px; border-radius: 14px; background: white; font-weight: 750; }
.box-diagram li span { color: var(--green); font-size: .75rem; }
.faq { max-width: 960px; }
.accordion-list { border-top: 1px solid var(--line); }
.accordion-list details { border-bottom: 1px solid var(--line); }
.accordion-list summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; font-size: 1.1rem; font-weight: 800; list-style: none; }
.accordion-list summary::-webkit-details-marker, .values summary::-webkit-details-marker { display: none; }
.accordion-list summary::after, .values summary::after { position: absolute; right: 8px; color: var(--green); content: "+"; font-size: 1.5rem; }
.accordion-list details[open] summary::after, .values details[open] summary::after { content: "−"; }
.accordion-list details p { max-width: 760px; padding: 0 0 24px; color: var(--muted); }
.values { padding-top: 20px; }
.values details { border: 1px solid var(--line); border-radius: 22px; }
.values summary { position: relative; padding: 22px 60px 22px 24px; cursor: pointer; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; list-style: none; }
.values-content { display: grid; padding: 0 24px 24px; align-items: center; gap: 36px; grid-template-columns: 1fr 1fr; }
.values-content p { color: var(--muted); }
.guarantee { display: grid; max-width: 1080px; padding-top: 40px; align-items: center; gap: clamp(36px, 7vw, 80px); grid-template-columns: 1fr 1fr; }
.guarantee h2 { font-size: clamp(2rem, 4vw, 3.6rem); }

footer { display: grid; margin-top: 70px; padding: 55px clamp(20px, 6vw, 84px); align-items: start; gap: 30px; color: #e8eee9; background: var(--ink); grid-template-columns: 1fr auto; }
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand p { margin: 3px 0 0; color: #aeb9b0; font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
footer nav a { color: #dae3db; font-size: .82rem; text-decoration: none; }
.footer-note { margin: 0; color: #95a198; font-size: .75rem; grid-column: 1 / -1; }

.cart-drawer { position: fixed; z-index: 50; top: 0; right: 0; width: min(420px, 94vw); height: 100dvh; padding: 28px; visibility: hidden; background: var(--paper); box-shadow: -24px 0 70px rgba(0,0,0,.18); transform: translateX(105%); transition: .28s ease; }
.cart-drawer.open { visibility: visible; transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; }
.cart-header h2 { margin: 0; font-size: 1.5rem; }
.cart-content { min-height: 220px; padding: 28px 0; }
.cart-item { display: grid; padding: 16px; gap: 6px; border: 1px solid var(--line); border-radius: 16px; }
.cart-item span { color: var(--muted); font-size: .85rem; }
.cart-disclaimer, .empty-cart { color: var(--muted); font-size: .8rem; }
.overlay { position: fixed; z-index: 40; inset: 0; background: rgba(10, 20, 13, .48); }
.image-modal { width: min(920px, 94vw); max-height: 92vh; padding: 0; overflow: visible; border: 0; border-radius: 24px; background: transparent; }
.image-modal::backdrop { background: rgba(8, 18, 11, .83); }
.image-modal img { max-height: 88vh; border-radius: 20px; object-fit: contain; background: white; }
.modal-close { position: absolute; z-index: 1; top: -17px; right: -10px; display: grid; width: 40px; aspect-ratio: 1; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: var(--lime); font-size: 1.5rem; }
.cookie-banner { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: grid; width: min(590px, calc(100vw - 44px)); padding: 22px; gap: 18px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); grid-template-columns: 1fr auto; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; align-self: center; }
.noscript-note { position: fixed; z-index: 80; right: 18px; bottom: 18px; left: 18px; margin: 0; padding: 14px 18px; border-radius: 14px; color: #fff; background: #8b2c22; text-align: center; font-weight: 750; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 4px; }
  .main-nav a::after { display: none; }
  .cart-button { padding-left: 12px; font-size: 0; }
  .cart-count { font-size: .8rem; }
  .hero, .feature, .feature.reverse, .demo-strip, .box-diagram, .values-content, .guarantee { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .gallery-main { min-height: 390px; }
  .feature.reverse > div { order: initial; }
  .demo-strip { margin-right: 18px; margin-left: 18px; }
  .gif-frame { max-width: 340px; margin: auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .site-header { padding: 13px 15px; }
  .brand-mark { width: 35px; }
  h1 { font-size: 2.75rem; }
  .hero { padding-top: 48px; }
  .hero-copy > p { font-size: .98rem; }
  .gallery-main { min-height: 330px; border-radius: 24px; }
  .feature { margin-bottom: 48px; }
  .variants { display: grid; grid-template-columns: 1fr; }
  .variant { text-align: left; }
}

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