/* pult.watch/energy (Kir, 27.10.2026). Only this page loads the file (templates/site/energy.html, block "pagehead").
   Fonts are the ones our product sites share: Unbounded for headings and big numbers, Onest for text (as in the Pult Energy app and
   cabinet, Kir 27.10), JetBrains Mono for telemetry (W, kWh, times). All self-hosted, OFL (static/fonts/Brand-OFL.txt): the hub's CSP is default-src 'self'.
   The background is the light at home, as in the Pult Energy app (pult-energy/docs/design/TOKENS.md): a mint aurora
   while the grid is on, a warm red one on the battery. energy.js switches .e-page[data-grid]. */
@font-face { font-family: "Onest"; src: url("/static/fonts/onest-cyrillic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/static/fonts/onest-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Onest"; src: url("/static/fonts/onest-cyrillic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/static/fonts/onest-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; 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: "Onest"; src: url("/static/fonts/onest-cyrillic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/static/fonts/onest-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; 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: "Onest"; src: url("/static/fonts/onest-cyrillic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/static/fonts/onest-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; 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: "JetBrains Mono"; src: url("/static/fonts/JetBrainsMono-variable.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root:has(.e-page) {
  --sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: "Unbounded", "Onest", -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #070b17; --bg-sub: #0a0f1d;
  --e-glass: rgba(16, 22, 40, .72); --e-glass-2: rgba(22, 30, 52, .9);
  --e-edge: rgba(255, 255, 255, .12); --e-hi: rgba(255, 255, 255, .16);
  --e-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .28);
  --e-track: rgba(255, 255, 255, .1); --e-track-2: rgba(255, 255, 255, .16);
  --e-charge: #74f2b8; --e-charge-ink: #74f2b8; --e-grid: #8fa8ff;
  --e-drain: #ffae3d; --e-drain-ink: #ffae3d;
  --e-off: #ff6b7d; --e-off-ink: #ff8a98;
  --e-ink-3: #8c97ae;
  --e-aurora: .32; --e-aurora-off: .4;
}
:root[data-theme="light"]:has(.e-page) {
  --bg: #e9eef5; --bg-sub: #e3e9f2;
  --e-glass: rgba(255, 255, 255, .78); --e-glass-2: rgba(255, 255, 255, .94);
  --e-edge: rgba(13, 19, 36, .09); --e-hi: rgba(255, 255, 255, .95);
  --e-shadow: 0 22px 48px -20px rgba(28, 40, 84, .32), 0 2px 6px rgba(28, 40, 84, .08);
  --e-track: rgba(13, 19, 36, .07); --e-track-2: rgba(13, 19, 36, .12);
  --e-charge: #12b378; --e-charge-ink: #087a50; --e-grid: #4a6fe6;
  --e-drain: #f09a1e; --e-drain-ink: #9a5600;
  --e-off: #e23a50; --e-off-ink: #c2283e;
  --e-ink-3: #5c667a;
  --e-aurora: .26; --e-aurora-off: .3;
}
.e-page { --card: var(--e-glass); --line: var(--e-edge); --line-2: var(--e-edge); --wire: var(--e-track-2); --ok: var(--e-charge); }
.e-page h1, .e-page h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.e-page h2 { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.15; }
.e-page h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.e-mono, .e-page .e-timer, .e-page .e-count { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.e-page .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.e-page svg:not([viewBox]):not(.wires) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* the aurora: three soft spots per state, fixed behind the whole page; the states cross-fade */
.e-aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.e-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--e-aurora); transition: opacity 1.8s ease; }
.e-aurora .a1 { width: 560px; height: 560px; left: -8%; top: -10%; animation: e-drift1 22s ease-in-out infinite alternate; }
.e-aurora .a2 { width: 500px; height: 500px; right: -10%; top: 6%; animation: e-drift2 28s ease-in-out infinite alternate; }
.e-aurora .a3 { width: 460px; height: 460px; left: 32%; top: 52%; animation: e-drift3 34s ease-in-out infinite alternate; }
.a-on.a1 { background: #3fbf85; } .a-on.a2 { background: #2e9e6e; } .a-on.a3 { background: #5fcf9a; }
.a-off.a1 { background: #d0473c; } .a-off.a2 { background: #b8352f; } .a-off.a3 { background: #c8603a; }
.e-aurora .a-off { opacity: 0; }
.e-page[data-grid="off"] .a-on { opacity: 0; }
.e-page[data-grid="off"] .a-off { opacity: var(--e-aurora-off); }
@keyframes e-drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes e-drift2 { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-36px, 40px) scale(.94); } }
@keyframes e-drift3 { from { transform: translate(0, 0) scale(.96); } to { transform: translate(30px, -34px) scale(1.1); } }

/* glass */
.e-sim, .e-core, .e-card, .e-steps li, .e-nums > div, .e-slide, .e-tabs, .e-flow .node, .e-out {
  background: var(--e-glass); border: 1px solid var(--e-edge); box-shadow: inset 0 1px 0 var(--e-hi), var(--e-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(115%); backdrop-filter: blur(24px) saturate(115%); }

/* hero */
.e-hero { padding: 64px 0 40px; }
.e-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.e-eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 13px 5px 11px; border-radius: 999px; margin: 0 0 22px;
  background: var(--e-glass); border: 1px solid var(--e-edge); color: var(--ink-2); font: 500 12.5px/1.3 var(--mono); }
.e-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; color: var(--e-charge); background: currentColor; animation: e-pulse 2.4s ease-out infinite; transition: color 1.2s; }
.e-page[data-grid="off"] .e-dot { color: var(--e-off); }
@keyframes e-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.e-hero h1 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.1; margin: 0 0 20px; }
.e-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 580px; margin: 0 0 28px; }
.e-page .btn { font-family: var(--sans); font-weight: 650; }
.e-cta { background: var(--e-charge); color: #04130c; }
.e-cta:hover { background: color-mix(in srgb, var(--e-charge) 86%, #fff); }
:root[data-theme="light"] .e-cta { color: #fff; background: #0c8f5f; }
:root[data-theme="light"] .e-cta:hover { background: #087a50; }
.e-fine { color: var(--muted); font: 12.5px/1.6 var(--mono); margin: 0 0 8px; max-width: 580px; }
.e-fine-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }

/* the demo home */
.e-sim-wrap { min-width: 0; }
.e-sim { position: relative; padding: 16px 16px 14px; border-radius: 28px; }
.e-sim-head { display: flex; align-items: center; gap: 10px; margin: 2px 2px 12px; }
.e-badge { flex: none; padding: 2px 9px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--e-drain) 60%, transparent);
  color: var(--e-drain-ink); font: 600 11px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.e-page .e-sim-t { margin: 0; font: 650 14px/1.35 var(--sans); letter-spacing: 0; color: var(--ink-2); text-wrap: pretty; }
.e-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 999px; background: var(--e-track); }
.e-seg[hidden] { display: none; }
.e-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-2); font: 650 14px/1.2 var(--sans); cursor: pointer; transition: background .3s, color .3s; }
.e-seg button:hover { color: var(--ink); }
.e-seg button[aria-pressed="true"] { background: var(--e-glass-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 1px 0 var(--e-hi); }
.e-seg .d.ok { background: var(--e-charge); } .e-seg .d.down { background: var(--e-off); }

.e-now { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; padding: 4px 4px 12px; }
.e-ring { position: relative; width: 116px; height: 116px; }
.e-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.e-ring circle { fill: none; stroke-width: 9; }
.e-ring-bg { stroke: var(--e-track); }
.e-ring-fg { stroke: var(--e-charge); stroke-linecap: round; stroke-dasharray: var(--soc, 98) 100; transition: stroke-dasharray .8s ease, stroke 1.2s; }
.e-sim[data-grid="off"] .e-ring-fg { stroke: var(--e-drain); }
.e-sim[data-low] .e-ring-fg { stroke: var(--e-off); }
.e-ring-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 38px; }
.e-ring-num b { font: 600 30px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.e-ring-num small { font: 600 14px/1 var(--display); color: var(--ink-2); margin-left: 2px; }
.e-state p { margin: 0; }
.e-light { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: 16px; }
.e-light .d { margin: 0; width: 9px; height: 9px; background: var(--e-charge); box-shadow: 0 0 10px var(--e-charge); transition: background 1s, box-shadow 1s; }
.e-sim[data-grid="off"] .e-light .d { background: var(--e-off); box-shadow: 0 0 10px var(--e-off); }
.e-light b { font-weight: 700; }
.e-timer { color: var(--e-off-ink); font-size: 14px; font-weight: 600; }
.e-mode { color: var(--ink-2); font-size: 13.5px; margin: 2px 0 8px !important; min-height: 1.4em; }
.e-lasts, .e-load { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--e-track); font-size: 13.5px; color: var(--ink-2); }
.e-lasts b { font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; color: var(--e-charge-ink); white-space: nowrap; transition: color .6s; }
.e-sim[data-grid="off"] .e-lasts b { color: var(--e-drain-ink); }
.e-lasts b.bump { animation: e-bump 1.1s ease; }
.e-sim[data-grid="off"] .e-lasts b.bump { color: var(--e-charge-ink); }
@keyframes e-bump { 0% { transform: scale(1); } 30% { transform: scale(1.14); } 100% { transform: scale(1); } }
.e-lasts b { display: inline-block; transform-origin: right center; }
.e-load b { font: 600 15px/1.2 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }

.e-devs { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; border-radius: 18px; background: var(--e-track); }
.e-dev { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 3px 4px 3px 10px; border-radius: 14px; transition: background .4s; }
.e-dev > svg { width: 21px; height: 21px; color: var(--muted); transition: color .4s; }
.e-dev.on > svg { color: var(--e-charge-ink); }
.e-dev span { min-width: 0; }
.e-dev b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.25; }
.e-dev small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); }
.e-dev.auto small { color: var(--e-drain-ink); }
.e-dev.flash { background: color-mix(in srgb, var(--e-drain) 14%, transparent); }
.e-dev.back { background: color-mix(in srgb, var(--e-charge) 12%, transparent); }
.e-sw { position: relative; width: 52px; height: 44px; flex: none; padding: 0; border: 0; background: none; cursor: pointer; }
.e-sw::before { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 28px; border-radius: 999px; background: var(--e-track-2); transition: background .35s; }
.e-sw:disabled { cursor: default; }
.e-sw i { position: absolute; top: 11px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .35s; }
.e-sw[aria-checked="true"]::before { background: var(--e-charge); }
.e-sw[aria-checked="true"] i { transform: translateX(18px); }
.e-hint { display: flex; align-items: center; gap: 7px; margin: 10px 4px 0; color: var(--muted); font-size: 12.5px; }
.e-hint svg { width: 15px; height: 15px; flex: none; }
.e-sim-note { margin: 10px 6px 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

.e-toast { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 64px; margin: 0 0 12px;
  padding: 10px 12px; border-radius: 18px; background: var(--e-track); border: 1px solid transparent; opacity: .6; transition: opacity .35s, background .35s, border-color .35s, transform .35s; }
.e-toast.show { opacity: 1; background: var(--e-glass-2); border-color: var(--e-edge); box-shadow: var(--e-shadow); animation: e-drop .45s ease; }
@keyframes e-drop { from { transform: translateY(-6px); } to { transform: none; } }
.e-toast img { border-radius: 7px; }
.e-toast small { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }
.e-toast small:first-child { font: 600 10.5px/1.4 var(--mono); letter-spacing: .04em; }
.e-toast b { display: block; font-size: 13.5px; line-height: 1.3; margin: 1px 0; }

/* sections */
.e-sec { padding: 72px 0; }
.e-head { max-width: 780px; margin: 0 0 36px; }
.e-kicker { color: var(--e-charge-ink); font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.e-sub { color: var(--ink-2); font-size: 17px; margin: 0; }
.e-note { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.e-center { text-align: center; margin: 28px 0 0; }

/* the scheme: same build as the main page's «how it works» (.node, .grp, .wires, .fl-link from site.css) */
.e-flow { position: relative; margin: 0; }
.e-flow-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(230px, 270px) minmax(24px, 1fr) minmax(210px, 240px) minmax(24px, 1fr) minmax(260px, 320px); align-items: center; }
.e-flow-grid > * { min-width: 0; }
.e-src { grid-column: 1; } .e-core { grid-column: 3; } .e-dst { grid-column: 5; display: grid; gap: 9px; }
.e-flow .fl-link { display: none; }
.e-flow .node { border-radius: 14px; }
.e-flow .node > svg { color: var(--e-charge-ink); }
.e-core { position: relative; display: grid; justify-items: center; gap: 6px; padding: 20px 16px 16px; border-radius: 26px; text-align: center; }
.e-core-mark { width: 64px; height: 64px; display: block; border-radius: 16px; position: relative; }
.e-core-ring { position: absolute; top: 20px; left: 50%; width: 64px; height: 64px; margin-left: -32px; border-radius: 18px; border: 2px solid var(--e-charge); opacity: 0; animation: e-ring 2.6s ease-out infinite; }
.e-page[data-grid="off"] .e-core-ring { border-color: var(--e-drain); }
@keyframes e-ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.e-core-name { font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 4px; }
.e-core-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; width: 100%; text-align: left; counter-reset: c; }
.e-core-list li { position: relative; padding: 5px 8px 5px 30px; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink-2); counter-increment: c;
  animation: e-step 12s linear infinite; }
.e-core-list li::before { content: counter(c); position: absolute; left: 7px; top: 5px; width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center;
  font: 600 10.5px/1 var(--mono); background: var(--e-track-2); color: var(--ink-2); }
.e-core-list li:nth-child(2) { animation-delay: 2s; } .e-core-list li:nth-child(3) { animation-delay: 4s; } .e-core-list li:nth-child(4) { animation-delay: 6s; }
.e-core-list li:nth-child(5) { animation-delay: 8s; } .e-core-list li:nth-child(6) { animation-delay: 10s; }
.e-core-list li:first-child { animation-delay: 0s; }
@keyframes e-step { 0%, 1% { background: transparent; color: var(--ink-2); } 3%, 15% { background: color-mix(in srgb, var(--e-charge) 16%, transparent); color: var(--ink); } 18%, 100% { background: transparent; color: var(--ink-2); } }
.e-out { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; }
.e-out > svg { width: 19px; height: 19px; color: var(--e-charge-ink); }
.e-out b, .e-branch b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.25; }
.e-out small, .e-branch small { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); }
.e-branch { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.e-branch > span { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 7px; padding: 7px 8px; border-radius: 10px; background: var(--e-track); }
.e-branch svg { width: 15px; height: 15px; color: var(--e-drain-ink); grid-row: 1 / 3; margin-top: 1px; }
.e-branch > span:last-child svg { color: var(--e-charge-ink); }
.e-flow .wires .pk.p-amb { stroke: var(--e-charge); }
.e-page[data-grid="off"] .e-flow .wires .pk.p-amb { stroke: var(--e-drain); }
.e-page[data-grid="off"] .e-flow .led { background: var(--e-drain); box-shadow: 0 0 8px var(--e-drain); }
.e-page[data-grid="off"] .e-flow .node:first-child .led { background: var(--e-off); box-shadow: 0 0 8px var(--e-off); }

.e-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.e-steps li { position: relative; padding: 20px 20px 20px 62px; border-radius: 20px; counter-increment: s; }
.e-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  font: 600 14px/1 var(--display); background: color-mix(in srgb, var(--e-charge) 18%, transparent); color: var(--e-charge-ink); }
.e-steps h3 { font-size: 16px; margin: 4px 0 6px; }
.e-steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* the modules: tabs over a scroll-snap track */
.e-car { position: relative; }
.e-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 20px; padding: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain; }
.e-tabs::-webkit-scrollbar { display: none; }
.e-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 650;
  white-space: nowrap; text-decoration: none; transition: background .25s, color .25s; }
.e-tabs a:hover { color: var(--ink); text-decoration: none; }
.e-tabs a[aria-selected="true"] { background: var(--e-track-2); color: var(--ink); box-shadow: inset 0 1px 0 var(--e-hi); }
.e-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; column-gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 0 30px; }
.e-track::-webkit-scrollbar { display: none; }
.e-slide { scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 300px minmax(0, 560px); justify-content: center; gap: 64px; align-items: center;
  padding: 34px 56px; border-radius: 28px; min-width: 0; }
.e-slide:has(.e-wide) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; padding: 34px 40px; }
.e-shot { margin: 0; justify-self: center; }
.e-phone { position: relative; width: 290px; padding: 7px; border-radius: 46px; background: #04060c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.e-phone img { display: block; width: 100%; height: auto; border-radius: 39px; }
.e-phone figcaption { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; color: var(--muted); font: 500 11.5px/1.3 var(--mono); }
.e-wide { width: 100%; }
.e-wide img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--e-edge); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65); }
.e-slide-text h3 { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 14px; }
.e-slide-text p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.e-car-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2px; }
.e-car-nav[hidden] { display: none; }
.e-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--e-edge); background: var(--e-glass); color: var(--ink); cursor: pointer; }
.e-arrow:hover { background: var(--e-glass-2); }
.e-arrow:disabled { opacity: .4; cursor: default; }
.e-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.e-count { min-width: 52px; text-align: center; color: var(--muted); font-size: 13px; }

/* numbers, cards, final */
.e-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.e-nums > div { padding: 22px; border-radius: 22px; }
.e-nums b { display: block; font: 600 38px/1 var(--display); letter-spacing: -0.03em; color: var(--e-charge-ink); margin-bottom: 12px; }
.e-nums p { margin: 0; color: var(--ink-2); font-size: 15px; }
.e-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.e-cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.e-card { padding: 22px; border-radius: 22px; }
.e-card > svg { display: block; width: 26px; height: 26px; color: var(--e-charge-ink); margin-bottom: 12px; }
.e-card h3 { font-size: 16.5px; margin: 0 0 8px; }
.e-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.e-card .e-have { color: var(--ink); font-weight: 650; margin-bottom: 6px; }
.e-card .e-have::before { content: "✓ "; color: var(--e-charge-ink); }
.e-final { padding: 80px 0 96px; text-align: center; }
.e-final-in { max-width: 760px; }
.e-final img { display: block; margin: 0 auto 18px; border-radius: 16px; }
.e-final h2 { margin: 0 0 14px; }
.e-final p { color: var(--ink-2); font-size: 17px; }
.e-final .cta-row { justify-content: center; margin: 24px 0 18px; }
.e-final .e-fine { margin: 0 auto; font-family: var(--sans); font-size: 14px; }
.e-page .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 1080px) {
  .e-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 36px; }
  .e-flow-grid { grid-template-columns: minmax(210px, 240px) minmax(20px, 1fr) minmax(190px, 210px) minmax(20px, 1fr) minmax(220px, 260px); }
  .e-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-slide { padding: 30px 32px; gap: 36px; }
}
@media (max-width: 900px) {
  .e-hero { padding: 40px 0 24px; }
  .e-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .e-sim-wrap { max-width: 460px; width: 100%; margin: 0 auto; }
  .e-flow-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .e-src, .e-core, .e-dst { grid-column: 1; }
  .e-flow .fl-link { display: block; position: relative; width: 2px; height: 30px; margin: 0 auto; border-radius: 1px; background: var(--e-track-2); animation: none; }
  .e-flow .fl-amb { background: var(--e-charge); }
  .e-page[data-grid="off"] .e-flow .fl-amb { background: var(--e-drain); }
  .e-flow .fsrc { padding: 8px; border-radius: 20px; background: var(--e-glass); border: 1px solid var(--e-edge); box-shadow: inset 0 1px 0 var(--e-hi), var(--e-shadow); }
  .e-flow .node { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: none; border-color: transparent; }
  .e-core { width: 100%; max-width: 360px; margin: 0 auto; }
  .e-core-list { grid-template-columns: 1fr 1fr; }
  .e-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .e-slide, .e-slide:has(.e-wide) { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 26px 22px 28px; }
  .e-phone { width: 210px; border-radius: 36px; padding: 6px; }
  .e-phone img { border-radius: 30px; }
  .e-slide-text { text-align: left; }
  .e-slide:has(.e-phone figcaption) { row-gap: 40px; }
  .e-tabs { margin-left: 0; }
}
@media (max-width: 640px) {
  .e-sec { padding: 52px 0; }
  .e-hero h1 { font-size: clamp(27px, 7.6vw, 34px); }
  .e-lead { font-size: 16.5px; }
  .e-sim { padding: 14px 12px 12px; border-radius: 24px; }
  .e-now { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .e-ring { width: 96px; height: 96px; }
  .e-ring-num { padding-top: 31px; }
  .e-ring-num b { font-size: 25px; }
  .e-lasts b { font-size: 17px; }
  .e-steps, .e-nums, .e-cards, .e-cards4 { grid-template-columns: minmax(0, 1fr); }
  .e-core-list { grid-template-columns: minmax(0, 1fr); }
  .e-branch { grid-template-columns: minmax(0, 1fr); }
  .e-slide-text p { font-size: 16px; }
  .e-nums b { font-size: 32px; }
  .e-final { padding: 56px 0 72px; }
}

/* /energy/start: the steps, a sticky row of their numbers */
.e-start-hero { padding-bottom: 28px; }
.e-start-hero .e-lead { max-width: 640px; }
.e-stepnav { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 5; padding: 10px 0; }
.e-stepnav ol { list-style: none; margin: 0; padding: 5px; display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--e-glass-2); border: 1px solid var(--e-edge); box-shadow: var(--e-shadow);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.e-stepnav ol::-webkit-scrollbar { display: none; }
.e-stepnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 6px 14px 6px 6px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.e-stepnav a:hover { color: var(--ink); text-decoration: none; }
.e-stepnav b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--e-track-2); font: 600 13px/1 var(--display); }
.e-stepnav a[aria-current="step"] { background: var(--e-track-2); color: var(--ink); }
.e-stepnav a[aria-current="step"] b { background: var(--e-charge); color: #04130c; }
.e-start-steps { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 24px; }
.e-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 30px 32px; border-radius: 28px; scroll-margin-top: 140px;
  background: var(--e-glass); border: 1px solid var(--e-edge); box-shadow: inset 0 1px 0 var(--e-hi), var(--e-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(115%); backdrop-filter: blur(24px) saturate(115%); }
.e-step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font: 600 22px/1 var(--display);
  background: color-mix(in srgb, var(--e-charge) 18%, transparent); color: var(--e-charge-ink); }
.e-step h2 { margin: 6px 0 10px; }
.e-step .e-sub { margin-bottom: 20px; }
.e-step .e-card { box-shadow: none; background: var(--e-track); }
.e-cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-text { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 720px; margin: 0 0 12px; }
.e-small { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.e-small svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.e-ph { display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px dashed var(--e-drain); color: var(--e-drain-ink); font: 500 13px/1.6 var(--mono); }
.e-soon { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--e-track-2); color: var(--ink); font-weight: 650; font-size: 15px; margin-right: 8px; }
.e-pills { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: p; }
.e-pills li { counter-increment: p; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--e-track); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.e-pills li::before { content: counter(p); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 50%; background: var(--e-track-2); font: 600 11px/1 var(--mono); color: var(--ink); }
.e-gets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.e-gets li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--e-track); color: var(--ink-2); font-size: 14.5px; }
.e-gets svg { width: 19px; height: 19px; flex: none; color: var(--e-charge-ink); }
@media (max-width: 640px) {
  .e-stepnav { top: calc(60px + env(safe-area-inset-top)); }
  .e-stepnav span { display: none; }
  .e-stepnav a { padding: 6px; }
  .e-step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 18px; border-radius: 22px; }
  .e-step-n { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  .e-cards2, .e-gets { grid-template-columns: minmax(0, 1fr); }
  .e-text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .e-aurora i, .e-dot, .e-core-ring, .e-core-list li, .e-flow *, .e-lasts b.bump, .e-toast.show { animation: none !important; }
  .e-aurora i, .e-ring-fg, .e-toast, .e-sw::before, .e-sw i, .e-dev, .e-dev > svg, .e-light .d, .e-lasts b { transition: none !important; }
  .e-track { scroll-behavior: auto; }
}

/* Block-by-block scrolling, as on the Tysha site (Kir 27.10): a scroll ends at the start of the nearest section, its
   heading just under the sticky header (scroll-padding-top, once for the page: scroll-margin fails on sections taller
   than the window). Desktop snaps like Tysha (mandatory, one section per wheel move); a section taller than the
   window still scrolls freely inside (the spec lets a snap area larger than the viewport stop anywhere in it). Phones
   get proximity: sections are taller than the screen there, and reading must not jerk. Off with reduced motion. */
html:has(.e-page) { scroll-padding-top: var(--top-h, 64px); }
@media (prefers-reduced-motion: no-preference) {
  html:has(.e-page) { scroll-snap-type: y proximity; }
  .e-page .e-hero, .e-page .e-sec, .e-page .e-final { scroll-snap-align: start; }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html:has(.e-page) { scroll-snap-type: y mandatory; }
  .e-page .e-hero, .e-page .e-sec { scroll-snap-stop: always; }
}

/* energy·pult's own header and footer (templates/energysite.html, Kir 27.10.2026: the page is this project's, a Pult
   sub-product). The header's box, the menu sheet and the buttons are site.css's (.top, .menu, .sheet, .btn); here are
   the mark (template "emark": the app icon's charge ring, power bar and charge dot), the wordmark «energy·pult» in
   Unbounded, «продукт Пульта» and the page's sections. */
.emark { display: block; flex: none; width: 32px; height: 32px; }
.emark-c { stop-color: var(--e-charge); }
.emark-g { stop-color: var(--e-grid); }
.emark-ring { fill: none; stroke: url(#emk); stroke-width: 5; stroke-linecap: round; }
.emark-bar { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.emark-dot { fill: var(--e-charge); }
.ewm { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.ewm i { font-style: normal; color: var(--e-charge-ink); }
.e-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.e-brand:hover { text-decoration: none; }
.e-parent { flex: none; margin-left: -12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.e-parent:hover { color: var(--ink); border-color: var(--muted); text-decoration: none; }
.e-nav { display: flex; gap: 22px; }
.e-nav a { color: var(--ink-2); font-size: 14.5px; }
.e-nav a:hover { color: var(--ink); text-decoration: none; }
.e-sheet-parent { max-width: 560px; margin: 0 auto; padding: 16px 4px 0; font-size: 15px; }
.e-sheet-parent a { color: var(--ink-2); }
.e-foot-parent { margin: 0 0 14px !important; }
.e-foot-parent a { color: var(--ink-2) !important; }
@media (max-width: 1099px) {
  .e-nav { display: none; }
  .e-parent { margin-left: 0; margin-right: auto; }
}
@media (max-width: 640px) {
  .e-top .e-parent { display: none; }
  .e-top .e-brand { margin-right: auto; }
  .ewm { font-size: 17px; }
  .e-top .emark { width: 30px; height: 30px; }
}

/* the price (#price): energy·pult's own, the trial first; the subscription's figure is not set yet */
.e-price .e-amt { margin: 0 0 12px; color: var(--ink); font: 600 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; }
.e-price .e-price-trial { border-color: color-mix(in srgb, var(--e-charge) 45%, var(--e-edge)); }
.e-price .e-price-trial .e-amt { color: var(--e-charge-ink); }
