/* Public-page base components and responsive layout.
   Current Solar identity, fonts and contained tablet composition: solar.css. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/site/fonts/onest-300-600.woff2') format('woff2');
}

:root {
  --bg: #071217;
  --surface: #0D1A20;
  --surface-raised: #13232B;
  --text: #F2F7F8;
  --text-secondary: #BCC9CF;
  --text-muted: #96A7AE;
  --accent: #4FE3B4;
  --accent-bright: #52EFC6;
  --accent-hover: #74EBC6;
  --on-accent: #04241B;
  --border: #263A44;
  --border-soft: rgba(38, 58, 68, .7);
  --divider: #1E2C31;
  --eyebrow: #9CADB4;
  --field-border: #5F7581;          /* ≥ 3:1 against cards and page (WCAG 1.4.11) */
  --warn: #F2B84B;
  --danger: #F4978C;
  --neutral-bar: #4A5C69;
  --radius-card: 14px;
  --radius-field: 10px;
  --radius-display: 26px;
  --gutter: 52px;
  --section: 104px;
  --header: 80px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }                                                   /* skip-link target: focus moves on, no ring around the whole page */
h1:focus:not(:focus-visible), h2:focus:not(:focus-visible) { outline: none; }  /* programmatic focus keeps its ring for keyboard users */
html { scroll-padding-top: calc(var(--header) + 16px); }                        /* the sticky header must not cover a focused or anchored element */
section[id], #lead-form { scroll-margin-top: calc(var(--header) + 16px); }
a, button, input, textarea, select, summary, label { touch-action: manipulation; }   /* no 300 ms double-tap zoom delay */

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%; max-width: calc(1336px + 2 * var(--gutter)); margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));   /* notches, once viewport-fit=cover is on */
}

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px; color: var(--eyebrow); font-size: 13px; line-height: 18px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
}
h1 {
  font-size: clamp(40px, 4.4vw + 16px, 64px); line-height: 1.07; font-weight: 330;
  letter-spacing: -0.022em; margin-bottom: 28px;
}
h2 {
  font-size: clamp(30px, 1.9vw + 18px, 46px); line-height: 1.15; font-weight: 340;
  letter-spacing: -0.018em;
}
h3 { font-size: 21px; line-height: 28px; font-weight: 450; }
.h1-line { display: block; }
.h1-accent { color: var(--accent-bright); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-lead { color: var(--text-secondary); margin: 16px 0 0; }
.muted { color: var(--text-secondary); }
.condition { font-size: 14px; line-height: 21px; color: var(--text-secondary); }
.condition strong { color: var(--text); font-weight: 500; }
.mini-title { font-size: 15px; line-height: 21px; font-weight: 500; margin: 0 0 12px; }
.mini-label { font-size: 14px; line-height: 21px; color: var(--text-muted); margin: 0; }
.demo-note { font-size: 14px; line-height: 21px; color: var(--text-muted); margin: 16px 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 18px; font-weight: 500; color: var(--text-secondary);
  border: 1px solid var(--border); background: rgba(27, 38, 48, .7); white-space: nowrap;
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500;
  font-size: 16px; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 4px; min-height: 44px;
}
.text-link:hover { text-decoration-color: var(--accent); color: var(--accent-hover); }
.text-link .ico { width: 18px; height: 18px; }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; line-height: 22px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  text-align: center; white-space: normal;
}
.btn .ico { width: 19px; height: 19px; }
.btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: #4A606B; }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: #697F8A; }
.btn-ghost:hover { border-color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(242, 247, 248, .28); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 30px 0 34px; font-size: 18px; gap: 16px; }
.btn-lg .ico { width: 21px; height: 21px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--field-border); background: transparent; cursor: pointer;   /* control boundary ≥ 3:1 in both themes */
}
.icon-btn:hover { border-color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(7, 18, 23, 0);
  border-bottom: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease;
}
.site-header.is-scrolled, .no-js .site-header {
  background: rgba(7, 18, 23, .93); border-bottom-color: rgba(38, 58, 68, .6);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header); }
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text);
  font-size: 19px; line-height: 24px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; min-height: 44px;
}
.brand:hover .brand-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.brand-text { display: inline-flex; flex-direction: column; align-items: flex-start; }
.brand-name { line-height: 21px; }
.brand-tagline {      /* the owner's «ENERGY SYSTEMS» under the name, spread to the name's width */
  margin-top: 5px; font-size: 9px; line-height: 10px; font-weight: 400; letter-spacing: .705em;
  margin-right: -.705em; color: var(--eyebrow); text-transform: uppercase; white-space: nowrap;
}
.brand-mark {            /* the sun, as in the dashboard's sidebar (06.10.2026) */
  width: 26px; height: 26px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.brand-mark .brand-sun { width: 26px; height: 26px; stroke-width: 2; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 45%, transparent)); }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 8px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: #E3ECEF; text-decoration: none; font-size: 16px; line-height: 22px; font-weight: 400;
  text-underline-offset: 6px;
}
.nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(79, 227, 180, .6); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.lang, .login {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 0 10px; border-radius: 999px; color: var(--text-secondary); text-decoration: none;
  font-size: 15px; font-weight: 500;
}
.lang:hover, .login:hover { color: var(--text); background: rgba(27, 38, 48, .8); }
.menu-toggle, .menu-close {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--field-border);
  background: transparent; cursor: pointer; place-items: center; padding: 0;
}
.menu-toggle:hover, .menu-close:hover { border-color: var(--accent); color: var(--accent); }
.mobile-menu { display: none; }

/* ---------- hero: text left, a large tablet with the real interface bleeding off the right edge ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 56px 0 120px; margin-top: calc(-1 * var(--header)); padding-top: calc(var(--header) + 56px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 52% at 76% 44%, rgba(56, 176, 156, .20), transparent 72%),
    radial-gradient(26% 36% at 92% 88%, rgba(34, 120, 118, .18), transparent 74%),
    radial-gradient(55% 45% at 8% 0%, rgba(22, 64, 74, .38), transparent 72%),
    linear-gradient(180deg, #08151B 0%, #061116 60%, #071217 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 710px) minmax(0, 1fr); column-gap: 24px; align-items: center; min-height: 700px; }
.hero-text { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 30px; }
.hero-lead { font-size: 20px; line-height: 31px; color: #DCE8ED; margin: 0 0 18px; max-width: 610px; }
.hero-placement { font-size: 20px; line-height: 31px; color: #BFD0D7; max-width: 610px; margin: 0; }
.hero-cta { margin-top: 42px; gap: 20px; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 46px 0 0; max-width: 650px; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 15px; padding: 2px 20px; border-left: 1px solid var(--divider);
  font-size: 16px; line-height: 24px; color: #CCD6DC;
}
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-points .ico { width: 30px; height: 30px; color: #2CF4C4; stroke-width: 1.5; }
.hero-compat {
  display: flex; align-items: center; gap: 18px; margin-top: 42px; padding-top: 30px;
  border-top: 1px solid var(--divider); max-width: 650px;
}
.hero-compat .ico { width: 38px; height: 38px; color: #AFC0C7; stroke-width: 1.3; }
.hero-compat p { margin: 0; font-size: 17px; line-height: 26px; }
.compat-title { display: block; color: var(--text); }
.compat-text { display: block; color: #B4C6CD; }
.hero-rdn { margin: 16px 0 0 56px; font-size: 14px; line-height: 21px; }
.hero-rdn a { color: var(--text-muted); text-underline-offset: 3px; text-decoration-color: rgba(150, 167, 174, .45); }
.hero-rdn a:hover { color: var(--text); }
.hero-visual { position: relative; align-self: stretch; min-width: 0; min-height: 660px; perspective: 1700px; perspective-origin: 0% 50%; }
.tablet { position: absolute; left: 10px; top: 50%; width: 960px; margin: 0; transform: translateY(-50%); }
.tablet::after {         /* soft floor shadow under the device */
  content: ''; position: absolute; left: 6%; right: -10%; bottom: -70px; height: 90px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .65), transparent 70%); filter: blur(8px);
}
.tablet-body {
  transform: rotateY(-21deg) rotateX(2deg); transform-origin: 0% 50%;
  border-radius: 46px; padding: 16px;
  background: linear-gradient(158deg, #2A383F 0%, #0C1418 20%, #060B0E 62%, #1A262C 100%);
  box-shadow: inset 0 0 0 1.5px rgba(170, 200, 210, .16), inset 0 2px 1px rgba(255, 255, 255, .08),
    0 70px 110px -50px rgba(0, 0, 0, .95), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.tablet-screen { position: relative; overflow: hidden; border-radius: 31px; background: #0A1115; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7); }
.tablet-screen::after {  /* faint glass reflection */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .015) 30%, transparent 46%);
}
.tablet-img, .tablet-screen .img-missing { display: block; width: 100%; height: auto; }
.display-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.tablet .display-note { position: absolute; left: 40px; top: calc(100% + 34px); }
.img-missing {
  display: grid; place-items: center; background: var(--surface); color: var(--text-muted);
  font-size: 14px; line-height: 21px; text-align: center; padding: 16px; border-radius: 12px;
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0 0; }
.section-tight { padding-top: 72px; }
.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-card); }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-raised); color: var(--accent); margin-bottom: 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.card-title { font-size: 16px; line-height: 24px; font-weight: 500; }
.split { display: grid; gap: 56px; align-items: start; }
.split-40 { grid-template-columns: 5fr 7fr; }
.split-60 { grid-template-columns: 7fr 5fr; align-items: center; }
.split-50 { grid-template-columns: 1fr 1fr; align-items: center; }
.split-text .section-head { margin-bottom: 24px; }
.split-text > h1, .split-text > h2 { margin-bottom: 20px; }
.split-text > p { color: var(--text-secondary); }
.split-visual { min-width: 0; }

/* deployment */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deploy-card { display: flex; flex-direction: column; padding: 32px; }
.deploy-card h3 { margin-bottom: 6px; }
.deploy-card .deploy-headline { font-size: 18px; line-height: 26px; color: var(--text); font-weight: 500; margin-bottom: 14px; }
.deploy-card > p { color: var(--text-secondary); }
.checklist { display: grid; gap: 10px; margin: 8px 0 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.checklist .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.card-cta { margin-top: auto; padding-top: 6px; }
.official-band {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 24px 28px;
  border-radius: var(--radius-card); border: 1px solid rgba(112, 219, 183, .26); background: rgba(112, 219, 183, .05);
}
.official-band .ico { color: var(--accent); margin-top: 3px; }
.official-band > div { min-width: 0; }
.official-band h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.official-band p { margin: 0; color: var(--text-secondary); }
.compare { margin-top: 48px; }
.compare-title { font-size: 18px; line-height: 26px; margin-bottom: 14px; }
.compare-head, .compare-row { display: grid; grid-template-columns: 28% 1fr 1fr; gap: 24px; }
.compare-head { padding: 0 0 10px; font-size: 13px; line-height: 18px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.compare dl { margin: 0; }
.compare-row { padding: 16px 0; border-top: 1px solid var(--border-soft); }
.compare-row dt { font-weight: 500; font-size: 16px; line-height: 24px; }
.compare-row dd { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 24px; }
.compare-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-note { margin: 24px 0 0; font-size: 16px; line-height: 24px; color: var(--text-secondary); }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tags li {
  font-size: 14px; line-height: 21px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-soft); color: var(--text);
}

/* charts */
.chart-card, .price-card { padding: 24px; margin: 0; }
.chart { display: grid; grid-template-columns: 40px 1fr; height: 280px; margin-top: 30px; }
.chart-y { position: relative; margin-bottom: 30px; font-size: 12px; line-height: 16px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.chart-y span { position: absolute; right: 10px; transform: translateY(50%); }
.chart-y .chart-unit { top: -30px; bottom: auto; transform: none; right: auto; left: 0; white-space: nowrap; }
.chart-y.wide { width: 56px; }
.chart:has(.chart-y.wide) { grid-template-columns: 56px 1fr; }
.chart-plot { position: relative; min-width: 0; }
.chart-plot svg { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 30px); overflow: visible; }
.chart-x { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; font-size: 12px; line-height: 16px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.chart-x span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.grid-line { stroke: rgba(243, 245, 246, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.band { fill: rgba(112, 219, 183, .17); }
.actual { fill: none; stroke: var(--text); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.deviation { fill: url(#hatch-dev); }
.hatch { stroke: var(--warn); stroke-width: 2.2; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: 14px; line-height: 21px; color: var(--text-secondary); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 16px; height: 12px; border-radius: 3px; flex: none; }
.key-band { background: rgba(112, 219, 183, .32); }
.key-line { height: 3px; background: var(--text); border-radius: 2px; }
.key-dev { background: repeating-linear-gradient(45deg, var(--warn) 0 2px, transparent 2px 5px); border: 1px solid rgba(242, 184, 75, .7); }
.watcher-visual { display: grid; gap: 16px; }
.watcher-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice-card, .journal-card { padding: 20px 22px; }
.notice { display: flex; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 12px; background: var(--surface-raised); }
.notice .ico { color: var(--accent); margin-top: 2px; }
.notice > div { min-width: 0; }
.notice p { margin: 0; font-size: 15px; line-height: 22px; }
.notice .notice-from { font-size: 13px; line-height: 18px; color: var(--text-muted); margin-bottom: 4px; }
.journal { display: grid; gap: 10px; margin-bottom: 12px; }
.journal li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; font-size: 15px; line-height: 22px; }
.journal time { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* outages */
.outages-head { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; margin-bottom: 40px; align-items: end; }
.outages-head .section-head { margin-bottom: 24px; }
.outages-head p { color: var(--text-secondary); }
.outages-aside p { font-size: 16px; line-height: 25px; }
.outage-card { padding: 28px; margin: 0 0 20px; }
.outage-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.outage-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; line-height: 21px; color: var(--text-secondary); }
.outage-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; line-height: 21px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); }
[data-state="prepared"] .status-dot { background: var(--accent); }
.timeline { display: grid; grid-template-columns: 40px 1fr; height: 240px; margin-top: 26px; }
.window { fill: url(#hatch-window); }
.hatch-window { stroke: rgba(242, 184, 75, .5); stroke-width: 3; }
.soc-area { fill: rgba(112, 219, 183, .12); }
.soc-line { fill: none; stroke: var(--accent); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
[data-variant="prepared"] { display: none; }
[data-state="prepared"] [data-variant="prepared"] { display: inline; }
[data-state="prepared"] [data-variant="idle"] { display: none; }
.floor-line { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.notice-line { stroke: var(--text-secondary); stroke-width: 1.25; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.now-line { stroke: var(--text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.key-window { background: repeating-linear-gradient(45deg, rgba(242, 184, 75, .75) 0 2px, transparent 2px 5px); border: 1px solid rgba(242, 184, 75, .6); }
.key-soc { height: 3px; background: var(--accent); }
.key-notice { height: 0; border-top: 2px dashed var(--text-secondary); border-radius: 0; }
.key-now { width: 3px; height: 14px; background: var(--text); border-radius: 1px; }
.key-floor { height: 0; border-top: 2px dashed var(--danger); border-radius: 0; }
.reserve { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 20px; align-items: baseline; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border-soft); }
.reserve-label { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 21px; color: var(--text-secondary); }
.reserve-value { margin: 0; font-size: 34px; line-height: 42px; font-weight: 450; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.reserve-basis { margin: 0; font-size: 14px; line-height: 21px; color: var(--text-secondary); }

/* battery */
.battery-demo { padding: 28px; }
.soc-readout { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 32px; margin-bottom: 22px; }
.soc-readout p { margin: 0; display: grid; gap: 2px; }
.soc-readout span { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.soc-readout strong { font-size: 22px; line-height: 30px; font-weight: 500; font-variant-numeric: tabular-nums; }
.soc-bar { position: relative; height: 64px; }
.soc-track { position: absolute; inset: 8px 0; border-radius: 12px; background: var(--surface-raised); overflow: hidden; border: 1px solid var(--border-soft); }
.soc-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(112, 219, 183, .22), rgba(112, 219, 183, .38)); }
.soc-corridor { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); background: rgba(112, 219, 183, .10); }
.soc-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text); transform: translateX(-1px); }
.soc-range {
  position: absolute; left: -11px; right: -11px; top: 0; width: calc(100% + 22px); height: 64px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.soc-range::-webkit-slider-runnable-track { height: 64px; background: none; border: 0; }
.soc-range::-moz-range-track { height: 64px; background: none; border: 0; }
.soc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; width: 22px; height: 64px; border-radius: 9px;
  background: var(--text); border: 4px solid var(--accent); cursor: ew-resize; box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.soc-range::-moz-range-thumb {
  pointer-events: auto; width: 14px; height: 56px; border-radius: 9px; background: var(--text);
  border: 4px solid var(--accent); cursor: ew-resize; box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.soc-range:disabled::-webkit-slider-thumb { cursor: default; }
.soc-range:focus-visible { outline: none; }
.soc-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--text); outline-offset: 2px; }
.soc-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--text); outline-offset: 2px; }
.soc-ticks { position: relative; height: 22px; margin: 6px 0 18px; font-size: 12px; line-height: 16px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.soc-ticks span { position: absolute; transform: translateX(-50%); }
.soc-ticks span:first-child { transform: none; }
.soc-ticks span:last-child { transform: translateX(-100%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field-border);
  background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--text-secondary);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip-reset { border-style: dashed; }

/* RDN */
.price-card .chart { height: 300px; }
.bar-charge { fill: var(--accent); }
.bar-hold { fill: var(--neutral-bar); }
.bar-discharge { fill: var(--warn); }
.price-card .chart-plot svg { height: calc(100% - 52px); }
.price-card .chart-y { margin-bottom: 52px; }
.price-card .chart-x { bottom: 22px; }
.plan-strip { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 14px; }
.plan-strip span { border-radius: 3px; }
.plan-charge { background: var(--accent); }
.plan-hold { background: var(--neutral-bar); }
.plan-discharge { background: repeating-linear-gradient(45deg, var(--warn) 0 3px, rgba(242, 184, 75, .45) 3px 6px); }
.key-charge { background: var(--accent); }
.key-hold { background: var(--neutral-bar); }
.key-discharge { background: repeating-linear-gradient(45deg, var(--warn) 0 3px, rgba(242, 184, 75, .45) 3px 6px); }
.price-card .mini-label { margin-top: 12px; }
.option-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 40px;
  padding: 28px 32px; border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--surface);
}
.option-band h3 { margin-bottom: 6px; }
.option-band p { margin: 0; color: var(--text-secondary); max-width: 760px; }
.option-band .btn { flex: none; }
.option-band > div { min-width: 0; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 28px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 25px; }
.feature-note { margin: 20px 0 0; font-size: 14px; line-height: 21px; }

/* access */
.access-band { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; padding: 40px 48px; }
.access-text h2 { margin-bottom: 16px; }
.access-text > p { color: var(--text-secondary); }
.icon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 8px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.icon-list .ico { color: var(--accent); margin-top: 1px; }
.phone { margin: 0; justify-self: center; text-align: center; }
.phone-frame { width: 240px; padding: 9px; border-radius: 34px; background: #0A0F14; border: 1px solid rgba(243, 245, 246, .1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.phone-img, .phone-frame .img-missing { border-radius: 26px; width: 100%; }
.phone .mini-label { margin-top: 12px; }

/* compatibility */
.compat-card { padding: 32px; }
.compat-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.compat-checks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface-raised); font-size: 16px; line-height: 24px; }
.compat-checks .ico { color: var(--accent); }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.step-num { color: var(--accent); font-size: 15px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 25px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px;
  cursor: pointer; list-style: none; font-size: 19px; line-height: 28px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron { color: var(--text-muted); transition: transform .18s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 22px; color: var(--text-secondary); max-width: 760px; }
.faq-answer p { margin: 0; }

/* contact & form */
.contact { padding-bottom: var(--section); }
.warning-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.warning-line .ico { color: var(--warn); margin-top: 1px; width: 20px; height: 20px; }
.form-card { padding: 32px; }
.lead-form { display: grid; gap: 0; }
.form-body { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.form-body[disabled] { opacity: .72; }
.field { display: grid; gap: 6px; min-width: 0; }
.fieldset { border: 0; padding: 0; margin: 0; }
.field label, .fieldset legend { font-size: 15px; line-height: 21px; font-weight: 500; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.req { color: var(--text-muted); font-weight: 400; font-size: 13px; }
.field-hint { margin: 0; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-field);
  background: var(--surface-raised); border: 1px solid var(--field-border); color: var(--text); font-size: 16px; line-height: 24px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); }   /* ring = design.css :focus-visible outline in the accent colour (no legacy teal, no double ring) */
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 2px 0 0; font-size: 14px; line-height: 21px; color: var(--danger); display: flex; gap: 6px; }
.field-error::before { content: '!'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #2a0e0a; font-size: 12px; font-weight: 600; flex: none; margin-top: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--field-border); background: transparent; cursor: pointer;
  font-size: 15px; line-height: 21px; font-weight: 400 !important;
}
.choice:hover { border-color: var(--accent); }
.choice:has(> input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }   /* group focus on the whole pill, not the 18px radio */
html[data-ui] .choice > input:focus-visible { outline: none; }                                 /* replaced by the pill ring above */
.choice:has(input:checked) { border-color: var(--accent); background: rgba(112, 219, 183, .1); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.checkbox-field .choice { border-radius: 12px; align-items: flex-start; }
.checkbox-field .choice input { margin-top: 2px; }
.checkbox-field .choice a { color: var(--accent); }
.checkbox-field .choice a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn-submit { min-width: 220px; }
.form-warning { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 21px; color: var(--text-secondary); flex: 1 1 240px; }
.form-warning .ico { width: 18px; height: 18px; color: var(--warn); margin-top: 1px; }
.form-status { margin: 0; font-size: 15px; line-height: 22px; color: var(--text); min-height: 22px; }
.form-status:empty {   /* stays in the accessibility tree (not display:none) so the first live message is announced */
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; min-height: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.form-status.is-error { color: var(--danger); }
.form-banner, .form-summary {
  margin: 0 0 22px; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 21px;
  border: 1px solid rgba(242, 184, 75, .45); background: rgba(242, 184, 75, .08); color: var(--text);
}
.form-summary { border-color: rgba(244, 151, 140, .5); background: rgba(244, 151, 140, .08); }
/* sign-in and registration (cloud/auth.py) */
.auth-form .form-body { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; }
.auth-form .code-input { font-size: 28px; line-height: 36px; letter-spacing: .32em; text-align: center; max-width: 300px;
  font-variant-numeric: tabular-nums; padding-left: 20px; }
.auth-switch { margin: 0; font-size: 15px; }
.auth-email { margin: 0; color: var(--text-secondary); overflow-wrap: anywhere; }
.form-success { display: flex; gap: 14px; align-items: flex-start; }
.form-success .ico { width: 28px; height: 28px; color: var(--accent); }
.form-success .success-title { font-size: 21px; line-height: 28px; font-weight: 500; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* pages */
.page-section { padding-top: 64px; padding-bottom: var(--section); }
.prose { max-width: 820px; }
.prose .form-banner { margin-top: 20px; }
.prose h1 { font-size: clamp(34px, 2vw + 18px, 46px); }
.prose h2 { font-size: 24px; line-height: 32px; margin: 32px 0 10px; }
.prose p { color: var(--text-secondary); }
.facts { margin: 32px 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border-soft); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--text-secondary); }

/* footer */
.site-footer { border-top: 1px solid var(--border-soft); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 5fr 4fr; gap: 24px 48px; }
.footer-brand p { margin: 12px 0 0; font-size: 14px; line-height: 21px; color: var(--text-secondary); max-width: 420px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; align-content: start; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text-secondary); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-note, .footer-copy { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.footer-note { padding-top: 20px; border-top: 1px solid var(--border-soft); }

/* gallery */
.gallery {
  width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 20px 22px 22px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 18px;
  overflow: auto; overscroll-behavior: contain;   /* a modal scrolls its own content and never chains to the page */
}
.gallery::backdrop { background: rgba(5, 8, 11, .8); }
.gallery-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.gallery-head h2 { font-size: 20px; line-height: 28px; margin-right: auto; }
.gallery-counter { margin: 0; color: var(--text-muted); font-size: 14px; }
.slides { margin: 0; }
.slide figure { margin: 0; }
.gallery-img, .slide .img-missing { width: 100%; max-height: calc(100vh - 260px); object-fit: contain; border-radius: 12px; background: var(--bg); }
.slide[data-slide="3"] .gallery-img { max-width: 340px; margin-inline: auto; }
.slide figcaption { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--text-secondary); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.slide figcaption strong { color: var(--text); font-weight: 500; }
.gallery-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }

/* no-js: only what works without scripts; with scripts, fields of other request types are folded */
.no-js .js-only { display: none !important; }
.js .is-off { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .login { display: none; }
  .js .mobile-menu.is-open {
    display: block; position: fixed; inset: var(--header) 0 0 0; z-index: 49; background: var(--bg);
    overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--border-soft);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-menu-inner { padding-top: 16px; padding-bottom: 32px; display: grid; gap: 8px; }
  .menu-close { display: inline-grid; justify-self: end; }
  .mobile-menu nav a {
    display: flex; align-items: center; min-height: 56px; font-size: 22px; line-height: 28px; font-weight: 450;
    text-decoration: none; border-bottom: 1px solid var(--border-soft);
  }
  .mobile-menu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 20px; }
  .mobile-menu-actions .login { display: inline-flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--bg); }
  .no-js .mobile-menu { display: block; border-top: 1px solid var(--border-soft); }
  .no-js .menu-toggle, .no-js .menu-close { display: none; }
  .no-js .mobile-menu nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .no-js .mobile-menu nav a { min-height: 44px; font-size: 16px; border: 0; }
  .no-js .mobile-menu-actions { display: none; }
}
@media (max-width: 1279px) {
  .hero-grid { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(40px, 4.4vw + 16px, 59px); }
  .tablet { width: 900px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; --section: 88px; }
  .hero { padding-top: calc(var(--header) + 40px); padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; row-gap: 0; }
  .hero-lead, .hero-placement { max-width: 680px; }
  .hero-visual { min-height: 0; margin-top: 64px; perspective: 1600px; }
  .tablet { position: relative; top: auto; left: 0; transform: none; width: 112%; }
  .tablet-body { transform: rotateY(-12deg) rotateX(2deg); }
  .tablet .display-note { position: static; margin-top: 30px; }
  .split, .split-40, .split-60, .split-50 { grid-template-columns: 1fr; gap: 32px; }
  .split-60 .split-text { order: -1; }
  .outages-head { grid-template-columns: 1fr; gap: 0; align-items: start; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 8px; }
  .access-band { grid-template-columns: 1fr 240px; padding: 32px; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 20px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; margin-left: -10px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 64px; --header: 64px; }
  body { font-size: 16px; line-height: 25px; }
  h3 { font-size: 20px; line-height: 27px; }
  .eyebrow { font-size: 11px; line-height: 17px; }
  .btn { font-size: 16px; line-height: 22px; }
  .nav a, .lang { font-size: 16px; }
  .header-cta { display: none; }
  .header-actions .lang { display: none; }
  .mobile-menu-actions .lang { display: inline-flex; }
  .hero { padding-top: calc(var(--header) + 28px); padding-bottom: 72px; }
  .eyebrow-wide { letter-spacing: .16em; }
  .hero-lead, .hero-placement { font-size: 18px; line-height: 28px; }
  .cta-row .btn { flex: 1 1 100%; }
  .btn-lg { min-height: 56px; font-size: 17px; }
  .hero-points { grid-template-columns: 1fr; margin-top: 34px; }
  .hero-points li { padding: 14px 0; border-left: 0; border-top: 1px solid var(--divider); align-items: center; }
  .hero-points li:first-child { padding-top: 0; border-top: 0; }
  .hero-points li br { display: none; }
  .hero-compat { margin-top: 18px; padding-top: 22px; }
  .hero-rdn { margin-left: 0; }
  .hero-visual { margin-top: 48px; }
  .tablet { width: 130%; }
  .tablet-body { border-radius: 30px; padding: 10px; }
  .tablet-screen { border-radius: 21px; }
  .deploy-grid { grid-template-columns: 1fr; gap: 16px; }
  .deploy-card, .form-card, .compat-card, .battery-demo, .outage-card { padding: 22px 20px; }
  .card-cta .btn { width: 100%; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-tag { position: static; width: auto; height: auto; clip: auto; display: block; font-size: 13px; line-height: 18px; color: var(--text-muted); font-weight: 500; }
  .watcher-side { grid-template-columns: 1fr; }
  .chart-card, .price-card { padding: 20px 16px; }
  .chart { height: 240px; grid-template-columns: 32px 1fr; }
  .chart:has(.chart-y.wide) { grid-template-columns: 48px 1fr; }
  .chart-y span { right: 6px; }
  .chart-x .minor { display: none; }
  .timeline { height: 220px; grid-template-columns: 32px 1fr; }
  .price-card .chart { height: 260px; }
  .reserve { grid-template-columns: 1fr; }
  .reserve-value { font-size: 30px; line-height: 38px; }
  .soc-readout { grid-template-columns: repeat(2, auto); gap: 12px 28px; }
  .option-band { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .option-band .btn { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 22px 20px; }
  .access-band { grid-template-columns: 1fr; padding: 24px 20px; }
  .icon-list { grid-template-columns: 1fr; }
  .compat-checks { grid-template-columns: 1fr; }
  .compat-card .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .faq-item summary { font-size: 17px; line-height: 25px; padding: 16px 2px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .gallery { padding: 16px; }
  .gallery-nav .btn { flex: 1; }
}
@media (max-width: 479px) {
  .hero-visual { perspective: none; }
  .tablet { width: 150%; }
  .tablet-body { transform: none; border-radius: 22px; padding: 7px; }
  .tablet-screen { border-radius: 16px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { font-size: 16px; }
  .brand-tagline { font-size: 8px; letter-spacing: .634em; margin-right: -.634em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .chip, .choice, .card { border: 1px solid CanvasText; }
  .soc-corridor, .key { forced-color-adjust: none; }
}

/* «Тарифікація» (06.10.2026): four packages, the free one is the vendor's level */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card h3 { margin: 0; font-size: 22px; }
.price-card .price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price-card .price-number { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.price-card .price-unit, .price-card .price-free { font-size: 14px; opacity: .8; }
.price-card .price-free { font-size: 22px; font-weight: 700; opacity: 1; }
.price-card .blurb { margin: 0; font-size: 15px; }
.price-card .includes { margin: 0; font-size: 13px; }
.price-card ul.checks { margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.price-card ul.checks li { display: flex; gap: 8px; align-items: flex-start; }
.price-card ul.checks svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.price-card .price-cta { margin-top: auto; padding-top: 10px; }
@media (max-width: 1023px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .price-grid { grid-template-columns: 1fr; gap: 14px; } }

/* blog (cloud/blog.py, 07.10.2026): articles in the prose column, cards on the index and the home page */
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-meta { margin: 0 0 8px; font-size: 14px; color: var(--text-muted); }
.post .back { margin: 0 0 18px; }
.post h1 { margin-bottom: 6px; }
.post-figure { margin: 24px 0 8px; }
.post-figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); }
.prose h3 { font-size: 19px; line-height: 27px; margin: 24px 0 8px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--text-secondary); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { display: list-item; }
.prose li { margin: 6px 0; line-height: 26px; }
.prose li::marker { color: var(--accent); }
.prose p a, .prose li a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.post-cta { margin: 36px 0 12px; }
.post-cta .cta-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.post-more { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
@media (max-width: 899px) { .post-more { grid-template-columns: 1fr; } }

/* install as an app (PWA, 07.10.2026): button in the mobile menu + a dismissible bar at the bottom; iOS steps sheet */
.pwa-install { align-items: center; gap: 8px; }
.pwa-install .ico { width: 18px; height: 18px; }
.menu-install {
  display: inline-flex; justify-content: center; width: 100%; min-height: 46px; margin-top: 12px; padding: 0 16px;
  font: 600 15px/1 var(--font); color: var(--accent); background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 12px; cursor: pointer;
}
.menu-install:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.install-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .6);
  padding: calc(10px + env(safe-area-inset-bottom, 0px)) 0 10px; animation: install-rise .25s ease;
}
@keyframes install-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .install-bar { animation: none; } }
.install-bar-inner { display: flex; align-items: center; gap: 14px; }
.install-mark { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center;
  border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.install-mark .ico { width: 22px; height: 22px; }
.install-text { display: grid; gap: 1px; min-width: 0; line-height: 1.35; }
.install-text strong { font-size: 15px; }
.install-text span { font-size: 13px; color: var(--text-muted); }
.install-bar .pwa-install { margin-left: auto; flex: none; white-space: nowrap; }
.install-close { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.install-close:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.install-close .ico { width: 18px; height: 18px; }
@media (min-width: 768px) { .install-bar { display: none; } }   /* the bar is for phones; desktop Chrome has its own install icon */
.install-ios { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .55); padding: 16px; }
.install-ios-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px 18px 14px 14px; padding: 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); }
.install-ios-card h2 { margin: 0 0 14px; font-family: var(--font-heading); font-size: 20px; }
.install-steps { margin: 0 0 18px; padding-left: 22px; list-style: decimal; display: grid; gap: 10px; color: var(--text-secondary); }
.install-steps li::marker { color: var(--accent); font-weight: 600; }
.install-ios-card .btn-primary { width: 100%; }
@media (min-width: 560px) { .install-ios { align-items: center; } }
