
/* ==========================================================================
   Energetika: sky, clouds, sun and greenery. The page is one continuous sky:
   a deep evening-blue hero dissolves through a cloud band into light, airy
   day sky, and ends on fresh mint. Lime green is the one accent.
   ========================================================================== */

:root {
  color-scheme: only light; /* the design is light: opt out of the browser's forced dark mode (it turned white tiles black and hid button text) */
  --ink: #10201a;
  --ink-2: #3a4d44;
  --muted: #587064;
  --line: rgba(16, 48, 40, .12);
  --line-2: rgba(16, 48, 40, .22);
  --surface: #ffffff;
  --paper: #f3f9f7;          /* input and toggle fill */
  --glass: rgba(255, 255, 255, .72);
  --glass-brd: rgba(255, 255, 255, .85);

  --accent: #a8e063;
  --accent-2: #95d24d;
  --accent-ink: #23410f;
  --accent-on-dark: #b9ee7a;

  --sky-1: #08182a;
  --sky-2: #12365a;
  --sky-3: #2c6790;
  --day-1: #cde7f6;          /* light sky right under the clouds */
  --day-2: #e6f4f8;
  --mint: #eef8f0;
  --sky-ink: #f1f7f4;
  --sky-muted: #c9dcd6;

  --e-load: #3b9a4a;
  --e-load-ink: #2a7236;

  --gut: clamp(16px, 5vw, 80px);
  --head: 84px;
  --radius: 22px;
  --section: clamp(72px, 11vw, 136px);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 60px -34px rgba(24, 70, 104, .45);
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: #9cc6d8 var(--day-2); }
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  background-color: var(--mint);
  background-image: linear-gradient(180deg, var(--day-1) 0, var(--day-2) 1600px, var(--mint) 3400px, #f1f8ea 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
h1, .h2 { font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
mark { background: none; color: inherit; font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #1d5f7c; outline-offset: 3px; border-radius: 8px; }
.chrome :focus-visible, .hero :focus-visible { outline-color: var(--accent-on-dark); }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: min(1200px, calc(100% - var(--gut) * 2)); margin-inline: auto; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.03em; }

/* Buttons: lime pills, and a glass variant for dark backgrounds */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(60, 120, 20, .7);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(60, 120, 20, .75); }
.btn:active { transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: var(--sky-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.btn-block { width: 100%; }

/* Header: a dark glass pill floating over the sky */
.chrome {
  position: fixed; z-index: 30; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - var(--gut) * 2), 1160px); height: 58px;
  border-radius: 999px; background: rgba(8, 24, 42, .6); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 34px -18px rgba(6, 16, 26, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .25s var(--ease);
}
.is-scrolled .chrome { background: rgba(8, 24, 42, .78); }
.chrome-in { height: 100%; padding: 0 9px 0 20px; display: flex; align-items: center; gap: 28px; }
.mark { display: flex; align-items: center; min-height: 44px; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--sky-ink); }
.chrome-nav { display: flex; gap: 24px; }
.chrome-nav a { font-size: 14px; font-weight: 500; color: var(--sky-muted); text-decoration: none; padding: 10px 0; }
.chrome-nav a:hover { color: #fff; }

/* Hero: evening sky with a warm sun, the photo floats in it like an island;
   at the bottom the sky dissolves through a band of clouds into the day sky of the page */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--head) + clamp(36px, 7vh, 80px)) 0 clamp(110px, 13vw, 180px);
  color: var(--sky-ink);
  background:
    radial-gradient(700px 520px at 88% 4%, rgba(255, 224, 150, .42), rgba(255, 224, 150, 0) 70%),
    radial-gradient(800px 520px at 8% 70%, rgba(168, 224, 99, .14), rgba(168, 224, 99, 0) 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 76%, var(--day-1) 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -2px; height: clamp(170px, 22vw, 300px); pointer-events: none;
  background:
    radial-gradient(34% 70% at 10% 78%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(30% 62% at 36% 92%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%),
    radial-gradient(36% 70% at 64% 84%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 70%),
    radial-gradient(30% 64% at 92% 76%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(205, 231, 246, 0) 0%, var(--day-1) 82%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .26); color: var(--sky-ink); }
.eyebrow-dot, .kicker::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow-dot { box-shadow: 0 0 10px var(--accent); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5vw, 74px); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.hero h1 .hl { display: block; color: var(--accent-on-dark); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections: lots of air, a soft cloud drifting behind some of them */
.section { position: relative; overflow-x: clip; padding: var(--section) 0 0; scroll-margin-top: calc(var(--head) - 20px); }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { background: var(--glass); border: 1px solid var(--glass-brd); color: var(--ink-2); }
.kicker::before { content: ""; }
.section-head .h2 { margin-top: 16px; }
.section-lede { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
#about::before, #catalog::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: 60vw; height: 24vw; top: 2%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
}
#about::before { right: -16vw; }
#catalog::before { left: -18vw; top: 6%; }

.card {
  border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* О системе */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.feature-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(168, 224, 99, .28); fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.feature h3 { font-size: 20px; letter-spacing: -.015em; }
.feature p { font-size: 15px; color: var(--ink-2); }

/* Catalogue filter: a pill track */
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 22px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--card-shadow); }
.filters button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 500 15px var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.filters button:hover { background: rgba(168, 224, 99, .2); color: var(--ink); }
.filters [aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.step-n { font: 600 13px/1 var(--sans); letter-spacing: .06em; color: var(--e-load-ink); }

/* Калькулятор: a glass card for the inputs, the result card beside it */
.calc-form { display: grid; gap: 18px; }
.calc-settings { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.calc-settings .field { flex: 1 1 300px; max-width: 460px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h3 { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.panel-head h3 > span { font-weight: 500; opacity: .7; }
.panel-hint { font-size: 13px; color: var(--muted); }
.calc-catalog { padding: 22px; background: rgba(255, 255, 255, .6); }
.appl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.appl-chip { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(236, 244, 246, .9)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 6px 16px -10px rgba(24, 70, 104, .45);
  font: 500 14px/1.2 var(--sans); color: var(--ink); transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease); }
.appl-chip:hover { transform: translateY(-1px); }
.appl-chip .n { flex: none; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 999px; background: rgba(16, 48, 40, .07); font: 600 12px var(--sans); color: var(--ink-2); }
.appl-chip .ico { flex: none; width: 20px; height: 20px; }
.appl-chip .t { min-width: 0; }
.appl-chip[aria-pressed="true"] { background: linear-gradient(180deg, #c3f27e, var(--accent-2)); box-shadow: 0 0 0 1px rgba(110, 170, 40, .5), 0 8px 22px -8px rgba(149, 210, 77, .9); }
.appl-chip[aria-pressed="true"] .n { background: #17331a; color: var(--accent-on-dark); }
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.calc-side { display: grid; gap: 18px; position: sticky; top: calc(var(--head) + 6px); }
.calc-picked { padding: 20px; border-radius: var(--radius); color: var(--sky-ink); background: linear-gradient(180deg, rgba(14, 40, 64, .92), rgba(10, 28, 46, .94)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 26px 60px -30px rgba(8, 24, 42, .7); }
.calc-picked .bolt { width: 18px; height: 18px; fill: var(--accent); }
.picked-list { display: grid; max-height: 420px; overflow: auto; }
.picked { display: grid; grid-template-columns: 22px minmax(0, 1fr) 66px 88px 62px 30px; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.picked .ico { width: 20px; height: 20px; color: var(--sky-muted); }
.picked-name { font-size: 14px; line-height: 1.25; }
.picked-name small { display: block; font-size: 11.5px; color: rgba(201, 220, 214, .75); }
.picked-num { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; color: var(--sky-muted); }
.picked-num input { width: 50px; min-height: 36px; padding: 4px 6px; border: 0; border-radius: 9px; text-align: center; font: 600 14px var(--sans); color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.picked-num input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent-on-dark); }
.picked-num input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff8a6b; }
.picked-kwh { font-size: 12px; color: rgba(201, 220, 214, .85); text-align: right; white-space: nowrap; }
.picked-del { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--sky-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.picked-del:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.picked-empty { padding: 14px 0; font-size: 14px; color: var(--sky-muted); border-top: 1px solid rgba(255, 255, 255, .1); }
.picked-actions { display: flex; gap: 10px; margin-top: 14px; }
.pill-btn { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font: 600 14px var(--sans); color: var(--sky-ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pill-btn:hover { background: rgba(255, 255, 255, .08); }
.pill-lime { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(149, 210, 77, .9); }
.pill-lime:hover { background: var(--accent-2); }

.calc-total { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); color: #11240c;
  background: linear-gradient(135deg, #d4f79a, var(--accent) 55%, #8fd047); box-shadow: 0 0 0 1px rgba(110, 170, 40, .45), 0 20px 50px -20px rgba(149, 210, 77, .9); }
.total-k { font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.total-v { margin-top: 6px; font: 800 clamp(34px, 3.6vw, 48px)/1 var(--display); letter-spacing: -.03em; }
.total-v small { display: block; margin-top: 4px; font: 600 13px var(--sans); letter-spacing: 0; }
.total-f { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid rgba(17, 36, 12, .35); font-size: 13px; line-height: 1.35; }
.total-f b { font: 700 15px var(--sans); }
.total-msg { grid-column: 1 / -1; margin-top: 6px; font-size: 15px; font-weight: 500; }

.calc-out { margin-top: 18px; display: grid; gap: 12px; }
.kit-card { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 18px; background: rgba(255, 255, 255, .8); }
.kit-head h3 { margin-top: 12px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.kit-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit-cols li { display: grid; gap: 3px; align-content: start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); }
.kit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.calc-form.card { padding: clamp(20px, 2.6vw, 30px); }

/* Как мы работаем */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: p; }
.process li { padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; }
.process .step-n { font-size: 36px; font-family: var(--display); font-weight: 400; letter-spacing: -.02em; color: var(--accent-2); }
.process h3 { font-size: 21px; }
.process p { color: var(--ink-2); font-size: 15px; }

/* Каталог */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.product { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.product img { width: 100%; height: 210px; object-fit: contain; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #ffffff, #eef6f6); margin-bottom: 8px; }
.product-cat { font-size: 13px; font-weight: 500; color: var(--e-load-ink); }
.product h3 { font: 500 19px/1.2 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.product-spec { display: grid; gap: 5px; margin: 4px 0 8px; font-size: 14px; color: var(--ink-2); }
.product-spec li { position: relative; padding-left: 14px; }
.product-spec li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.product-price { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ink); }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Заявка */
.cta { padding-bottom: var(--section); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta-copy .h2 { margin-top: 16px; }
.cta-form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }

/* Form fields */
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.field input[type="text"], .field input:not([type]), .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px;
  background: var(--surface); color: var(--ink); font: 400 16px var(--sans);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .18s var(--ease);
}
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover { box-shadow: inset 0 0 0 1px #7fbf5f; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(147, 209, 76, .45); }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #b6452a; }
.field-error { font-size: 13px; color: #9b3a22; font-weight: 400; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid #1d5f7c; outline-offset: 2px; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; cursor: pointer; }
.field-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-2); }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.is-demo { color: var(--ink-2); font-weight: 500; }

/* Footer */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; }
.foot-in p:first-child { max-width: 60em; }

/* Tablet */
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .chrome-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .cta-in, .process { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-side { position: static; }
  .appl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-cols { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 600px) {
  :root { --head: 72px; }
  .chrome { top: 8px; width: calc(100% - 24px); height: 54px; }
  .chrome-in { padding: 0 7px 0 14px; gap: 10px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .features { grid-template-columns: 1fr; }
  .filters { display: flex; }
  .appl-chip { font-size: 13px; padding-right: 10px; gap: 7px; }
  .appl-chip .n { width: 28px; height: 26px; font-size: 11px; }
  .picked { grid-template-columns: 22px auto auto minmax(0, 1fr) 30px; row-gap: 6px; }
  .picked .ico { grid-row: 1; }
  .picked-name { grid-column: 2 / 5; grid-row: 1; }
  .picked-num { grid-row: 2; }
  .picked-num:nth-of-type(1) { grid-column: 2; }
  .picked-num:nth-of-type(2) { grid-column: 3; }
  .picked-kwh { grid-row: 2; grid-column: 4; }
  .appl-grid { gap: 8px; }
  .appl-chip .ico, .panel-hint { display: none; }
  .appl-chip .t { overflow-wrap: anywhere; }
  .calc-catalog { padding: 16px; }
  .picked-del { grid-row: 1; grid-column: 5; }
  .calc-total { grid-template-columns: 1fr; }
  .total-f { padding-left: 0; border-left: 0; }
  .filters button { flex: 1; padding: 0 12px; }
  .foot-in { display: block; }
  .foot-in p + p { margin-top: 12px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { padding: 12px 12px 14px; gap: 6px; }
  .product img { height: 120px; padding: 8px; }
  .product h3 { font-size: 15px; }
  .product-cat, .product-spec, .product-price { font-size: 12.5px; }
  .product-spec li:nth-child(n + 3) { display: none; }
  .product .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}



/* Calculator ------------------------------------------------------------- */

/* input column: a glass card */
.calc-form { display: grid; gap: 22px; align-content: start; }
.calc-form .field { gap: 8px; }
/* controls: soft, rounded, filled. No black outlines: tone, a hairline ring and shadow only on what is selected. */
.num { position: relative; display: block; }
.calc-form input[type="text"] {
  min-height: 56px; padding: 12px 64px 12px 20px; font-size: 20px; color: var(--ink);
  background: var(--surface); border: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .18s var(--ease);
}
.calc-form input[type="text"]:hover { box-shadow: inset 0 0 0 1px #8fcf79; }
.calc-form input[type="text"]:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(147, 209, 76, .45); }
.calc-form input[type="text"][aria-invalid="true"] { box-shadow: 0 0 0 1px #b6452a, 0 0 0 5px rgba(182, 69, 42, .10); }
.num i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 500; color: var(--muted); font-size: 15px; pointer-events: none; }

/* two-option toggles: a soft pill track, the selected option is a white pill */
.calc-form .seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--surface); border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
}
.calc-form .seg span {
  display: grid; place-items: center; min-height: 46px; padding: 0 14px; border-radius: 999px; border: 0;
  font-weight: 500; color: var(--ink-2); background: transparent; box-shadow: none;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.calc-form .seg label:hover input:not(:checked) + span { color: var(--ink); background: rgba(147, 209, 76, .22); }
.calc-form .seg input:checked + span {
  background: var(--accent); color: var(--ink); font-weight: 600;
  box-shadow: 0 0 0 1px rgba(43, 74, 22, .14), 0 4px 10px -6px rgba(20, 50, 15, .4);
}
.calc-form .seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg span small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.calc-form .seg input:checked + span small { color: var(--ink-2); }


/* result: one card; inside, hairlines only */
.calc-out { display: grid; gap: 14px; min-width: 0; }
.calc-empty { color: var(--muted); font-size: 16px; max-width: 28em; }
.calc-sum { display: grid; gap: 6px; }
.spec { display: grid; gap: 1px; }
.spec-k { font-size: 13px; color: var(--muted); }
.spec-v { font: 500 clamp(19px, 1.7vw, 22px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.spec-n { font-size: 13px; color: var(--muted); }
.calc-warn { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.calc-acc summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); min-height: 32px; display: flex; align-items: center; }
.calc-acc summary::-webkit-details-marker { display: none; }
.calc-acc summary::after { content: "+"; margin-left: 8px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; line-height: 1; }
.calc-acc[open] summary::after { content: "−"; }
.calc-acc ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 2px; }
.calc-hand { width: 100%; }
.calc-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.calc-note i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 11px/1 var(--sans); font-style: normal; color: var(--ink-2); margin-top: 1px; }
.handoff { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.handoff[hidden] { display: none; }
.handoff p { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.handoff b { display: block; color: var(--ink); }
.link-btn { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; font: 500 13px var(--sans); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 900px) {
}
.h2 .dot { color: var(--accent-2); }

/* hero headline: one loud word, one calm line */
.hero-h1 { display: grid; gap: 4px; }
.h1-big { font: 600 clamp(64px, 9vw, 132px)/.9 var(--sans); letter-spacing: -.01em;
  background: linear-gradient(180deg, #e2fbb4 0%, var(--accent) 55%, #7cc23c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(168, 224, 99, .35)); }
.h1-rest { font: 400 clamp(28px, 3.2vw, 46px)/1.1 var(--display); letter-spacing: -.025em; color: #fff; }
@media (max-width: 600px) {
  .h1-big { font-size: clamp(56px, 19vw, 84px); }
  .h1-rest { font-size: clamp(26px, 7.5vw, 34px); }
}

/* ---------- adapt: device classes ---------- */
/* tablets and small laptops: the catalogue takes the full width, "Выбрано" and the total sit side by side under it */
@media (max-width: 1180px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-side { position: static; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 760px) {
  .calc-side { grid-template-columns: minmax(0, 1fr); }
}
/* touch: every control in the picked list is a full 44 px target */
@media (pointer: coarse) {
  .picked-num input { min-height: 44px; }
  .picked-del { width: 44px; height: 44px; }
}
.appl-chip .n { font-size: 12px; }
.picked-name small { font-size: 12px; }
.picked-actions .pill-btn { flex: 1; white-space: nowrap; padding: 0 14px; }
/* narrow phones: one product per row as a horizontal card, lighter stats */
@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
  .product { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .product img { grid-row: 1 / span 4; height: 112px; margin: 0; }
  .product .btn { grid-column: 1 / -1; margin-top: 4px; }
  .product-price { margin-top: 0; }
}

/* ---------- catalogue: a compact banner on the page, the full list in a dialog ---------- */
.cat-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px; align-items: center; padding: clamp(24px, 3.4vw, 44px); overflow: hidden; }
.cat-banner .h2 { margin-top: 16px; }
.cat-banner .btn { margin-top: 24px; }
.cat-banner-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 18px; height: 230px; }
.cat-banner-art::before { content: ""; position: absolute; inset: 10% 6% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 224, 99, .35), rgba(168, 224, 99, 0)); }
.cat-banner-art img { position: relative; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(24, 70, 104, .3)); }
.cat-banner-art img + img { height: 86%; }

html.has-dialog { overflow: hidden; }
.cat-dialog { width: min(1120px, calc(100vw - 32px)); max-height: min(88vh, 960px); padding: 0; border: 0; border-radius: 26px; color: var(--ink);
  background: linear-gradient(180deg, #f7fbfa, #eef7f1); box-shadow: 0 40px 100px -30px rgba(6, 16, 26, .6); overflow: hidden; }
.cat-dialog[open] { display: flex; flex-direction: column; }
.cat-dialog::backdrop { background: rgba(8, 24, 42, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cat-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 14px 26px; border-bottom: 1px solid var(--line); }
.cat-dialog-head h2 { font: 400 clamp(22px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.02em; }
.cat-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(16, 48, 40, .07); font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.cat-close:hover { background: rgba(16, 48, 40, .14); }
.cat-dialog-body { overflow: auto; padding: 18px 26px 26px; overscroll-behavior: contain; }
.cat-dialog .filters { position: sticky; top: 0; z-index: 1; }
@media (max-width: 760px) {
  .cat-banner { grid-template-columns: 1fr; }
  .cat-banner-art { height: 170px; order: -1; }
}
@media (max-width: 600px) {
  .cat-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .cat-dialog-head { padding: 12px 12px 10px 18px; }
  .cat-dialog-body { padding: 14px 16px 24px; }
}

/* ---------- colorize: three meaningful hues in one sky ----------
   sun  — generation, the inverter      sky — storage, the battery
   lime — action, choice, the panels    (air: the soft blue of monitoring) */
:root {
  --sun: #ffc24a; --sun-ink: #7a4f00; --sun-wash: #fff3d6;
  --sky: #45a7e0; --sky-ink2: #0e5a86; --sky-wash: #e2f2fc;
  --air: #7cc7e8; --air-wash: #e8f6fb;
  --lime-wash: #ecf8dc;
}
/* hero stats: each figure gets its own light */

/* feature cards: a tinted icon tile and a soft wash in the card's hue */
.feature { background: linear-gradient(180deg, var(--wash, #fff) 0%, rgba(255, 255, 255, .78) 60%); }
.feature.tone-sun  { --wash: var(--sun-wash); }
.feature.tone-sky  { --wash: var(--sky-wash); }
.feature.tone-air  { --wash: var(--air-wash); }
.feature.tone-lime { --wash: var(--lime-wash); }
.tone-sun .feature-ico  { background: rgba(255, 194, 74, .35); stroke: var(--sun-ink); }
.tone-sky .feature-ico  { background: rgba(69, 167, 224, .22); stroke: var(--sky-ink2); }
.tone-air .feature-ico  { background: rgba(124, 199, 232, .3); stroke: var(--sky-ink2); }
.tone-lime .feature-ico { background: rgba(168, 224, 99, .35); stroke: var(--accent-ink); }


/* calculator kit: inverter = sun, battery = sky, panels = lime */
.kit-cols li { border-left: 4px solid var(--tone, var(--line)); }
.kit-cols .tone-sun  { --tone: var(--sun); background: linear-gradient(90deg, var(--sun-wash), #fff 70%); }
.kit-cols .tone-sky  { --tone: var(--sky); background: linear-gradient(90deg, var(--sky-wash), #fff 70%); }
.kit-cols .tone-lime { --tone: var(--accent); background: linear-gradient(90deg, var(--lime-wash), #fff 70%); }

/* catalogue: category colour on every card, sky-to-sun banner */
.product[data-cat="inverter"] .product-cat { color: var(--sun-ink); }
.product[data-cat="battery"] .product-cat { color: var(--sky-ink2); }
.product[data-cat="inverter"] img { background: linear-gradient(180deg, #fff, var(--sun-wash)); }
.product[data-cat="battery"] img { background: linear-gradient(180deg, #fff, var(--sky-wash)); }
.cat-banner { background: radial-gradient(420px 260px at 82% 60%, rgba(255, 194, 74, .28), rgba(255, 194, 74, 0) 70%), linear-gradient(120deg, rgba(226, 242, 252, .92), rgba(240, 249, 232, .92)); }

/* the page ends the way it starts: the day sky turns to evening in the footer */
.foot { position: relative; margin-top: 60px; padding: 48px 0 44px; border-top: 0; color: var(--sky-muted);
  background: linear-gradient(180deg, var(--sky-2), var(--sky-1)); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 54, 90, 0), var(--sky-2)); }
.foot a { color: #fff; }

/* ---------- typeset: Playfair Display + Source Sans 3 (self-hosted, OFL) ---------- */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/playfair-display-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/playfair-display-latin-600-normal.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; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/playfair-display-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/playfair-display-latin-700-normal.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; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-normal.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; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-latin-600-normal.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; }

:root {
  --display: 'Playfair Display', Georgia, serif; --sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --dw: 600; --dw-heavy: 700; --dt: -.01em; --ds: 1; --tw: 400;
}

/* ---------- typeset: one scale, friendlier reading ---------- */
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; font-kerning: normal; }
h1, h2, h3, .h2 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); }
.h2 { font-size: calc(clamp(30px, 3.6vw, 48px) * var(--ds)); line-height: 1.08; }
.section-lede { font-size: 18px; line-height: 1.6; max-width: 36em; }
.feature h3, .process h3, .step h3 { font-size: calc(20px * var(--ds)); line-height: 1.25; }
.feature p, .process p { font-size: 16px; line-height: 1.55; }
.h1-big { font-family: var(--display); font-weight: var(--dw-heavy); letter-spacing: var(--dt); font-size: calc(clamp(64px, 9vw, 132px) * var(--ds)); }
.h1-rest { font-family: var(--display); font-weight: var(--dw); font-size: calc(clamp(26px, 3vw, 42px) * var(--ds)); letter-spacing: var(--dt); }
.total-v, .spec-v, .process .step-n, .product h3, .cat-dialog-head h2 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); }
.total-v { font-weight: var(--dw-heavy); font-size: calc(clamp(34px, 3.6vw, 48px) * var(--ds)); }
.spec-v { font-size: calc(clamp(18px, 1.6vw, 21px) * var(--ds)); }
.product h3 { font-size: calc(18px * var(--ds)); }
/* numbers that change or get compared line up */
.total-v, .picked-kwh, .picked-num input, .kit-cols, .appl-chip .n, .step-n { font-variant-numeric: lining-nums tabular-nums; }
/* Playfair defaults to old-style figures; readings need even, lining digits */
h1, h2, h3, .h2, .total-v, .spec-v, .process .step-n, .product h3 { font-variant-numeric: lining-nums; }
.total-v { font-variant-numeric: lining-nums tabular-nums; }
.btn, .pill-btn, .filters button, .seg span, .appl-chip { font-family: var(--sans); }
.btn { font-weight: 600; letter-spacing: 0; }
.kicker, .eyebrow, .total-k, .panel-head h3, .calc-kit h4 { font-family: var(--sans); }
.field, .appl-chip, .picked-name { font-weight: var(--tw); }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section-lede { font-size: 16.5px; }
  .h1-big { font-size: calc(clamp(52px, 17vw, 80px) * var(--ds)); }
  .h1-rest { font-size: calc(clamp(24px, 7vw, 32px) * var(--ds)); }
}

/* ---------- hero: client's reference scene (sky, clouds, floating greenery, butterflies) as a full-bleed background ---------- */
.hero { min-height: clamp(640px, 100svh, 1000px); display: flex; flex-direction: column; justify-content: center; background: #4a9ad6; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 38%; transform-origin: 66% 50%; }
/* no zoom/drift: the source is small, every extra % of scale shows as blur */
/* a soft blue veil on the text side keeps the white type readable over clouds, without hiding the scene */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 56, 102, .62) 0%, rgba(14, 70, 122, .36) 34%, rgba(20, 90, 150, 0) 60%),
    linear-gradient(180deg, rgba(8, 40, 76, .38) 0%, rgba(8, 40, 76, 0) 22%); }
.hero-grid { grid-template-columns: minmax(0, 660px); }
.hero .eyebrow { background: rgba(8, 40, 76, .32); border-color: rgba(255, 255, 255, .34); }
.hero .h1-rest, .hero .eyebrow { text-shadow: 0 2px 18px rgba(6, 34, 66, .45); }
.hero .h1-big { filter: drop-shadow(0 6px 22px rgba(6, 34, 66, .35)); }
.hero .btn-ghost { background: rgba(8, 40, 76, .3); }
@media (max-width: 900px) {
  .hero { min-height: clamp(600px, 92svh, 860px); justify-content: flex-start; }
  .hero-bg img { object-position: 70% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 44, 84, .6) 0%, rgba(12, 60, 108, .34) 46%, rgba(20, 90, 150, 0) 72%); }
}
/* let the scene breathe: thinner cloud band, lighter glass over the greenery */
.hero { padding-bottom: clamp(84px, 9vw, 140px); }
.hero::after { height: clamp(120px, 13vw, 200px); }
@media (max-width: 900px) { .hero-bg img { object-position: 72% 50%; } }
/* new sky photo: clean clouds edge to edge, so the image sits centred */
.hero-bg img { object-position: 50% 30%; }
@media (max-width: 900px) { .hero-bg img { object-position: 40% 30%; } }

/* brand logo (client file): white ENER + lime GETIKA, so it always sits on the dark glass header / dark footer */
.mark-logo { display: block; width: auto; height: 32px; }
.foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-logo { display: block; width: auto; height: 28px; }
@media (max-width: 420px) { .mark-logo { height: 26px; } }
.picked-name small span { white-space: nowrap; }

/* time slider under each picked appliance: drag instead of typing; the number field above stays in sync */
.picked-range { grid-column: 2 / -2; grid-row: 2; display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(201, 220, 214, .7); font-variant-numeric: lining-nums tabular-nums; }
.picked-range span { flex: none; white-space: nowrap; }
.picked-range input { flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.picked-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-on-dark) var(--p, 0%), rgba(255, 255, 255, .16) var(--p, 0%)); }
.picked-range input::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.picked-range input::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent-on-dark); }
.picked-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-on-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.picked-range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-on-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.picked-range input:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; border-radius: 8px; }
.picked { row-gap: 2px; }
.picked-list { max-height: 600px; }
@media (max-width: 600px) {
  .picked-range { grid-row: 3; grid-column: 2 / -1; }
  .picked-range input { height: 36px; }
  .picked-range input::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -10px; }
}
/* no spin arrows in the calculator fields: the slider and the keyboard set the value */
.picked-num input { -moz-appearance: textfield; appearance: textfield; }
.picked-num input::-webkit-inner-spin-button, .picked-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* adapt: the calculator never grows wider than the screen (320 px phones included) */
.calc-form { grid-template-columns: minmax(0, 1fr); }
.calc-settings .field { min-width: 0; }
.seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg span, .seg small { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .seg span { padding-inline: 8px; font-size: 14px; }
  .seg small { font-size: 11px; }
  .picked-range { gap: 6px; }
}
/* consent: the whole line is a comfortable tap target */
.field-check label { min-height: 44px; align-items: center; }
/* 320–360 px phones: two chip columns are only ~120 px wide, so the number badge goes (the lime fill still marks a picked chip)
   and words wrap whole instead of splitting mid-word */
@media (max-width: 360px) {
  .appl-chip .n { display: none; }
  .appl-chip { padding-left: 12px; font-size: 13px; }
  .appl-chip .t { overflow-wrap: normal; word-break: normal; hyphens: auto; }
}

/* ---------- mini guide «Сколько «ест» домашняя техника»: a folded card above the calculator ---------- */
.guide { margin-bottom: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--card-shadow); }
.guide summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 32px; align-items: center; column-gap: 14px; min-height: 64px; padding: 12px 18px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::before { content: ""; grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; background: var(--sun-wash, #fff3d6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.guide summary::after { content: "+"; grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 500 20px/1 var(--sans); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s; }
.guide[open] summary::after { transform: rotate(45deg); }
.guide summary:focus-visible { outline: 2px solid #1d5f7c; outline-offset: 2px; }
.guide-sum-t { font: var(--dw) calc(19px * var(--ds))/1.2 var(--display); color: var(--ink); }
.guide-sum-h { grid-column: 2; font-size: 14px; color: var(--muted); }
.guide-body { padding: 4px 18px 18px; }
.guide-body > p { max-width: 46em; margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.guide-body .guide-row { background: rgba(255, 255, 255, .8); box-shadow: none; border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .guide summary::after { transition: none; } }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 14px 22px;
  border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--card-shadow); }
.guide-row:focus { outline: none; }
.guide-name { font-size: 16px; line-height: 1.3; color: var(--ink); }
.guide-val { flex: none; display: grid; justify-items: end; text-align: right; line-height: 1.1; }
.guide-val b { font: var(--dw-heavy) clamp(20px, 2vw, 24px)/1.1 var(--display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.guide-val b + span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.guide-val { grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; }
.guide-val small { grid-column: 1 / -1; margin-top: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .guide-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide-row { min-height: 64px; padding: 12px 18px; }
  .guide-name { font-size: 15px; }
}

/* the cheat-sheet stands out with a lime frame */
.guide { border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(168, 224, 99, .18), var(--card-shadow); }

/* ---------- delight (1, 2, 3, 4, 7, 8, 10); every motion stops under prefers-reduced-motion ---------- */
/* 2 · slider value tip: rides above the thumb while it is held or keyboard-focused */
.range-wrap { --thumb: 20px; position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.range-wrap input { width: 100%; }
.picked-range input::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent-on-dark) calc(var(--p, 0) * 1%), rgba(255, 255, 255, .16) calc(var(--p, 0) * 1%)); }
.range-tip { position: absolute; bottom: calc(100% + 2px); left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p, 0) / 100);
  transform: translate(-50%, 4px) scale(.9); padding: 4px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  font: 700 13px/1.1 var(--sans); color: var(--accent-ink); background: var(--accent-on-dark); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .15s, transform .15s; }
.range-tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--accent-on-dark); }
.range-wrap.is-held .range-tip, .range-wrap:has(input:focus-visible) .range-tip { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 600px) { .range-wrap { --thumb: 26px; } .range-tip { font-size: 15px; padding: 6px 11px; } }

/* 3 · appliances arrive and leave softly; the chip presses in */
@keyframes picked-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.picked.is-new { animation: picked-in .26s cubic-bezier(.2, .8, .2, 1); }
.picked.is-leaving { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .16s ease-out, transform .18s cubic-bezier(.23, 1, .32, 1); }
@keyframes chip-pop { 40% { transform: scale(.95); } 100% { transform: none; } }
.appl-chip.is-pop { animation: chip-pop .22s ease-out; }

/* 4 · battery gauge in the kit */
.bat-gauge { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: -2px; font-size: 12px; color: var(--sky-ink2, #0e5a86); }
.bat-gauge svg { width: 30px; height: 14px; }
.bat-gauge svg rect:first-child { fill: none; stroke: currentColor; stroke-width: 1.6; }
.bat-gauge .bat-cap { fill: currentColor; }
.bat-gauge .bat-fill { fill: var(--sky, #45a7e0); }

/* 7 · «Запросить цену» confirms before the page moves */
.btn.is-added, .btn.is-added:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* 8 · the request form glows once when it receives a kit or a model */
@keyframes form-received { 0% { box-shadow: 0 0 0 0 rgba(168, 224, 99, .75), var(--card-shadow); } 70% { box-shadow: 0 0 0 14px rgba(168, 224, 99, 0), var(--card-shadow); } 100% { box-shadow: var(--card-shadow); } }
.cta-form.is-received { animation: form-received 1.4s ease-out; outline: 2px solid var(--accent); outline-offset: -2px; }
@keyframes handoff-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.handoff:not([hidden]) { animation: handoff-in .3s ease-out; }
.handoff b::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; font-size: 11px; color: var(--accent-ink); background: var(--accent); }

/* 10 · one sun glint across OFFLINE on load */
.hero .h1-big { background-image: linear-gradient(105deg, transparent 43%, rgba(255, 255, 255, .55) 47%, #fff 50%, rgba(255, 255, 255, .55) 53%, transparent 57%), linear-gradient(180deg, #e2fbb4 0%, var(--accent) 55%, #7cc23c 100%);
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat; }
@keyframes glint { from { background-position: 130% 0, 0 0; } to { background-position: -40% 0, 0 0; } }
@media (prefers-reduced-motion: no-preference) { .hero .h1-big { animation: glint 1.5s cubic-bezier(.4, 0, .2, 1) .5s 1 both; } }

@media (prefers-reduced-motion: reduce) {
  .picked.is-new, .appl-chip.is-pop, .cta-form.is-received, .handoff:not([hidden]) { animation: none; }
  .range-tip, .picked.is-leaving { transition: none; }
}
/* product photos shot on white: a white tile, so no pale rectangle shows on the tinted one */
.product img.on-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- hero tiles: quick routes from the first screen ---------- */
.hero-tiles { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hero-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 76px; padding: 14px 16px;
  border-radius: 20px; text-decoration: none; color: #fff; background: rgba(10, 44, 80, .34); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); transition: background .2s, border-color .2s, transform .2s; }
.ht-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.ht-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-t { align-self: end; font: 600 16px/1.2 var(--sans); }
.ht-h { align-self: start; margin-top: 2px; font-size: 13px; line-height: 1.3; color: #e4f0f6; }
.hero-tile:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
@media (hover: hover) { .hero-tile:hover { background: rgba(10, 44, 80, .5); border-color: var(--accent-on-dark); transform: translateY(-2px); } }
@media (max-width: 1000px) { .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .hero-tile { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; min-height: 68px; padding: 12px; }
  .ht-ico { width: 36px; height: 36px; border-radius: 11px; }
  .ht-ico svg { width: 19px; height: 19px; }
  .ht-t { font-size: 14px; }
  .ht-h { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-tile { transition: none; } .hero-tile:hover { transform: none; } }

/* hero tiles stand out: bright frosted cards with dark text, a lime icon and an arrow, lifted off the sky */
.hero-tile { grid-template-columns: 44px minmax(0, 1fr) 28px; color: var(--ink); background: rgba(255, 255, 255, .9); border: 1px solid #fff;
  box-shadow: 0 18px 40px -18px rgba(6, 34, 66, .55), 0 0 0 4px rgba(255, 255, 255, .18); }
.hero-tile::after { content: "→"; grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 600 15px/1 var(--sans); color: var(--accent-ink); background: rgba(168, 224, 99, .35); transition: transform .2s, background .2s; }
.ht-t { font-weight: 700; color: var(--ink); }
.ht-h { color: var(--muted); }
.ht-ico { box-shadow: inset 0 0 0 1px rgba(35, 65, 15, .12); }
@media (hover: hover) {
  .hero-tile:hover { background: #fff; border-color: var(--accent); box-shadow: 0 22px 44px -18px rgba(6, 34, 66, .6), 0 0 0 4px rgba(168, 224, 99, .45); }
  .hero-tile:hover::after { transform: translateX(3px); background: var(--accent); }
}
.hero-tile:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 3px; }
@media (max-width: 420px) { .hero-tile { grid-template-columns: 36px minmax(0, 1fr); } .hero-tile::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-tile::after { transition: none; } .hero-tile:hover::after { transform: none; } }

/* ---------- how it works: four nodes from sun to socket, plus the outage case ---------- */
.how-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; counter-reset: how; }
.how-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--wash, #fff) 0%, rgba(255, 255, 255, .82) 70%); border: 1px solid var(--glass-brd); box-shadow: var(--card-shadow); }
.how-step.tone-sun { --wash: var(--sun-wash); --tone: var(--sun); --tone-ink: var(--sun-ink); }
.how-step.tone-air { --wash: var(--air-wash); --tone: var(--air); --tone-ink: var(--sky-ink2); }
.how-step.tone-sky { --wash: var(--sky-wash); --tone: var(--sky); --tone-ink: var(--sky-ink2); }
.how-step.tone-lime { --wash: var(--lime-wash); --tone: var(--accent); --tone-ink: var(--accent-ink); }
.how-step::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tone); }
/* the arrow between nodes: energy moves left to right */
.how-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -30px; width: 26px; height: 26px; transform: translateY(-50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323410f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(24, 70, 104, .5); z-index: 1; }
.how-n { font: 600 13px/1 var(--sans); letter-spacing: .06em; color: var(--tone-ink); }
.how-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--tone, var(--accent)) 30%, #fff); color: var(--tone-ink, var(--accent-ink)); }
.how-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.how-step h3 { font-size: calc(20px * var(--ds)); line-height: 1.25; }
.how-step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* the emotional beat: the grid goes out, the house keeps working */
.how-outage { margin-top: 22px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 26px;
  color: var(--sky-ink); background: linear-gradient(120deg, #0e2a46 0%, #153a5e 60%, #1d4a6a 100%); border-color: rgba(255, 255, 255, .12); }
.how-outage h3 { font-size: calc(22px * var(--ds)); color: #fff; }
.how-outage p { margin-top: 6px; max-width: 62em; font-size: 15.5px; line-height: 1.6; color: #d6e6ee; }
.how-ico-night { width: 56px; height: 56px; background: rgba(255, 194, 74, .18); color: #ffd27a; box-shadow: 0 0 24px rgba(255, 194, 74, .25); }
@media (max-width: 1000px) {
  .how-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; }
  .how-step:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .how-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .how-step:nth-child(2)::after { display: block; }
  .how-step:not(:last-child)::after { top: auto; bottom: -28px; right: auto; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .how-outage { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
}
/* montage: the dark card ends with the order button */
.montage-cta { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; }
.montage-cta .btn { white-space: nowrap; }
@media (max-width: 760px) { .montage-cta { grid-template-columns: minmax(0, 1fr); } .montage-cta .btn { justify-self: start; } }

/* hero: the catalogue button stands out as a bright white pill with a lime ring, next to the lime primary */
.hero .btn-catalog { gap: 10px; background: #fff; color: var(--ink); font-weight: 700;
  box-shadow: 0 0 0 2px var(--accent), 0 14px 30px -14px rgba(6, 34, 66, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero .btn-catalog svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 2; }
@media (hover: hover) { .hero .btn-catalog:hover { background: #f4fbe9; box-shadow: 0 0 0 3px var(--accent), 0 16px 34px -14px rgba(6, 34, 66, .65); } }
.hero .btn-catalog:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 3px; }
.hero .btn-catalog svg { stroke: #3d2700; }
@media (hover: hover) { .hero .btn-catalog:hover { background: #ffd36e; box-shadow: 0 0 0 3px #fff, 0 16px 34px -14px rgba(122, 79, 0, .75); } }

/* ---------- optimize / adapt ---------- */
/* opaque cards don't need a live blur behind them: cheaper scrolling on phones */
.hero-tile { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* 320 px: the two list buttons stack instead of overflowing */
@media (max-width: 360px) { .picked-actions { flex-direction: column; } .picked-actions .pill-btn { flex: none; width: 100%; } }

/* ---------- harden ---------- */
/* honeypot: present for bots, invisible and unreachable for people */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noscript { margin: 0; padding: 12px 16px; text-align: center; font-size: 15px; color: #3d2700; background: #ffe7a8; }
/* long unbroken words (model names, e-mails) never push a card wider than the screen */
.product h3, .kit-cols .spec-v, .handoff p, .guide-name, .ht-t { overflow-wrap: anywhere; }
.foot-in { flex-wrap: wrap; }
.foot-legal { flex-basis: 100%; margin: 0; font-size: 13px; }
.foot-legal a, .field-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* request form: sending / sent / failed */
.form-note.is-ok { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--accent-ink); background: #e6f8cf; }
.form-note.is-ok::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); }
.form-note.is-err { padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #8a2a12; background: #fde7df; }
.cta-form .btn[disabled] { opacity: .7; cursor: progress; }
/* kit price */
.kit-price { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 24px; align-items: center; margin-top: 16px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(120deg, #e6f8cf, #d3f1aa); }
.kit-price > div { display: grid; gap: 2px; }
.kp-k { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.kp-v { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.kit-price p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 600px) { .kit-price { grid-template-columns: minmax(0, 1fr); } }
.product-price { font: 700 22px/1.2 var(--display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
/* banner: real product photos are shot on white, so they sit as rounded white tiles */
.cat-banner-art img { border-radius: 20px; background: #fff; padding: 10px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(6, 34, 66, .45); }

/* ---------- overdrive: catalogue morph + zoomable product ---------- */
.product-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 16px; cursor: zoom-in; position: relative; }
.product-zoom img { margin-bottom: 0; transition: transform .25s ease; }
.product-zoom::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; opacity: .9;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310201a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -4px rgba(6,34,66,.4); }
@media (hover: hover) { .product-zoom:hover img { transform: scale(1.03); } }
.product-zoom:focus-visible { outline: 2px solid #1d5f7c; outline-offset: 2px; }
.product { margin-bottom: 0; }
.product > .product-zoom { margin-bottom: 8px; }
@media (max-width: 420px) { .product > .product-zoom { grid-row: 1 / span 4; margin: 0; } .product-zoom img { height: 112px; } .product-zoom::after { width: 26px; height: 26px; right: 4px; bottom: 4px; background-size: 12px; } }

.product.is-expanded { position: fixed; z-index: 10; inset: max(16px, 4vh) max(16px, calc((100vw - 980px) / 2)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-auto-rows: min-content; column-gap: 32px; row-gap: 10px; align-content: center;
  padding: clamp(20px, 3vw, 36px); overflow: auto; background: #fff; box-shadow: 0 40px 100px -30px rgba(6, 34, 66, .6), 0 0 0 100vmax rgba(8, 24, 42, .35); }
.product.is-expanded > .product-zoom { grid-column: 1; grid-row: 1 / span 6; cursor: zoom-out; margin: 0; }
.product.is-expanded > .product-zoom::after { display: none; }
.product.is-expanded .product-zoom img { height: min(64vh, 560px); }
.product.is-expanded h3 { font-size: clamp(24px, 2.6vw, 34px); }
.product.is-expanded .product-spec { font-size: 16px; }
.product.is-expanded .product-price { font-size: 30px; }
.product-collapse { position: absolute; right: 14px; top: 14px; z-index: 2; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px var(--sans); color: var(--ink); background: #eef4f1; }
.product-collapse:focus-visible { outline: 2px solid #1d5f7c; outline-offset: 2px; }
@media (max-width: 700px) {
  .product.is-expanded { inset: 12px; grid-template-columns: minmax(0, 1fr); align-content: start; }
  .product.is-expanded > .product-zoom { grid-row: auto; margin-top: 36px; }
  .product.is-expanded .product-zoom img { height: 38vh; }
}
/* the morph itself */
::view-transition-group(catalog), ::view-transition-group(product-zoom) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(catalog), ::view-transition-new(catalog), ::view-transition-old(product-zoom), ::view-transition-new(product-zoom) { height: 100%; object-fit: cover; overflow: clip; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } .product-zoom img { transition: none; } }

/* ---------- overdrive: battery charging in the kit ---------- */
.bat-meter { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 18px; padding: 18px 20px; border-radius: 20px; color: var(--sky-ink); background: linear-gradient(120deg, #0e2a46, #153a5e 70%, #1d4a6a); }
.bm-cell { position: relative; height: 64px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); margin-right: 10px; }
.bm-cell::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 24px; transform: translateY(-50%); border-radius: 0 4px 4px 0; background: rgba(255,255,255,.55); }
.bm-fill { position: absolute; inset: 6px auto 6px 6px; width: calc(var(--to) - 12px); min-width: 8px; border-radius: 9px;
  background: linear-gradient(90deg, #7cc23c, var(--accent) 60%, #d8f7a6); box-shadow: 0 0 22px rgba(168,224,99,.55); animation: bm-charge .9s cubic-bezier(.2,.8,.2,1) both; }
.bm-fill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 220% 100%; animation: bm-sheen 2.4s ease-in-out .9s infinite; }
@keyframes bm-charge { from { width: max(8px, calc(var(--from) - 12px)); } to { width: max(8px, calc(var(--to) - 12px)); } }
@keyframes bm-sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.bm-segs { position: absolute; inset: 6px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; pointer-events: none; }
.bm-segs i { border-right: 2px solid rgba(14,42,70,.55); }
.bm-segs i:last-child { border-right: 0; }
.bm-bolt { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z' fill='%23ffffff' stroke='%230e2a46' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.bm-text { display: grid; gap: 4px; }
.bm-text b { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--display); color: #fff; font-variant-numeric: lining-nums; }
.bm-text span { font-size: 13.5px; line-height: 1.45; color: #c9dcd6; }
@media (max-width: 700px) { .bat-meter { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bm-fill { animation: none; width: max(8px, calc(var(--to) - 12px)); } .bm-fill::after { animation: none; } }
.product.is-expanded .product-spec li { display: block; }
@media (max-width: 420px) { .product.is-expanded { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 0; } .product.is-expanded > * { grid-column: 1; grid-row: auto; } .product.is-expanded .btn { margin-top: 8px; } }
/* the kit without panels: two columns */
.kit-cols:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .kit-cols:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; } }

/* phone number in the header, the request section and the footer */
.chrome-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font: 600 15px var(--sans); color: #fff; text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.chrome-tel svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent, #a8e063); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chrome-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .chrome-nav { display: none; } }
@media (max-width: 860px) { .chrome-tel span { display: none; } .chrome-tel { width: 44px; justify-content: center; padding: 0; margin-left: auto; } .mark { margin-right: 0; } }
.cta-phone { margin: 14px 0 0; font-size: 18px; } .cta-phone a { font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.foot-legal a[href^="tel"] { white-space: nowrap; }

/* Плашка «Официальный представитель в ДНР» на первом экране */
.rep-badge {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; padding: 9px 18px 9px 10px; max-width: 100%;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(185, 238, 122, .55);
  box-shadow: 0 0 0 0 rgba(168, 224, 99, .5), 0 12px 30px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.25;
  opacity: 0; transform: translateY(10px) scale(.97);
  animation: rep-in .8s cubic-bezier(.2, .8, .2, 1) .15s forwards, rep-pulse 3.2s ease-out 1.2s infinite;
}
.rep-ico {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  
}
.rep-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rep-ico svg path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: rep-check .6s ease-out 1s forwards; }
.rep-text { display: grid; }
.rep-text small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); }
@keyframes rep-in { to { opacity: 1; transform: none; } }
@keyframes rep-pulse { 0% { box-shadow: 0 0 0 0 rgba(168, 224, 99, .5), 0 12px 30px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .35); } 70%, 100% { box-shadow: 0 0 0 16px rgba(168, 224, 99, 0), 0 12px 30px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .35); } }
@keyframes rep-check { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .rep-badge { font-size: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .rep-badge { animation: none; opacity: 1; transform: none; }
  .rep-ico svg path { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 360px) { .hero-tiles { grid-template-columns: minmax(0, 1fr); } }

/* menu button (three bars) and the section menu it opens: the section links are hidden from the bar below 1100px */
.burger { display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer; align-items: center; justify-content: center; }
.burger:hover { background: rgba(255, 255, 255, .18); }
.burger:focus-visible { outline: 3px solid var(--accent-on-dark, #c5f08a); outline-offset: 2px; }
.burger-bars { position: relative; display: block; width: 20px; height: 14px; }
.burger-bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .28s var(--ease, ease), opacity .2s, top .28s var(--ease, ease); }
.burger-bars i:nth-child(1) { top: 0; } .burger-bars i:nth-child(2) { top: 6px; } .burger-bars i:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu { position: fixed; z-index: 29; inset: 0; background: rgba(6, 16, 28, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.menu.is-open { opacity: 1; }
.menu-in { position: absolute; top: 76px; left: 50%; width: min(calc(100% - 24px), 420px); transform: translate(-50%, -8px); padding: 10px; display: grid; gap: 2px; border-radius: 26px; background: rgba(8, 24, 42, .96); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); transition: transform .28s var(--ease, ease); }
.menu.is-open .menu-in { transform: translate(-50%, 0); }
@media (min-width: 601px) { .menu-in { left: auto; right: max(12px, calc((100% - 1160px) / 2)); transform: translate(0, -8px); } .menu.is-open .menu-in { transform: none; } }
.menu-in a:not(.btn):not(.menu-tel) { display: flex; align-items: center; min-height: 56px; padding: 0 18px; border-radius: 16px; color: #fff; font: 600 19px var(--sans); text-decoration: none; }
.menu-in a:not(.btn):not(.menu-tel):hover, .menu-in a:not(.btn):not(.menu-tel):focus-visible { background: rgba(255, 255, 255, .1); }
.menu-cta { margin-top: 8px; justify-content: center; min-height: 56px; }
.menu-tel { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--accent-on-dark, #c5f08a); font: 600 18px var(--sans); text-decoration: none; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
@media (max-width: 1100px) { .burger { display: inline-flex; } }
@media (max-width: 860px) { .chrome-tel { margin-left: auto; } }
@media (max-width: 480px) { .chrome-cta { display: none; } .chrome-tel { margin-left: auto; } }
@media (min-width: 1101px) { .menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu-in, .burger-bars i { transition: none; } }
@media (max-width: 1180px) { .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .hero-tiles { grid-template-columns: minmax(0, 1fr); } }

/* Completed works: photo grid + lightbox */
.works-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.works-grid .work-item { grid-column: span 2; }
.works-grid .work-item:nth-child(4) { grid-column: 2 / span 2; } .works-grid .work-item:nth-child(5) { grid-column: 4 / span 2; }
.work-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: #dfeaf1; aspect-ratio: 3 / 4; box-shadow: 0 18px 40px -22px rgba(8, 30, 60, .55); transition: transform .3s var(--ease, ease), box-shadow .3s; }
.work-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease, ease); }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -22px rgba(8, 30, 60, .6); } .work-card:hover img { transform: scale(1.04); }
.work-card:focus-visible { outline: 3px solid var(--accent-ink, #23410f); outline-offset: 3px; }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; text-align: left; color: #fff; font: 600 16px/1.3 var(--sans); background: linear-gradient(transparent, rgba(6, 18, 32, .82)); }
.work-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .88); }
.work-zoom svg { width: 20px; height: 20px; fill: none; stroke: #0b2340; stroke-width: 2; stroke-linecap: round; }
.works-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 26px; border-radius: 22px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(14, 42, 68, .1); }
.works-cta p { margin: 0; max-width: 40em; font-size: 18px; }
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .works-grid .work-item, .works-grid .work-item:nth-child(4), .works-grid .work-item:nth-child(5) { grid-column: auto; } .works-grid .work-item:nth-child(5) { grid-column: 1 / -1; } .works-grid .work-item:nth-child(5) .work-card { aspect-ratio: 4 / 3; } .work-cap { font-size: 14px; padding: 30px 12px 12px; } }
@media (max-width: 360px) { .works-grid { grid-template-columns: minmax(0, 1fr); } .works-grid .work-item:nth-child(5) { grid-column: auto; } .works-grid .work-item:nth-child(5) .work-card { aspect-ratio: 3 / 4; } }
.works-lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(5, 14, 26, .94); color: #fff; }
.works-lb[open] { display: flex; flex-direction: column; }
.works-lb::backdrop { background: rgba(5, 14, 26, .6); }
.works-lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font: 600 15px var(--sans); }
.works-lb-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 400 30px/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.works-lb-btn:hover { background: rgba(255, 255, 255, .26); } .works-lb-btn:focus-visible { outline: 3px solid var(--accent-on-dark, #c5f08a); outline-offset: 2px; }
.works-lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px 16px; }
.works-lb-fig { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.works-lb-fig img { max-width: 100%; max-height: calc(100% - 52px); width: auto; height: auto; object-fit: contain; border-radius: 14px; }
.works-lb-fig figcaption { text-align: center; font-size: 16px; color: #d6e6ee; max-width: 46em; }
@media (max-width: 600px) { .works-lb-nav { position: absolute; bottom: 22px; z-index: 2; background: rgba(0, 0, 0, .55); } [data-lb-prev] { left: 14px; } [data-lb-next] { right: 14px; } .works-lb-fig { padding-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .work-card, .work-card img { transition: none; } .work-card:hover img { transform: none; } }

/* ===== Impeccable pass on the annotated findings (quieter · typeset · layout · distill) ===== */
/* 2, 3 · official-representative badge: no hairline border, no wide/pulsing shadow; a darker flat fill so the small label reads */
.rep-badge { border: 0; box-shadow: 0 1px 2px rgba(6, 26, 48, .3); background: rgba(8, 28, 50, .74); animation: rep-in .8s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
.rep-text small { font-size: 12px; letter-spacing: .1em; color: #d9f5b0; }
@media (prefers-reduced-motion: reduce) { .rep-badge { animation: none; } }
/* 4 · hero primary button: room around the label */
.hero-actions .btn { min-height: 56px; padding: 0 34px; }
/* 5, 6, 7, 8, 13, 15, 17 · cards: one quiet treatment (tonal fill, no hairline border, a short tight shadow instead of a wide one) */
.hero-tile, .feature, .how-step, .process li, .calc-catalog, .cat-banner { border: 0; box-shadow: 0 1px 2px rgba(24, 70, 104, .14); }
@media (hover: hover) { .hero-tile:hover { border: 0; box-shadow: 0 2px 6px rgba(24, 70, 104, .2); } }
.hero-tile { background: rgba(255, 255, 255, .94); }
/* 9 · no glow around the lightning icon and the «Заказать монтаж» button */
.how-ico-night { box-shadow: none; }
.montage-cta .btn, .montage-cta .btn:hover { box-shadow: none; }
/* 10 · cost description: a readable line length */
.how-outage p { max-width: 60ch; }
/* 11, 12 · autonomy switch: more padding; the hint on the selected option is dark ink on lime, not gray */
.calc-form .seg { gap: 6px; padding: 6px; }
.calc-form .seg span { min-height: 56px; padding: 8px 20px; }
.calc-form .seg input:checked + span small { color: var(--accent-ink); }
/* 14 · «Добавить прибор»: no glow */
.pill-lime, .pill-lime:hover { box-shadow: none; }
/* 16 · catalogue banner: no radial spotlight glows */
.cat-banner { background: linear-gradient(120deg, rgba(226, 242, 252, .92), rgba(240, 249, 232, .92)); }
.cat-banner-art::before { display: none; }
/* 18 · request form: the object switch is no longer a card inside the card; two plain options */
.cta-form .seg { padding: 0; gap: 10px; background: transparent; box-shadow: none; border-radius: 0; }
.cta-form .seg span { box-shadow: inset 0 0 0 1.5px rgba(16, 48, 40, .22); }
.cta-form .seg input:checked + span { box-shadow: none; }
/* 19, 20 · footer text: comfortable line length */
.foot-in p:first-child { max-width: 62ch; }
.foot-legal { flex-basis: 100%; max-width: 62ch; line-height: 1.7; }
.process li { border-top: 3px solid transparent; }

/* works: the photos live in a separate window opened from a compact banner */
.works-dialog .works-grid { padding-top: 4px; }
.works-dialog .works-cta { background: var(--surface, #fff); }
.works-banner .cat-banner-art img { object-fit: contain; }

/* the banner photos open the works window too */
.works-art { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.works-art:focus-visible { outline: 3px solid var(--accent-ink, #23410f); outline-offset: 6px; border-radius: 24px; }
.works-art img { transition: transform .3s var(--ease, ease); }
@media (hover: hover) { .works-art:hover img { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .works-art img { transition: none; } .works-art:hover img { transform: none; } }

/* ===== second pass on the annotated findings ===== */
/* form card: no hairline border, no wide shadow */
.cta-form { border: 0; box-shadow: 0 1px 2px rgba(24, 70, 104, .14); }
/* badge check icon: no glow */
.rep-ico { box-shadow: none; }
/* hero buttons: real vertical padding, not only a minimum height */
.hero-actions .btn { padding: 17px 34px; }
@media (max-width: 560px) { .hero-actions .btn { padding: 17px 30px; } }

/* installation engineer next to the installation heading */
.how-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 8px 32px; align-items: center; }
.how-top .section-head { margin-bottom: 0; }
.how-mascot { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .how-top { grid-template-columns: minmax(0, 1fr); } .how-mascot { max-width: 340px; margin: 4px auto 0; } }

/* ===== critique round: calmer first screen, grouped calculator, readable subtitle, bigger tap targets ===== */
.hero-what { margin: 14px 0 0; font: 600 clamp(15px, 1.5vw, 18px)/1.35 var(--sans); color: #fff; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(6, 34, 66, .55), 0 2px 18px rgba(6, 34, 66, .5); max-width: 34ch; }
.hero .btn-call { gap: 10px; background: rgba(8, 40, 76, .42); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.hero .btn-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .hero .btn-call:hover { background: rgba(8, 40, 76, .6); } }
button.hero-tile { font: inherit; text-align: left; cursor: pointer; }
.hero .h1-rest { text-shadow: 0 1px 2px rgba(6, 34, 66, .6), 0 2px 22px rgba(6, 34, 66, .6); }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 36, 72, .34) 0%, rgba(5, 36, 72, .12) 42%, transparent 62%); }
@media (max-width: 700px) { .hero-bg::after { background: linear-gradient(180deg, rgba(5, 36, 72, .18), rgba(5, 36, 72, .3) 55%, transparent 85%); } }

.foot-partner { margin: 0; font-size: 14px; }
.foot-partner a { display: inline-flex; align-items: center; min-height: 44px; }

/* calculator: appliances in groups, no numbering, one-tap typical set */
.appl-groups { display: grid; gap: 18px; }
.appl-group-t { margin: 0 0 8px; font: 700 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #5b6368); }
.appl-chip { padding-left: 14px; }
.appl-chip[aria-pressed="true"]::after { content: "✓"; margin-left: auto; font-weight: 800; color: #17331a; }
.calc-preset { margin: 2px 0 14px; }
.calc-preset .pill-btn { min-height: 44px; text-align: left; }
.calc-total.is-empty { background: rgba(255, 255, 255, .6); color: var(--ink-2, #434a4f); box-shadow: inset 0 0 0 1px rgba(16, 48, 40, .12); }
.calc-total.is-empty .total-k { color: var(--muted, #5b6368); }

/* bigger tap targets on touch screens */
@media (pointer: coarse) {
  .chrome-nav a, .menu-in a, .foot a, .foot-legal a { min-height: 44px; display: inline-flex; align-items: center; }
  .pill-btn, .picked-del, .cat-close, .works-lb-btn { min-height: 44px; min-width: 44px; }
}
.chrome-tel { min-height: 44px; display: inline-flex; align-items: center; }
.foot-legal a[href^="tel"] { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.cta-phone a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.calc-preset .pill-btn { color: var(--ink, #1a1e21); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2, #bcc4c7); padding: 0 18px; }
@media (hover: hover) { .calc-preset .pill-btn:hover { background: #f4fbe9; box-shadow: inset 0 0 0 1px var(--accent, #a8e063); } }

/* detector round: sentence case in the badge, a quiet backing for the hero line so it reads on the clouds */
.rep-text small { text-transform: none; letter-spacing: .01em; font-size: 13px; font-weight: 600; color: #e8f8cc; }
.hero-what { display: inline-block; padding: 8px 14px; border-radius: 12px; background: rgba(6, 34, 66, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: none; }
.hero-what { display: block; width: fit-content; }
.calc-preset .pill-btn { padding: 14px 26px; min-height: 52px; line-height: 1.3; height: auto; text-align: left; }
@media (max-width: 520px) { .calc-preset .pill-btn { padding: 14px 20px; } }

/* calculator: group titles read as headings, not as another chip */
.appl-groups { gap: 26px; }
.appl-group-t { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 14px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink, #1a1e21); }
.appl-group-t::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--accent, #a8e063) 55%, transparent); }

/* Phones up to 560px: hero tiles had 59px of text width ("Связать/ся" broke mid-word). Drop the arrow chip, shrink the icon. */
@media (max-width: 560px) {
  .hero-tile { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; min-height: 68px; padding: 12px; }
  .hero-tile::after { display: none; }
  .ht-ico { width: 36px; height: 36px; border-radius: 11px; }
  .ht-ico svg { width: 19px; height: 19px; }
  .ht-t { font-size: 15px; overflow-wrap: normal; }
  .ht-h { font-size: 12.5px; }
}

/* "Выбрано": the dark navy slab was the odd one out on a light page. Light card, display heading, bigger readable type. */
.calc-picked { background: #fff; color: var(--ink); border: 1px solid #dce9d3; box-shadow: 0 20px 44px -28px rgba(24, 70, 104, .38); }
.calc-picked .panel-head h3 { font: 600 26px/1.1 var(--display); letter-spacing: -.01em; text-transform: none; gap: 10px; }
.calc-picked .panel-head h3 > span { font: 700 15px var(--sans); opacity: 1; padding: 3px 10px; border-radius: 999px; background: #e9f6d9; color: var(--accent-ink); }
.calc-picked .bolt { fill: #6cb12c; }
.calc-picked .picked { border-top-color: #e6efe1; }
.calc-picked .picked .ico { color: #3d7a1f; }
.calc-picked .picked-name { font: 600 17px/1.25 var(--sans); }
.calc-picked .picked-name small { font-size: 13.5px; color: #5a6e63; }
.calc-picked .picked-num, .calc-picked .picked-kwh, .calc-picked .picked-range { color: #5a6e63; }
.calc-picked .picked-kwh { font-weight: 600; color: var(--ink-2); }
.calc-picked .picked-num input { font: 700 17px var(--sans); color: var(--ink); background: #f4f9ef; box-shadow: inset 0 0 0 1px #c9dfbd; }
.calc-picked .picked-num input:focus { box-shadow: inset 0 0 0 2px #6cb12c; }
.calc-picked .picked-del { background: #eef5e9; color: var(--ink-2); }
.calc-picked .picked-del:hover { background: #dcecd0; color: var(--ink); }
.calc-picked .picked-empty { color: #5a6e63; border-top-color: #e6efe1; }
.calc-picked .picked-range input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #8fcf4a calc(var(--p, 0) * 1%), #dfe9db calc(var(--p, 0) * 1%)); }
.calc-picked .picked-range input::-moz-range-track { background: #dfe9db; }
.calc-picked .picked-range input::-moz-range-progress { background: #8fcf4a; }
.calc-picked .picked-range input::-webkit-slider-thumb { border-color: #6cb12c; box-shadow: 0 2px 6px rgba(24, 70, 104, .25); }
.calc-picked .picked-range input::-moz-range-thumb { border-color: #6cb12c; }
.calc-picked .picked-actions .pill-btn { font: 600 16px var(--sans); }
.calc-picked #calc-clear { background: #fff; color: var(--ink); border: 1.5px solid #c9dfbd; }
.calc-picked #calc-clear:hover { background: #f4f9ef; }
.calc-picked .picked-name { font-size: 16px; }
.calc-picked .picked-name small { font-size: 13px; }
@media (max-width: 760px) {
  .calc-picked .picked { grid-template-columns: 22px auto auto minmax(0, 1fr) 44px; }
  .calc-picked .picked-name { font-size: 17px; }
  .calc-picked .picked-name small { font-size: 13.5px; }
}
@media (min-width: 761px) {
  .calc-picked .picked { grid-template-columns: 22px auto auto minmax(0, 1fr) 36px; row-gap: 6px; }
  .calc-picked .picked .ico { grid-row: 1; }
  .calc-picked .picked-name { grid-column: 2 / 5; grid-row: 1; }
  .calc-picked .picked-num { grid-row: 2; }
  .calc-picked .picked-num:nth-of-type(1) { grid-column: 2; }
  .calc-picked .picked-num:nth-of-type(2) { grid-column: 3; }
  .calc-picked .picked-kwh { grid-row: 2; grid-column: 4; }
  .calc-picked .picked-del { grid-row: 1; grid-column: 5; }
  .calc-picked .picked-range { grid-row: 3; grid-column: 2 / -1; }
}

/* "Выбрано": load share. A bar split by each appliance's part of the daily kWh, row markers use the same colours. */
.calc-picked { --c0: #8fcf4a; --c1: #36b37e; --c2: #2db7c4; --c3: #45a7e0; --c4: #f2b53d; --c5: #ef7b5c; }
.share { display: flex; gap: 3px; height: 14px; margin: -2px 0 14px; }
.share:empty { display: none; }
.share i { flex: 1 1 0; min-width: 6px; border-radius: 999px; background: var(--cc); }
.share i, .picked { --cc: var(--c0); }
.share i[style*="--c:1"], .picked[style*="--c: 1"] { --cc: var(--c1); }
.share i[style*="--c:2"], .picked[style*="--c: 2"] { --cc: var(--c2); }
.share i[style*="--c:3"], .picked[style*="--c: 3"] { --cc: var(--c3); }
.share i[style*="--c:4"], .picked[style*="--c: 4"] { --cc: var(--c4); }
.share i[style*="--c:5"], .picked[style*="--c: 5"] { --cc: var(--c5); }
.calc-picked .picked .ico { box-sizing: content-box; width: 20px; height: 20px; padding: 8px; border-radius: 13px; color: #10201a; background: color-mix(in srgb, var(--cc) 26%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 70%, #fff); }
.calc-picked .picked { grid-template-columns: 52px auto auto minmax(0, 1fr) 36px !important; column-gap: 12px; }
.calc-picked .picked-kwh { font: 600 22px/1 var(--display); color: var(--ink); text-align: left; }
.calc-picked .picked-kwh::after { content: attr(data-share); margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 700 12px var(--sans); color: var(--ink); background: color-mix(in srgb, var(--cc) 30%, #fff); vertical-align: 3px; }
.calc-picked .picked-name { grid-column: 2 / 5 !important; }
.calc-picked .picked-num:nth-of-type(1) { grid-column: 2 !important; }
.calc-picked .picked-num:nth-of-type(2) { grid-column: 3 !important; }
.calc-picked .picked-kwh { grid-column: 4 !important; }
.calc-picked .picked-del { grid-column: 5 !important; }
.calc-picked .picked-range { grid-column: 2 / -1 !important; }
.calc-picked .picked { grid-template-columns: 36px auto auto minmax(0, 1fr) 36px !important; column-gap: 10px; }
@media (max-width: 560px) {
  .calc-picked .picked .ico { width: 18px; height: 18px; padding: 8px; }
  .calc-picked .picked-kwh { font-size: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; text-align: right; }
  .calc-picked .picked-kwh::after { margin: 0; font-size: 11.5px; padding: 1px 7px; vertical-align: baseline; }
  .calc-picked .picked-num { gap: 3px; }
}
@media (max-width: 760px) { .calc-picked .picked { grid-template-columns: 36px auto auto minmax(0, 1fr) 44px !important; } }

/* "Выбрано": no white slab. Sky-tinted glass, white only for the controls. */
.calc-picked { background: linear-gradient(180deg, #e3f2fc, #c9e5f6); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 22px 48px -28px rgba(14, 90, 134, .55); }
.calc-picked .picked, .calc-picked .picked-empty { border-top-color: rgba(14, 90, 134, .16); }
.calc-picked .picked-num input { background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 90, 134, .22); }
.calc-picked .picked-num input:focus { box-shadow: inset 0 0 0 2px #4f9a22; }
.calc-picked .picked-del { background: rgba(255, 255, 255, .8); }
.calc-picked .picked-del:hover { background: #fff; }
.calc-picked .panel-head h3 > span { background: rgba(255, 255, 255, .85); }
.calc-picked #calc-clear { background: rgba(255, 255, 255, .55); border-color: rgba(14, 90, 134, .3); }
.calc-picked #calc-clear:hover { background: #fff; }
.calc-picked .picked-range input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #6cb12c calc(var(--p, 0) * 1%), rgba(255, 255, 255, .85) calc(var(--p, 0) * 1%)); }
.calc-picked .picked-range input::-moz-range-track { background: rgba(255, 255, 255, .85); }
.calc-picked .picked-name small, .calc-picked .picked-num, .calc-picked .picked-range, .calc-picked .picked-empty { color: #34566b; }
.calc-picked .picked .ico { background: color-mix(in srgb, var(--cc) 34%, #fff); }
.calc-picked .picked-kwh::after { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 75%, #fff); }

/* "Выбрано", in the site's own language: the hero sky behind, each appliance a white tile like the hero tiles, lime accents, serif heading. */
.calc-picked { background: linear-gradient(180deg, rgba(10, 70, 130, .12), rgba(10, 60, 118, .34)), #3f93d6 url(assets/img/hero-sky-960.webp) 30% 20% / cover; border: 0; box-shadow: 0 24px 50px -26px rgba(8, 54, 104, .7); padding: 20px 16px 18px; }
.calc-picked .panel-head { padding: 0 4px; }
.calc-picked .panel-head h3 { color: #fff; text-shadow: 0 2px 14px rgba(6, 40, 84, .45); }
.calc-picked .panel-head h3 > span { background: rgba(255, 255, 255, .92); color: var(--accent-ink); text-shadow: none; }
.calc-picked .bolt { fill: #b9ee7a; filter: drop-shadow(0 1px 6px rgba(6, 40, 84, .5)); }
.share { margin: -2px 4px 14px; }
.share i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); }
.calc-picked .picked-list { gap: 10px; }
.calc-picked .picked, .calc-picked .picked-empty { background: rgba(255, 255, 255, .95); border: 0; border-radius: 20px; padding: 12px 14px; box-shadow: 0 12px 26px -16px rgba(6, 40, 84, .6); }
.calc-picked .picked-empty { color: #34566b; }
.calc-picked .picked-num input { background: #f2f8ee; box-shadow: inset 0 0 0 1px #c9dfbd; }
.calc-picked .picked-del { background: #eaf3e4; }
.calc-picked .picked-range input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #6cb12c calc(var(--p, 0) * 1%), #dbe7d6 calc(var(--p, 0) * 1%)); }
.calc-picked .picked-range input::-moz-range-track { background: #dbe7d6; }
.calc-picked .picked-name small, .calc-picked .picked-num, .calc-picked .picked-range { color: #52655b; }
.calc-picked .picked .ico { background: color-mix(in srgb, var(--cc) 26%, #fff); }
.calc-picked .picked-kwh::after { background: color-mix(in srgb, var(--cc) 30%, #fff); box-shadow: none; }
.calc-picked .picked-actions { padding: 0 2px; }
.calc-picked #calc-clear { background: rgba(10, 44, 80, .5); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.calc-picked #calc-clear:hover { background: rgba(10, 44, 80, .72); }
@media (max-width: 560px) { .calc-picked { padding: 18px 10px 16px; } .calc-picked .picked { padding: 12px 10px; column-gap: 8px; } }

/* ==== Mobile adaptation pass ==== */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, select, input, [role="button"] { touch-action: manipulation; } /* no double-tap-zoom delay on controls */
@media (max-width: 560px) {
  /* nothing reads below 12px on a phone, running text not below 13px */
  .ht-h, .guide-val small, .total-k, .kicker, label small, .seg span small, .seg small { font-size: 13px; }
  .picked-num span, .picked-range, .picked-range span { font-size: 12px; }
  .field-check input { width: 24px; height: 24px; margin: 0; }
}
/* narrow phones (iPhone SE, 320-380px): the kWh readout no longer fits beside the two number fields, so it gets its own row */
@media (max-width: 380px) {
  .calc-picked .picked-kwh { grid-column: 2 / -1 !important; grid-row: 3; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; }
  .calc-picked .picked-range { grid-row: 4 !important; }
}

/* ==== Tablets and landscape phones ==== */
/* "Общее потребление" sits in a narrow column beside "Выбрано" on tablets: stack its number and formula instead of squeezing them */
@media (min-width: 761px) and (max-width: 1180px) {
  .calc-total { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .total-f { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 2px solid rgba(17, 36, 12, .3); }
}
/* a phone held sideways is ~375px tall: the first screen has to show the headline and the buttons, not just the header and the badge */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; justify-content: flex-start; padding-block: 82px 24px; }
  .hero h1 { margin-top: 8px; }
  .hero .h1-big { font-size: 52px; }
  .hero .h1-rest { font-size: 22px; }
  .hero-what { margin-top: 8px; padding: 6px 12px; font-size: 14px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .btn { min-height: 48px; padding-block: 12px; }
  .hero-tiles { margin-top: 18px; }
}

/* Logo size: the first cut was too small to read as the brand. Wider wordmark, sized to the room the header has. */
.mark-logo { height: 40px; }
.foot-logo { height: 36px; }
@media (max-width: 860px) { .mark-logo { height: clamp(30px, 10.2vw, 42px); } }
@media (max-width: 420px) { .mark-logo { height: clamp(30px, 10.2vw, 42px); } .foot-logo { height: 32px; } }

/* ==== Typography pass ==== */
/* Playfair's default figures are old-style (4, 6, 9 drop below the line): in prices, kWh and "6000+" that reads as noise. Lining figures everywhere. */
:root { font-variant-numeric: lining-nums; }
button, input, select, textarea { font-family: inherit; } /* the dialog close "×" was falling back to Arial */
h1, h2, h3, .h1-rest { text-wrap: balance; }
p, li, figcaption, .hero-what { text-wrap: pretty; }
@media (max-width: 560px) { p, li { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; } }

/* ==== Layout pass (critique 2026-11-16) ==== */
/* 1. First screen: headline first, one line of description, two actions. The representative badge becomes a small mark, the tiles that duplicated the menu are down to three. */
.rep-badge { margin: 0; padding: 6px 14px 6px 7px; gap: 10px; font-size: 14px; }
.rep-ico { width: 26px; height: 26px; }
.rep-ico svg { width: 15px; height: 15px; }
.hero-what { margin-top: 12px; }
.hero-tiles { grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: start; }
@media (max-width: 1000px) { .hero-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hero-tiles { grid-template-columns: minmax(0, 1fr); } }

/* 2. One timeline of five steps (the separate "three steps" section is gone) */
.how-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.how-step { padding: 22px 18px 24px; }
.how-step.tone-sun, .how-step.tone-air, .how-step.tone-sky, .how-step.tone-lime { --wash: #f6fbf3; --tone: var(--accent); --tone-ink: var(--accent-ink); }
.how-step .how-ico { background: rgba(168, 224, 99, .3); stroke: var(--accent-ink); }
@media (max-width: 1180px) {
  .how-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; }
  .how-flow > .how-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .how-step:nth-child(even)::after { display: none; }
}
@media (max-width: 600px) {
  .how-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .how-step:nth-child(even)::after { display: block; }
}

/* 3. The only dark navy slab on the page becomes a light sky tile */
.how-outage.montage-cta { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; color: var(--ink); background: linear-gradient(120deg, rgba(226, 242, 252, .95), rgba(240, 249, 232, .95)); border: 1px solid rgba(255, 255, 255, .8); }
.how-outage.montage-cta h3 { color: var(--ink); }
.how-outage.montage-cta p { color: var(--ink-2); }
.how-outage.montage-cta .how-ico-night { background: rgba(168, 224, 99, .35); color: var(--accent-ink); box-shadow: none; }
@media (max-width: 760px) { .how-outage.montage-cta { grid-template-columns: minmax(0, 1fr); } }

/* 4. Installation photos in the open: three frames in a row instead of two small ones behind a button */
.works-banner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.works-banner .works-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); height: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.works-banner .works-art::before { display: none; }
.works-banner .works-art img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 18px 38px -22px rgba(24, 70, 104, .55); filter: none; }
.works-banner .works-art img + img { height: auto; }
@media (min-width: 900px) {
  .works-banner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; }
}

/* 5. Desktop reading size: card text was 13-15px on a 1440px screen */
@media (min-width: 1100px) {
  .feature p, .how-step p, .process p, .section-lede, .how-outage p { font-size: 16.5px; line-height: 1.6; }
  .feature h3, .how-step h3 { font-size: 22px; }
}


/* ==== Colorize pass: one accent ====
   The earlier "energy colour" code (amber = inverter, blue = battery, green = panels) no longer means anything on a page
   that sells a complete kit. Lime is the only accent; sky and mint are the ground. */
.feature, .feature.tone-sun, .feature.tone-sky, .feature.tone-air, .feature.tone-lime { --wash: #f6fbf3; }
.tone-sun .feature-ico, .tone-sky .feature-ico, .tone-air .feature-ico, .tone-lime .feature-ico { background: rgba(168, 224, 99, .3); stroke: var(--accent-ink); }
.kit-cols .tone-sun, .kit-cols .tone-sky, .kit-cols .tone-lime { --tone: var(--accent); background: linear-gradient(90deg, #f6fbf3, #fff 70%); }
.product[data-cat="inverter"] .product-cat, .product[data-cat="battery"] .product-cat { color: var(--accent-ink); }
.product[data-cat="inverter"] img, .product[data-cat="battery"] img { background: linear-gradient(180deg, #fff, #f4f9ef); }
.cat-banner { background: linear-gradient(120deg, rgba(226, 242, 252, .92), rgba(240, 249, 232, .92)); }
.guide summary::before { background-color: var(--lime-wash); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323410f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
/* the runtime meter was the last navy slab: same light sky tile as the rest */
.bat-meter { color: var(--ink); background: linear-gradient(120deg, rgba(226, 242, 252, .95), rgba(240, 249, 232, .95)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 14px 30px -22px rgba(24, 70, 104, .45); }
.bm-cell { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 2px rgba(35, 65, 15, .35); }
.bm-cell::after { background: rgba(35, 65, 15, .35); }
.bm-segs i { border-right-color: rgba(255, 255, 255, .85); }
.bm-text b { color: var(--ink); }
.bm-text span { color: var(--ink-2); }

/* ==== Polish pass ==== */
/* the guide looked like a selected/focused field: a quiet card, the lime stays for real selections */
.guide { border: 1px solid var(--glass-brd); box-shadow: var(--card-shadow); }
/* three photo frames on a phone: thinner mat so the photos get the room */
@media (max-width: 560px) { .works-banner .works-art img { border-width: 4px; border-radius: 14px; } }

/* contacts: where to come, when, and the warranty */
.cta-contacts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34em; }
.cta-contacts li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; line-height: 1.45; }
.cta-contacts b { font-weight: 600; color: var(--ink-2); }
.cta-contacts a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
@media (max-width: 560px) { .cta-contacts li { grid-template-columns: minmax(0, 1fr); } }
.foot-addr { flex-basis: 100%; margin: 0; font-size: 13px; }

/* mobile menu: Lucide icons (supplied by the client) */
.menu-in a:not(.btn):not(.menu-tel) { gap: 12px; }
.menu-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; color: rgba(255, 255, 255, .9); }
.menu-ico-brand { fill: currentColor; stroke: none; }
.menu-in a:not(.btn):not(.menu-tel):hover, .menu-in a:not(.btn):not(.menu-tel):focus-visible { background: rgba(255, 255, 255, .1); color: var(--accent-on-dark, #b9ee7a); }
.menu-in a:not(.btn):not(.menu-tel):hover .menu-ico, .menu-in a:not(.btn):not(.menu-tel):focus-visible .menu-ico { color: var(--accent-on-dark, #b9ee7a); }


/* ==== The statement: one big sentence between the hero and the features ==== */
.statement { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 130px); border-radius: 34px 34px 0 0; background: linear-gradient(180deg, var(--day-1) 0%, var(--day-2) 100%); box-shadow: 0 -30px 60px -30px rgba(6, 26, 48, .45); }
.statement-text { margin: 0; max-width: 17em; font: 600 clamp(30px, min(6.6vw, 11vh), 68px)/1.12 var(--sans); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.statement-text em { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.02em; color: #2f7a12; }


/* ==== Hero headline without the OFFLINE word: the sentence itself is the headline ==== */
.hero .h1-rest { display: block; max-width: 17em; font-weight: 600; font-size: clamp(34px, 4.7vw, 62px); line-height: 1.08; letter-spacing: -.02em; text-wrap: pretty; }
@media (max-width: 560px) { .hero .h1-rest { max-width: none; font-size: clamp(28px, 8vw, 36px); } }
@media (max-height: 520px) and (orientation: landscape) { .hero .h1-rest { font-size: 30px; max-width: 18em; } }
