/* Bricolage Grotesque latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bricolage Grotesque latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Figtree latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Gootu India — site styles.
   Layout idea: deep forest panels carry the big statements, product photos sit on
   white stages, and numbers are set like the rating plate riveted to an inverter.
   This file holds the base and the page components; chrome.css has the header, hero and
   scroll story, shop.css the cart and checkout, motion.css the reveal system. */

:root {
  --forest-900: #0a2a1f;
  --forest-800: #0f3d2d;
  --forest-700: #17533d;
  --leaf-500: #62b036;   /* the green in the GOOTU logo */
  --leaf-600: #4b9626;
  --leaf-700: #2f7420;   /* text-safe on light grounds */
  --sun-500: #f4b81c;    /* the sun in the GOOTU logo */
  --sun-600: #dd9f00;
  --paper: #f7faf3;
  --mist: #eaf3e4;
  --card: #ffffff;
  --ink: #12241b;
  --muted: #4f6658;
  --line: #d2e0cc;
  --on-dark: #eef6e9;
  --on-dark-muted: #b4cdb9;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.6vw, 4.4rem);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgb(10 42 31 / 0.06), 0 12px 32px -12px rgb(10 42 31 / 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 650; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--leaf-700); text-underline-offset: 0.18em; }
a:hover { color: var(--forest-800); }
:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun-500); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius-small); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.35em; height: 1.35em; flex: none; }

.eyebrow { font: 600 0.8rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf-700); }
.eyebrow--on-dark { color: var(--sun-500); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.footnote { margin-top: 1.25rem; font-size: var(--step--1); color: var(--muted); max-width: 70ch; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem; border: 2px solid transparent; border-radius: 999px;
  font: 650 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun-500); color: var(--forest-900); }
.btn--sun:hover { background: #ffc934; color: var(--forest-900); }
.btn--leaf { background: var(--forest-800); color: #fff; }
.btn--leaf:hover { background: var(--leaf-700); color: #fff; }
.btn--ghost-light { border-color: rgb(238 246 233 / 0.45); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); color: #fff; }
.btn--small { padding: 0.6rem 1rem; font-size: 0.95rem; }
.btn--wide { width: 100%; }

/* ---------- Rating plate ---------- */
.plate {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0;
  border: 1.5px solid var(--forest-800); border-radius: var(--radius-small);
  background:
    radial-gradient(circle at 9px 9px, var(--forest-800) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 9px) 9px, var(--forest-800) 0 2px, transparent 2.5px),
    radial-gradient(circle at 9px calc(100% - 9px), var(--forest-800) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), var(--forest-800) 0 2px, transparent 2.5px),
    var(--card);
}
.plate > div { padding: 0.9rem 1.1rem; min-width: 0; }
.plate > div + div { border-left: 1px dashed var(--line); }
.plate dt { font: 500 0.68rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plate dd { margin: 0.25rem 0 0; font: 600 1.15rem/1.2 var(--font-mono); letter-spacing: -0.02em; color: var(--forest-800); font-variant-numeric: tabular-nums; }
.plate dd { white-space: nowrap; }
.plate--compact { grid-template-columns: minmax(0, 1fr); border-width: 1px; border-color: var(--line); background: var(--paper); }
.plate--compact > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0.8rem; }
.plate--compact > div + div { border-left: 0; border-top: 1px dashed var(--line); }
.plate--compact dt { font-size: 0.64rem; letter-spacing: 0.08em; }
.plate--compact dd { margin: 0; font-size: 0.92rem; }
@media (max-width: 480px) {
  .plate:not(.plate--hero):not(.plate--compact) { grid-template-columns: minmax(0, 1fr); }
  .plate:not(.plate--hero):not(.plate--compact) > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 1.4rem; }
  .plate:not(.plate--hero):not(.plate--compact) > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .plate:not(.plate--hero):not(.plate--compact) dd { margin: 0; }
}

/* ---------- Assurances ---------- */
.assurances { background: var(--card); border-bottom: 1px solid var(--line); }
.assurances__list { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; padding-block: 1.6rem; }
.assurances__list li { display: flex; gap: 0.8rem; align-items: flex-start; min-width: 0; }
.assurances__list .icon { width: 1.75rem; height: 1.75rem; color: var(--leaf-600); margin-top: 0.1rem; }
.assurances__list strong { display: block; font-weight: 650; line-height: 1.3; }
.assurances__list span { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .assurances__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .assurances__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--mist { background: var(--mist); }
.section__head { display: flex; flex-direction: column; gap: 0.8rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.page-head { background: linear-gradient(160deg, var(--forest-800), var(--forest-900) 75%); color: var(--on-dark); padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.page-head .wrap { display: flex; flex-direction: column; gap: 0.9rem; }
.page-head h1 { color: #fff; font-size: var(--step-3); max-width: 22ch; }
.page-head p:not(.eyebrow) { color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.5; max-width: 40rem; }
.page-head--tall { padding-block: clamp(4rem, 12vw, 8rem); }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.75rem; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards--three { grid-template-columns: minmax(0, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease, translate 0.2s ease; }
.card:hover { border-color: var(--leaf-500); box-shadow: var(--shadow); translate: 0 -3px; }
.card__media { position: relative; display: block; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.card__badge { position: absolute; z-index: 1; left: 0.9rem; top: 0.9rem; background: var(--sun-500); color: var(--forest-900); font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.55rem; border-radius: 4px; }
.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.15rem 1.15rem 1.25rem; flex: 1; }
.card__kind { font: 500 0.7rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf-700); }
.card__title { font-size: 1.2rem; line-height: 1.2; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__tagline { font-size: var(--step--1); color: var(--muted); line-height: 1.45; flex: 1; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin-top: 0.35rem; }
.card__link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 650; font-size: 0.95rem; text-decoration: none; color: var(--leaf-700); }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.5rem; font-variant-numeric: tabular-nums; }
.price__from { font-size: 0.8rem; color: var(--muted); }
.price__now { font: 700 1.3rem/1.1 var(--font-display); color: var(--forest-800); letter-spacing: -0.01em; }
.price__was { font-size: 0.9rem; color: var(--muted); }
.price__save { font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; background: var(--mist); color: var(--leaf-700); padding: 0.4rem 0.55rem; border-radius: 4px; align-self: center; }
.price--large .price__now { font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem); }
.price--large .price__was { font-size: 1.1rem; }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.spotlight__media { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1rem, 3vw, 2rem); }
.spotlight__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.spotlight__copy { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.spotlight__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
@media (max-width: 900px) { .spotlight { grid-template-columns: minmax(0, 1fr); } .spotlight__media { max-width: 460px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ticks li { display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.45; }
.ticks .icon { color: var(--leaf-600); width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; stroke-width: 2.4; }

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 0.95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--forest-800); color: #fff; font: 650 1.1rem/1.2 var(--font-display); }
.compare thead a { color: #fff; text-underline-offset: 0.25em; text-decoration-color: var(--leaf-500); }
.compare tbody th { font-weight: 500; color: var(--muted); font-size: 0.95rem; width: 24%; }
.compare tbody td { font: 500 0.95rem/1.5 var(--font-mono); letter-spacing: -0.02em; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare__price td { font: 700 1.2rem/1.3 var(--font-display) !important; color: var(--forest-800); letter-spacing: -0.01em !important; }

/* ---------- About strip and CTA ---------- */
.about-strip { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about-strip > div { display: flex; flex-direction: column; gap: 0.8rem; }
.about-strip__copy { color: var(--muted); max-width: 65ch; }
@media (max-width: 820px) { .about-strip { grid-template-columns: minmax(0, 1fr); } }

.cta { background: var(--forest-800); color: var(--on-dark); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta__inner > div { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.cta h2 { color: #fff; font-size: var(--step-2); }
.cta p { color: var(--on-dark-muted); }

/* ---------- Catalog filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 550 0.95rem/1.2 var(--font-body); cursor: pointer; }
.chip span { font: 500 0.75rem/1 var(--font-mono); color: var(--muted); }
.chip:hover { border-color: var(--leaf-500); }
.chip[aria-pressed="true"] { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--sun-500); }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 1.25rem; font-size: var(--step--1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } }

.gallery { display: flex; flex-direction: column; gap: 0.8rem; position: sticky; top: 88px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery__stage { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(0.75rem, 2.5vw, 1.5rem); }
.gallery__stage img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 0.6rem; }
.gallery__thumb { display: block; width: 100%; padding: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-small); cursor: pointer; }
.gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__thumb:hover { border-color: var(--leaf-500); }
.gallery__thumb[aria-current="true"] { border-color: var(--forest-800); box-shadow: 0 0 0 1.5px var(--forest-800); }

.buy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.buy h1 { font-size: var(--step-3); }
.buy__tagline { font-size: var(--step-1); line-height: 1.45; color: var(--muted); margin-top: -0.5rem; }
.buy__price { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.25rem; }
.buy__terms { font-size: var(--step--1); color: var(--muted); }
.stock { color: var(--leaf-700); font-weight: 650; }
.stock::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--leaf-500); margin-right: 0.35em; vertical-align: 0.1em; }
.buy__actions { display: flex; flex-direction: column; gap: 0.7rem; }
.buy__how { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.buy__summary { padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 65ch; }

.variants { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.variants legend { padding: 0; margin-bottom: 0.5rem; font: 500 0.72rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.variants__option { position: relative; cursor: pointer; }
.variants__option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variants__option span { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); background: var(--card); }
.variants__option strong { font: 600 0.88rem/1.3 var(--font-mono); letter-spacing: -0.03em; }
.variants__option em { font-style: normal; font-size: var(--step--1); color: var(--muted); }
.variants__option input:checked + span { border-color: var(--forest-800); box-shadow: 0 0 0 1.5px var(--forest-800); background: var(--mist); }
.variants__option input:focus-visible + span { outline: 3px solid var(--sun-500); outline-offset: 3px; }

.copy { font: inherit; color: var(--leaf-700); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.copy--button { margin-top: 0.4rem; font-size: var(--step--1); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; background: var(--card); }
.copy.is-copied { color: var(--forest-800); text-decoration: none; }

.specs { padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.specs h2 { font-size: var(--step-2); margin-bottom: 1.5rem; }
.specs__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.specs__groups > :only-child { grid-column: 1 / -1; max-width: 760px; }
@media (max-width: 820px) { .specs__groups { grid-template-columns: minmax(0, 1fr); } }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-small); overflow: hidden; }
.spec-table caption { text-align: left; padding: 0.75rem 1rem; background: var(--forest-800); color: #fff; font: 600 0.75rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius-small) var(--radius-small) 0 0; }
.spec-table th, .spec-table td { padding: 0.7rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.45; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 550; overflow-wrap: anywhere; }

.service { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.service > div { display: flex; flex-direction: column; gap: 0.45rem; }
.service .icon { width: 1.75rem; height: 1.75rem; color: var(--leaf-600); }
.service p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .service { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Text pages ---------- */
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .prose-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 0.75rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.prose li p { margin-top: 0.6rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.prose--policy { overflow-wrap: anywhere; }

.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 92px; }
@media (max-width: 900px) { .facts { position: static; } }
.facts h2 { font-size: var(--step-1); }
.facts dl { margin: 0; display: flex; flex-direction: column; }
.facts dl > div { padding-block: 0.75rem; border-top: 1px solid var(--line); }
.facts dt { font: 500 0.68rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-weight: 550; overflow-wrap: anywhere; }
.facts__note { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.facts__links { display: flex; flex-direction: column; }
.facts__links a { padding-block: 0.7rem; border-top: 1px solid var(--line); text-decoration: none; font-weight: 550; color: var(--ink); }
.facts__links a:hover { color: var(--leaf-700); }
.facts__links a[aria-current="page"] { color: var(--leaf-700); }
.facts__links a[aria-current="page"]::before { content: "→ "; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 640px; min-width: 0; }
.form h2 { font-size: var(--step-2); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-small); padding: 0.75rem 0.9rem; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--leaf-600); box-shadow: 0 0 0 3px rgb(98 176 54 / 0.25); }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; }
.form__note { font-size: var(--step--1); color: var(--muted); }
.form__error { color: #a3271c; font-weight: 600; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--on-dark-muted); font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.site-footer__brand { display: flex; flex-direction: column; gap: 0.9rem; max-width: 24rem; }
.logo-chip { display: inline-flex; align-self: flex-start; background: #fff; padding: 0.55rem 0.8rem; border-radius: var(--radius-small); }
.logo-chip img { width: 110px; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer h2 { font: 600 0.72rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-500); margin-bottom: 0.3rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__mail { font-weight: 600; }
.site-footer__base p { border-top: 1px solid rgb(238 246 233 / 0.14); padding-block: 1.25rem; font-size: 0.85rem; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }

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

/* Header, marquee, hero and the scroll story. */

@view-transition { navigation: auto; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: linear-gradient(90deg, var(--leaf-500), var(--sun-500)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--forest-900); color: var(--on-dark); font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid rgb(238 246 233 / 0.08); }
.marquee__track { display: flex; width: max-content; padding-block: 0.5rem; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; white-space: nowrap; padding-inline: 1.4rem; }
.marquee__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-500); margin-left: 2.8rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgb(10 42 31 / 0.45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; transition: min-height 0.25s ease; }
.site-header.is-stuck .site-header__inner { min-height: 58px; }
.logo img { width: 124px; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); margin-left: auto; }
.site-nav a { position: relative; color: var(--ink); font-weight: 550; text-decoration: none; padding-block: 0.4rem; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--leaf-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.site-nav a:hover { color: var(--leaf-700); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__tools { display: flex; align-items: center; gap: 0.6rem; }
.cart-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--forest-800); background: var(--mist); text-decoration: none; transition: background-color 0.15s ease, scale 0.15s ease; }
.cart-button:hover { background: var(--forest-800); color: #fff; }
.cart-button__count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--sun-500); color: var(--forest-900); font: 700 0.72rem/20px var(--font-mono); text-align: center; }
.cart-button.is-bumped { animation: bump 0.45s ease; }
@keyframes bump { 40% { scale: 1.22; } }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--leaf-700); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); isolation: isolate;
  background:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(165deg, var(--forest-800), var(--forest-900) 62%, #061a13); }
.hero__glow { position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(98 176 54 / 0.28), transparent 62%); animation: glow-drift 14s ease-in-out infinite alternate; }
@keyframes glow-drift { to { translate: -8% 10%; scale: 1.12; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero__copy { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.hero h1 { color: #fff; }
.hero__line { display: block; }
.hero__accent { color: var(--sun-500); }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark-muted); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }

.hero__stage { position: relative; width: min(440px, 76vw); aspect-ratio: 1; justify-self: center; }
.hero__rays { position: absolute; inset: -17%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(244 184 28 / 0.55) 0 3deg, transparent 3deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 0 59%, #000 60% 66%, transparent 71%);
  mask: radial-gradient(circle, transparent 0 59%, #000 60% 66%, transparent 71%);
  animation: spin 70s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero__disc { position: absolute; inset: 0; display: block; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 10px rgb(244 184 28 / 0.2), 0 0 110px rgb(244 184 28 / 0.38), 0 40px 70px -30px rgb(0 0 0 / 0.7); }
.hero__disc img { width: 100%; height: 100%; object-fit: contain; animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 7px; } }
.hero__chip { position: absolute; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.55rem 0.85rem; border-radius: var(--radius-small); background: rgb(10 42 31 / 0.9); border: 1px solid rgb(238 246 233 / 0.22); backdrop-filter: blur(6px); font-size: 0.72rem; line-height: 1.2; color: var(--on-dark-muted); white-space: nowrap; animation: bob 5s ease-in-out infinite alternate; }
.hero__chip strong { font: 600 1rem/1.2 var(--font-mono); color: #fff; letter-spacing: -0.02em; }
.hero__chip--a { top: 7%; left: -9%; }
.hero__chip--b { top: 43%; right: -12%; animation-delay: -2s; }
.hero__chip--c { bottom: 9%; left: -4%; animation-delay: -3.5s; }
.hero__tag { position: absolute; right: 2%; bottom: 2%; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.6rem 0.95rem; border-radius: var(--radius-small); background: var(--sun-500); color: var(--forest-900); font-size: 0.8rem; font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.6); }
.hero__tag strong { font: 700 1.1rem/1.2 var(--font-mono); letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { margin-block: 1.5rem 0.5rem; }
  .hero__chip--a { left: -5%; }
  .hero__chip--b { right: -6%; }
  .hero__chip--c { left: -2%; }
}
@media (max-width: 480px) {
  .hero__chip { padding: 0.4rem 0.6rem; font-size: 0.64rem; }
  .hero__chip strong { font-size: 0.85rem; }
}

/* Load-in sequence for the hero. Only with JavaScript, so the page never rests hidden. */
.js .hero__in { opacity: 0; animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes hero-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; border-top: 1px solid rgb(238 246 233 / 0.14); }
.stats > div { padding: 1.4rem 1.25rem 1.8rem 0; min-width: 0; }
.stats > div + div { padding-left: 1.25rem; border-left: 1px solid rgb(238 246 233 / 0.14); }
.stats dt { font: 500 0.7rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.stats dd { margin: 0.45rem 0 0; font: 700 clamp(1.6rem, 1.1rem + 2vw, 2.5rem)/1 var(--font-display); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dd span { color: var(--sun-500); }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 1.1rem 0.9rem 1.2rem 0; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgb(238 246 233 / 0.14); }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgb(238 246 233 / 0.14); }
}

/* ---------- Scroll story ---------- */
.story { background: linear-gradient(180deg, var(--forest-900), #061a13); color: var(--on-dark); padding-block: clamp(3rem, 7vw, 5.5rem); }
.section__head--on-dark h2 { color: #fff; }
.section__head--on-dark p:not(.eyebrow) { color: var(--on-dark-muted); }
.story__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story__scene { border-radius: 22px; overflow: hidden; border: 1px solid rgb(238 246 233 / 0.16); background: #050f1d; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8); }
.story__scene > svg { display: block; width: 100%; height: auto; }
.story__status { display: flex; min-height: 3rem; align-items: center; padding: 0.7rem 1.1rem; background: var(--forest-900); border-top: 1px solid rgb(238 246 233 / 0.12); font: 600 0.82rem/1.3 var(--font-mono); color: var(--on-dark); }
.story__status span { display: none; align-items: center; gap: 0.55rem; }
.story__status .icon { color: var(--sun-500); }
.story__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.75rem; }
.story__step { display: flex; flex-direction: column; gap: 0.6rem; padding-left: 1.25rem; border-left: 3px solid rgb(238 246 233 / 0.16); }
.story__time { font: 600 0.75rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-500); }
.story__step h3 { color: #fff; font-size: var(--step-2); }
.story__step p:not(.story__time) { color: var(--on-dark-muted); max-width: 34rem; }

/* With JavaScript the scene pins and the steps take turns. */
.js .story__sticky { position: sticky; top: 92px; }
.js .story__steps { gap: 0; }
.js .story__step { min-height: 72vh; justify-content: center; opacity: 0.3; transition: opacity 0.4s ease, border-color 0.4s ease; }
.js .story__step:last-child { min-height: 60vh; }
.js .story__step.is-active { opacity: 1; border-left-color: var(--sun-500); }
@media (max-width: 900px) {
  .story__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .js .story__sticky { top: 58px; z-index: 2; margin-inline: calc(var(--gutter) * -1); padding: 0.6rem var(--gutter) 0.8rem; background: var(--forest-900); }
  /* On a phone the pinned scene fills the top of the screen, so each step's text starts at the
     top of its block: it becomes active as it reaches mid-screen, just below the scene. */
  .js .story__step { min-height: 62vh; justify-content: flex-start; padding-top: 0.25rem; }
  .js .story__step:last-child { min-height: 46vh; }
}

/* Scene states, keyed on data-step of the section. */
.sky { opacity: 0; transition: opacity 1.1s ease; }
.sun { transform: translate(585px, 96px); transition: transform 1.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease; }
.moon, .stars { opacity: 0; transition: opacity 1.1s ease; }
.window { fill: #a9cfe8; transition: fill 0.9s ease; }
.house-wall { transition: fill 0.9s ease; }
.battery-level { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.7); transition: transform 1.2s ease, fill 0.8s ease; }
.pylon { transition: opacity 0.8s ease; }
.grid-cut { opacity: 0; transition: opacity 0.5s ease; }
.inverter-led { transition: fill 0.5s ease; }
.flow { opacity: 0; transition: opacity 0.6s ease; animation: flow-run 0.8s linear infinite; }
@keyframes flow-run { from { stroke-dashoffset: 18; } to { stroke-dashoffset: 0; } }

[data-story][data-step="1"] .sky--day,
[data-story][data-step="2"] .sky--dusk,
[data-story][data-step="3"] .sky--night,
[data-story][data-step="4"] .sky--night { opacity: 1; }
[data-story][data-step="2"] .sun { transform: translate(700px, 345px); }
[data-story][data-step="3"] .sun, [data-story][data-step="4"] .sun { transform: translate(700px, 470px); opacity: 0; }
[data-story][data-step="2"] .stars { opacity: 0.35; }
[data-story][data-step="3"] .stars, [data-story][data-step="4"] .stars,
[data-story][data-step="3"] .moon, [data-story][data-step="4"] .moon { opacity: 1; }
[data-story]:not([data-step="1"]) .window { fill: #ffd66b; }
[data-story][data-step="2"] .house-wall { fill: #e6d3c0; }
[data-story][data-step="3"] .house-wall, [data-story][data-step="4"] .house-wall { fill: #93a5ad; }
[data-story][data-step="2"] .battery-level { transform: scaleY(0.5); }
[data-story][data-step="3"] .battery-level { transform: scaleY(0.22); fill: #f4b81c; }
[data-story][data-step="4"] .battery-level { transform: scaleY(0.8); }
[data-story][data-step="4"] .pylon { opacity: 0.3; }
[data-story][data-step="4"] .grid-cut { opacity: 1; }
[data-story][data-step="4"] .inverter-led { fill: #f4b81c; }
[data-story] .flow--home,
[data-story][data-step="1"] .flow--solar, [data-story][data-step="1"] .flow--charge,
[data-story][data-step="2"] .flow--discharge,
[data-story][data-step="3"] .flow--grid, [data-story][data-step="3"] .flow--charge,
[data-story][data-step="4"] .flow--discharge { opacity: 1; }
[data-story][data-step="1"] .story__status [data-for="1"],
[data-story][data-step="2"] .story__status [data-for="2"],
[data-story][data-step="3"] .story__status [data-for="3"],
[data-story][data-step="4"] .story__status [data-for="4"] { display: inline-flex; }

/* Cart drawer, buy box, checkout and order tracking. */

.btn--outline { border-color: var(--forest-800); color: var(--forest-800); background: transparent; }
.btn--outline:hover { background: var(--forest-800); color: #fff; }
.btn--grow { flex: 1; }
.btn--large { padding-block: 1.05rem; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; }
.icon-button:hover { background: var(--line); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(6 26 19 / 0.55); opacity: 0; transition: opacity 0.3s ease; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); display: flex; flex-direction: column; background: var(--card); box-shadow: -30px 0 60px -30px rgb(0 0 0 / 0.5); translate: 100% 0; transition: translate 0.38s cubic-bezier(0.2, 0.7, 0.2, 1); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { translate: 0 0; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--step-1); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.drawer__foot { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: var(--paper); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font: 700 1.5rem/1 var(--font-display); color: var(--forest-800); }
.drawer__note { font-size: var(--step--1); color: var(--muted); }
.drawer__empty { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* ---------- Cart lines (drawer and cart page) ---------- */
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 0.35rem 0.9rem; align-items: start; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.line__image { grid-row: span 2; width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-small); background: #fff; }
.line__title { font-weight: 650; line-height: 1.3; color: var(--ink); text-decoration: none; }
.line__title:hover { color: var(--leaf-700); }
.line__each { display: block; font-size: var(--step--1); color: var(--muted); }
.line__total { font: 700 1.05rem/1.3 var(--font-display); color: var(--forest-800); white-space: nowrap; font-variant-numeric: tabular-nums; }
.line__controls { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.line__remove { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: var(--step--1); text-decoration: underline; cursor: pointer; }
.line__remove:hover { color: #a3271c; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; color: var(--forest-800); cursor: pointer; }
.stepper button:hover { background: var(--mist); }
.stepper input, .stepper output { width: 2.4rem; border: 0; background: none; text-align: center; font: 600 1rem/1 var(--font-mono); color: var(--ink); }
.stepper--small button { width: 32px; height: 32px; font-size: 1.05rem; }
.stepper--small output { width: 2rem; font-size: 0.9rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 130; translate: -50% 0; max-width: calc(100% - 2rem); padding: 0.8rem 1.2rem; border-radius: 999px; background: var(--forest-900); color: #fff; font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow); animation: toast-in 0.3s ease; }
@keyframes toast-in { from { opacity: 0; translate: -50% 12px; } }

/* ---------- Buy box ---------- */
.buy__note { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin-top: -0.6rem; }
.buy__row { display: flex; gap: 0.7rem; align-items: stretch; }
.buy__how { display: flex; gap: 0.45rem; align-items: flex-start; }
[data-buy-email] .buy__how { display: block; }
.buy__how .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--leaf-600); }
.card__add { margin-top: 0.2rem; position: relative; z-index: 1; }
.card__add.is-added, [data-add-to-cart].is-added { background: var(--leaf-600); }

.pincode { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.1rem; border: 1px dashed var(--line); border-radius: var(--radius-small); background: var(--card); }
.pincode label { font-weight: 600; font-size: 0.95rem; }
.pincode__row { display: flex; gap: 0.6rem; }
.pincode__row input { flex: 1; min-width: 0; font: 500 1rem/1.3 var(--font-mono); padding: 0.55rem 0.8rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); background: var(--paper); color: var(--ink); }
.pincode__row input:focus { outline: none; border-color: var(--leaf-600); box-shadow: 0 0 0 3px rgb(98 176 54 / 0.25); }
.pincode__result { font-size: 0.95rem; font-weight: 550; color: var(--leaf-700); }
.pincode__result.is-error { color: #a3271c; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px)); background: rgb(255 255 255 / 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgb(10 42 31 / 0.4); translate: 0 110%; transition: translate 0.3s ease; }
.buybar.is-visible { translate: 0 0; }
.buybar__price { display: flex; flex-direction: column; min-width: 0; font-size: 0.8rem; color: var(--muted); }
.buybar__price strong { font: 700 1.2rem/1.2 var(--font-display); color: var(--forest-800); }
@media (max-width: 900px) { .buybar:not([hidden]) { display: flex; } }

/* ---------- Checkout ---------- */
.page-head--slim { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.checkout__title { font-size: var(--step-1); margin-bottom: 0.5rem; }
.checkout__form { max-width: none; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); position: sticky; top: 84px; }
@media (max-width: 960px) { .checkout__form { position: static; } }
.form__hint { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.checkout__form .form__note { display: block; line-height: 1.5; }
.checkout__form .form__note .icon { width: 1rem; height: 1rem; vertical-align: -0.15rem; color: var(--leaf-600); }
.checkout__form .btn { align-self: stretch; }

.summary { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary span { color: var(--muted); }
.summary__free { color: var(--leaf-700); }
.summary__gst { font-size: var(--step--1); }
.summary__total { margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line); align-items: baseline; }
.summary__total span { color: var(--ink); font-weight: 650; }
.summary__total strong { font: 700 1.7rem/1 var(--font-display); color: var(--forest-800); }

.notice { padding: 0.9rem 1.1rem; border: 1px solid var(--sun-600); border-radius: var(--radius-small); background: #fff8e1; color: #5a4300; }
.notice--quiet { margin-top: 1rem; font-size: 0.95rem; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; max-width: 34rem; margin-inline: auto; padding-block: clamp(2rem, 6vw, 4rem); text-align: center; }
.empty p { color: var(--muted); }
.empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--mist); color: var(--leaf-700); }
.empty__icon .icon { width: 2.4rem; height: 2.4rem; }
.empty__icon--ok { background: var(--leaf-500); color: #fff; animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes pop { from { scale: 0.4; opacity: 0; } }
.empty__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }

/* ---------- Order tracking ---------- */
.track { max-width: 820px; display: flex; flex-direction: column; gap: 2rem; }
.track__form { max-width: none; }
.track__result { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.track__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.track__head h2 { font: 600 1.25rem/1.3 var(--font-mono); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.track__total { font: 700 1.5rem/1 var(--font-display); color: var(--forest-800); }
.track__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.track__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); text-align: center; }
.track__steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); background: var(--card); z-index: 1; }
.track__steps li + li::after { content: ""; position: absolute; top: 8px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.track__steps li.is-done { color: var(--forest-800); }
.track__steps li.is-done::before { border-color: var(--leaf-500); background: var(--leaf-500); }
.track__steps li.is-done + li.is-done::after, .track__steps li.is-done::after { background: var(--leaf-500); }
.track__steps li.is-current::before { box-shadow: 0 0 0 5px rgb(98 176 54 / 0.25); }
.track__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.track__facts dt { font: 500 0.68rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.track__facts dd { margin: 0.2rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.track__items { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; }
.track__items li { display: flex; justify-content: space-between; gap: 1rem; }
@media (max-width: 520px) { .track__steps li { font-size: 0.68rem; } }

/* Scroll reveals. site.js adds .is-in when an element enters the viewport, then removes the
   data-reveal attribute so the element goes back to its own transitions (hover states etc.).
   Everything here is scoped to .js: without JavaScript nothing is ever hidden. */
.js [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity 0.75s ease, translate 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="left"] { translate: -40px 0; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__in { opacity: 1; translate: none; }
  .js .story__step { opacity: 1; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track span:nth-child(n+4) { display: none; }
  .marquee__track span::after { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .marquee__track span:nth-child(n+2) { display: none; }
}
