/* Koralbit site · reef-controller flagship (category standard, Dec 2026).
   Deep-ocean sections for story moments, aqua-white sections for products and specs.
   Coral = action, aqua = live/OK, amber = warning. Motion: transform, opacity, clip-path only. */

:root {
  /* ocean */
  --abyss: #04172A;
  --deep: #05192C;
  --navy: #0A2740;
  --tide: #123A58;
  --rim: rgb(140 200 230 / .16);
  --foam: #EAF5F8;
  --mist: #A7C3D0;
  /* light */
  --shell: #F3F8FA;
  --card: #FFFFFF;
  --ink: #0A1C2B;
  --ink-2: #435869;
  --line: #D5E2E8;
  /* signals */
  --coral: #FF6F59;
  --coral-hi: #FF8370;
  --on-coral: #2A0D07;
  --coral-ink: #C2361C;
  --aqua: #2FD3C1;
  --aqua-ink: #0B786E;
  --amber: #F6B93B;
  --amber-ink: #8A5A00;
  /* type */
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-data: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --t-h1: clamp(2.6rem, 5.4vw, 4.9rem);
  --t-h2: clamp(2rem, 3.6vw, 3.25rem);
  --t-h3: 1.3rem;
  --t-lede: clamp(1.075rem, 1.35vw, 1.25rem);
  /* space */
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --sec: clamp(80px, 11vw, 148px);
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgb(10 28 43 / .06), 0 18px 40px -24px rgb(10 28 43 / .28);
  --shadow-dark: 0 30px 60px -30px rgb(0 0 0 / .7);
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--shell); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
p, li, dd, summary { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--on-coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .contact-form :focus-visible { outline-color: var(--ink); }
.mono { font-family: var(--f-data); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--coral); color: var(--on-coral); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
html { scrollbar-color: #2B5A78 var(--abyss); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- surfaces ---------- */
.dark { background: var(--deep); color: var(--foam); position: relative; isolation: isolate; }
.dark.deep { background: var(--abyss); }
.light { background: var(--shell); color: var(--ink); }
.light.alt { background: var(--card); }
section { padding-block: var(--sec); position: relative; }
.sec-head { display: grid; gap: var(--s4); max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-title { font-size: var(--t-h2); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.sec-lede { font-size: var(--t-lede); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.dark .sec-lede { color: var(--mist); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 220ms var(--ease), background-color 180ms, border-color 180ms, color 180ms, box-shadow 220ms var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn-coral { background: var(--coral); color: var(--on-coral); box-shadow: 0 10px 22px -12px rgb(0 0 0 / .55); }
.btn-coral:hover { background: var(--coral-hi); box-shadow: 0 14px 28px -12px rgb(0 0 0 / .6); }
.btn-ghost { border-color: rgb(234 245 248 / .32); color: var(--foam); background: transparent; }
.btn-ghost:hover { border-color: var(--foam); background: rgb(234 245 248 / .06); }
.light .btn-ghost { border-color: var(--line); color: var(--ink); }
.light .btn-ghost:hover { border-color: var(--ink); background: rgb(10 28 43 / .03); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--rim); background: transparent; color: var(--foam); cursor: pointer; transition: background-color 160ms, border-color 160ms; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgb(234 245 248 / .08); }
.motion-btn[aria-pressed="true"] { color: var(--aqua); border-color: rgb(47 211 193 / .45); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--foam); transition: background-color 260ms, box-shadow 260ms, backdrop-filter 260ms; }
.nav.solid { background: rgb(3 17 31 / .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--rim); }
.nav-in { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.0625rem/1 var(--f-display); letter-spacing: .14em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--mist); transition: color 160ms, background-color 160ms; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--foam); background: rgb(234 245 248 / .07); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--rim); border-radius: 999px; padding: 3px; }
.lang button { min-width: 36px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--mist); font: 600 .75rem/1 var(--f-data); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--foam); color: var(--abyss); }
.menu-btn { display: none; }
.menu-tools { display: none; }
.menu-tools .btn svg { width: 20px; height: 20px; }
.menu-tools .motion-toggle[aria-pressed="true"] { color: var(--aqua); border-color: rgb(47 211 193 / .45); }
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 72px 0 auto; margin: 0; flex-direction: column; gap: 0; padding: 12px max(20px, env(safe-area-inset-left, 0px)) 20px; background: var(--abyss); box-shadow: 0 30px 50px -20px #000; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms, transform 260ms var(--ease), visibility 0s 260ms; }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms, transform 260ms var(--ease); }
  .nav-links a { padding: 14px 8px; font-size: 1.0625rem; border-radius: 8px; }
  .menu-btn { display: inline-grid; }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 1080px) { .menu-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--rim); } .menu-tools .btn:hover svg { transform: none; } }
@media (max-width: 560px) { .nav-tools .lang, .nav-tools .motion-btn { display: none; } .nav-in { gap: 10px; } }
@media (max-width: 360px) { .brand span { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 120px 72px; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 40%, rgb(30 120 160 / .28), transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgb(18 163 154 / .16), transparent 60%),
    linear-gradient(180deg, #041A2E 0%, var(--deep) 55%, #041526 100%); }
.caustics { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; pointer-events: none; mix-blend-mode: screen; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--t-h1); font-weight: 700; line-height: 1.0; letter-spacing: -.035em; }
.hero-lede { margin-top: var(--s5); font-size: var(--t-lede); color: var(--mist); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: var(--s7); color: var(--mist); font-size: .9375rem; }
.hero-facts b { color: var(--foam); font-weight: 500; margin-right: 4px; }
.hero-facts li { padding-left: 14px; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.hero-shot { position: relative; margin: 0; }
.hero-shot img { position: relative; width: 100%; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.pool { position: absolute; inset: 12% 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(80 190 220 / .34), rgb(30 110 150 / .14) 55%, transparent 78%); filter: blur(6px); }
.readings { position: absolute; inset: 0; pointer-events: none; }
.rd { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px;
  background: rgb(5 25 44 / .72); border: 1px solid var(--rim); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-dark); min-width: 128px; }
.rd i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgb(47 211 193 / .16); grid-row: span 2; }
.rd span { font-size: .75rem; color: var(--mist); }
.rd b { font-size: 1.125rem; font-weight: 500; color: var(--foam); }
.rd-ph { left: 0; top: 14%; } .rd-t { right: 0; top: 6%; } .rd-orp { left: 4%; bottom: 14%; } .rd-bat { right: 2%; bottom: 22%; }
.sample-note { margin-top: var(--s3); text-align: center; font: 500 .8125rem/1.4 var(--f-body); color: var(--mist); }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-shot { max-width: 520px; margin-inline: auto; width: 100%; }
  .rd { min-width: 0; padding: 8px 10px; } .rd b { font-size: 1rem; }
}

/* ---------- benefits ---------- */
.benefits .sec-title { max-width: 18ch; margin-bottom: clamp(40px, 5vw, 64px); }
.ben-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ben { padding: var(--s6) var(--s5) 0 0; display: grid; align-content: start; gap: var(--s3); }
.ben + .ben { padding-left: var(--s5); border-left: 1px solid var(--line); }
.ben-ico { width: 40px; height: 40px; color: var(--aqua-ink); margin-bottom: var(--s2); }
.ben h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.01em; }
.ben p { color: var(--ink-2); }
.ben .proof { margin-top: var(--s2); font-size: .8125rem; color: var(--ink); padding-top: var(--s3); border-top: 1px dashed var(--line); }
@media (max-width: 980px) { .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ben:nth-child(3) { border-left: 0; padding-left: 0; } .ben { padding-bottom: var(--s6); } .ben:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .ben-grid { grid-template-columns: 1fr; } .ben, .ben + .ben { border-left: 0; padding-left: 0; } .ben + .ben { border-top: 1px solid var(--line); } }

/* ---------- system line ---------- */
.system { background: linear-gradient(180deg, var(--deep), #062038 60%, var(--deep)); }
.line { position: relative; }
.line-svg { position: absolute; left: 12.5%; right: 12.5%; top: 0; width: 75%; height: 40px; overflow: visible; }
.line-track { stroke: var(--tide); stroke-width: 6; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.line-draw { stroke: var(--aqua); stroke-width: 6; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.line-pulse { stroke: #CFFFF8; stroke-width: 3; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2 98; opacity: 0; }
.motion .line-pulse { opacity: .9; animation: pulse 3.2s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.stations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); position: relative; }
.station { display: grid; justify-items: center; align-content: start; text-align: center; gap: var(--s3); }
.st-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--deep); border: 5px solid var(--aqua); margin-top: 9px; margin-bottom: var(--s4); box-shadow: 0 0 0 6px rgb(47 211 193 / .12); }
.st-shot { margin: 0; width: 100%; max-width: 250px; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(80 190 220 / .30), rgb(30 110 150 / .12) 58%, transparent 80%); }
.st-shot img { width: 100%; height: 100%; object-fit: cover; }
.station h3 { font-size: 1.375rem; font-weight: 600; margin-top: var(--s2); display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.station.lit .st-dot { background: var(--aqua); }
.station p { color: var(--mist); max-width: 26ch; font-size: .975rem; }
.line-spec { margin-top: var(--s7); text-align: center; color: var(--mist); font-size: .8125rem; }
.tag-dev { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font: 600 .6875rem/1 var(--f-body); letter-spacing: .04em; background: rgb(246 185 59 / .16); color: var(--amber); }
.light .tag-dev { background: #FCEFD3; color: var(--amber-ink); }
.installed { margin: clamp(56px, 7vw, 96px) 0 0; }
.installed img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-dark); }
.installed figcaption { margin-top: var(--s4); color: var(--mist); font-size: .9375rem; max-width: 70ch; }
@media (max-width: 820px) {
  .line-svg { display: none; }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s7); }
  .st-dot { display: none; }
}

/* ---------- HUB explode ---------- */
.inside { overflow: clip; background: radial-gradient(900px 600px at 30% 45%, rgb(30 110 150 / .22), transparent 65%), var(--abyss); }
.motion-offer { display: none; }
.sys-reduce .motion-offer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); color: var(--mist); margin-bottom: var(--s6); }
.explode { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.xstage-wrap { display: grid; justify-items: center; gap: var(--s4); }
.xstage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; }
.xstage .pool { inset: 18% 14% 10%; }
.xl { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.xl img { width: 100%; height: 100%; }
.xl-base, .xl-lid { filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); }
/* without motion the HUB is shown open: base dropped, board lifted, lid set aside */
.still .xl-base { transform: translate(-6.9%, 6.25%); }
.still .xl-board { transform: translate(-1%, -2%); }
.still .xl-lid { transform: translate(34%, -30%) rotate(4deg) scale(.75); }
.pins li { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: grid; place-items: center; border-radius: 50%;
  background: var(--coral); color: var(--on-coral); font: 700 .75rem/1 var(--f-data); box-shadow: 0 0 0 4px rgb(255 111 89 / .25), 0 6px 14px rgb(0 0 0 / .4);
  cursor: pointer; transition: transform 220ms var(--ease), box-shadow 220ms; }
.pins li.hot { transform: scale(1.35); box-shadow: 0 0 0 7px rgb(255 111 89 / .3), 0 6px 14px rgb(0 0 0 / .4); z-index: 2; }
.hub-hint { color: var(--mist); font-size: .9375rem; text-align: center; }
.callouts { display: grid; gap: 6px; counter-reset: c; }
.callouts li { counter-increment: c; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); cursor: pointer; border: 1px solid transparent; transition: background-color 180ms, border-color 180ms; }
.callouts li::before { content: counter(c); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 .75rem/1 var(--f-data); background: rgb(255 111 89 / .16); color: var(--coral); }
.callouts b { font: 600 1rem/1.3 var(--f-display); }
.callouts span { color: var(--mist); font-size: .9375rem; line-height: 1.45; }
.callouts li.hot { background: rgb(234 245 248 / .06); border-color: var(--rim); }
.callouts li.hot::before { background: var(--coral); color: var(--on-coral); }
.callouts li:focus-visible { outline-offset: 0; }
.ports-note { margin-top: var(--s7); color: var(--mist); font: 400 .8125rem/1.6 var(--f-data); max-width: 80ch; }
@media (max-width: 980px) { .explode { grid-template-columns: 1fr; } .xstage { max-width: 520px; } .hub-hint { display: none; } }

/* ---------- products ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.prod + .prod { margin-top: clamp(72px, 9vw, 128px); }
.prod.flip .prod-shot { order: 2; }
.prod-shot { margin: 0; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(47 211 193 / .26), rgb(47 211 193 / .09) 58%, transparent 80%); }
.prod-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.prod-shot:hover img { transform: scale(1.03); }
.motion .prod-shot img { transition: none; }
.prod h3 { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod-tag { margin-top: var(--s3); font-size: var(--t-lede); color: var(--ink-2); max-width: 40ch; }
.checks { display: grid; gap: var(--s3); margin-top: var(--s5); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgb(11 120 110 / .12); color: var(--aqua-ink); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }
.chip { padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .8125rem; }
.prod-spec { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9375rem; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #E3EDF1; margin-top: var(--s5); }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color 180ms, color 180ms, box-shadow 180ms; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgb(10 28 43 / .14); }
.seg-panel .checks { margin-top: var(--s4); }
@media (max-width: 860px) { .prod { grid-template-columns: 1fr; } .prod.flip .prod-shot { order: 0; } .prod-shot { max-width: 520px; } }

/* ---------- outage ---------- */
.outage { background: radial-gradient(1000px 500px at 80% 0%, rgb(255 111 89 / .07), transparent 60%), var(--abyss); }
.ob { border-radius: var(--r-lg); border: 1px solid var(--rim); background: linear-gradient(180deg, rgb(18 58 88 / .38), rgb(5 25 44 / .5)); padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow-dark); }
.ob-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); align-items: center; margin-bottom: var(--s6); }
.seg-dark { background: rgb(234 245 248 / .07); margin: 0; }
.seg-dark button { color: var(--mist); }
.seg-dark button[aria-pressed="true"] { background: var(--foam); color: var(--abyss); }
.ob-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); }
.ob-k { color: var(--mist); font-size: .875rem; display: flex; justify-content: space-between; gap: 8px; }
.ob-name { font: 600 1.5rem/1.2 var(--f-display); margin-top: 6px; transition: color 300ms; }
.ob-volt { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.1; margin-top: var(--s2); }
.ob-time { color: var(--mist); font-size: .875rem; margin-top: 4px; }
.ob-bat { margin-top: var(--s6); }
.ob-bat b { color: var(--foam); font-weight: 500; }
.ob-meter { height: 10px; border-radius: 999px; background: rgb(234 245 248 / .1); margin-top: 10px; overflow: hidden; }
.ob-meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), #7BE8DC); transform-origin: 0 50%; transition: transform 400ms var(--ease); }
.ob[data-src="bat"] .ob-name { color: var(--amber); }
.ob-loads { display: grid; gap: 8px; align-content: start; }
.ob-loads li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: rgb(234 245 248 / .04); border: 1px solid var(--rim); font-size: .9375rem; transition: opacity 300ms, border-color 300ms; }
.ob-loads i { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgb(47 211 193 / .14); transition: background-color 300ms, box-shadow 300ms; }
.ob-loads .st { font: 500 .8125rem/1.2 var(--f-data); color: var(--mist); text-align: right; }
.ob-loads li.bat i { background: var(--amber); box-shadow: 0 0 0 4px rgb(246 185 59 / .16); }
.ob-loads li.bat .st { color: var(--amber); }
.ob-loads li.off { opacity: .72; }
.ob-loads li.off span { text-decoration: line-through; text-decoration-color: rgb(167 195 208 / .5); }
.ob-loads li.off i { background: transparent; box-shadow: inset 0 0 0 2px var(--mist); }
.ob-steps { display: grid; gap: var(--s4); align-content: start; }
.ob-steps li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; color: var(--mist); opacity: .72; transition: opacity 300ms, color 300ms; font-size: .9375rem; }
.ob-steps li b { color: var(--foam); font-size: .8125rem; font-weight: 500; padding-top: 2px; }
.ob-steps li.on { opacity: 1; color: var(--foam); }
.ob-note { margin-top: var(--s5); color: var(--mist); font-size: .8125rem; }
@media (max-width: 1000px) { .ob-grid { grid-template-columns: 1fr 1fr; } .ob-steps { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ob-grid { grid-template-columns: 1fr; } }

.bench { margin-top: var(--s7); border-radius: var(--r-lg); border: 1px solid var(--rim); }
.bench summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) clamp(18px, 3vw, 32px); min-height: 64px; }
.bench summary::-webkit-details-marker { display: none; }
.bench-title { font: 600 1.25rem/1.3 var(--f-display); }
.bench-plus { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--rim); position: relative; }
.bench-plus::before, .bench-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--foam); border-radius: 2px; transition: transform 260ms var(--ease); }
.bench-plus::after { transform: rotate(90deg); }
.bench[open] .bench-plus::after { transform: rotate(0); }
.bench-lede { padding: 0 clamp(18px, 3vw, 32px); color: var(--mist); max-width: 70ch; }
#simulacion { padding: var(--s5) clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px); }
.simwrap { --font-display: var(--f-display); --font-body: var(--f-body); --font-mono: var(--f-data);
  color-scheme: dark;
  --bg: #04121F; --panel: #0A2238; --ink: #DCEFF4; --muted: #93B3C1; --line: #1E425E;
  --copper: #FF6F59; --copper-soft: rgb(255 111 89 / .16);
  --ok: #2FD3C1; --ok-bg: rgb(47 211 193 / .14); --warn: #F6B93B; --warn-bg: rgb(246 185 59 / .14);
  --hold: #93B3C1; --hold-bg: rgb(147 179 193 / .12); --todo: #FF8A78; --todo-bg: rgb(255 138 120 / .14);
  --hub: #62DED2; --dose: #9EC9FF; --power: #DCEFF4; --ups: #FF8A78; --haz: #F6B93B;
  background: var(--bg); color: var(--ink); box-shadow: none; border-radius: var(--r); }
.simwrap .sim button { border-radius: 8px; }
.simwrap .sim-tile span, .simwrap .sim table.st th, .simwrap .vf { font-size: 12px; }
.simwrap .sim-flow text, .simwrap .sim-flow .ns, .simwrap .sim-flow .ew { font-size: 12px; }
.simwrap .sim-chip { position: relative; border-left-width: 1px; padding-left: 24px; }
.simwrap .sim-chip::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); background: var(--line); }
.simwrap .sim-chip.s1::before, .simwrap .sim-chip.s7::before { background: var(--ok); }
.simwrap .sim-chip.s2::before, .simwrap .sim-chip.s3::before { background: var(--hold); }
.simwrap .sim-chip.s4::before, .simwrap .sim-chip.s6::before { background: var(--warn); }
.simwrap .sim-chip.s5::before { background: var(--todo); }
.simwrap .sim-chip.s0 { opacity: 1; color: var(--muted); }
.simwrap .simp-box summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }

/* ---------- software (deep navy: the product's own page, seen at night) ---------- */
.software { background: radial-gradient(800px 600px at 75% 50%, rgb(30 120 160 / .22), transparent 65%), var(--deep); }
.software .sw-list svg { background: rgb(47 211 193 / .12); color: var(--aqua); }
.software .sw-list p { color: var(--mist); }
.software .phone { box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 0 0 2px #2C4A62, 0 0 0 1px var(--rim); }
.software .dark-note { color: var(--mist); }
.software .code { box-shadow: 0 0 0 1px var(--rim), var(--shadow-dark); }
.sw-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sw-copy .sec-lede { margin-top: var(--s4); }
.sw-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); margin-top: var(--s7); }
.sw-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.sw-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgb(11 120 110 / .1); color: var(--aqua-ink); }
.sw-list h3 { font-size: 1.0625rem; font-weight: 600; }
.sw-list p { color: var(--ink-2); font-size: .9375rem; margin-top: 4px; }
.sw-demo { display: grid; justify-items: center; gap: var(--s4); }
.phone { width: min(100%, 340px); border-radius: 40px; padding: 14px; background: #0B1722; box-shadow: 0 40px 80px -36px rgb(10 28 43 / .7), inset 0 0 0 2px #24384A; color: var(--foam); }
.ph-bar { margin: 4px auto 10px; width: fit-content; padding: 6px 14px; border-radius: 999px; background: #152635; font-size: .6875rem; color: var(--mist); }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #10283B; }
.ph-head svg { width: 26px; height: 26px; }
.ph-head b { font: 600 1rem/1 var(--f-display); }
.ph-ok { margin-left: auto; font-size: .6875rem; padding: 4px 8px; border-radius: 999px; background: rgb(47 211 193 / .16); color: var(--aqua); }
.ph-rows { margin-top: 10px; border-radius: 16px; background: #10283B; overflow: hidden; }
.ph-rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; font-size: .875rem; color: var(--mist); }
.ph-rows li + li { border-top: 1px solid rgb(140 200 230 / .1); }
.ph-rows b { color: var(--foam); font-weight: 500; font-size: .9375rem; }
.sw { width: 40px; height: 24px; border-radius: 999px; background: #2B4357; position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--foam); transition: transform 200ms var(--ease); }
.sw.on { background: var(--aqua-ink); }
.sw.on::after { transform: translateX(16px); }
.dark-note { color: var(--ink-2); }
.code { margin: var(--s3) 0 0; width: 100%; max-width: 460px; border-radius: var(--r); background: #0B1722; color: #CFE3EC; overflow: hidden; box-shadow: var(--shadow); }
.code-name { padding: 10px 16px; font-size: .75rem; color: var(--mist); border-bottom: 1px solid rgb(140 200 230 / .12); }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 .78rem/1.65 var(--f-data); }
.code .c { color: #7D97A6; } .code .k { color: #7BE8DC; } .code .s { color: #FFB4A6; }
@media (max-width: 960px) { .sw-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sw-list { grid-template-columns: 1fr; } }

/* ---------- compare ---------- */
.cmp-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font: 600 .875rem/1.2 var(--f-body); color: var(--ink-2); background: var(--shell); }
.cmp thead .cmp-kb { color: var(--ink); font: 700 1rem/1 var(--f-display); letter-spacing: .02em; }
.cmp thead .cmp-kb svg { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; margin-right: 8px; }
.cmp tbody th { font-weight: 600; width: 26%; }
.cmp td { color: var(--ink-2); width: 37%; }
.cmp td.yes { color: var(--ink); background: rgb(47 211 193 / .06); }
.cmp td.yes svg { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; margin-right: 8px; color: var(--aqua-ink); }
.honest { margin-top: var(--s6); display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s5); align-items: baseline; padding: var(--s5) var(--s6); border-radius: var(--r); background: #FDF5E4; }
.honest h3 { font-size: 1rem; font-weight: 600; color: var(--amber-ink); }
.honest p { color: var(--ink); }
@media (max-width: 700px) { .honest { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cmp-scroll { overflow: visible; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border: 0; padding: 0; }
  .cmp tbody th { font-size: 1.0625rem; margin-bottom: 10px; width: auto; }
  .cmp td { width: auto; }
  .cmp td { padding: 10px 12px; border-radius: var(--r-sm); }
  .cmp td + td { margin-top: 6px; }
  .cmp td::before { content: attr(data-label); display: block; font: 600 .75rem/1.3 var(--f-body); color: var(--ink-2); margin-bottom: 4px; }
  .cmp td:not(.yes) { background: var(--shell); }
}

/* ---------- making ---------- */
.design-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); margin-bottom: clamp(48px, 6vw, 80px); }
.design-pts li { display: grid; gap: 8px; padding-top: var(--s4); border-top: 2px solid var(--ink); }
.design-pts b { font-size: 1.5rem; font-weight: 500; }
.design-pts span { color: var(--ink-2); font-size: .9375rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.step figure { margin: 0 0 var(--s4); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #DDE5E9; }
.step img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-size: 1.125rem; font-weight: 600; }
.step p { color: var(--ink-2); font-size: .9375rem; margin-top: 6px; }
@media (max-width: 980px) { .design-pts, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .design-pts, .steps { grid-template-columns: 1fr; } }

/* ---------- specs ---------- */
.spec-box { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--shell); padding: clamp(16px, 3vw, 32px); }
.spec-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s5); }
.spec-tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer; transition: background-color 160ms, color 160ms, border-color 160ms; }
.spec-tabs button[aria-selected="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.spec-table { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; margin: 0; }
.spec-table dt, .spec-table dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.spec-table dt { font-weight: 600; padding-right: var(--s4); }
.spec-table dd { color: var(--ink-2); }
.spec-panel .tag-dev { margin-bottom: var(--s4); }
@media (max-width: 560px) { .spec-table { grid-template-columns: 1fr; } .spec-table dd { border-top: 0; padding-top: 0; } }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); 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 { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); padding: 20px 0; font: 600 1.0625rem/1.4 var(--f-body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; background: var(--aqua-ink); -webkit-mask: var(--plus) center / contain no-repeat; mask: var(--plus) center / contain no-repeat; transition: transform 240ms var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } }

/* ---------- reserve (light close: the offers and the form on aqua-white) ---------- */
.reserve { background: radial-gradient(900px 500px at 50% 0%, rgb(47 211 193 / .10), transparent 65%), var(--shell); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.offer h3 { font-size: 1.5rem; font-weight: 700; }
.offer > p { color: var(--ink-2); }
.offer ul { display: grid; gap: 8px; margin: var(--s2) 0 var(--s4); }
.offer li { position: relative; padding-left: 22px; font-size: .9375rem; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua-ink); }
.offer .price { margin-top: auto; font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.offer .btn { margin-top: var(--s3); }
.offer.feat { background: var(--deep); color: var(--foam); border-color: var(--deep); box-shadow: 0 30px 60px -30px rgb(5 25 44 / .6); }
.offer.feat > p { color: var(--mist); }
.offer.feat li::before { background: var(--aqua); }
.offer.feat .price { color: var(--foam); }
.offer.feat :focus-visible { outline-color: var(--coral); }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s6); }
.terms li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: .875rem; }
.channels dt { color: var(--ink-2); }
.contact-form { box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
.contact-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--s4); }
.channels { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: var(--s6) 0 0; }

.channels dd { margin: 0; }
.contact-form { display: grid; gap: var(--s4); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid #6F8794; background: var(--shell); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #5E6E77; opacity: 1; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aqua-ink); outline-offset: 0; border-color: transparent; background: var(--card); }
.field input[aria-invalid="true"] { border-color: var(--coral-ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--aqua-ink); flex: none; }
.form-msg { padding: 12px 14px; border-radius: var(--r-sm); background: #E4F6F3; color: var(--aqua-ink); font-weight: 600; }
.form-msg.err { background: #FCE6E2; color: var(--coral-ink); }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; max-width: 560px; } .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--abyss); padding-block: var(--s8) calc(var(--s7) + env(safe-area-inset-bottom, 0px)); color: var(--mist); }
.foot-in { display: grid; gap: var(--s4); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--rim); margin-bottom: var(--s3); }
.foot-row .brand { color: var(--foam); }
.foot details summary { cursor: pointer; padding: 10px 0; color: var(--foam); font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.foot details summary::-webkit-details-marker { display: none; }
.foot details summary::before { content: ""; width: 16px; height: 16px; background: var(--aqua); -webkit-mask: var(--plus) center / contain no-repeat; mask: var(--plus) center / contain no-repeat; transition: transform 240ms var(--ease); }
.foot details[open] summary::before { transform: rotate(45deg); }
.foot details ul, .foot details p { max-width: 75ch; font-size: .9375rem; }
.foot details ul { display: grid; gap: 6px; padding-bottom: var(--s4); }

