:root {
  color-scheme: light;
  --brand: #b1d9a8;
  --brand-soft: #eaf4e6;
  --brand-deep: #8fc384;
  --canvas: #f7faf5;
  --surface: #ffffff;
  --ink: #18321f;
  --muted: #506657;
  --deep: #245c38;
  --border: #d5e3d1;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 1.5rem;
  --page: 78rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--deep); text-underline-offset: 0.18em; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--page)); margin-inline: auto; }

/* ── header: a floating glass bar ── */
.site-header { position: fixed; z-index: 20; top: 0.9rem; left: 0; right: 0; pointer-events: none; }
.site-header .bar { pointer-events: auto; width: min(100% - 1.5rem, var(--page)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.7rem 0.55rem 1.3rem; border-radius: 999px; background: rgb(247 250 245 / 62%); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgb(255 255 255 / 70%); box-shadow: 0 0.5rem 2rem rgb(24 50 31 / 10%); }
.wordmark { color: var(--ink); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.01em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 0.4rem; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; padding: 0.5rem 0.9rem; border-radius: 999px; }
.site-header nav a:hover { background: rgb(36 92 56 / 10%); }
.site-header nav a.is-here { background: rgb(36 92 56 / 12%); font-weight: 600; }
.site-header nav a.pill { background: var(--deep); color: #fff; font-weight: 600; }
.site-header nav a.pill:hover { background: #1c4a2d; }

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.4rem; color: #fff; background: var(--deep); border-radius: 999px; font-weight: 650; text-decoration: none; border: 2px solid var(--deep); transition: transform 180ms ease, background 180ms ease; }
.button:hover { background: #1c4a2d; transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--deep); }
.button--ghost:hover { background: rgb(36 92 56 / 10%); }
.button--ink { background: var(--ink); border-color: var(--ink); }

/* ── hero with rain on the glass ── */
.hero { position: relative; min-height: min(100svh, 56rem); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, #e9f6e4, var(--brand) 55%, #6fb07a); }
.rain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 900ms ease; pointer-events: none; }
.rain-canvas.is-ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(247 250 245 / 84%) 0%, rgb(247 250 245 / 62%) 36%, rgb(247 250 245 / 0%) 72%), linear-gradient(0deg, rgb(247 250 245 / 100%) 0%, rgb(247 250 245 / 0%) 14%); }
.hero .wrap { padding-block: 7rem 6rem; }
.hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 8.2vw, 7rem); line-height: 0.98; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--deep); }
.hero-sub { max-width: 28rem; margin: 1.6rem 0 2.2rem; color: #33503b; font-size: clamp(1.15rem, 1vw + 0.95rem, 1.4rem); line-height: 1.45; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* page headers (product and contact pages) */
.page-head { position: relative; padding: 9rem 0 4.5rem; background: radial-gradient(60rem 28rem at 85% 0%, #ffffff 0%, transparent 60%), linear-gradient(160deg, var(--brand-soft), var(--brand)); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; }
.page-head .lead { max-width: 38rem; margin-top: 1.2rem; font-size: clamp(1.15rem, 1vw + 0.95rem, 1.45rem); color: #2f4c38; line-height: 1.45; }
.crumb { display: inline-block; margin-bottom: 1.2rem; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.page-head .hero-actions { margin-top: 2rem; }
.tag { display: inline-block; margin-bottom: 1rem; padding: 0.25rem 0.8rem; border-radius: 999px; background: rgb(255 255 255 / 70%); border: 1px solid rgb(36 92 56 / 18%); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 650; color: var(--deep); }

section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.02; margin-bottom: 1rem; }
.section-lead { max-width: 40rem; color: var(--muted); font-size: 1.15rem; }

/* ── product features on the home page ── */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(4rem, 9vw, 8rem); }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; margin: 0.2rem 0 1rem; }
.feature-copy > p { color: var(--muted); font-size: 1.15rem; max-width: 30rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--brand-deep); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* pictures of the products */
.shots { position: relative; perspective: 1400px; }
.shot { margin: 0; border-radius: 1rem; overflow: hidden; background: #fff; border: 1px solid rgb(24 50 31 / 12%); box-shadow: 0 2.5rem 5rem rgb(24 50 31 / 22%), 0 0.6rem 1.2rem rgb(24 50 31 / 10%); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 220ms ease-out; will-change: transform; }
.shot img { width: 100%; }
.shots .shot.back { position: relative; }
.shots .shot.front { position: absolute; width: 58%; left: -5%; bottom: -10%; }
.shots.right .shot.front { left: auto; right: -5%; }
.shots.pad { padding-bottom: 10%; }

.more-card { margin-top: clamp(4rem, 8vw, 7rem); padding: 2rem 2.2rem; border: 2px dashed var(--brand-deep); border-radius: var(--radius); background: var(--brand-soft); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.more-card h3 { font-size: 1.5rem; }
.more-card p { color: var(--muted); }

.cta-band { background: var(--brand); text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin-bottom: 1rem; }
.cta-band p { max-width: 46rem; text-wrap: balance; margin: 0 auto 2rem; color: #2c4a35; font-size: 1.2rem; }
.cta-band .actions { justify-content: center; }

/* ── product catalogue pages ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.card { padding: 1.7rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card .ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 0.9rem; background: var(--brand-soft); color: var(--deep); margin-bottom: 1rem; }
.card .ico svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 1rem; }
.alt { background: var(--brand-soft); }
.gallery { display: grid; gap: clamp(3rem, 6vw, 5rem); margin-top: 3rem; }
.gallery .feature + .feature { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.4rem; counter-reset: s; }
.step { padding: 1.7rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.note { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 4px solid var(--brand-deep); background: var(--brand-soft); border-radius: 0.5rem; color: var(--muted); max-width: 44rem; }
.video { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2.5rem 5rem rgb(24 50 31 / 22%); background: #000; }
.video video { width: 100%; display: block; aspect-ratio: 16 / 9; }
.diagram { margin-top: 2.4rem; border: 3px dashed var(--brand-deep); border-radius: var(--radius); padding: 2.2rem 1.5rem 1.6rem; position: relative; background: #fff; }
.diagram .dc { position: absolute; top: -0.95rem; left: 1.5rem; background: var(--canvas); padding: 0 0.8rem; color: var(--deep); font-weight: 700; }
.boxes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; }
.box { padding: 1rem 0.6rem; text-align: center; background: var(--brand-soft); border: 1px solid var(--border); border-radius: 1rem; }
.box b { display: block; }
.box small { color: var(--muted); }
.noweb { margin-top: 1.6rem; display: inline-block; padding: 0.7rem 1.3rem; border: 2px solid #8f2f20; border-radius: 999px; background: #fff; color: #8f2f20; font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: 0.01em; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
form.contact { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 2rem 4rem rgb(24 50 31 / 10%); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.8rem 0.95rem; color: var(--ink); background: var(--canvas); border: 1.5px solid #bcd0b7; border-radius: 0.8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(36 92 56 / 28%); border-color: var(--deep); }
.field textarea { min-height: 9rem; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.aside h2 { font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.aside p { color: var(--muted); margin-bottom: 1.4rem; }
.sent { padding: 0.9rem 1.1rem; border-radius: 0.8rem; background: var(--brand-soft); color: var(--deep); font-weight: 600; }

.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 1.2rem; }

/* fade-in on scroll (only when site.js turned it on) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 52rem) {
  .feature, .feature.flip, .contact-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .site-header nav a:not(.pill) { display: none; }
  .hero::before { background: linear-gradient(0deg, rgb(247 250 245 / 100%) 0%, rgb(247 250 245 / 0%) 14%), linear-gradient(180deg, rgb(247 250 245 / 78%) 0%, rgb(247 250 245 / 55%) 70%, rgb(247 250 245 / 25%) 100%); }
  .hero .wrap { padding-block: 6.5rem 5rem; }
  .shots .shot.front { width: 52%; bottom: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot, .button, .rain-canvas { transition: none; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* logo in the header and footer */
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark .logo-h { display: block; height: 2.4rem; width: auto; }
.site-header nav a.pill { white-space: nowrap; }
@media (max-width: 30rem) { .wordmark .logo-h { height: 1.9rem; } .site-header nav a:not(.pill)[href*="#products"] { display: none; } }
@media (max-width: 22rem) { .wordmark .logo-h { height: 1.6rem; } }
.foot-logo img { height: auto; width: 11rem; mix-blend-mode: multiply; }
.credit { margin-top: 0.8rem; color: var(--muted); font-size: 0.9rem; }
.mcp { display: grid; gap: 0.6rem; justify-items: center; padding: 1.5rem; }
.mcp-box { width: 100%; max-width: 20rem; text-align: center; padding: 1.1rem 1rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--border); font-weight: 650; box-shadow: 0 1rem 2rem rgb(24 50 31 / 8%); }
.mcp-box.deep { background: var(--deep); color: #fff; border-color: var(--deep); }
.mcp-link { color: var(--deep); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; padding-block: 0.5rem; border-left: 3px dashed var(--brand-deep); padding-left: 0.8rem; }

/* larger touch targets, and classes that replace inline styles */
.site-footer nav a, .crumb { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.sub-h { font-size: 2rem; }
.feature.first { margin-top: 4rem; }
@media (max-width: 52rem) { .site-header nav a:not(.pill)[href*="#custom"] { display: none; } .site-header nav a:not(.pill)[href*="#products"] { display: inline-flex; } }

/* skip link, screen-reader text, small notes */
.skip { position: absolute; left: 0.8rem; top: -4rem; z-index: 100; background: var(--deep); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0.6rem; font-weight: 700; }
.skip:focus { top: 0.8rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fine { margin-top: 0.8rem; font-size: 0.9rem; color: var(--muted); }
.button { font: inherit; font-weight: 700; }
.video-es { margin-top: 1.2rem; }
.video-es summary { cursor: pointer; font-weight: 700; color: var(--deep); padding: 0.6rem 0; }
@media (max-width: 22rem) { .site-header nav a:not(.pill)[href*="#products"] { display: none; } }
@media (forced-colors: active) { .rain-canvas { display: none; } }
@media print {
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .site-header, .rain-canvas, .scroll-hint, .skip { display: none !important; }
  .hero { min-height: 0; }
  * { box-shadow: none !important; }
  video { display: none; }
}

[hidden] { display: none !important; }

/* footer legal line */
.site-footer .legal { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: 0.9rem; align-items: center; }
.site-footer .legal p { margin: 0; }
.site-footer .legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* Product logo in the page header (white card, the logo file has a white background) */
.product-title { margin: 0 0 1rem; line-height: 0; }
.product-logo { display: block; width: min(24rem, 100%); height: auto; padding: 0.4rem 0.9rem; background: #fff; border-radius: 1rem; box-shadow: 0 1px 10px rgb(24 50 31 / 12%); }
