/* Elementor adapter (added for the WordPress build).
   On the live site Elementor's own base stylesheets are not loaded (the plugin removes them),
   and in the editor they sit in a lower cascade layer. The rules below clear anything left on
   Elementor's elements (images are left alone so their width and height attributes still apply), so the brand stylesheet that follows applies exactly as on the static site. */
:where(.e-con, .e-atomic-element, .e-heading-base, .e-paragraph-base, .e-button-base, .e-svg-base,
  .e-form-label-base, .e-form-input-base, .e-form-select-base, .e-form-checkbox-base, .e-form-textarea-base,
  .e-form-submit-button-base, .e-form-success-message-base, .e-form-error-message-base) { all: revert; }
:where(.e-heading-base, .e-paragraph-base) a { all: revert; }

/* Optima Energy launch page, built on the Optima Energy Design System.
   Layout: one column of glass panes over a soft brand-light field, under a
   full-width header bar. The brand gradient is reserved for the H1 and the
   primary buttons; everything else is ink, hairlines and small radii.
   The recalculation engine is the hero. */
:root {
  --navy: #000035;
  --cyan: #0693e3;
  --purple: #9b51e0;
  --magenta: #ff00ff;
  --green: #7bdcb5;
  --amber: #fcb900;

  --bg: #f7f7fb;
  --fg: #111111;
  --ink: #000035;
  --fg-muted: #555566;
  --line: rgba(17, 17, 60, 0.10);
  --line-strong: rgba(17, 17, 60, 0.18);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 1px 2px rgba(0, 0, 53, 0.06), 0 10px 24px -14px rgba(0, 0, 53, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --btn-shadow: 0 1px 2px rgba(0, 0, 53, 0.18), 0 6px 14px -6px rgba(0, 0, 53, 0.35);
  --header-bg: rgba(247, 247, 251, 0.82);
  --node-bg: #ffffff;
  --tile-bg: #000035;
  --orb-a: rgba(6, 147, 227, 0.20);
  --orb-b: rgba(155, 81, 224, 0.16);
  --orb-c: rgba(255, 0, 255, 0.12);
  --title-grad: linear-gradient(95deg, #0572b8 0%, #7a35c9 50%, #c400c4 100%);
  --btn-grad: linear-gradient(95deg, #0670b0 0%, #8a3fd6 52%, #c000c0 100%);
  --accent-ink: #0569a8;
  --c-port: #0569a8;
  --bur-bg: rgba(155, 81, 224, 0.12);
  --focus: #0569a8;
  --field-border: #8d8da3;
  --c-bur: #8a3fd6;
  --chip: rgba(6, 147, 227, 0.09);
  --ok: #1d7a52;
  --ok-bg: rgba(31, 138, 92, 0.12);
  --warn: #8a6200;
  --warn-bg: rgba(252, 185, 0, 0.20);
  --bad: #c13438;
  --bad-bg: rgba(193, 52, 56, 0.08);
  --field: rgba(255, 255, 255, 0.85);

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-xs: 4px;
  --r-btn: 8px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --head-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #03032a; --fg: #f2f2fa; --ink: #ffffff; --fg-muted: #b6b6cc; --line: rgba(255, 255, 255, 0.10); --line-strong: rgba(255, 255, 255, 0.20);
    --glass: rgba(255, 255, 255, 0.055); --glass-strong: rgba(20, 20, 70, 0.78); --glass-edge: rgba(255, 255, 255, 0.14);
    --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 16px 32px -18px rgba(0, 0, 0, 0.70), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.40), 0 6px 14px -6px rgba(0, 0, 0, 0.70);
    --header-bg: rgba(3, 3, 42, 0.80); --node-bg: #14144a; --tile-bg: rgba(255, 255, 255, 0.07);
    --orb-a: rgba(6, 147, 227, 0.30); --orb-b: rgba(155, 81, 224, 0.30); --orb-c: rgba(255, 0, 255, 0.20);
    --title-grad: linear-gradient(95deg, #3fb8ff 0%, #c48bff 52%, #ff6bff 100%);
    --accent-ink: #4dbdff; --c-port: #4dbdff; --c-bur: #c48bff; --chip: rgba(6, 147, 227, 0.16); --focus: #4dbdff; --field-border: #6e6e8c; --bur-bg: rgba(155, 81, 224, 0.20);
    --ok: #9ff0cf; --ok-bg: rgba(123, 220, 181, 0.16); --warn: #ffd25c; --warn-bg: rgba(252, 185, 0, 0.16); --bad: #ff7b80; --bad-bg: rgba(229, 72, 77, 0.14);
    --field: rgba(255, 255, 255, 0.06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #03032a; --fg: #f2f2fa; --ink: #ffffff; --fg-muted: #b6b6cc; --line: rgba(255, 255, 255, 0.10); --line-strong: rgba(255, 255, 255, 0.20);
  --glass: rgba(255, 255, 255, 0.055); --glass-strong: rgba(20, 20, 70, 0.78); --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 16px 32px -18px rgba(0, 0, 0, 0.70), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.40), 0 6px 14px -6px rgba(0, 0, 0, 0.70);
  --header-bg: rgba(3, 3, 42, 0.80); --node-bg: #14144a; --tile-bg: rgba(255, 255, 255, 0.07);
  --orb-a: rgba(6, 147, 227, 0.30); --orb-b: rgba(155, 81, 224, 0.30); --orb-c: rgba(255, 0, 255, 0.20);
  --title-grad: linear-gradient(95deg, #3fb8ff 0%, #c48bff 52%, #ff6bff 100%);
  --accent-ink: #4dbdff; --c-port: #4dbdff; --c-bur: #c48bff; --chip: rgba(6, 147, 227, 0.16); --focus: #4dbdff; --field-border: #6e6e8c; --bur-bg: rgba(155, 81, 224, 0.20);
  --ok: #9ff0cf; --ok-bg: rgba(123, 220, 181, 0.16); --warn: #ffd25c; --warn-bg: rgba(252, 185, 0, 0.16); --bad: #ff7b80; --bad-bg: rgba(229, 72, 77, 0.14);
  --field: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; caret-color: var(--cyan); }
::selection { background: rgba(6, 147, 227, 0.24); color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
[id] { scroll-margin-top: calc(var(--head-h) + 24px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Ambient light field behind every glass pane */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 8% 12%, var(--orb-a), transparent 70%),
    radial-gradient(38vw 38vw at 92% 28%, var(--orb-b), transparent 70%),
    radial-gradient(45vw 45vw at 70% 92%, var(--orb-c), transparent 70%),
    radial-gradient(35vw 35vw at 15% 80%, var(--orb-b), transparent 70%); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.grad { background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* background-clip:text paints only inside the line box; give descenders (g, y) room without shifting layout */
h1.grad { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--fg-muted); max-width: 60ch; }
.eyebrow { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: -8px; }
.lede.one-line { max-width: none; }
.muted { color: var(--fg-muted); }

.glass { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }

/* Buttons: squared, Optima gradient for the primary action only */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 22px; border-radius: var(--r-btn);
  color: #fff; background: var(--btn-grad); background-size: 140% 100%; background-position: 0 0;
  box-shadow: var(--btn-shadow); transition: background-position 320ms var(--ease), transform 120ms var(--ease); }
.btn:hover { background-position: 100% 0; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn.alt { background: var(--glass-strong); color: var(--fg); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.alt:hover { border-color: var(--fg-muted); }
.btn.small { padding: 11px 16px; font-size: 15px; }

/* Open letter announcement */
.letter-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; padding: 9px var(--gutter); background: #000035; color: #fff; font-size: 14px; text-decoration: none; text-align: center; }
.letter-bar .lb-tag { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-xs); background: rgba(255, 255, 255, 0.14); }
.letter-bar .lb-cta { font-family: var(--font-display); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: #8fd3ff; }
.letter-bar:hover .lb-cta { color: #fff; }
.letter-bar:focus-visible { outline-offset: -3px; }
@media (max-width: 560px) { .letter-bar .lb-text { display: none; } }
:root[data-theme="dark"] .letter-bar { background: rgba(255, 255, 255, 0.07); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter-bar { background: rgba(255, 255, 255, 0.07); border-bottom: 1px solid var(--line); } }

/* Header: full-width bar */
.top { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: var(--header-bg); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); transition: box-shadow 240ms var(--ease); }
.top.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.4); }
.bar { display: flex; align-items: stretch; gap: clamp(16px, 3vw, 40px); height: var(--head-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-dark { display: block; } :root:not([data-theme="light"]) .logo-light { display: none; } }
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .logo-light { display: none; }
.bar nav { display: flex; gap: 4px; margin-right: auto; }
.bar nav a { position: relative; display: flex; align-items: center; padding: 0 12px; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--fg-muted); white-space: nowrap; transition: color 150ms var(--ease); }
.bar nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--btn-grad); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); }
.bar nav a:hover, .bar nav a[aria-current="true"] { color: var(--fg); }
.bar nav a:hover::after, .bar nav a[aria-current="true"]::after { transform: scaleX(1); }
.bar nav a:focus-visible { outline-offset: -6px; }
.bar .actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { flex: none; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; cursor: pointer; border-radius: var(--r-btn);
  color: var(--fg); background: transparent; border: 1px solid var(--line-strong); transition: background 150ms var(--ease), border-color 150ms var(--ease); }
.icon-btn:hover { background: var(--chip); border-color: var(--fg-muted); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn svg[hidden] { display: none; }
.menu-btn { display: none; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.45); }
.mnav[hidden] { display: none; }
.mnav .wrap { display: grid; padding-block: 8px 16px; }
.mnav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--fg); }
.mnav a:last-child { border-bottom: 0; }
@media (max-width: 980px) { .bar nav { display: none; } .menu-btn { display: grid; } }
@media (max-width: 400px) { .bar .actions .btn.small { display: none; } }
@media (max-width: 520px) { :root { --head-h: 60px; } .bar { gap: 12px; } .brand img { height: 24px; } .bar .actions { gap: 8px; } .icon-btn { width: 40px; height: 40px; } .bar .btn.small { padding: 10px 13px; font-size: 14px; } }

section { padding-block: clamp(56px, 8vw, 104px); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.head.center { text-align: center; justify-items: center; margin-inline: auto; }

/* Hero */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 900px; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.hero .btns { margin-top: 4px; }
.engine { position: relative; width: 100vw; margin: clamp(28px, 4vw, 48px) 0 0 calc(50% - 50vw); height: clamp(440px, 34vw, 500px); }
.engine canvas { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.engine-stage { position: absolute; top: 0; bottom: 0; left: max(var(--gutter), calc(50% - var(--max) / 2 + var(--gutter))); right: max(var(--gutter), calc(50% - var(--max) / 2 + var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 56px); }
.eg-col { display: flex; flex-direction: column; min-width: 0; }
.eg-h { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg); }
.eg-body { margin-block: auto; }
.eg-in .eg-body, .eg-out .eg-body { margin-block: clamp(24px, 3vw, 44px) auto; }
.eg-core .eg-h { text-align: center; }
.eg-in ul, .eg-out ul, .eg-svc { list-style: none; margin: 0; padding: 0; }
.eg-in ul { display: grid; gap: 7px; justify-items: start; }
.eg-in li, .eg-svc li, .eg-out li { font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 1.3; border-radius: var(--r-sm);
  background: var(--glass-strong); border: 1px solid var(--glass-edge); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eg-in li { padding: 9px 12px; color: var(--fg); font-size: 14px; line-height: 18px; }
.eg-out li { line-height: 18px; }
.eg-core .eg-body { display: grid; justify-items: center; gap: 20px; }
.eg-svc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 340px; }
.eg-svc li { padding: 6px 10px; color: var(--ink); border-color: var(--line-strong); }
.eg-svc li.port { border-color: var(--c-port); color: var(--c-port); }
.eg-svc li.bur { border-color: var(--c-bur); color: var(--c-bur); }
.eg-out ul { display: grid; gap: 7px; }
.eg-out li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--fg); font-weight: 500; font-size: 14px; }
.eg-out li svg { flex: none; width: 15px; height: 15px; color: var(--warn); }
.eg-out li.hit { border-color: var(--warn); }
.eg-more { margin: 12px 0 0; font-size: 14px; color: var(--fg-muted); }
.result-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent-ink); text-decoration: none; }
.result-link b { color: var(--bad); font-size: 18px; letter-spacing: -0.01em; }
.result-link span { display: inline-flex; align-items: center; gap: 4px; }
.result-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.result-link svg { width: 15px; height: 15px; }
.cube { position: relative; width: clamp(110px, 10vw, 140px); aspect-ratio: 1; border-radius: 26%;
  background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(255,255,255,0.18)); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 24px 48px -12px rgba(0,0,53,0.28), inset 0 2px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-items: center; }
.cube::after { content: ""; position: absolute; inset: 8%; border-radius: 22%; border: 1px solid rgba(255,255,255,0.6); }
.cube img { width: 46%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 53, 0.25)); }
:root[data-theme="dark"] .cube { background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04)); border-color: rgba(255,255,255,0.28); box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cube { background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04)); border-color: rgba(255,255,255,0.28); box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35); } }
@media (max-width: 900px) {
  .engine { height: auto; }
  .engine-stage { position: relative; left: auto; right: auto; padding: 0 var(--gutter) 8px; grid-template-columns: 1fr; row-gap: 28px; }
  .eg-body { margin-block: 14px 0; }
  .eg-in ul { display: flex; flex-wrap: wrap; }
  .eg-core .eg-body { gap: 16px; }
  .eg-out ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-out li { font-size: 13px; padding: 8px 10px; }
}
@media (max-width: 420px) { .eg-out ul { grid-template-columns: 1fr; } }

/* Logos */
.logos { padding-block: 8px 24px; }
.logos .row { padding: 26px clamp(18px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(16px, 2vw, 26px); }
.logos .label { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--fg-muted); text-align: center; margin-bottom: 14px; }
.logo { display: block; flex: none; object-fit: contain; opacity: 0.7; transition: opacity 200ms var(--ease); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { filter: invert(1); } }
:root[data-theme="dark"] .logo { filter: invert(1); }
.logo:hover { opacity: 0.95; }
@media (max-width: 560px) { .logo { transform: scale(0.82); margin: -4px; } }

/* New from Optima: tabbed launch showcase */
.launch { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.launch-tabs { display: grid; gap: 8px; }
.launch-tab { display: grid; gap: 6px; justify-items: start; width: 100%; padding: 16px 18px; text-align: left; font: inherit; color: var(--fg); cursor: pointer;
  border-radius: var(--r-md); border: 1px solid transparent; background: transparent; transition: background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.launch-tab:hover { background: var(--glass); border-color: var(--line); }
.launch-tab[aria-selected="true"] { background: var(--glass-strong); border-color: var(--line-strong); box-shadow: var(--glass-shadow); }
.launch-tab b { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.launch-tab .hook { font-size: 14.5px; line-height: 1.45; color: var(--fg-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--r-xs); font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--accent-ink); background: var(--chip); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.now { color: var(--ok); background: var(--ok-bg); }
.chip.soon { color: var(--c-bur); background: var(--bur-bg); }
.launch-panel { overflow: hidden; padding: 0; }
.launch-panel[hidden] { display: none; }
.launch-visual { position: relative; aspect-ratio: 16 / 8.4; }
.launch-copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px clamp(24px, 4vw, 48px); padding: clamp(22px, 3vw, 36px); align-items: start; }
.launch-copy h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.launch-copy p { color: var(--fg-muted); margin-top: 12px; }
.launch-copy .btns { margin-top: 20px; }
.launch-points { list-style: none; margin: 0; padding: 0; display: grid; }
.launch-points li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 15.5px; line-height: 1.4; }
.launch-points li:last-child { border-bottom: 1px solid var(--line); }
.launch-points .tick { width: 24px; height: 24px; }
.launch-points .tick svg { width: 13px; height: 13px; }
/* mock-ups sit centred in the stage */
.launch .shotframe { top: 46%; left: 50%; right: auto; width: 76%; transform: translate(-50%, -50%); }
.launch .app { left: 8%; right: 8%; width: auto; top: 9%; bottom: 9%; }
.launch .tiers { left: 10%; right: 10%; width: auto; top: 50%; bottom: auto; transform: translateY(-50%); align-items: stretch; }
.launch .phone { left: 50%; right: auto; transform: translateX(-50%); top: 7%; bottom: 7%; }
@media (prefers-reduced-motion: no-preference) {
  .launch-panel.is-in .screen > * { animation: rise 600ms var(--ease) both; }
  .launch-panel.is-in .launch-copy > * { animation: rise 500ms var(--ease) 90ms both; }
  .launch-panel.is-in .launch-points li { animation: rise 450ms var(--ease) both; }
  .launch-panel.is-in .launch-points li:nth-child(2) { animation-delay: 160ms; }
  .launch-panel.is-in .launch-points li:nth-child(3) { animation-delay: 240ms; }
  .launch-panel.is-in .viewfinder::after { content: ""; position: absolute; left: 10%; right: 10%; height: 2px; background: #7bdcb5; animation: scan 1.6s var(--ease) 300ms both; }
  @keyframes rise { from { opacity: 0; translate: 0 14px; } }
  @keyframes scan { from { top: 20%; opacity: 1; } to { top: 80%; opacity: 0; } }
}
@media (max-width: 980px) {
  .launch { grid-template-columns: 1fr; }
  .launch-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-tab { padding: 12px 14px; }
  .launch-tab .hook { display: none; }
}
@media (max-width: 700px) {
  .launch-copy { grid-template-columns: 1fr; }
  .launch-visual { aspect-ratio: 4 / 3.6; }
  .launch .app tbody tr:nth-child(n+3) { display: none; }
  .launch .app .kpis.k4 { grid-template-columns: repeat(2, 1fr); }
  .launch .app td:nth-child(2), .launch .app th:nth-child(2) { display: none; }
  .launch .app td:nth-child(4), .launch .app th:nth-child(4) { display: table-cell; }
  .app .kpi span { font-size: 11.5px; }
  .launch .shotframe { width: 92%; }
  .launch .app, .launch .tiers { left: 12px; right: 12px; }
  .launch .phone { top: 6%; bottom: 6%; width: auto; aspect-ratio: 9 / 18.5; }
  .launch-tab b { font-size: 16px; }
}

/* Screen mockups inside slides */
.screen { position: absolute; inset: 0; background: linear-gradient(135deg, #0b0a3a, #000035 55%, #2a0b4a); color: #fff; font-size: 13px; overflow: hidden; }
.screen.bgimg { background-image: linear-gradient(120deg, rgba(0,0,53,0.65), rgba(0,0,53,0.25)), url(../assets/bg-swirls.jpg); background-size: cover; background-position: center; }
.app { position: absolute; top: 9%; right: 4%; width: 64%; bottom: 9%; border-radius: var(--r-md); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px rgba(0,0,0,0.35); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); font-family: var(--font-display); font-weight: 600; font-size: 12px; color: rgba(255,255,255,0.75); }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.app-bar span { margin-left: 8px; }
.app-bar em { margin-left: auto; font-style: normal; font-weight: 500; color: rgba(255,255,255,0.6); }
.app table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.app th { text-align: left; font-family: var(--font-display); font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; padding: 10px 16px; }
.app td { padding: 11px 16px; border-top: 1px solid rgba(255,255,255,0.08); white-space: nowrap; color: rgba(255,255,255,0.88); }
.tg { font-family: var(--font-display); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-xs); background: rgba(123,220,181,0.16); color: #9ff0cf; }
.tg.b { background: rgba(6,147,227,0.2); color: #8fd3ff; }
.tg.w { background: rgba(252,185,0,0.16); color: #ffd25c; }
.tg.m { background: rgba(255,0,255,0.16); color: #ff9cff; }
.app .kpis.k4 { grid-template-columns: repeat(4, 1fr); }
.app .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 4px; }
.app .kpi { padding: 12px; border-radius: var(--r-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.app .kpi b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.app .kpi span { font-size: 12px; color: rgba(255,255,255,0.65); }
.shotframe { position: absolute; top: 50%; right: 3%; width: 64%; transform: translateY(-50%); margin: 0; aspect-ratio: 1630 / 835; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 30px 70px rgba(0,0,0,0.45); background: #fff; }
.shotframe img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.phone { position: absolute; right: 12%; top: 7%; bottom: 7%; aspect-ratio: 9 / 18.5; border-radius: 34px; background: #05052a; border: 6px solid rgba(255,255,255,0.18); box-shadow: 0 30px 70px rgba(0,0,0,0.5); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.phone .ph-top { padding: 16px 14px 8px; font-family: var(--font-display); font-weight: 600; font-size: 12px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.8); }
.viewfinder { margin: 6px 12px; border-radius: 18px; background: radial-gradient(circle at 50% 45%, #2a2a55, #0b0b2a 70%); position: relative; display: grid; place-items: center; }
.viewfinder::before { content: ""; position: absolute; inset: 22% 10%; border: 2px solid #7bdcb5; border-radius: 12px; box-shadow: 0 0 0 999px rgba(0,0,0,0.25); }
.digits { position: relative; display: flex; gap: 3px; font-family: var(--font-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.digits span { background: #111; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; padding: 2px 4px; }
.digits span.r { background: #5a0f0f; }
.phone .ph-foot { padding: 10px 12px 16px; display: grid; gap: 8px; }
.phone .ph-foot .readout { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.75); }
.phone .ph-btn { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 11px; border-radius: 10px; background: linear-gradient(95deg, #0670b0, #8a3fd6, #c000c0); }
.tiers { position: absolute; right: 4%; top: 12%; bottom: 12%; width: 60%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.tier { border-radius: var(--r-md); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 18px; display: grid; align-content: start; gap: 6px; }
.tier.g { border-color: rgba(255,120,255,0.7); background: rgba(255,0,255,0.10); }
.tier b { font-family: var(--font-display); font-size: 15px; }
.tier strong { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.tier span { font-size: 12px; color: rgba(255,255,255,0.7); }
.tier em { font-style: normal; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.16); }
.illus { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 12px; color: rgba(255,255,255,0.6); }
@media (max-width: 760px) {
  .app, .tiers { left: 12px; right: 12px; width: auto; top: 64px; bottom: 250px; }
  .phone { left: 50%; right: auto; transform: translateX(-50%); top: 60px; bottom: 250px; width: min(62%, 220px); aspect-ratio: auto; border-radius: 26px; }
  .digits { font-size: 16px; } .phone .ph-foot .readout { font-size: 11px; }
  .tiers { gap: 8px; } .tier { padding: 12px; } .tier em { display: none; }
  .illus { display: none; }
  .shotframe { top: 64px; left: 12px; right: 12px; width: auto; transform: none; }
  .app td:nth-child(n+3), .app th:nth-child(n+3) { display: none; }
  .app .kpis { grid-template-columns: repeat(2, 1fr); } .app .kpi:nth-child(n+3) { display: none; }
  .app-bar em { display: none; }
}

/* Evidence */
.evidence { padding: 0; overflow: hidden; }
.ev-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 26px; border-bottom: 1px solid var(--line); }
.ev-head span { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.ev-head span:first-child { color: var(--fg); font-weight: 600; }
.ev-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ev { padding: 26px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--line); }
.ev:first-child { border-left: 0; }
.ev b { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.ev span { font-size: 15px; color: var(--fg-muted); line-height: 1.45; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev { border-left: 0; border-top: 1px solid var(--line); } .ev:nth-child(-n+2) { border-top: 0; } .ev:nth-child(even) { border-left: 1px solid var(--line); } .ev:last-child { grid-column: 1 / -1; border-left: 0; } }

/* Two-column helpers */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; align-content: start; }

.stat-call { padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.stat-call .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 8vw, 104px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.stat-call .big.grad { color: transparent; padding-bottom: 0.08em; }
.stat-call p { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; line-height: 1.4; }

/* Steps: a real sequence, drawn as a timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; row-gap: 4px; padding: 0 0 26px; align-items: start; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r-btn); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent-ink); background: var(--glass-strong); border: 1px solid var(--line-strong); }
.steps li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps b { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); padding-top: 7px; }
.steps span { color: var(--fg-muted); font-size: 16px; }

/* Ledger: each quarter's bill stands on the same foundation and adds to it */
.ledger { margin: 36px 0 0; }
.bills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bills li { display: grid; gap: 2px; align-content: start; padding: 12px 12px 14px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--glass-strong); }
.bills b { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.bills span { font-size: 13px; line-height: 1.35; color: var(--fg-muted); }
.bills span.ok { color: var(--ok); }
.bills span.warn { color: var(--warn); font-weight: 500; }
.bills li.now { border-color: var(--c-bur); }
.base { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.base i { height: 8px; background: var(--c-port); }
.base i:first-child { border-radius: 4px 0 0 4px; }
.base i:last-child { border-radius: 0 4px 4px 0; }
.base i.now { background: var(--c-bur); transform-origin: left; transition: transform 700ms var(--ease), opacity 300ms ease; }
.ledger.pending .base i.now { transform: scaleX(0.04); opacity: 0.5; }
.ledger figcaption { margin-top: 10px; font-size: 14px; color: var(--fg-muted); }
.ledger figcaption b { font-family: var(--font-display); font-weight: 600; color: var(--fg); margin-right: 4px; }
@media (max-width: 420px) { .bills { gap: 6px; } .base { gap: 6px; } .bills li { padding: 10px 8px 12px; } .bills b { font-size: 13px; } .bills span { font-size: 12px; } }

/* How it works + rebuild demo */
.how { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.how > * { min-width: 0; }
.how .head { margin-bottom: 32px; }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr; } }

.rebuild { padding: 0; overflow: hidden; position: sticky; top: calc(var(--head-h) + 24px); }
@media (max-width: 1000px) { .rebuild { position: static; } }
.rebuild-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.rebuild-head h3 { font-size: 18px; }
.rb-title { display: grid; gap: 4px; justify-items: start; }
.rb-title .chip { margin-bottom: 4px; }
.rb-act { display: grid; justify-items: end; gap: 8px; }
.rb-hint { font-size: 13px; line-height: 1.4; color: var(--fg-muted); max-width: 30ch; text-align: right; }
.rebuild-head .doc { font-size: 14px; color: var(--fg-muted); margin-top: 2px; }
.rebuild-head .doc b { color: var(--fg); font-weight: 500; }
.table-scroll { overflow-x: auto; }
table.rb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 500px; font-variant-numeric: tabular-nums; }
.rb th { text-align: right; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-muted); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.rb th:first-child, .rb td:first-child { text-align: left; }
.rb td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: right; transition: background 300ms var(--ease); }
.rb tbody tr:last-child td { border-bottom: 0; }
.rb .charge { font-family: var(--font-display); font-weight: 500; }
.rb .charge small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--fg-muted); }
.rb .col-exp, .rb .col-diff { position: relative; }
.rb .val { opacity: 0; transition: opacity 500ms ease; }
.is-rebuilt .rb tr.is-lit .val { opacity: 1; }
.rb .ph { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 13px; color: var(--fg-muted); }
.rb .mob { display: none; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.rb .mob .mv { display: none; color: var(--fg); font-weight: 500; }
.is-rebuilt .rb tr.is-lit .mob .mv { display: inline; }
.is-rebuilt .rb tr.is-lit .ph { display: none; }
.rb tr.matched.is-lit td { background: var(--ok-bg); }
.rb tr.flagged.is-lit td { background: var(--bad-bg); }
.rb .diff-val { color: var(--bad); font-weight: 600; }
.rb .tag { display: inline-block; margin-top: 6px; font-family: var(--font-display); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-xs); color: var(--bad); border: 1px solid var(--bad); }
.rb .tag[hidden] { display: none; }
.rb .val-ok { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.rb .val-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .is-rebuilt .rb tr.matched.is-lit .val-ok path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: tick 450ms ease forwards; }
  @keyframes tick { to { stroke-dashoffset: 0; } }
}
.rebuild-foot { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid var(--line); background: var(--chip); }
.rebuild-foot .cap { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.rebuild-foot .big { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.rebuild-foot .note { margin-left: auto; max-width: 34ch; text-align: right; font-size: 14px; color: var(--fg-muted); }
.rebuild-foot .note strong { color: var(--bad); }
@media (max-width: 640px) { .rb .mob { display: block; } table.rb { min-width: 0; } .rb th:nth-child(2), .rb td:nth-child(2), .rb th:nth-child(3), .rb td:nth-child(3) { display: none; } .rebuild-head .btn { width: 100%; } .rb-act { width: 100%; justify-items: stretch; } .rb-hint { text-align: left; max-width: none; } .rebuild-foot .note { margin-left: 0; text-align: left; } .rb td, .rb th { padding: 11px 14px; } }

/* What we check: categories */
.check-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.check-cats li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.check-cats li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.check-cats .tick { grid-row: span 2; margin-top: 2px; }
.check-cats b { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.check-cats span:not(.tick) { color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.tick svg { width: 15px; height: 15px; }
.utils { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--fg-muted); }
.utils b { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-right: 4px; }
@media (max-width: 760px) { .check-cats { grid-template-columns: 1fr; } .check-cats li:nth-last-child(2) { border-bottom: 0; } }

/* Why Optima */
.proof { list-style: none; margin: 0; padding: clamp(8px, 1.5vw, 16px) clamp(22px, 3vw, 36px); display: grid; }
.proof li { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.proof li:first-child { border-top: 0; }
.proof b { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.proof span { color: var(--fg-muted); font-size: 16px; }

/* Real Optii screens */
.real-screens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 28px; }
.rscreen { margin: 0; }
.rscreen img { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line-strong); box-shadow: 0 1px 2px rgba(0, 0, 53, 0.08), 0 12px 28px -18px rgba(0, 0, 53, 0.45); background: #fff; }
.rscreen figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
@media (max-width: 860px) { .real-screens { grid-template-columns: 1fr; } }


/* Platform screen */
.pscreen { margin: 0 0 28px; }
.pscreen .frame { position: relative; aspect-ratio: 16 / 5.1; border-radius: var(--r-md); overflow: hidden; }
.pscreen .app { left: 4%; right: 4%; width: auto; top: 10%; bottom: 10%; }
.pscreen figcaption { margin-top: 10px; font-size: 14px; color: var(--fg-muted); }
@media (max-width: 760px) {
  .pscreen .frame { aspect-ratio: 4 / 3.6; }
  .pscreen .app { left: 12px; right: 12px; top: 12px; bottom: 12px; }
  .pscreen .app td:nth-child(2), .pscreen .app th:nth-child(2) { display: none; }
  .pscreen .app td:nth-child(3), .pscreen .app th:nth-child(3) { display: table-cell; }
}

/* Platform and services */
.offer { display: grid; gap: 20px; }
.panel { padding: clamp(24px, 3.4vw, 40px); }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 24px; }
.panel-head > div { display: grid; gap: 8px; max-width: 62ch; }
.offer h3.group { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; }
.items { list-style: none; margin: 0; padding: 0; display: grid; column-gap: clamp(20px, 2.4vw, 32px); }
.items li { display: grid; gap: 12px; padding: 22px 0 4px; border-top: 1px solid var(--line); align-content: start; }
.items.cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.items.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items.cols2 li { grid-template-columns: 44px 1fr; gap: 16px; }
.items .ic { width: 44px; height: 44px; border-radius: var(--r-btn); background: var(--chip); color: var(--accent-ink); display: grid; place-items: center; }
.items .ic.port { color: var(--c-port); }
.items .ic.bur { color: var(--c-bur); background: var(--bur-bg); }
.items .ic svg { width: 22px; height: 22px; }
.items b { font-family: var(--font-display); font-weight: 600; font-size: 17px; display: block; color: var(--ink); margin-bottom: 4px; }
.items span { color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1060px) { .items.cols5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .panel { padding: 22px 18px; } .items.cols5, .items.cols2 { grid-template-columns: 1fr; } .items.cols5 li { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 18px; } .panel-head .btn { width: 100%; } }

/* The whole picture: Portfolio + Bureau, inside Managed services */
.whole { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.whole h4 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.whole > p { color: var(--fg-muted); max-width: 70ch; }
.whole .port-k { color: var(--c-port); font-weight: 500; }
.whole .bur-k { color: var(--c-bur); font-weight: 500; }
.flow { display: block; width: 100%; height: auto; margin-top: clamp(12px, 2vw, 24px); overflow: visible; }
.flow-tall { display: none; max-width: 400px; margin-inline: auto; }
@media (max-width: 820px) { .flow-wide { display: none; } .flow-tall { display: block; } }
.flow .node { fill: var(--node-bg); stroke: var(--line-strong); stroke-width: 1; }
.flow .rule { stroke: var(--line); stroke-width: 1; }
.flow .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; fill: var(--ink); }
.flow .s { font-family: var(--font-body); font-size: 14px; fill: var(--fg-muted); }
.flow .k { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.flow .lbl { font-family: var(--font-display); font-weight: 600; font-size: 13px; fill: var(--fg); }
.flow .port { fill: var(--c-port); }
.flow .bur { fill: var(--c-bur); }
.flow .track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.flow .wire { fill: none; stroke-width: 2; stroke-linecap: round; }
.flow .wire.port, .flow .arc.port { stroke: var(--c-port); fill: none; }
.flow .wire.bur, .flow .arc.bur { stroke: var(--c-bur); fill: none; }
.flow .ring { fill: none; stroke: var(--line); stroke-width: 8; }
.flow .arc { stroke-width: 8; }
.flow .pkt { stroke-width: 2; fill: #fff; }
.flow .pkt.port { stroke: var(--c-port); }
.flow .pkt.bur { stroke: var(--c-bur); }
.flow-tall .t { font-size: 18px; }
.flow-tall .s { font-size: 15px; }
.flow-tall .k, .flow-tall .lbl { font-size: 14px; }
.flow.static .pkts { display: none; }
/* Animated state: only applied by script, so the diagram reads complete without it */
.flow.anim .wire, .flow.anim .arc { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.flow.anim .pkts, .flow.anim .core, .flow.anim .done { opacity: 0; }
.flow.anim .core { transform: scale(0.8); transform-box: fill-box; transform-origin: center; }
.flow.anim.is-on .wire, .flow.anim.is-on .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) var(--d, 0ms); }
.flow.anim.is-on .arc { transition-duration: 1100ms; }
.flow.anim.is-on .pkts { opacity: 1; transition: opacity 600ms ease 900ms; }
.flow.anim.is-on .core { opacity: 1; transform: none; transition: opacity 500ms ease 2300ms, transform 700ms var(--ease) 2300ms; }
.flow.anim.is-on .done { opacity: 1; transition: opacity 500ms ease 2600ms; }

/* Who it's for */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sectors li { padding: 24px 18px; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.4; border-left: 1px solid var(--line); display: grid; justify-items: center; align-content: start; gap: 12px; }
.sic { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; color: var(--accent-ink); background: var(--chip); }
.sic svg { width: 24px; height: 24px; }
.sectors li:first-child { border-left: 0; }
@media (max-width: 760px) { .sectors { grid-template-columns: 1fr; } .sectors li { border-left: 0; border-top: 1px solid var(--line); text-align: left; grid-template-columns: 40px 1fr; align-items: center; justify-items: start; padding: 14px 20px; } .sic { width: 40px; height: 40px; } .sectors li:first-child { border-top: 0; } }
.partner { margin: 20px auto 0; padding: clamp(24px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; }
.partner > div { display: grid; gap: 10px; }
.partner h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; }
.partner p { max-width: 62ch; }
@media (max-width: 640px) { .partner { flex-direction: column; align-items: flex-start; padding: 20px; } }

/* Webinar */
.webinar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 3.5vw, 44px); }
.date { width: 132px; aspect-ratio: 1; border-radius: var(--r-md); background: var(--tile-bg); border: 1px solid var(--line-strong); color: #fff; display: grid; place-content: center; text-align: center; padding: 12px; }
.date b { font-family: var(--font-display); font-size: 52px; line-height: 1; letter-spacing: -0.04em; }
.date span { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8fd3ff; }
.date small { font-size: 13px; opacity: 0.85; margin-top: 6px; }
.webinar .stack { gap: 12px; }
.webinar h2 { font-size: clamp(26px, 2.8vw, 36px); }
.webinar .when { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.web-act { display: grid; gap: 12px; justify-items: start; align-self: center; }
.web-act .note { margin-top: -4px; }
.news-mini { width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); gap: 10px; }
.news-mini label { font-size: 14px; color: var(--fg-muted); }
.nm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.nm-row .btn { height: 52px; padding: 0 22px; font-size: 16px; }
@media (max-width: 420px) { .nm-row { grid-template-columns: 1fr; } .nm-row .btn { width: 100%; } }
@media (max-width: 980px) { .webinar { grid-template-columns: auto minmax(0, 1fr); } .webinar .web-act { grid-column: 1 / -1; } }
@media (max-width: 560px) { .webinar { grid-template-columns: 1fr; } .date { width: 108px; } .date b { font-size: 42px; } }

/* Forms */
form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.field label i { font-style: normal; color: var(--accent-ink); }
input, select { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--field); border: 1px solid var(--field-border); border-radius: var(--r-btn); padding: 13px 14px; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
input:hover, select:hover { border-color: var(--fg-muted); }
input:focus, select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.25); }
input::placeholder { color: var(--fg-muted); opacity: 1; }
input[aria-invalid="true"] { border-color: var(--bad); border-width: 2px; padding: 12px 13px; }
.field-err { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: var(--bad); }
.field-err svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.field-err[hidden] { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--fg-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--c-bur); }
.note { font-size: 14px; color: var(--fg-muted); }
.msg { padding: 14px 16px; border-radius: var(--r-btn); font-size: 15px; background: var(--ok-bg); color: var(--fg); }
.msg.err { background: var(--bad-bg); }

/* FAQ: ruled accordion */
.faq { max-width: 860px; margin: 0 auto; display: grid; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .pm { border-color: var(--fg-muted); }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: var(--r-btn); display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent-ink); transition: transform 240ms var(--ease), border-color 150ms var(--ease); }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--fg-muted); max-width: 68ch; }
.faq details p a, .note a { color: var(--accent-ink); text-underline-offset: 3px; }

/* Final CTA */
.cta { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }


footer { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); padding-block: 28px 40px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; color: var(--fg-muted); }
.foot img { height: 30px; width: auto; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; color: var(--fg); }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (hover: none), (max-width: 760px) { .glass, .eg-in li, .eg-svc li, .eg-out li, .tier, .app { -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (forced-colors: active) { .flow .arc, .flow .wire { forced-color-adjust: auto; } .btn { border: 1px solid ButtonText; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } html { scroll-behavior: auto; } }

/* Cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 460px; padding: 18px 20px; display: grid; gap: 12px;
  border-radius: var(--r-md); background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 15px; line-height: 1.5; color: var(--fg); }
.consent[hidden] { display: none; }
.consent b { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.consent p { margin: 0; color: var(--fg-muted); }
.consent a { color: var(--accent-ink); text-underline-offset: 3px; }
.consent .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-settings { padding: 0; border: 0; background: none; font: inherit; color: var(--fg); cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; text-underline-offset: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Elementor adapter: page wrappers and native form messages */
.elementor-location-header, .elementor-location-footer { display: contents; }
.e-form-success-message-base, .e-form-error-message-base { display: none; }
form.form-state-success .e-form-success-message-base, form.form-state-error .e-form-error-message-base { display: block; }
