/* Meterity site — light theme with dark "night" bands for diagrams and app UI.
   Brand: blue #1E3A8A · electric #2F6BFF · cyan #5AD1FF (dark bands only) · amber #FF8A4C (leak states only). */

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --line: #dce3ef;
  --line-strong: #c5d0e2;
  --ink: #0a1630;        /* headings          16.9:1 on white */
  --text: #2b3a55;       /* body              11.0:1 */
  --muted: #55667f;      /* secondary, labels  5.8:1 */
  --blue: #1e3a8a;
  --electric: #2f6bff;
  --link: #1d4ed8;       /*                    6.7:1 */
  --electric-ink: #2052e0; /* electric for small text on light, 5.6:1 */
  --ok: #0f7a52;
  --amber: #ff8a4c;
  --amber-ink: #a8400e;  /* amber text on light 5.6:1 */

  --night: #070c17;
  --night-2: #0c1424;
  --night-line: rgba(120,160,220,.16);
  --night-head: #f2f7ff;
  --night-text: #b6c6de; /*                    10.4:1 on --night */
  --night-muted: #8ea2c0;/*                     7.0:1 */
  --cyan: #5ad1ff;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-1: 0 1px 2px rgba(10,22,48,.06), 0 4px 14px rgba(10,22,48,.06);
  --shadow-2: 0 2px 6px rgba(10,22,48,.06), 0 18px 48px rgba(10,22,48,.12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 74px); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 19px; color: var(--text); margin-top: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--electric); border-radius: 2px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { color: #fff; background: linear-gradient(140deg, #2557e6, #1e3a8a); box-shadow: 0 10px 28px rgba(30,58,138,.32); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30,58,138,.4); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn-night { color: var(--night-head); background: transparent; border-color: rgba(182,198,222,.4); }
.btn-night:hover { color: #fff; border-color: var(--cyan); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(245,247,251,.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav .logo { display: block; flex: none; line-height: 0; }
.nav .logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--electric); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  display: grid; place-items: center; background: var(--surface);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary span, .nav-toggle summary span::before, .nav-toggle summary span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
}
.nav-toggle summary span::before { position: absolute; top: -6px; }
.nav-toggle summary span::after { position: absolute; top: 6px; }
.nav-toggle[open] summary span { background: transparent; }
.nav-toggle[open] summary span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[open] summary span::after { top: 0; transform: rotate(-45deg); }
.nav-drawer {
  position: absolute; left: 0; right: 0; top: 72px; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2); padding: 12px var(--gutter) 24px;
}
.nav-drawer a { display: block; padding: 14px 4px; color: var(--ink); font-size: 19px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-drawer .btn { margin-top: 18px; width: 100%; color: #fff; border: 0; font-size: 16px; }
.nav-links a { white-space: nowrap; }
/* (seven menu items since the 3D building page: below 1100 px they go into the drawer) */
@media (max-width: 1100px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(47,107,255,.14), transparent 60%),
    radial-gradient(40% 50% at 10% 0%, rgba(90,209,255,.16), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(30,58,138,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(30,58,138,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .accent { color: var(--electric-ink); }
.hero .lead { margin-top: 24px; max-width: 34em; }
.hero .btn-row { margin-top: 32px; }
.hero-chips { margin-top: 36px; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 28px; justify-content: start; }
.hero-chips li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--line-strong); }
.hero-chips b { font: 600 15px/1.2 var(--sans); color: var(--ink); }
.hero-chips span { font: 500 13px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-visual { position: relative; min-height: 460px; }
.hero-visual .halo {
  position: absolute; inset: 4% 10% 12% 6%; border-radius: 40px;
  background: linear-gradient(160deg, #ffffff, #e7eefb); border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.hero-visual .meter { position: absolute; left: -2%; top: 10%; width: 78%; filter: drop-shadow(0 30px 40px rgba(10,22,48,.22)); }
.hero-visual .phone { position: absolute; right: 2%; bottom: -4%; width: 34%; filter: drop-shadow(0 28px 36px rgba(10,22,48,.32)); }
.status-pill {
  position: absolute; left: 10%; bottom: 8%; display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-1);
  font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / .8; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-chips { grid-template-columns: repeat(2, auto); }
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(47,107,255,.12), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 15em; }
.page-hero .lead { margin-top: 22px; max-width: 40em; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .page-hero--split .wrap { grid-template-columns: 1fr; } }
.crumbs { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Night bands */
.night { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.night h2, .night h3 { color: var(--night-head); }
.night .eyebrow { color: var(--cyan); }
.night .eyebrow::before { background: var(--cyan); }
.night .section-head p, .night .lead { color: var(--night-text); }
.night a { color: var(--cyan); }
.night a:hover { color: #fff; }
.night .muted { color: var(--night-muted); }
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 80% 0%, rgba(47,107,255,.22), transparent 60%);
}
.night > .wrap { position: relative; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 12px;
}
.card h3 { margin-top: 2px; }
.card p { color: var(--text); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; }
.card-num { font: 500 13px/1 var(--mono); letter-spacing: .14em; color: var(--electric-ink); }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, #eef3ff, #dfe8fb); color: var(--blue); border: 1px solid #d4def3;
}
.icon svg { width: 24px; height: 24px; }
.night .card { background: rgba(12,20,36,.82); border-color: var(--night-line); box-shadow: none; }
.night .card p { color: var(--night-text); }
.night .icon { background: rgba(47,107,255,.16); border-color: rgba(90,209,255,.22); color: var(--cyan); }
.tag {
  display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: #e8efff; color: var(--blue);
  font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}

/* Problem: two-path comparison */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--surface); }
.path h3 { margin-bottom: 18px; }
.path .label { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.path li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.path li:first-child { border-top: 0; }
.path .x { color: #b42318; font-weight: 700; flex: none; width: 18px; }
.path.old li span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(180,35,24,.45); }
.path.new { background: linear-gradient(160deg, #1e3a8a, #16296a); border-color: #1e3a8a; color: #dbe6ff; }
.path.new h3, .path.new .label { color: #fff; }
.path.new .label { color: #a9c3ff; }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 22px; }
.chain div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 14px 12px; text-align: center; }
.chain b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.chain span { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a9c3ff; }
@media (max-width: 480px) { .chain { grid-template-columns: repeat(2, 1fr); } }
.callout {
  margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--electric); font-size: 21px; font-weight: 500; color: var(--ink); letter-spacing: -.01em;
}

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step .n { font: 500 13px/1 var(--mono); color: var(--electric-ink); letter-spacing: .12em; }
.step h3 { margin: 14px 0 8px; font-size: 19px; }
.step p { font-size: 16px; }
.step.done { background: #ecfdf3; border-color: #b7ebcd; }
.step.done .n { color: var(--ok); }
.big-num { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.big-num b { font: 600 clamp(40px, 6.2vw, 74px)/1 var(--sans); letter-spacing: -.04em; color: var(--blue); }
.big-num span { font-size: 17px; color: var(--text); max-width: 30em; }

/* Meters */
.meter-card { padding: 0; overflow: hidden; }
.meter-card .art { background: var(--night); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; position: relative; }
.meter-card .art img { width: 70%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.meter-card .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.meter-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 6px 0 0; font-size: 15px; }
.meter-card dt { font: 500 13px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meter-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.meter-card.featured { border-color: var(--electric); box-shadow: 0 0 0 1px var(--electric), var(--shadow-2); }

/* Diagram frame */
.diagram { border-radius: var(--radius-lg); }
.diagram-caption { margin-top: 14px; font: 500 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.night .diagram-caption { color: var(--night-muted); }
.takeaways { margin-top: 28px; }

/* Platform */
.screen {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--night-line); background: var(--night-2);
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.screen .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: #233150; display: block; }
.screen .bar span { margin-left: 10px; font: 500 13px/1 var(--mono); color: var(--night-muted); }
.platform-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
@media (max-width: 960px) { .platform-grid { grid-template-columns: 1fr; } }
.alert-card {
  border-radius: 20px; padding: 26px; background: linear-gradient(170deg, rgba(255,138,76,.14), rgba(255,138,76,.04));
  border: 1px solid rgba(255,138,76,.38); display: flex; flex-direction: column; gap: 14px;
}
.alert-card .k { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); display: flex; gap: 10px; align-items: center; }
.alert-card .k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,138,76,.2); animation: blink 1.6s infinite; }
.alert-card h3 { font-size: 21px; color: #fff; }
.alert-card p { color: var(--night-text); }
.alert-card .phone-mini { margin-top: 8px; align-self: center; width: 52%; max-width: 200px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--night-line); }
@media (max-width: 860px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--night-line); }
.feature-list h3 { font-size: 19px; margin-bottom: 6px; }
.feature-list p { font-size: 16px; }

/* Allocation chart */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.ticks li { display: flex; gap: 12px; padding: 10px 0; font-size: 17px; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: #e5edff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); font-size: 15px; color: var(--text); }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-2); }
.chart-card .k { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 22px; }
.bars li { display: grid; grid-template-columns: 92px 1fr 58px; gap: 14px; align-items: center; padding: 9px 0; font: 500 13px/1 var(--mono); color: var(--text); }
.bars .track { display: block; height: 14px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bars .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2f6bff, #1e3a8a); width: var(--w); transform-origin: left; }
.bars .leak .fill { background: linear-gradient(90deg, #ff8a4c, #e5632a); }
.bars .leak { color: var(--amber-ink); font-weight: 600; }
.bars .v { text-align: right; color: var(--ink); }
.chart-card .foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); font-weight: 500; }

/* Audience cards */
.aud-card .who { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--electric-ink); }
.aud-card blockquote { margin: 2px 0 0; font-size: 17px; font-style: italic; color: var(--muted); }

/* Spec table */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.spec-table caption { caption-side: top; text-align: left; background: var(--bg); font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th { width: 36%; font: 500 13px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tbody tr:nth-child(even) { background: #fafbfe; }
.spec-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 860px) { .spec-mini { grid-template-columns: repeat(2, 1fr); } }
.spec-mini div { background: var(--surface); padding: 20px; }
.spec-mini dt { font: 500 13px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spec-mini dd { margin: 8px 0 0; color: var(--ink); font-weight: 600; font-size: 17px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 24px; max-width: 70ch; }
.faq .answer p { font-size: 17px; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, #1e3a8a 0%, #142a6e 55%, #0b1a4d 100%); color: #dbe6ff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(90,209,255,.22), transparent); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d8fb; margin-top: 14px; font-size: 19px; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cta-band .btn-primary:hover { color: var(--blue); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Contact form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-2); }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.field label .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fbfcfe;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 4px rgba(47,107,255,.16); background: #fff; }
.field input[aria-invalid="true"] { border-color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-msg.err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.form-ok { text-align: center; padding: 24px 0; }
.form-ok .ok-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #ecfdf3; color: var(--ok); }

.form-ok p { margin-top: 12px; }
.contact-aside li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-aside li:first-child { border-top: 0; padding-top: 0; }
.contact-aside b { display: block; color: var(--ink); }

/* Footer */
.site-footer { background: var(--night); color: var(--night-text); padding: 64px 0 32px; margin-top: clamp(64px, 8vw, 110px); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer img { height: 28px; width: auto; }
.site-footer p { font-size: 15px; color: var(--night-text); margin-top: 16px; max-width: 30em; }
.site-footer h2 { font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 16px; }
.site-footer li { padding: 6px 0; }
.site-footer a { color: var(--night-head); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--night-muted); }

/* Reveal on scroll (JS adds .in; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .night { background: #fff; color: #000; }
}

.path.old li:first-child .x { color: var(--electric-ink); }
.alert-facts { margin: auto 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255,138,76,.28); }
.alert-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,138,76,.18); }
.alert-facts dt { font: 500 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.alert-facts dd { margin: 0; color: var(--night-head); font-weight: 500; }
.platform-grid { align-items: stretch; }
.hero-visual.solo-phone .phone { left: 50%; right: auto; top: 2%; bottom: auto; width: 46%; max-width: 270px; transform: translateX(-50%) rotate(-4deg); }
.hero-visual.solo-phone .halo { inset: 10% 12% 6% 12%; }
.hero-visual.solo-phone .status-pill { left: 8%; bottom: 14%; }

/* Sticky quote bar on phones */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10,22,48,.08);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { min-height: 48px; width: 100%; padding: 0 12px; }
  body { padding-bottom: 76px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
}

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof li { padding: 22px 20px; border-left: 1px solid var(--line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font: 600 21px/1.15 var(--sans); color: var(--ink); letter-spacing: -.02em; }
.proof span { display: block; margin-top: 6px; font: 500 13px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) {
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .proof li { padding: 16px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .proof li:nth-child(-n+2) { border-top: 0; }
  .proof li:nth-child(odd) { padding-left: 0; }
  .proof li:last-child { grid-column: 1 / -1; }
}

/* Segment directory */
.seg-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 960px) { .seg-groups { grid-template-columns: 1fr; } }
.seg-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-1); }
.seg-group.energy { background: linear-gradient(165deg, #ffffff, #f2f6ff); }
.seg-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.seg-group > p { color: var(--muted); font-size: 16px; }
.seg-list { margin-top: 16px; }
.seg-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.seg-list a:hover b { color: var(--blue); text-decoration: underline; }
.seg-list b { font-weight: 600; font-size: 17px; }
.seg-list span { grid-column: 1; color: var(--muted); font-size: 15px; }
.seg-list svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--link); }

/* Segment sections on hub pages */
.seg-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.seg-section:first-of-type { border-top: 0; }
@media (max-width: 860px) { .seg-section { grid-template-columns: 1fr; } }
.seg-section h2 { font-size: clamp(30px, 4.2vw, 50px); }
.seg-section .who-for { margin-top: 14px; color: var(--muted); font-size: 16px; }
.seg-section .ticks { margin-top: 4px; }
.seg-section .more { margin-top: 16px; display: inline-flex; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.reg-note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--surface-2); border-radius: 0 12px 12px 0; font-size: 16px; }
.services { counter-reset: sv; }
.services li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.services li::before { counter-increment: sv; content: counter(sv, decimal-leading-zero); font: 500 13px/1.9 var(--mono); letter-spacing: .14em; color: var(--electric-ink); }
.services h3 { margin-bottom: 6px; }
.utilities { border: 0; padding: 0; margin: 0; }
.utilities legend { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; padding: 0; }
.utilities legend .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.utilities .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.utilities .chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fbfcfe; font-size: 15px; color: var(--ink); cursor: pointer; }
.utilities .chips label:has(input:checked) { border-color: var(--electric); background: #eef3ff; color: var(--blue); }
.utilities input { accent-color: var(--blue); width: 16px; height: 16px; }

/* Grid children may shrink below their content width (prevents clipped text on phones) */
.hero .wrap > *, .page-hero--split .wrap > *, .split > *, .seg-section > *, .platform-grid > *, .seg-groups > *, .paths > * { min-width: 0; }
@media (max-width: 960px) {
  .hero .wrap, .page-hero--split .wrap, .split, .platform-grid, .seg-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) { .seg-section, .paths { grid-template-columns: minmax(0, 1fr); } }
.night .path.old h3 { color: var(--ink); }

/* Optional photography (rendered only when a photo file exists) */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 21 / 9; margin-bottom: clamp(28px, 4vw, 48px); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.card { aspect-ratio: 3 / 2; margin: -28px -28px 6px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
@media (max-width: 700px) { .photo.wide { aspect-ratio: 16 / 10; } }

/* Hero v3: text top / visual / actions, so phones see the product before the buttons */
.hero .wrap.hero-grid { grid-template-columns: 1.02fr .98fr; grid-template-areas: "top visual" "bottom visual"; row-gap: 0; align-items: end; }
.hero-top { grid-area: top; }
.hero-bottom { grid-area: bottom; align-self: start; }
.hero-grid .hero-visual { grid-area: visual; align-self: center; min-height: 540px; }
.hero-grid .hero-visual .meter { left: -8%; top: 4%; width: 92%; }
.hero-grid .hero-visual .phone { width: 30%; right: 0; bottom: 2%; }
.hero-grid .hero-visual .halo { inset: 12% 4% 8% 14%; }
.proof ul { grid-template-columns: repeat(6, 1fr); }
.ticks-night li { color: #dbe6ff; }
.ticks-night li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ad1ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
@media (max-width: 960px) {
  .hero .wrap.hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "visual" "bottom"; }
  .hero-grid .hero-visual { min-height: 0; aspect-ratio: 1 / .62; margin: 18px auto 6px; max-width: 520px; }
  .hero-grid .hero-visual .meter { left: 0; top: 0; width: 78%; }
  .hero-grid .hero-visual .phone { width: 28%; bottom: -2%; }
  .hero-grid .hero-visual .status-pill { display: none; }
  .hero-bottom .btn-row { margin-top: 18px; }
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .proof li:last-child { grid-column: auto; }
  .seg-list span { display: none; }
  .seg-list a { padding: 13px 0; }
}

/* Wave 4 */
.proof b { font: 600 clamp(30px, 3vw, 50px)/1 var(--sans); letter-spacing: -.035em; color: var(--blue); }
.proof span { font: 400 15px/1.35 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 8px; }
.proof li { padding: 28px 20px; }
@media (min-width: 961px) { .hero .wrap.hero-grid { grid-template-columns: 1.18fr .82fr; } }
.why-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.why-head .section-head { margin-bottom: 0; }
.why-head img { width: 100%; max-width: 380px; justify-self: end; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); transform: rotate(-6deg); }
@media (max-width: 860px) { .why-head { grid-template-columns: minmax(0, 1fr); } .why-head img { max-width: 260px; justify-self: center; } }
.after-platform { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 760px) { .hero-bottom .btn-row { display: none; } .hero-bottom .hero-chips { margin-top: 20px; } }

.hero-offer { margin-top: 14px; font-size: 15px; color: var(--muted); }
.hero-offer b { color: var(--ink); font-weight: 600; }
.iam { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.iam .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.iam .k { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.iam a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.iam a:hover { border-color: var(--blue); color: var(--blue); }
.iam a svg { width: 16px; height: 16px; color: var(--link); }
@media (max-width: 760px) { .iam .k { flex-basis: 100%; } }
.proof b { white-space: nowrap; font-size: clamp(28px, 2.7vw, 44px); }

/* Riser diagram animations */
@keyframes m-pipe { to { stroke-dashoffset: -80; } }
@keyframes m-link { to { stroke-dashoffset: -72; } }
@keyframes m-blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes m-signal { 0% { opacity: 0; transform: scale(.78); } 35% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes m-glow { 0%,100% { opacity: .45; } 50% { opacity: .9; } }
@keyframes m-lamp { 0%,100% { opacity: .85; } 47% { opacity: .6; } }
@keyframes m-drift-slow { 0%,100% { transform: translateX(0); } 50% { transform: translateX(10px); } }