/* ==========================================================================
   QSAS Data — landing (home). Self-contained: the legal pages keep using
   styles.css. Brand palette from img/brand/lockup-color.svg.
   Chart series validated with the dataviz palette checker (dark surface
   #101b2c): consumption #0ea5b8, reverse flow / alert #d07c0c.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter/Inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter/Inter-800.woff2') format('woff2'); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/literata/literata-400.woff2') format('woff2'); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/literata/literata-600.woff2') format('woff2'); }

:root {
  --navy-950: #08101c;
  --navy-900: #0b1524;
  --navy-800: #101b2c;
  --navy-700: #152238;
  --navy-600: #1e3252;
  --teal: #0ea5b8;
  --teal-bright: #12c4d9;
  --teal-text: #08707d;
  --green: #2ec4a2;
  --orange: #f5a623;
  --alert: #d07c0c;

  --paper: #f4f6f9;
  --card: #ffffff;
  --ink: #0f1a2a;
  --ink-2: #344256;
  --ink-3: #56657a;
  --line: #dde3eb;

  --on-dark: #eef3f9;
  --on-dark-2: #b3c1d3;
  --on-dark-3: #8d9db3;
  --line-dark: rgba(150, 180, 215, 0.16);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Literata', Georgia, serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -30px rgba(8, 16, 28, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-text); }
a:hover { color: var(--navy-600); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--teal-bright); }

.section { padding: clamp(80px, 11vw, 136px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin-top: 18px; }
.section-head p { margin-top: 20px; font-size: 19px; color: var(--ink-2); }
.dark { background: var(--navy-800); color: var(--on-dark); }
.dark .section-head p { color: var(--on-dark-2); }

.grad {
  background: linear-gradient(95deg, var(--teal-bright) 0%, var(--green) 60%, #8be0c8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(95deg, var(--teal-bright), var(--green)); color: var(--navy-900); box-shadow: 0 12px 30px -12px rgba(18, 196, 217, .6); }
.btn-primary:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(18, 196, 217, .75); }
.btn-ghost { border-color: rgba(200, 220, 240, .28); color: var(--on-dark); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 36, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 15px; color: var(--navy-900); }
.nav-menu { display: none; }
.nav-menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px; color: var(--on-dark); border: 1px solid var(--line-dark);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 22px; height: 22px; }
.nav-menu-panel {
  position: absolute; left: 0; right: 0; top: 72px; padding: 12px var(--gutter) 24px;
  background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
  display: grid; gap: 4px;
}
.nav-menu-panel a { color: var(--on-dark); text-decoration: none; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.nav-menu-panel .btn { margin-top: 14px; color: var(--navy-900); border-bottom: 0; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(18, 196, 217, .20), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(46, 196, 162, .14), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 180, 215, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 215, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 85%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 9vw, 112px);
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(18, 196, 217, .10); border: 1px solid rgba(18, 196, 217, .28);
  color: #bfeff6; font-size: 14px; font-weight: 500;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.hero h1 { margin-top: 26px; font-size: clamp(38px, 3.9vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero-lead { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20px); color: var(--on-dark-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; color: var(--on-dark-2); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* product mock */
.panel {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: linear-gradient(180deg, rgba(30, 50, 82, .72), rgba(16, 27, 44, .92));
  border: 1px solid rgba(150, 180, 215, .2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-title { font-weight: 600; font-size: 15px; }
.panel-sub { font-size: 13px; color: var(--on-dark-3); }
.panel-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #bdf3e3; padding: 5px 10px; border-radius: 999px; background: rgba(46, 196, 162, .12); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.kpi { padding: 14px; border-radius: 12px; background: rgba(8, 16, 28, .45); border: 1px solid var(--line-dark); }
.kpi-label { font-size: 12px; color: var(--on-dark-3); }
.kpi-value { margin-top: 4px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: .55em; font-weight: 600; color: var(--on-dark-2); margin-left: 3px; }
.chart-card { margin-top: 12px; padding: 16px 14px 10px; border-radius: 12px; background: rgba(8, 16, 28, .45); border: 1px solid var(--line-dark); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.chart-title { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--on-dark-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.k-pos { background: var(--teal); }
.k-neg { background: var(--alert); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .pos { fill: var(--teal); }
.chart .neg, .chart .hi { fill: var(--alert); }
.chart .base { stroke: rgba(180, 200, 225, .35); stroke-width: 1; }
.chart .grid { stroke: rgba(180, 200, 225, .1); stroke-width: 1; }
.chart .tick { fill: var(--on-dark-3); font-size: 11px; font-family: var(--font); }
.chart .note { fill: #ffd29a; font-size: 12px; font-weight: 600; font-family: var(--font); }
.chart .note-line { stroke: #ffd29a; stroke-width: 1; stroke-dasharray: 3 3; }
.alert {
  margin-top: 12px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: rgba(208, 124, 12, .14); border: 1px solid rgba(245, 166, 35, .35); font-size: 14px;
}
.alert svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 1px; }
.alert strong { display: block; color: #ffe1b3; font-weight: 600; }
.alert span { color: var(--on-dark-2); font-size: 13px; }
.panel-foot { margin-top: 10px; font-size: 11px; color: var(--on-dark-3); text-align: right; }
.float-tag {
  position: absolute; left: -28px; bottom: -26px; padding: 12px 16px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow); font-size: 13px; line-height: 1.35;
  display: flex; gap: 10px; align-items: center;
}
.float-tag b { display: block; font-size: 15px; }
.float-tag .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #e3f4ee; color: #177a63; }
.float-tag .ico svg { width: 18px; height: 18px; }

/* bars grow-in (only with JS, only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .chart rect.pos, .js .chart rect.hi { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
  .js .chart rect.neg { transform-box: fill-box; transform-origin: top; transform: scaleY(0); }
  .js .in-view .chart rect { animation: grow .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 35ms + 200ms); }
  .js .in-view .chart .note, .js .in-view .chart .note-line { animation: fade .5s ease forwards 1.3s; }
  .js .chart .note, .js .chart .note-line { opacity: 0; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
  .js .reveal.in-view { opacity: 1; transform: none; }
}
@keyframes grow { to { transform: scaleY(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- strip ---------- */
.strip { background: var(--navy-950); color: var(--on-dark-3); border-top: 1px solid var(--line-dark); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-2); }

/* ---------- platform ---------- */
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #dcf3f6, #e3f6ef); color: var(--teal-text); }
.card-ico svg { width: 24px; height: 24px; }
.card h3 { margin-top: 22px; font-size: 21px; font-weight: 700; }
.card p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }

.flow { list-style: none; padding: 0; margin: clamp(56px, 8vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--green), var(--orange)); opacity: .5; }
.flow-step { position: relative; padding: 0 18px; text-align: center; }
.flow-num {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 8px var(--paper);
}
.flow-step:nth-child(2) .flow-num { background: var(--teal-text); }
.flow-step:nth-child(3) .flow-num { background: linear-gradient(135deg, var(--teal), var(--green)); color: var(--navy-900); }
.flow-step h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.flow-step p { margin: 8px auto 0; max-width: 300px; color: var(--ink-3); font-size: 16px; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--green), var(--orange)); }
  .flow-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 0; }
  .flow-num { margin: 0; grid-row: span 2; }
  .flow-step h3 { margin-top: 4px; }
  .flow-step p { margin: 6px 0 0; }
}

/* ---------- platform view ---------- */
.platform-view { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; }
.feature h3 { margin-top: 24px; font-size: 22px; font-weight: 700; }
.feature p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }
.screen {
  padding: 18px; border-radius: var(--radius); height: 350px; display: flex; flex-direction: column; color: var(--on-dark);
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--navy-600); box-shadow: var(--shadow);
}
.screen .chart-title { margin-bottom: 12px; }
.screen > svg { margin-top: auto; margin-bottom: auto; }
.alerts-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.alerts-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(8, 16, 28, .45); border: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-3); line-height: 1.4; }
.alerts-list b { display: block; color: var(--on-dark); font-size: 14px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 4px; }
.dot.warn { background: var(--orange); box-shadow: 0 0 0 3px rgba(245, 166, 35, .2); }
.dot.info { background: var(--teal-bright); box-shadow: 0 0 0 3px rgba(18, 196, 217, .2); }
.dot.off { background: transparent; border: 2px solid var(--on-dark-3); }
.tank { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.tank-body { position: relative; height: 176px; border-radius: 48px; overflow: hidden; border: 2px solid rgba(180, 200, 225, .35); background: linear-gradient(180deg, #e8742b 0%, #e39a3c 30%, #4aa6b9 70%, #1f6f9a 100%); }
.tank-body::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 40%, rgba(0, 0, 0, .18)); }
.probes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.probes li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-dark); font-size: 13px; color: var(--on-dark-2); }
.probes b { white-space: nowrap; font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- install ---------- */
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.illus { position: relative; margin: 0; max-width: 560px; }
.illus img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.illus .badge {
  position: absolute; left: 22px; bottom: -22px; padding: 12px 16px; border-radius: 14px; background: var(--navy-800); color: #fff;
  font-size: 13px; line-height: 1.3; box-shadow: var(--shadow);
}
.illus .badge b { display: block; font-size: 16px; }
.install-copy h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; margin-top: 18px; }
.install-copy > p { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.callout {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--card);
  border-left: 4px solid var(--orange); box-shadow: 0 14px 30px -20px rgba(8, 16, 28, .3);
}
.callout strong { display: block; font-size: 18px; }
.callout span { display: block; margin-top: 6px; color: var(--ink-3); font-size: 16px; }
.trades { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.trades li { display: flex; gap: 12px; align-items: flex-start; }
.trades svg { width: 22px; height: 22px; color: var(--alert); flex: none; margin-top: 2px; }
.trades b { display: block; font-size: 16px; }
.trades span { font-size: 15px; color: var(--ink-3); }

.controls { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.controls li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(8, 16, 28, .45); border: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-3); line-height: 1.4; }
.controls b { display: block; color: var(--on-dark); font-size: 14px; font-weight: 600; }
.switch { position: relative; flex: none; width: 40px; height: 22px; border-radius: 999px; background: rgba(150, 180, 215, .25); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch.on { background: linear-gradient(95deg, var(--teal), var(--green)); }
.switch.on::after { transform: translateX(18px); }
.tag-prog { flex: none; font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: #ffe1b3; background: rgba(245, 166, 35, .16); border: 1px solid rgba(245, 166, 35, .35); }

.tailored {
  margin-top: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: var(--on-dark);
  background: radial-gradient(70% 120% at 100% 0%, rgba(18, 196, 217, .22), transparent 60%), var(--navy-800);
}
.tailored .eyebrow { color: var(--teal-bright); }
.tailored h3 { margin-top: 14px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; }
.tailored-copy p { margin-top: 14px; color: var(--on-dark-2); font-size: 17px; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.roles li { padding: 16px 18px; border-radius: 14px; background: rgba(8, 16, 28, .45); border: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 15px; }
.roles b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
@media (max-width: 900px) { .tailored { grid-template-columns: 1fr; } }

/* ---------- sectors and uses ---------- */
.certs { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.segments { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.segment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); }
.segment-res { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: center; background: linear-gradient(160deg, #eef7f8, #f4f6f9 60%); }
.seg-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.segment h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }
.seg-lead { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.seg-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.seg-list li { position: relative; padding-left: 22px; color: var(--ink-3); font-size: 15px; }
.seg-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--teal), var(--green)); }
.seg-list b { color: var(--ink); font-weight: 600; }
.phone { margin: 0; justify-self: center; width: 250px; padding: 12px; border-radius: 38px; background: var(--navy-950); box-shadow: var(--shadow), inset 0 0 0 2px #26364f; }
.phone-screen { border-radius: 28px; padding: 22px 14px 16px; background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); color: var(--on-dark); }
.ph-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--on-dark-2); }
.ph-kwh { font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ph-kwh small { font-size: 12px; color: var(--on-dark-2); font-weight: 600; }
.ph-legend { display: flex; gap: 12px; margin: 10px 0 6px; font-size: 11px; color: var(--on-dark-2); }
.ph-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ph-legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.phone svg { width: 100%; height: auto; }
.phone .ph-lbl text { font-size: 10px; fill: var(--on-dark-2); font-family: var(--font); }
.b-v { fill: #0ea5b8; background: #0ea5b8; }
.b-l { fill: #8a7fd6; background: #8a7fd6; }
.b-p { fill: #d07c0c; background: #d07c0c; }
.ph-tip { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.4; color: var(--on-dark-2); background: rgba(138, 127, 214, .14); border: 1px solid rgba(138, 127, 214, .3); }
.ph-tip b { display: block; color: #fff; font-size: 12px; margin-bottom: 2px; }
.ph-tip.ph-ok { background: rgba(46, 196, 162, .12); border-color: rgba(46, 196, 162, .3); }
.phone .panel-foot { margin: 8px 6px 0; }
@media (max-width: 1080px) { .segments { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .segment-res { grid-template-columns: 1fr; } }
.uses { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); color: var(--on-dark-2); }
.uses li { padding: 22px 24px; font-size: 14px; border-right: 1px solid var(--line-dark); }
.uses li:last-child { border-right: 0; }
.uses b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 600; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--teal-text); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; color: var(--ink-2); max-width: 640px; }

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(46, 196, 162, .14), transparent 60%),
    radial-gradient(50% 60% at 100% 0%, rgba(18, 196, 217, .16), transparent 60%),
    var(--navy-900);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; margin-top: 18px; }
.contact-lead { margin-top: 20px; font-size: 19px; color: var(--on-dark-2); max-width: 480px; }
.contact-ways { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-ways li { display: flex; align-items: center; gap: 14px; }
.contact-ways .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(18, 196, 217, .12); color: var(--teal-bright); flex: none; }
.contact-ways .ico svg { width: 20px; height: 20px; }
.contact-ways small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-ways a, .contact-ways b { color: #fff; font-weight: 600; text-decoration: none; }
.form {
  padding: clamp(24px, 4vw, 38px); border-radius: var(--radius-lg);
  background: rgba(16, 27, 44, .75); border: 1px solid rgba(150, 180, 215, .2);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--on-dark-2); }
.field label .opt { color: var(--on-dark-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; font: inherit; font-size: 16px;
  color: #fff; background: rgba(8, 16, 28, .6); border: 1px solid rgba(150, 180, 215, .25);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(18, 196, 217, .25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--on-dark-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.consent a { color: var(--teal-bright); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #9be8cf; }
.form-status.err { color: #ffb4a8; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-3); font-size: 14px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.footer-grid img { height: 30px; width: auto; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--on-dark-2); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-co { width: 100%; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* ---------- legal pages ---------- */
.legal-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(18, 196, 217, .18), transparent 60%),
    var(--navy-900);
  padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
}
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.back-link:hover { color: #fff; }
.back-link svg { width: 18px; height: 18px; }
.legal-hero .wrap { max-width: 820px; }
.legal-hero h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: #fff; }
.legal-updated { margin-top: 12px; color: var(--on-dark-3); font-size: 15px; }
.prose { max-width: 820px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(64px, 9vw, 104px); color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--ink); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 28px; font-size: 19px; font-weight: 700; color: var(--ink); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: .9em; padding: 2px 6px; border-radius: 6px; background: #e7edf3; color: var(--ink); }
.prose a { color: var(--teal-text); text-underline-offset: 3px; }
.footer-legal a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .install-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .float-tag { left: 12px; bottom: -22px; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:last-child { display: none; }
  .trades { grid-template-columns: 1fr; }
  .tank { grid-template-columns: 80px 1fr; }
  .float-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::after { animation: none; }
  .btn, .card { transition: none; }
}
