/* ==========================================================================
   Kabusoft design system
   Light-first, evergreen brand. Mobile-first; breakpoints 480 / 768 / 1024 / 1280.
   Sections: tokens, base, layout, components, sections, pages, utilities.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green-950: #062a1c;
  --green-900: #0a3d29;
  --green-800: #0b5d3b;
  --green-700: #10714a;
  --green-600: #168a5a;
  --green-500: #22a565;
  --green-300: #8fd3ad;
  --green-100: #e3f1e9;
  --green-50: #f1f8f4;

  --ink: #1e2522;
  --ink-2: #3c4742;
  --muted: #56625c;
  --line: #e2e6e1;
  --line-strong: #cbd3cd;
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f3f5f1;

  --dark: #0d1a14;
  --dark-2: #13261d;
  --dark-line: rgba(255, 255, 255, .1);
  --on-dark: #eef3f0;
  --on-dark-muted: #a8b8af;
  --accent-on-dark: #5cd394;

  --danger: #a1281d;
  --danger-bg: #fdf0ee;
  --success-bg: #ecf7f0;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.07rem + .25vw, 1.3rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.7rem + 3.2vw, 4.1rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 38, 27, .06), 0 1px 1px rgba(16, 38, 27, .04);
  --shadow: 0 10px 30px -12px rgba(16, 38, 27, .18), 0 2px 6px rgba(16, 38, 27, .05);
  --shadow-lg: 0 40px 80px -30px rgba(10, 44, 29, .35), 0 12px 24px -12px rgba(10, 44, 29, .15);

  --container: 1200px;
  --header-h: 72px;
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--green-700);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  color-scheme: light;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 720; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.04em; line-height: 1.04; font-weight: 780; }
h2 { font-size: var(--fs-h2); letter-spacing: -.032em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.35; }
p { text-wrap: pretty; }
a { color: var(--green-800); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); }
strong { font-weight: 680; }
::selection { background: var(--green-100); color: var(--green-950); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-panel :focus-visible { outline-color: var(--accent-on-dark); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  padding: .75rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--green-800); color: #fff; font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }
.section--muted { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(34, 165, 101, .16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px;
}
.section--dark > * { position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { margin-top: var(--space-4); font-size: var(--fs-lg); color: var(--muted); }
.section--dark .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: var(--space-4);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .cta-panel .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-line: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 1px solid var(--btn-line); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: var(--fs-sm); font-weight: 650; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--green-800); --btn-fg: #fff; --btn-line: var(--green-800); box-shadow: 0 6px 18px -8px rgba(11, 93, 59, .65); }
.btn--primary:hover { --btn-bg: var(--green-900); border-color: var(--green-900); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 93, 59, .75); }
.btn--secondary { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-line: transparent; --btn-fg: var(--green-800); padding-inline: .5rem; }
.btn--ghost:hover { border-color: transparent; color: var(--green-900); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-line: #fff; }
.btn--light:hover { --btn-bg: var(--green-50); color: var(--green-950); border-color: var(--green-50); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-line: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .icon { width: 1.1rem; height: 1.1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, .9);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 250, 247, .78); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 38, 27, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { width: 168px; height: auto; }
@media (max-width: 359px) {
  .site-header__inner { gap: var(--space-3); }
  .brand img { width: 144px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 48px; min-height: 48px; padding: 0 .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
}
.nav-toggle__bars { position: relative; flex: none; width: 18px; height: 12px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: var(--space-4) 1.25rem var(--space-6);
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: .35rem; width: 100%;
  min-height: 48px; padding: .6rem .25rem;
  border: 0; border-bottom: 1px solid var(--line); background: none;
  color: var(--ink); font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover { color: var(--green-800); }
.nav-link[aria-current="page"], .nav-item--current > .nav-trigger { color: var(--green-800); }
.nav-trigger .icon { transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-menu { list-style: none; margin: 0; padding: .25rem 0 .5rem .75rem; }
.nav-menu[hidden] { display: none; }
.nav-menu a {
  display: flex; align-items: center; gap: .85rem; min-height: 48px; padding: .55rem .5rem;
  border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--green-50); color: var(--green-900); }
.nav-menu__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 10px; background: var(--green-100); color: var(--green-800); }
.nav-menu__text { display: grid; line-height: 1.3; }
.nav-menu__text strong { font-size: var(--fs-sm); font-weight: 650; }
.nav-menu__text small { font-size: var(--fs-xs); color: var(--muted); }
.nav-menu__all { font-size: var(--fs-sm); font-weight: 650; color: var(--green-800) !important; }
.nav-cta { margin-top: var(--space-5); }
.nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; align-items: center; gap: var(--space-5); position: static;
    max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-list { display: flex; align-items: center; gap: .25rem; }
  .nav-item { position: relative; }
  .nav-link, .nav-trigger {
    width: auto; min-height: 44px; padding: .5rem .85rem; border: 0; border-radius: var(--radius-pill);
    font-size: var(--fs-sm); color: var(--ink-2);
  }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: rgba(11, 93, 59, .06); color: var(--green-900); }
  .nav-link[aria-current="page"], .nav-item--current > .nav-trigger { color: var(--green-800); background: rgba(11, 93, 59, .07); }
  .nav-menu {
    position: absolute; left: 50%; top: calc(100% + 10px); width: 340px; padding: .5rem;
    transform: translateX(-50%);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-menu__all { border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; margin-top: .25rem; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; }
}

/* ---------- Cards & lists ---------- */
.card {
  position: relative; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--muted); }
.icon-badge {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: var(--space-5);
  border-radius: 14px; background: var(--green-100); color: var(--green-800);
  box-shadow: inset 0 0 0 1px rgba(11, 93, 59, .08);
}
.icon-badge .icon { width: 1.4rem; height: 1.4rem; }
.section--dark .icon-badge { background: rgba(92, 211, 148, .12); color: var(--accent-on-dark); box-shadow: inset 0 0 0 1px rgba(92, 211, 148, .2); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.85rem; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .7rem no-repeat;
}
.section--dark .check-list li { color: var(--on-dark); }
.section--dark .check-list li::before { background-color: rgba(92, 211, 148, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cd394' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.tag {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem;
  border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-900);
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .01em;
}
.tag--neutral { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Illustrative UI frames (concept art built in HTML/CSS) ---------- */
.concept { position: relative; }
.concept__label {
  display: block; margin-top: .65rem; text-align: right;
  font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .01em;
}
.section--dark .concept__label, .page-hero--dark .concept__label { color: var(--on-dark-muted); }
.ui-window {
  overflow: hidden; border-radius: 16px; background: var(--surface);
  border: 1px solid rgba(16, 38, 27, .1); box-shadow: var(--shadow-lg);
  font-size: .8125rem; line-height: 1.4; color: var(--ink);
  user-select: none; container-type: inline-size;
}
.ui-window__bar { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ui-window__dots { display: flex; gap: 6px; }
.ui-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbd6; }
.ui-window__title { font-weight: 650; font-size: .75rem; color: var(--ink-2); }
.ui-window__bar--win { justify-content: space-between; padding: .45rem .5rem .45rem .9rem; background: #fff; }
.ui-window__controls { display: flex; gap: .15rem; }
.ui-window__controls i { display: block; width: 30px; height: 22px; border-radius: 4px; position: relative; }
.ui-window__controls i::after { content: ""; position: absolute; inset: 50% 10px auto; height: 1.5px; background: #6b7570; }
.ui-window__controls i:nth-child(2)::after { inset: 6px 10px; height: auto; background: none; border: 1.5px solid #6b7570; border-radius: 1px; }
.ui-window__controls i:nth-child(3)::after { inset: 50% 9px auto; transform: rotate(45deg); }
.ui-window__controls i:nth-child(3)::before { content: ""; position: absolute; inset: 50% 9px auto; height: 1.5px; background: #6b7570; transform: rotate(-45deg); }
.ui-app { display: grid; grid-template-columns: 52px 1fr; min-height: 320px; }
.ui-app--wide { grid-template-columns: 150px 1fr; }
.ui-side { display: grid; align-content: start; gap: .35rem; padding: .85rem .55rem; background: var(--green-950); }
.ui-side i { display: block; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.ui-side i.is-on { background: rgba(92, 211, 148, .28); }
.ui-side span { display: block; padding: .45rem .6rem; border-radius: 7px; color: #b8cbc0; font-size: .72rem; font-weight: 550; }
.ui-side span.is-on { background: rgba(92, 211, 148, .2); color: #fff; }
.ui-side b { display: block; padding: .4rem .6rem .7rem; color: #fff; font-size: .78rem; font-weight: 700; }
.ui-main { display: grid; align-content: start; gap: .8rem; padding: 1rem; background: #fbfcfa; min-width: 0; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ui-head strong { font-size: .9rem; font-weight: 700; }
.ui-chip { padding: .2rem .55rem; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-900); font-size: .68rem; font-weight: 650; white-space: nowrap; }
.ui-chip--muted { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.ui-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.ui-stat { padding: .65rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.ui-stat small { display: block; color: var(--muted); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-stat b { display: block; margin-top: .2rem; font-size: 1.05rem; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.ui-stat em { display: block; font-style: normal; color: var(--green-700); font-size: .66rem; font-weight: 650; }
.ui-panel { padding: .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.ui-panel__title { display: flex; justify-content: space-between; margin-bottom: .6rem; font-size: .72rem; font-weight: 650; color: var(--ink-2); }
.ui-bars { display: flex; align-items: flex-end; gap: 6%; height: 90px; padding-top: .25rem; border-bottom: 1px solid var(--line); }
.ui-bars i { flex: 1; height: var(--v, 50%); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--green-500), var(--green-700)); }
/* Inline styles are blocked by the CSP, so chart values use classes. */
.v-45 { --v: 45%; } .v-48 { --v: 48%; } .v-54 { --v: 54%; } .v-62 { --v: 62%; } .v-65 { --v: 65%; }
.v-72 { --v: 72%; } .v-78 { --v: 78%; } .v-90 { --v: 90%; } .v-100 { --v: 100%; }
.ui-bars i:nth-child(odd) { background: linear-gradient(180deg, var(--green-300), #5fbf8c); }
.ui-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: .6rem; }
.ui-rows { display: grid; gap: .4rem; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .55rem; border-radius: 8px; background: var(--surface-2); font-size: .72rem; }
.ui-row span { display: flex; align-items: center; gap: .45rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row span::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green-500); }
.ui-row.is-warn span::before { background: #d39b2a; }
.ui-row.is-muted span::before { background: #a9b3ae; }
.ui-row b { font-weight: 650; white-space: nowrap; }
.ui-progress { height: 7px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.ui-progress i { display: block; width: var(--v, 50%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-600), var(--green-500)); }
.ui-donut {
  width: 86px; aspect-ratio: 1; margin: .1rem auto .5rem; border-radius: 50%;
  background: conic-gradient(var(--green-700) 0 42%, var(--green-500) 42% 68%, var(--green-300) 68% 86%, #dfe6e1 86% 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
  mask: radial-gradient(circle, transparent 54%, #000 55%);
}
.ui-legend { display: grid; gap: .3rem; font-size: .68rem; color: var(--ink-2); }
.ui-legend span { display: flex; align-items: center; gap: .4rem; }
.ui-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green-700); }
.ui-legend span:nth-child(2)::before { background: var(--green-500); }
.ui-legend span:nth-child(3)::before { background: var(--green-300); }
.ui-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; align-items: center; }
.ui-flow span { position: relative; padding: .5rem .3rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-align: center; font-size: .66rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-flow span.is-done { background: var(--green-50); border-color: #bfe0cc; color: var(--green-900); }
.ui-flow span.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.ui-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem;
  padding: .65rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: .75rem; line-height: 1.3;
}
.ui-float .icon-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green-100); color: var(--green-800); }
.ui-float b { display: block; font-size: .78rem; }
.ui-float small { color: var(--muted); }
@media (max-width: 479px) {
  .ui-app, .ui-app--wide { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-stats .ui-stat:nth-child(3) { display: none; }
  .ui-split { grid-template-columns: 1fr; }
  .ui-float { display: none; }
}
@container (max-width: 560px) {
  .ui-app--wide { grid-template-columns: 1fr; }
  .ui-app--wide .ui-side { display: none; }
}
@container (max-width: 400px) {
  .ui-app { grid-template-columns: 1fr; }
  .ui-side { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(34, 165, 101, .14), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(11, 93, 59, .07), transparent 70%),
    linear-gradient(rgba(11, 93, 59, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(11, 93, 59, .045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: linear-gradient(180deg, #000 55%, transparent);
  mask: linear-gradient(180deg, #000 55%, transparent);
}
.hero__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 4.5rem); align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title { margin-bottom: var(--space-5); }
.hero__title span { color: var(--green-800); }
.hero__lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-6); }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: var(--space-6) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--ink-2); }
.hero__points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__points .icon { width: 1.05rem; height: 1.05rem; color: var(--green-700); }
.hero__visual { position: relative; margin: 0; }
.hero__visual .ui-float--a { left: -1.25rem; bottom: 4.5rem; }
.hero__visual .ui-float--b { right: -1rem; top: -1.5rem; }
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 1179px) {
  .hero__visual { max-width: 820px; }
}
@media (min-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

/* ---------- Services ---------- */
.service-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.service { transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.service:hover { border-color: #c9dccf; box-shadow: var(--shadow); }

/* ---------- Product showcase rows ---------- */
.product-rows { display: grid; gap: clamp(4rem, 3rem + 4vw, 6.5rem); }
.product-row { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem); align-items: center; }
.product-row__media { position: relative; }
.product-photo { margin: 0; }
.product-row__body { max-width: 560px; }
.product-row__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: var(--space-4); }
.product-row__mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--green-800); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 93, 59, .8); }
.product-row__mark .icon { width: 1.4rem; height: 1.4rem; }
.product-row__brand p { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.product-row__body h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); letter-spacing: -.03em; margin-bottom: var(--space-4); }
.product-row__body > p { color: var(--ink-2); margin-bottom: var(--space-5); }
.product-row__body .tag-list { margin-bottom: var(--space-5); }
.product-row__body .check-list { margin-bottom: var(--space-6); }
.product-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.product-photo { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--dark); }
.product-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) {
  .product-row { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .product-row--reverse .product-row__media { order: 2; }
}

/* ---------- Why / values ---------- */
.why-grid { display: grid; gap: var(--space-6) var(--space-5); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); } }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.why-item .icon-badge { margin: 0; width: 2.75rem; height: 2.75rem; border-radius: 12px; }
.why-item h3 { margin-bottom: var(--space-2); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .steps--3 { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: var(--space-6) var(--space-5) var(--space-5);
  border: 1px solid var(--dark-line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-5);
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--accent-on-dark);
}
.step h3 { margin-bottom: var(--space-3); }
.step p { font-size: var(--fs-sm); }

/* ---------- About ---------- */
.about { display: grid; gap: var(--space-7); align-items: start; }
.about__body h2 { margin-bottom: var(--space-4); }
.about__body p + p { margin-top: var(--space-4); }
.about__body p:where(:not(.eyebrow, .slogan, .lead)) { color: var(--ink-2); }
.about__facts { display: grid; gap: var(--space-4); }
.fact-card { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fact-card .icon-badge { margin: 0; width: 2.5rem; height: 2.5rem; border-radius: 11px; }
.fact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.fact-card p { font-size: var(--fs-sm); color: var(--muted); }
.value-flow { padding: var(--space-6) var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.value-flow__title { margin-bottom: var(--space-5); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.value-flow__steps { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.value-flow__step { position: relative; display: flex; gap: var(--space-4); align-items: flex-start; }
.value-flow__step .icon-badge { position: relative; z-index: 1; flex: none; margin: 0; width: 2.75rem; height: 2.75rem; border-radius: 12px; }
.value-flow__step:not(:last-child)::before {
  content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.75rem; bottom: calc(-1 * var(--space-5));
  width: 2px; background: var(--green-300);
}
.value-flow__step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.375rem - 4px); bottom: calc(-1 * var(--space-5) + 3px);
  width: 8px; height: 8px; border-right: 2px solid var(--green-500); border-bottom: 2px solid var(--green-500); transform: rotate(45deg);
}
.value-flow__step h3 { font-size: 1rem; margin-bottom: .2rem; }
.value-flow__step p { font-size: var(--fs-sm); color: var(--muted); }
.value-flow__step--result { margin: 0 calc(-1 * var(--space-3)); padding: var(--space-3); border-radius: var(--radius); background: var(--green-50); }
@media (min-width: 1024px) { .value-flow { position: sticky; top: calc(var(--header-h) + var(--space-5)); } }
.slogan { margin-top: var(--space-6); padding-left: var(--space-5); border-left: 3px solid var(--green-500); font-size: var(--fs-lg); font-weight: 600; color: var(--green-900); letter-spacing: -.01em; }
@media (min-width: 1024px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-8); } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-8); } }
.contact__intro .lead { margin-top: var(--space-4); }
.contact-methods { display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.contact-method {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact-method:hover { border-color: #bcd6c5; box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-method .icon-badge { margin: 0; width: 2.75rem; height: 2.75rem; border-radius: 12px; }
.contact-method small { display: block; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-method strong { display: block; font-weight: 650; overflow-wrap: anywhere; }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.35rem; margin-bottom: var(--space-2); }
.form-card > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 650; color: var(--ink); }
.field .req { color: var(--danger); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem .95rem;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c4742' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 1.1rem no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9b6ad; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(16, 113, 74, .18); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(161, 40, 29, .12); }
.consent input[aria-invalid="true"] { box-shadow: none; outline: 2px solid var(--danger); outline-offset: 2px; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }
.consent { display: flex; gap: .7rem; align-items: flex-start; }
.consent input { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; accent-color: var(--green-800); }
.consent label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }
.form-actions { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-status { padding: .9rem 1rem; border-radius: 10px; font-size: var(--fs-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f1c9c3; }
.form-status.is-success { background: var(--success-bg); color: var(--green-900); border: 1px solid #c4e3cf; }
.form-status.is-pending { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.75rem);
  border-radius: var(--radius-lg); background: var(--green-900); color: var(--on-dark);
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 100% 0%, rgba(92, 211, 148, .25), transparent 60%), radial-gradient(40% 80% at 0% 100%, rgba(0, 0, 0, .25), transparent 70%);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.3rem); }
.cta-panel p { color: #cfe0d6; margin-top: var(--space-3); max-width: 40rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1024px) { .cta-panel { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7); } }
@media (max-width: 479px) { .cta-panel__actions .btn { width: 100%; white-space: normal; text-align: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(3.5rem, 3rem + 2vw, 5rem) 0 var(--space-6); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--space-7) var(--space-6); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; } }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { margin-top: var(--space-5); max-width: 22rem; }
.footer-col h2 { margin-bottom: var(--space-4); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.footer-col a, .footer-col button {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: 0;
  border: 0; background: none; color: var(--on-dark-muted); font: inherit; text-decoration: none; cursor: pointer; text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-col .icon { width: 1.05rem; height: 1.05rem; color: var(--accent-on-dark); }
.footer-legal { display: flex !important; flex-wrap: wrap; gap: 0 1.25rem !important; }
.footer-bottom .footer-col a, .footer-bottom .footer-col button { min-height: 32px; font-size: var(--fs-xs); }
.footer-bottom { align-items: center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--dark-line); font-size: var(--fs-xs); }

/* ---------- Product detail pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(4rem, 3rem + 4vw, 6rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 70% at 90% 10%, rgba(34, 165, 101, .12), transparent 70%),
    linear-gradient(rgba(11, 93, 59, .04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(11, 93, 59, .04) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: linear-gradient(180deg, #000 40%, transparent);
  mask: linear-gradient(180deg, #000 40%, transparent);
}
.page-hero > * { position: relative; }
.page-hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.page-hero h1 { margin: var(--space-3) 0 var(--space-5); }
.page-hero .lead { max-width: 38rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-6); }
@media (max-width: 479px) { .page-hero__actions .btn { width: 100%; } }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-5); }
.page-hero__media { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 var(--space-5); padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-800); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }

.facts { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-bottom: var(--space-2); }
.fact dd { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }

.module-groups { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .module-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.module-group { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.module-group > h3 { display: flex; align-items: center; gap: .6rem; padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.module-group > h3 .icon { color: var(--green-700); }
.module { padding: var(--space-3) 0; }
.module + .module { border-top: 1px dashed var(--line); }
.module h4 { margin-bottom: .3rem; font-size: 1rem; }
.module p { font-size: var(--fs-sm); color: var(--muted); }

.feature-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.feature .icon-badge { width: 2.75rem; height: 2.75rem; border-radius: 12px; margin-bottom: var(--space-4); }
.feature p + p { margin-top: var(--space-3); }

.split { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-8); } }
.split__body > p { color: var(--ink-2); margin-bottom: var(--space-5); }
.split h2 + .lead { margin-top: var(--space-4); }
.section--dark .split__body > p { color: var(--on-dark-muted); }

.spec-list { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.spec-list div { display: grid; grid-template-columns: minmax(7rem, .7fr) 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.spec-list div + div { border-top: 1px solid var(--line); }
.spec-list dt { font-size: var(--fs-sm); font-weight: 650; color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink); }

.callout { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); border: 1px dashed #b7d3c1; border-radius: var(--radius); background: var(--green-50); }
.callout .icon-badge { margin: 0; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: #fff; }
.callout h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.callout p { color: var(--ink-2); font-size: var(--fs-sm); }
.callout p + p { margin-top: var(--space-2); }

.shot-note { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* Screenshot slots: replace the concept inside with <img> once real screenshots are approved. */
.product-shot { margin: 0; }
.product-shot > img, .product-shot > picture img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--surface); }
.shot-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); } }
.shot-grid h3 { font-size: 1.05rem; margin: var(--space-4) 0 var(--space-2); }
.shot-grid p { font-size: var(--fs-sm); color: var(--muted); }
.section-cta { margin-top: var(--space-7); }

/* Screenshot tour: thumbnails link to the full-size image, so it works without JavaScript. */
.shot-tour { display: grid; gap: var(--space-7) var(--space-6); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .shot-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.shot-tour__item { margin: 0; }
.shot-tour__link {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--dark); box-shadow: var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.shot-tour__link:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg); }
.shot-tour__link:focus-visible { border-radius: var(--radius); outline-offset: 4px; }
.shot-tour__link img { width: 100%; height: auto; }
.shot-tour__zoom {
  position: absolute; right: var(--space-3); bottom: var(--space-3); display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: var(--radius-pill); background: var(--surface); color: var(--green-900);
  font-size: var(--fs-xs); font-weight: 650; box-shadow: var(--shadow-sm);
}
.shot-tour__link:hover .shot-tour__zoom, .shot-tour__link:focus-visible .shot-tour__zoom { background: var(--green-50); }
.shot-tour figcaption { margin-top: var(--space-4); }
.shot-tour :is(h3, h4) { font-size: 1.05rem; margin-bottom: var(--space-2); }
.shot-tour p { font-size: var(--fs-sm); color: var(--muted); }
.shot-tour + .shot-note, .shot-group + .shot-note { margin-top: var(--space-7); }
@media (min-width: 1024px) { .shot-tour--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); } }
.shot-tour-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--space-7); padding: 0; list-style: none; }
.shot-tour-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface);
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.shot-tour-nav a:hover { border-color: var(--green-700); color: var(--green-800); }
.shot-tour-nav a:focus-visible { border-radius: var(--radius-pill); }
.shot-group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.shot-group + .shot-group { margin-top: var(--space-8); padding-top: var(--space-7); border-top: 1px solid var(--line); }
.shot-group__head { max-width: 720px; margin-bottom: var(--space-6); }
.shot-group__head h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); letter-spacing: -.02em; }
.shot-group__head p { margin-top: var(--space-2); color: var(--muted); }

/* Screenshot slideshow and full-screen viewer (assets/product-gallery.js). Scoped to [data-gallery] sections.
   The .shot-tour lists are the slide data. Until the slideshow has started, and whenever it cannot (JavaScript off,
   blocked or failing), only the first screenshot shows: a link to the full-size image with its title and explanation.
   The category links stay hidden (and out of the tab order) then; category buttons exist only in the running slideshow. */
[data-gallery] nav, [data-gallery] .shot-group ~ .shot-group, [data-gallery] .shot-tour > li ~ li { display: none; }
[data-gallery] .shot-tour { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
[data-gallery].gallery-enhanced :is(.shot-group, .shot-tour) { display: none; }
.gallery { --gallery-interval: 10s; scroll-margin-top: calc(var(--header-h) + 1rem); }
.gallery__cats {
  display: flex; gap: var(--space-2); margin: 0 -1.25rem var(--space-5); padding: 3px 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 1.25rem; scrollbar-width: none;
}
.gallery__cats::-webkit-scrollbar { display: none; }
.gallery__cat {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface);
  color: var(--ink-2); font: inherit; font-size: var(--fs-sm); font-weight: 650; white-space: nowrap; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.gallery__cat:hover { border-color: var(--green-700); color: var(--green-800); }
.gallery__cat[aria-current="true"] { border-color: var(--green-700); background: var(--green-50); color: var(--green-800); }
.gallery__stage {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "controls" "info"; gap: var(--space-4);
  padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.gallery__media { grid-area: media; min-width: 0; }
.gallery__open {
  position: relative; display: block; aspect-ratio: var(--gallery-ratio, 16 / 10); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: zoom-in; touch-action: pan-y;
}
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); opacity: 0; }
.gallery__img.is-active { z-index: 1; opacity: 1; transition: opacity .45s var(--ease); }
.gallery__img.is-leaving { opacity: 1; }
.gallery__img.is-broken { visibility: hidden; }
.gallery__missing {
  position: absolute; z-index: 1; inset: 0; display: none; place-items: center; padding: var(--space-4);
  background: var(--surface-2); color: var(--muted); font-size: var(--fs-sm); text-align: center;
}
.gallery__open.is-missing .gallery__missing { display: grid; }
.gallery__spinner {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem;
  border: 3px solid var(--green-100); border-top-color: var(--green-700); border-radius: 50%; opacity: 0; pointer-events: none;
}
.gallery__open.is-loading .gallery__spinner { opacity: 1; transition: opacity .2s var(--ease) .3s; animation: gallery-spin .9s linear infinite; }
@keyframes gallery-spin { to { transform: rotate(360deg); } }
.gallery__progress { height: 3px; margin-top: var(--space-3); overflow: hidden; border-radius: var(--radius-pill); background: var(--line); }
.gallery__bar { display: block; height: 100%; background: var(--green-600); transform: scaleX(0); transform-origin: left center; }
.gallery__bar.is-timing { animation: gallery-progress var(--gallery-interval) linear forwards; animation-play-state: paused; }
.gallery.is-running .gallery__bar.is-timing { animation-play-state: running; }
@keyframes gallery-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gallery__controls { grid-area: controls; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.gallery__stepper { display: flex; align-items: center; gap: var(--space-2); }
.gallery__btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.gallery__btn:hover { border-color: var(--green-700); color: var(--green-800); }
.gallery__btn--toggle { border-color: var(--green-800); background: var(--green-800); color: #fff; }
.gallery__btn--toggle:hover { border-color: var(--green-900); background: var(--green-900); color: #fff; }
.gallery__btn .icon { width: 1.15rem; height: 1.15rem; }
.gallery__btn--toggle .icon { width: 1rem; height: 1rem; }
.gallery__expand { min-height: 44px; }
.gallery__live { grid-area: info; min-width: 0; padding: 0 var(--space-1) var(--space-1); }
.gallery__live--probe { position: absolute; top: 0; left: 0; visibility: hidden; pointer-events: none; }
.gallery__count { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.gallery__title { margin: var(--space-2) 0 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.gallery__text { margin-top: var(--space-3); color: var(--ink-2); }
@media (max-width: 419px) {
  .gallery__expand { width: 44px; padding: 0; }
  .gallery__expand-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 768px) {
  .gallery__cats { flex-wrap: wrap; margin-inline: 0; padding: 3px; overflow: visible; }
  .gallery__stage { gap: var(--space-4) var(--space-5); padding: var(--space-4); }
  .gallery__live { padding: 0 var(--space-2) var(--space-2); }
}
@media (min-width: 1024px) {
  .gallery__stage {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); grid-template-areas: "media info" "controls info";
    column-gap: var(--space-6); padding: var(--space-5);
  }
  .gallery__live { align-self: center; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  /* The bar is the autoplay timer, so it keeps its real duration when a visitor chooses Play. */
  .gallery__bar.is-timing { animation-duration: var(--gallery-interval) !important; }
}

.viewer {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--dark); color: var(--on-dark); overflow: hidden;
}
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer::backdrop { background: rgba(6, 42, 28, .9); }
html.viewer-open { overflow: hidden; }
.viewer__bar, .viewer__foot {
  padding: var(--space-3) max(var(--space-4), env(safe-area-inset-right)) var(--space-3) max(var(--space-4), env(safe-area-inset-left));
  background: var(--dark-2);
}
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: max(var(--space-3), env(safe-area-inset-top)); border-bottom: 1px solid var(--dark-line); }
.viewer__count { min-width: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); }
.viewer__tools { display: flex; flex: none; gap: var(--space-2); }
.viewer__btn, .viewer__close, .viewer__nav {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: 0 .9rem;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .06);
  color: var(--on-dark); font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
}
.viewer__btn:hover, .viewer__nav:hover { border-color: var(--accent-on-dark); }
.viewer__btn[aria-pressed="true"] { border-color: var(--accent-on-dark); background: rgba(92, 211, 148, .16); }
.viewer__close { border-color: #fff; background: #fff; color: var(--green-900); }
.viewer__close:hover { background: var(--green-50); }
.viewer :focus-visible { outline-color: var(--accent-on-dark); }
.viewer__body { display: flex; overflow: auto; padding: var(--space-3); overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.viewer__img { display: block; flex: none; width: 100%; max-width: 100%; height: auto; margin: auto; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg); }
.viewer.is-actual .viewer__body { touch-action: auto; }
.viewer.is-actual .viewer__img { width: auto; max-width: none; max-height: none; }
.viewer__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding-bottom: max(var(--space-3), env(safe-area-inset-bottom)); border-top: 1px solid var(--dark-line); }
.viewer__nav { padding: 0; width: 48px; height: 48px; border-radius: 50%; }
.viewer__caption { min-width: 0; max-height: 7.5rem; overflow-y: auto; text-align: center; }
.viewer__title { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0; color: #fff; }
.viewer__text { margin-top: .2rem; font-size: var(--fs-xs); line-height: 1.5; color: var(--on-dark-muted); }
@media (min-width: 768px) {
  .viewer__text { font-size: var(--fs-sm); }
  .viewer__body { padding: var(--space-5); }
  .viewer__img { width: auto; max-height: 100%; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.legal-hero h1 { font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); margin-bottom: var(--space-4); }
.legal-hero p { color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section-y); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-8); } }
.legal-toc { align-self: start; font-size: var(--fs-sm); }
.legal-toc h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }
.legal-toc ol { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.legal-toc a { display: block; padding: .35rem 0; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--green-800); text-decoration: underline; }
@media (min-width: 1024px) { .legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin: var(--space-7) 0 var(--space-3); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal-body h2:first-of-type { margin-top: var(--space-5); }
.legal-body h3 { font-size: 1.05rem; margin: var(--space-5) 0 var(--space-2); }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: var(--space-3); }
.legal-body ul { margin: var(--space-3) 0; padding-left: 1.25rem; display: grid; gap: .4rem; }
.legal-body address { font-style: normal; margin-top: var(--space-3); color: var(--ink-2); }
.legal-body .notice { margin-bottom: var(--space-6); }
.legal-body .notice p { color: inherit; }
.legal-body table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: var(--fs-sm); }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: .7rem .8rem; border: 1px solid var(--line); }
.legal-body th { background: var(--surface-2); font-weight: 650; color: var(--ink); }
.table-scroll { overflow-x: auto; border-radius: var(--radius-sm); }
@media (max-width: 479px) { .legal-body th, .legal-body td { padding: .6rem .55rem; } .legal-body table { hyphens: auto; } }
.notice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius); border: 1px solid #ecd9a6; background: #fdf8e8; color: #5b4510; font-size: var(--fs-sm); }
.notice .icon { margin-top: .15rem; color: #8a6a12; }

/* ---------- 404 & status pages ---------- */
.status-page { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - 380px); padding: var(--section-y) 0; text-align: center; }
.status-page__code { display: block; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--green-600); margin-bottom: var(--space-4); }
.status-page__icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto var(--space-5); border-radius: 18px; background: var(--green-100); color: var(--green-800); }
.status-page__icon.is-error { background: var(--danger-bg); color: var(--danger); }
.status-page__icon .icon { width: 1.8rem; height: 1.8rem; }
.status-page h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); margin-bottom: var(--space-4); }
.status-page p { color: var(--muted); max-width: 34rem; margin: 0 auto; }
.status-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--space-6); }
.status-page__errors { display: grid; gap: .4rem; max-width: 30rem; margin: var(--space-5) auto 0; padding: var(--space-4) var(--space-5) var(--space-4) 2.5rem; border: 1px solid #f1c9c3; border-radius: var(--radius); background: var(--danger-bg); color: var(--danger); font-size: var(--fs-sm); text-align: left; }
.status-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: var(--space-6); padding: 0; list-style: none; font-size: var(--fs-sm); }

/* ---------- Cookie / privacy preferences banner (assets/privacy.js) ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 500;
  display: grid; gap: var(--space-4); max-width: 880px; margin-inline: auto; padding: var(--space-5);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: .35rem; }
.cookie-banner p { font-size: var(--fs-sm); color: var(--ink-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .cookie-banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .cookie-actions .btn { flex: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .skip-link, .hero__visual, .page-hero__media { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
