/* Azimuth website — design system
   Brand: docs/BRAND.md in the Azimuth NOC project. Manrope 400/500, Ink / Sweep / Deep.
   Dark-first. Light mode follows the device unless the visitor picks one with the header toggle
   (stored as data-theme on <html>). ".band--alt" is the contrasting band: light paper inside the
   dark theme, a soft blue-grey inside the light theme. */

@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0B2239; --sweep: #378ADD; --deep: #042C53; --sweep-l: #85B7EB; --muted: #5A6B7B;
  --ok: #1D9E75; --warn: #BA7517; --crit: #C0392B;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px; --r: 12px; --r-lg: 20px;

  color-scheme: dark;
  --bg: #021729; --bg-deep: #042C53; --bg-foot: #01111F;
  --surface: #04203A; --surface-2: #062846;
  --overlay: rgba(3, 26, 48, .82);
  --head-bg: rgba(2, 23, 41, .72); --head-bg-solid: rgba(2, 23, 41, .92); --menu-bg: #05213C;
  --heading: #FFFFFF; --text: #EAF2FB; --text-2: #A9C0D6; --text-3: #7F98B1;
  --line: rgba(133, 183, 235, .16); --line-strong: rgba(133, 183, 235, .32); --hover: rgba(133, 183, 235, .08);
  --accent: #85B7EB; --accent-strong: #378ADD; --btn-hover: #4A9AEA;
  --glow: rgba(55, 138, 221, .22); --grid: rgba(133, 183, 235, .16); --ring: rgba(133, 183, 235, .07);
  --ok-t: #3CCB9C; --warn-t: #E7A447; --crit-t: #EC6A5C;
  --tag-soon-bg: rgba(186, 117, 23, .08); --tag-soon-bd: rgba(231, 164, 71, .4);
  --tag-live-bg: rgba(29, 158, 117, .08); --tag-live-bd: rgba(60, 203, 156, .35);
  --ico-line: #DCEAF8; --ico-fill: rgba(55, 138, 221, .18); --ico-accent: #85B7EB;
  --field-bg: #FFFFFF; --field-bd: #C3D3E3; --field-text: #0B2239;
  --shadow: 0 40px 100px -40px rgba(0, 0, 0, .75);
  --sea-from: #021729; --sea-to: #04345A;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F6F9FC; --bg-deep: #E6EEF6; --bg-foot: #EDF2F8; --surface: #FFFFFF; --surface-2: #F0F5FA;
    --overlay: rgba(255, 255, 255, .92); --head-bg: rgba(246, 249, 252, .78); --head-bg-solid: rgba(246, 249, 252, .94); --menu-bg: #FFFFFF;
    --heading: #0B2239; --text: #0B2239; --text-2: #3E5468; --text-3: #5A6B7B;
    --line: #DCE6F0; --line-strong: #C3D3E3; --hover: rgba(55, 138, 221, .08);
    --accent: #1E6FC0; --accent-strong: #378ADD; --btn-hover: #2A7BCF;
    --glow: rgba(55, 138, 221, .16); --grid: rgba(11, 34, 57, .07); --ring: rgba(11, 34, 57, .06);
    --ok-t: #127356; --warn-t: #8A5510; --crit-t: #A8301F;
    --tag-soon-bg: #FFF7EA; --tag-soon-bd: #EBCFA4; --tag-live-bg: #EEFAF5; --tag-live-bd: #BFE6D7;
    --ico-line: #0B2239; --ico-fill: rgba(55, 138, 221, .14); --ico-accent: #378ADD;
    --shadow: 0 40px 90px -40px rgba(11, 34, 57, .35);
    --sea-from: #EAF2FA; --sea-to: #CFE0F1;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F9FC; --bg-deep: #E6EEF6; --bg-foot: #EDF2F8; --surface: #FFFFFF; --surface-2: #F0F5FA;
  --overlay: rgba(255, 255, 255, .92); --head-bg: rgba(246, 249, 252, .78); --head-bg-solid: rgba(246, 249, 252, .94); --menu-bg: #FFFFFF;
  --heading: #0B2239; --text: #0B2239; --text-2: #3E5468; --text-3: #5A6B7B;
  --line: #DCE6F0; --line-strong: #C3D3E3; --hover: rgba(55, 138, 221, .08);
  --accent: #1E6FC0; --accent-strong: #378ADD; --btn-hover: #2A7BCF;
  --glow: rgba(55, 138, 221, .16); --grid: rgba(11, 34, 57, .07); --ring: rgba(11, 34, 57, .06);
  --ok-t: #127356; --warn-t: #8A5510; --crit-t: #A8301F;
  --tag-soon-bg: #FFF7EA; --tag-soon-bd: #EBCFA4; --tag-live-bg: #EEFAF5; --tag-live-bd: #BFE6D7;
  --ico-line: #0B2239; --ico-fill: rgba(55, 138, 221, .14); --ico-accent: #378ADD;
  --shadow: 0 40px 90px -40px rgba(11, 34, 57, .35);
  --sea-from: #EAF2FA; --sea-to: #CFE0F1;
}
/* alt band: paper inside the dark theme */
.band--alt {
  color-scheme: light;
  --bg: #F3F7FB; --surface: #FFFFFF; --surface-2: #FAFCFE;
  --heading: #0B2239; --text: #0B2239; --text-2: #3E5468; --text-3: #5A6B7B;
  --line: #D9E4EF; --line-strong: #B9CCDF; --hover: rgba(55, 138, 221, .06);
  --accent: #1E6FC0; --ok-t: #127356; --warn-t: #8A5510; --crit-t: #A8301F;
  --tag-soon-bg: #FFF7EA; --tag-soon-bd: #EBCFA4; --tag-live-bg: #EEFAF5; --tag-live-bd: #BFE6D7;
  --ico-line: #0B2239; --ico-fill: rgba(55, 138, 221, .14); --ico-accent: #378ADD;
  --shadow: 0 40px 90px -40px rgba(11, 34, 57, .3);
}
/* alt band: soft blue-grey inside the light theme */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .band--alt { --bg: #EBF1F8; --line: #D5E1EC; } }
:root[data-theme="light"] .band--alt { --bg: #EBF1F8; --line: #D5E1EC; }

/* theme-specific content (logos, screenshots) */
.t-light { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .t-light { display: block !important; }
  :root:not([data-theme="dark"]) .t-dark { display: none !important; }
}
:root[data-theme="light"] .t-light { display: block !important; }
:root[data-theme="light"] .t-dark { display: none !important; }
.band--alt .t-light { display: block !important; }
.band--alt .t-dark { display: none !important; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--heading); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sweep); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sweep); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-weight: 500; margin: 0; letter-spacing: -0.02em; color: var(--heading); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; line-height: 1.4; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-2); max-width: 38em; }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { position: relative; padding: clamp(64px, 8vw, 112px) 0; background: var(--bg); color: var(--text); }
.band--tight { padding: clamp(48px, 7vw, 88px) 0; }
.band--deep { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }
.band--edge-top { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--s, 20px); }
.head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.head > * + * { margin-top: 18px; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; } .split--rev > :first-child { order: 2; } .split--wide { grid-template-columns: .8fr 1.4fr; } .split--form { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

/* ---------------------------------------------------------------- buttons, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 .98rem/1 var(--sans); letter-spacing: -0.005em; background: var(--accent-strong); color: #fff; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--hover); border-color: var(--accent-strong); color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 500; letter-spacing: 0; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.tag--soon { color: var(--warn-t); border-color: var(--tag-soon-bd); background: var(--tag-soon-bg); }
.tag--live { color: var(--ok-t); border-color: var(--tag-live-bd); background: var(--tag-live-bg); }
.tag--live::before, .tag--soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------------------------------------------------------------- icons (duotone) */
.ico { width: 48px; height: 48px; flex: none; }
.ico--lg { width: 72px; height: 72px; }
.ico--xl { width: 112px; height: 112px; }
.ico--sm { width: 28px; height: 28px; }
.ico .l { fill: none; stroke: var(--ico-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { fill: var(--ico-fill); }
.ico .fl { fill: var(--ico-fill); stroke: var(--ico-line); stroke-width: 1.6; stroke-linejoin: round; }
.ico .a { fill: none; stroke: var(--ico-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .a2 { fill: none; stroke: var(--ico-accent); stroke-width: 1.4; stroke-linecap: round; opacity: .55; }
.ico .af { fill: var(--ico-accent); }
.ico .d { fill: var(--ico-line); }
.ico .ok { fill: #3CCB9C; }
.ico .wn { fill: #E7A447; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--head-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); background: var(--head-bg-solid); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; margin-left: -10px; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a, .nav button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--text-2); font: 500 .94rem/1 var(--sans); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav .is-open > button { color: var(--heading); background: var(--hover); }
.nav a[aria-current="page"], .nav button.is-current { color: var(--heading); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-strong); }
.nav .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav .is-open .chev { transform: rotate(180deg); }
.nav a.nav-cta { background: var(--accent-strong); color: #fff; padding: 0 20px; margin-left: 8px; min-height: 42px; }
.nav a.nav-cta:hover { background: var(--btn-hover); color: #fff; }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: min(720px, 90vw); padding: 14px; border-radius: var(--r-lg); background: var(--menu-bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: none; }
.has-menu.is-open .menu { display: grid; }
.menu--platform { grid-template-columns: 1fr 1fr; gap: 4px; }
.menu--solutions { width: 420px; grid-template-columns: 1fr; gap: 4px; }
.menu--features { width: min(860px, 94vw); grid-template-columns: repeat(3, 1fr); gap: 2px; }
.menu--features a { padding: 10px; gap: 12px; align-items: center; }
.menu--features a .ico { width: 30px; height: 30px; }
.menu--features a strong { font-size: .9rem; }
.menu--features a span { font-size: .78rem; margin-top: 1px; }
/* bridge the gap between the button and the panel so the mouse can travel across */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu a { height: auto; display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: var(--r); white-space: normal; }
.menu a .ico { width: 36px; height: 36px; }
.menu a strong { display: block; font-weight: 500; color: var(--heading); font-size: .95rem; line-height: 1.3; }
.menu a span { display: block; color: var(--text-3); font-size: .84rem; line-height: 1.45; margin-top: 3px; font-weight: 400; }
.menu a:hover { background: var(--hover); }
.menu .menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-3); }
.menu .menu-foot a { display: inline; padding: 0; color: var(--accent); height: auto; }
.menu .menu-foot a:hover { background: none; color: var(--heading); }
.theme-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); cursor: pointer; }
.theme-btn:hover { color: var(--heading); border-color: var(--accent-strong); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme-btn .sun { display: block; } :root:not([data-theme="dark"]) .theme-btn .moon { display: none; } }
.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--heading); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } }
.drawer { position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px; display: none; border-top: 1px solid var(--line); }
.drawer.is-open { display: block; }
.drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 1.05rem; }
.drawer .sub a { padding-left: 20px; font-size: .96rem; color: var(--text-2); font-weight: 400; }
.drawer .btn { margin-top: 24px; width: 100%; color: #fff; }
@media (min-width: 1100px) { .drawer { display: none !important; } }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 78% 40%, var(--glow), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; } }
.hero-copy > * + * { margin-top: 26px; }
.hero-copy h1 { max-width: 11.5em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 10px; color: var(--text-3); font-size: .9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--ok-t); }

.scope { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scope-hud { position: absolute; inset: 0; pointer-events: none; }
.hud { position: absolute; min-width: 168px; padding: 10px 12px; border-radius: 10px; background: var(--overlay); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .78rem; line-height: 1.45; box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .45); transition: border-color .4s; }
.hud b { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--heading); font-size: .86rem; margin-bottom: 4px; }
.hud b i { width: 8px; height: 8px; border-radius: 50%; background: #3CCB9C; box-shadow: 0 0 0 3px rgba(60, 203, 156, .18); }
.hud.is-warn b i { background: #E7A447; box-shadow: 0 0 0 3px rgba(231, 164, 71, .2); }
.hud.is-warn { border-color: rgba(231, 164, 71, .55); }
.hud dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 1px 14px; }
.hud dt { color: var(--text-3); }
.hud dd { margin: 0; color: var(--text); text-align: right; font-family: var(--mono); font-size: .74rem; }
.hud-lead { position: absolute; height: 1px; background: linear-gradient(90deg, var(--accent-strong), transparent); transform-origin: 0 50%; opacity: .7; }
@media (max-width: 560px) { .hud { min-width: 0; font-size: .7rem; padding: 8px 10px; } .hud dl { display: none; } }

/* two products under the hero */
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .products { grid-template-columns: 1fr 1fr; } }
.product { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 56px 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.product > div { min-width: 0; }
.product:hover { border-color: var(--accent-strong); color: var(--text); transform: translateY(-2px); }
.product h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product p { color: var(--text-2); font-size: .94rem; margin-top: 4px; }
.product .go { position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--text-3); }
.product:hover .go { color: var(--accent); }

/* ---------------------------------------------------------------- Detect / Diagnose / Resolve */
.ddr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ddr { grid-template-columns: repeat(3, 1fr); } }
.ddr-step { position: relative; padding: 36px 0 8px; }
@media (min-width: 900px) { .ddr-step { padding: 40px 36px 8px 0; } .ddr-step + .ddr-step { padding-left: 36px; border-left: 1px solid var(--line); } }
@media (max-width: 899px) { .ddr-step + .ddr-step { border-top: 1px solid var(--line); } }
.ddr-step .num { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.ddr-step h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 10px 0 14px; letter-spacing: -0.025em; }
.ddr-step p { color: var(--text-2); }
.ddr-step ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ddr-step li { display: flex; gap: 10px; color: var(--text-2); font-size: .94rem; }
.ddr-step li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.ddr-arc { position: absolute; top: -1px; left: 0; height: 2px; background: var(--sweep); }
.ddr-step:nth-child(1) .ddr-arc { width: 34%; }
.ddr-step:nth-child(2) .ddr-arc { width: 58%; opacity: .78; }
.ddr-step:nth-child(3) .ddr-arc { width: 83%; opacity: .55; }
@media (min-width: 900px) { .ddr-step + .ddr-step .ddr-arc { left: 36px; } }

/* ---------------------------------------------------------------- domain list */
.domains { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.dom { display: flex; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); color: inherit; }
.dom > div { min-width: 0; }
@media (min-width: 720px) { .domains { grid-template-columns: 1fr 1fr; } .domains .dom:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; } .domains .dom:nth-child(even) { padding-left: 32px; } }
@media (min-width: 1100px) { .domains { grid-template-columns: repeat(3, 1fr); } .domains .dom { border-right: 1px solid var(--line); padding: 30px 28px !important; } .domains .dom:nth-child(3n+1) { padding-left: 0 !important; } .domains .dom:nth-child(3n) { border-right: 0; padding-right: 0 !important; } }
.dom .ico { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
a.dom:hover .ico { transform: rotate(-4deg) scale(1.06); }
a.dom:hover h3 { color: var(--accent); }
.dom h3 { transition: color .2s; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dom p { color: var(--text-2); margin-top: 8px; font-size: .95rem; }

/* ---------------------------------------------------------------- real UI screenshots */
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.shot-bar span { margin-left: 10px; font-family: var(--mono); font-size: .7rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; }
.shot--phone { border-radius: 30px; border: 6px solid #0B1A2B; outline: 1px solid var(--line-strong); max-width: 280px; }
.showcase { position: relative; padding-bottom: 6%; }
.showcase .shot--phone { position: absolute; right: -1%; bottom: -4%; width: 21%; min-width: 140px; }
@media (max-width: 760px) { .showcase { padding-bottom: 0; } .showcase .shot--phone { display: none; } }
.caption-row { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .caption-row { grid-template-columns: repeat(3, 1fr); } }
.caption-row div { padding-left: 16px; border-left: 2px solid var(--line-strong); }
.caption-row b { display: block; font-weight: 500; color: var(--heading); margin-bottom: 4px; }
.caption-row p { color: var(--text-2); font-size: .92rem; }
.duo { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo figcaption, .shot-cap { margin-top: 14px; color: var(--text-2); font-size: .92rem; }
.duo figcaption b, .shot-cap b { color: var(--heading); font-weight: 500; }

/* ---------------------------------------------------------------- mesh diagram */
.mesh { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(80% 80% at 50% 50%, var(--glow), transparent 70%), var(--surface); overflow: hidden; }
.mesh svg { width: 100%; height: auto; }
.mesh .flow { stroke-dasharray: 2 10; animation: flow 1.6s linear infinite; }
.mesh .lbl { fill: var(--text-2); font-family: var(--sans); font-size: 14px; }
.mesh .lbl-h { fill: var(--heading); font-family: var(--sans); font-size: 14px; font-weight: 500; }
.mesh .lbl-m { fill: var(--text-3); font-family: var(--mono); font-size: 11px; }
.mesh .node { fill: var(--surface-2); }
.mesh .ringl { fill: none; stroke: var(--accent-strong); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.facts { display: grid; gap: 22px; margin-top: 32px; }
.facts > div { display: flex; gap: 16px; }
.facts h4 { margin-bottom: 4px; }
.facts p { color: var(--text-2); font-size: .95rem; }

/* ---------------------------------------------------------------- sea band */
.sea { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sea-from) 0%, var(--sea-to) 100%); }
.sea-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea .wrap { position: relative; }

/* ---------------------------------------------------------------- Edge */
.edge-band { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.edge-band::before { content: ""; position: absolute; z-index: -1; left: 30%; top: 50%; width: 1400px; height: 1400px; translate: -50% -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 80px, var(--ring) 80px 81px), radial-gradient(closest-side, var(--glow), transparent);
  mask-image: radial-gradient(closest-side, #000 25%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent); }
.edge-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
.edge-grid > * { min-width: 0; }
@media (min-width: 1000px) { .edge-grid { grid-template-columns: 1.1fr 1fr; } }
.edge-art { position: relative; display: grid; place-items: center; }
.edge-art svg { width: 100%; max-width: 640px; height: auto; }
.edge-art .led { animation: blink 2.4s infinite; }
.edge-art .led.b { animation-delay: .8s; }
.edge-art .led.c { animation-delay: 1.6s; }
.edge-art .e-top { fill: #0D4373; } .edge-art .e-front { fill: #05284A; } .edge-art .e-side { fill: #031D36; }
.edge-art .e-edge { stroke: #85B7EB; stroke-opacity: .45; fill: none; }
.edge-art .e-port { fill: #021426; stroke: #85B7EB; stroke-opacity: .35; }
.edge-art .e-wave { stroke: var(--accent-strong); fill: none; stroke-linecap: round; }
.edge-art .e-glow { fill: var(--glow); }
.edge-art .e-cable { stroke: var(--accent-strong); fill: none; stroke-linecap: round; }
@keyframes blink { 0%, 70%, 100% { opacity: 1; } 80% { opacity: .25; } }
.edge-sees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 28px; }
@media (min-width: 560px) { .edge-sees { grid-template-columns: repeat(3, 1fr); } }
.edge-sees div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); font-size: .92rem; color: var(--text-2); min-width: 0; }
.edge-sees .ico { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- CTA (always deep navy) */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 80px); background: linear-gradient(135deg, #0A3A68 0%, #042C53 55%, #03203D 100%); border: 1px solid rgba(133, 183, 235, .32); isolation: isolate;
  color-scheme: dark; --heading: #FFFFFF; --text-2: #C2D4E6; --line-strong: rgba(133, 183, 235, .4); --hover: rgba(133, 183, 235, .1); --accent-strong: #378ADD; --btn-hover: #4A9AEA; }
.cta::after { content: ""; position: absolute; z-index: -1; right: -120px; top: 50%; translate: 0 -50%; width: 620px; height: 620px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(133, 183, 235, .14) 58px 59px); mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.cta h2 { max-width: 15em; }
.cta p { color: var(--text-2); margin-top: 16px; max-width: 36em; }
.cta .btn-row { margin-top: 32px; }

/* ---------------------------------------------------------------- inner page hero */
.phero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--bg); }
.phero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -40%; width: 1200px; height: 1200px; translate: -10% 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 90px, var(--ring) 90px 91px), radial-gradient(closest-side, var(--glow), transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.phero .wrap > * + * { margin-top: 22px; }
.phero h1 { max-width: 14em; font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.phero .ico--xl { margin-bottom: 8px; }
.crumb { font-size: .86rem; color: var(--text-3); }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--heading); }

/* ---------------------------------------------------------------- feature list */
.flist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .flist { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.flist-one .flist { grid-template-columns: 1fr; }
.flist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.flist li svg { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-strong); }
.flist h4 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.flist p { color: var(--text-2); font-size: .95rem; margin-top: 4px; }

/* ---------------------------------------------------------------- platform compass */
.compass { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto; }
.compass svg.dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.compass .c-line { stroke: var(--accent-strong); fill: none; }
.compass .c-glow { fill: var(--glow); }
.compass .node { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; width: 120px; text-align: center; color: var(--text-2); font-size: .82rem; line-height: 1.25; }
.compass .node .ico { width: 52px; height: 52px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); transition: border-color .2s, transform .3s; }
.compass .node:hover { color: var(--heading); }
.compass .node:hover .ico { border-color: var(--accent-strong); transform: translateY(-2px); }
.compass .center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 26%; }
.compass-sweep { transform-origin: 50px 50px; transform-box: view-box; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .compass .node { width: 84px; font-size: .7rem; } .compass .node .ico { width: 40px; height: 40px; padding: 6px; border-radius: 12px; } }

/* ---------------------------------------------------------------- features page */
.fx-tools { position: sticky; top: 72px; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 0; border-bottom: 1px solid var(--line); }
.fx-tools .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fx-search { position: relative; flex: 1 1 280px; max-width: 420px; }
.fx-search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.fx-search input { width: 100%; height: 46px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--field-bd); background: var(--field-bg); font: 400 1rem var(--sans); color: var(--field-text); }
.fx-search input:focus { outline: none; border-color: var(--sweep); box-shadow: 0 0 0 3px rgba(55, 138, 221, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font: 500 .85rem var(--sans); color: var(--text-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:hover { border-color: var(--sweep); }
.fx-group { padding-top: 56px; }
.fx-group > header { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.fx-group > header p { color: var(--text-2); font-size: .95rem; margin-top: 2px; }
.fx-table { width: 100%; border-collapse: collapse; }
.fx-table td { padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.fx-table td:first-child { width: 32%; padding-right: 24px; font-weight: 500; color: var(--heading); }
.fx-table td:last-child { width: 1%; padding-left: 16px; text-align: right; }
.fx-table td p { color: var(--text-2); }
@media (max-width: 720px) {
  .fx-table, .fx-table tbody, .fx-table tr, .fx-table td { display: block; width: auto !important; }
  .fx-table tr { border-top: 1px solid var(--line); padding: 14px 0; }
  .fx-table td { border: 0; padding: 0; text-align: left !important; }
  .fx-table td:last-child { padding: 8px 0 0; }
}
.fx-empty { padding: 60px 0; text-align: center; color: var(--text-2); display: none; }
.fx-count { color: var(--text-3); font-size: .88rem; margin-left: auto; }
mark { background: rgba(55, 138, 221, .22); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------------------------------------------------------------- problem / answer pairs */
.pairs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pair { display: grid; grid-template-columns: 1fr; background: var(--surface); }
@media (min-width: 820px) { .pair { grid-template-columns: 1fr 1.3fr; } }
.pair > div { padding: 26px 28px; min-width: 0; }
.pair .q { color: var(--text-2); background: var(--surface-2); }
.pair b { display: block; color: var(--heading); font-weight: 500; margin-bottom: 4px; }
.pair .a { display: flex; gap: 16px; }
.pair .a p { color: var(--text-2); }
@media (min-width: 820px) { .pair .a { border-left: 1px solid var(--line); } }

/* ---------------------------------------------------------------- pricing */
.price-classes { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; background: var(--line); gap: 1px; }
@media (min-width: 760px) { .price-classes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .price-classes { grid-template-columns: repeat(4, 1fr); } }
.pclass { background: var(--surface); padding: 28px 24px; display: grid; gap: 14px; align-content: start; }
.pclass h3 { font-size: 1.15rem; }
.pclass p { color: var(--text-2); font-size: .92rem; }
.pclass .per { font-family: var(--mono); font-size: .78rem; color: var(--accent); }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 12px; color: var(--text-2); }
.rules li svg { width: 22px; height: 22px; flex: none; color: var(--accent-strong); }
.rules b { color: var(--heading); font-weight: 500; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 500; font-size: .92rem; color: var(--heading); }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--field-bd); background: var(--field-bg); font: 400 1rem/1.4 var(--sans); color: var(--field-text); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B2239' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sweep); box-shadow: 0 0 0 3px rgba(55, 138, 221, .18); }
.field [aria-invalid="true"] { border-color: var(--crit); }
.field .err { color: var(--crit-t); font-size: .84rem; display: none; }
.field [aria-invalid="true"] ~ .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sweep); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; display: none; font-size: .95rem; }
.form-status.is-ok { display: block; background: #EEFAF5; color: #0F5E46; border: 1px solid #BFE6D7; }
.form-status.is-err { display: block; background: #FDF1EF; color: #8E2A20; border: 1px solid #F1C7C1; }
.contact-side { display: grid; gap: 28px; align-content: start; }
.contact-side h3 { margin-bottom: 6px; font-size: 1.1rem; }
.contact-side p { color: var(--text-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--heading); font-weight: 500; }

/* ---------------------------------------------------------------- about */
.group-brands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .group-brands { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.group-brands li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.group-brands b { color: var(--heading); font-weight: 500; display: block; }
.group-brands span { color: var(--text-2); font-size: .94rem; }
.group-brands li.is-self b { color: var(--accent); }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg-foot); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand img { height: 64px; width: auto; margin-left: -12px; }
.foot-brand p { color: var(--text-3); font-size: .9rem; margin-top: 14px; max-width: 22em; }
.site-foot h4 { font-size: .86rem; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot ul a { color: var(--text-3); font-size: .9rem; }
.site-foot ul a:hover { color: var(--heading); }
.foot-base { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .84rem; }
.ilabs { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.ilabs svg { width: 20px; height: 20px; color: var(--accent-strong); }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; transform: translateY(10px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > *:nth-child(4) { animation-delay: .36s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost .big { font-family: var(--mono); font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); line-height: 1; letter-spacing: -0.04em; }

/* ================================================================ interactive sections */
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; gap: 8px; }
.btn--sm svg { width: 14px; height: 14px; }

/* incident replay under the hero */
.incident { margin-top: clamp(20px, 3vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.incident-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.incident-head b { display: block; color: var(--heading); font-weight: 500; }
.incident-head .small { color: var(--text-3); }
.incident-log { list-style: none; margin: 0; padding: 8px 20px 14px; display: grid; gap: 0; min-height: 64px; }
@media (min-width: 900px) { .incident-log { grid-template-columns: repeat(5, 1fr); gap: 0 16px; padding: 14px 20px 18px; } .incident-log li.idle { grid-column: 1 / -1; } }
.incident-log li { padding: 10px 0; font-size: .86rem; color: var(--text-2); border-bottom: 1px solid var(--line); animation: logIn .35s cubic-bezier(.2, .7, .2, 1) both; min-width: 0; }
@media (min-width: 900px) { .incident-log li { border-bottom: 0; border-top: 2px solid var(--line-strong); padding: 12px 0 0; } }
.incident-log li:last-child { border-bottom: 0; }
.incident-log li.idle { color: var(--text-3); animation: none; border: 0; }
.incident-log li b { display: block; font-weight: 500; color: var(--heading); font-size: .88rem; margin-bottom: 2px; }
.incident-log li .step { display: block; font-family: var(--mono); font-size: .7rem; color: var(--text-3); margin-bottom: 4px; }
.incident-log li.crit { border-top-color: #EC6A5C; } .incident-log li.crit .step { color: var(--crit-t); }
.incident-log li.warn { border-top-color: #E7A447; } .incident-log li.warn .step { color: var(--warn-t); }
.incident-log li.info { border-top-color: var(--accent-strong); } .incident-log li.info .step { color: var(--accent); }
.incident-log li.ok { border-top-color: #3CCB9C; } .incident-log li.ok .step { color: var(--ok-t); }
.incident-log .sla { font-family: var(--mono); color: var(--heading); }
.incident-log .prog { display: block; height: 3px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.incident-log .prog i { display: block; height: 100%; width: 0; background: var(--accent-strong); transition: width 2.4s linear; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.hud.is-crit { border-color: rgba(236, 106, 92, .7); }
.hud.is-crit b i { background: #EC6A5C; box-shadow: 0 0 0 3px rgba(236, 106, 92, .22); }

/* build your estate */
.estate { display: grid; gap: clamp(24px, 4vw, 40px); grid-template-columns: 1fr; align-items: start; }
.estate > * { min-width: 0; }
@media (min-width: 1000px) { .estate { grid-template-columns: 1fr .9fr 1fr; align-items: center; } }
.est-controls { display: grid; gap: 18px; }
.est-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.est-row label { font-size: .94rem; color: var(--text); }
.est-row output { font-family: var(--mono); font-size: .9rem; color: var(--heading); }
.est-row input { grid-column: 1 / -1; width: 100%; accent-color: var(--accent-strong); height: 24px; }
.est-radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 380px; margin: 0 auto; }
.est-radar canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.est-count { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; color: var(--text-3); font-size: .86rem; }
.est-count b { font-family: var(--mono); font-weight: 500; font-size: 1.4rem; color: var(--heading); display: block; line-height: 1.1; }
.est-summary { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); }
.est-summary h3 { font-size: 1.1rem; }
.est-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.est-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text-2); }
.est-summary li span:last-child { font-family: var(--mono); color: var(--heading); }
.est-summary .btn { justify-self: start; }

/* 3D globe */
.globe-band { overflow: hidden; }
.globe-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: center; }
.globe-grid > * { min-width: 0; }
@media (min-width: 1000px) { .globe-grid { grid-template-columns: .8fr 1.2fr; } }
.globe3d { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin: 0 auto; cursor: grab; touch-action: pan-y; }
.globe3d:active { cursor: grabbing; }
.globe3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe3d::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); }
.globe-tip { position: absolute; z-index: 2; pointer-events: none; min-width: 180px; padding: 10px 12px; border-radius: 10px; background: var(--overlay); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .8rem; color: var(--text-2); box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .45); transform: translate(14px, -50%); }
.globe-tip b { display: flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 500; font-size: .88rem; margin-bottom: 2px; }
.globe-tip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.globe-hint { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; font-size: .78rem; color: var(--text-3); pointer-events: none; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.legend .ok, .globe-tip .ok { background: #3CCB9C; } .legend .warn, .globe-tip .warn { background: #E7A447; } .legend .maint, .globe-tip .maint { background: #A98BF0; } .legend .ship, .globe-tip .ship { background: #85B7EB; } .globe-tip .crit { background: #EC6A5C; }

/* time scrubber */
.scrub { display: grid; gap: 20px; grid-template-columns: 1fr; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); padding: clamp(16px, 3vw, 28px); }
.scrub > * { min-width: 0; }
@media (min-width: 960px) { .scrub { grid-template-columns: 1.3fr 1fr; } .scrub-bar { grid-column: 1 / -1; } }
.scrub-map svg { width: 100%; height: auto; }
.sc-link { stroke: #3CCB9C; stroke-width: 2; stroke-opacity: .7; transition: stroke .3s; }
.sc-link.warn { stroke: #E7A447; stroke-dasharray: 5 5; }
.sc-link.flap { stroke: #E7A447; stroke-dasharray: 2 6; animation: flapdash .6s linear infinite; }
.sc-link.maint { stroke: #A98BF0; stroke-opacity: .5; }
@keyframes flapdash { to { stroke-dashoffset: -16; } }
.sc-dot { fill: #3CCB9C; transition: fill .3s; }
.sc-halo { fill: #3CCB9C; opacity: .15; transition: fill .3s; }
.sc-node.warn .sc-dot, .sc-node.flap .sc-dot { fill: #E7A447; } .sc-node.warn .sc-halo, .sc-node.flap .sc-halo { fill: #E7A447; opacity: .25; }
.sc-node.flap .sc-halo { animation: pulseo 1s ease-in-out infinite; }
.sc-node.maint .sc-dot { fill: #A98BF0; } .sc-node.maint .sc-halo { fill: #A98BF0; }
@keyframes pulseo { 50% { opacity: .05; } }
.sc-node text { fill: var(--text-2); font-family: var(--sans); font-size: 13px; }
.scrub-time { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.scrub-time .scrub-clock { font-family: var(--mono); font-size: 2.2rem; color: var(--heading); letter-spacing: -.02em; }
.scrub-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 300px; overflow: auto; }
.scrub-log li { padding: 10px 0 10px 16px; border-left: 2px solid var(--line); font-size: .88rem; color: var(--text-3); transition: color .2s, border-color .2s; }
.scrub-log li.past { color: var(--text-2); }
.scrub-log li.now { color: var(--heading); }
.scrub-log li.now.warn { border-left-color: #E7A447; } .scrub-log li.now.ok { border-left-color: #3CCB9C; } .scrub-log li.now.maint { border-left-color: #A98BF0; }
.scrub-bar { position: relative; padding-bottom: 22px; }
.scrub-bar input { width: 100%; accent-color: var(--accent-strong); height: 28px; }
.scrub-ticks { position: absolute; left: 10px; right: 10px; bottom: 0; height: 16px; }
.scrub-ticks span { position: absolute; transform: translateX(-50%); font-family: var(--mono); font-size: .7rem; color: var(--text-3); }

/* features: dial */
.dial-wrap { position: relative; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
.dial-wrap > * { min-width: 0; }
@media (min-width: 1000px) { .dial-wrap { grid-template-columns: 1.4fr 1fr; } }
.dial { width: 100%; max-width: 720px; margin: 0 auto; overflow: visible; }
.dl-ring { fill: none; stroke: var(--line); }
.dl-arc { fill: none; stroke: var(--accent-strong); stroke-width: 3; stroke-linecap: round; opacity: .55; transition: opacity .2s; }
.dl-label { fill: var(--text-2); font-family: var(--sans); font-size: 13px; transition: fill .2s; }
.dl-spoke { stroke: var(--accent-strong); stroke-width: 1; opacity: 0; transition: opacity .2s; }
.dl-dot { cursor: pointer; outline: none; }
.dl-dot circle { fill: var(--accent-strong); stroke: var(--bg); stroke-width: 2; transition: r .2s, opacity .25s, fill .2s; }
.dl-dot.is-soon circle { fill: #E7A447; }
.dl-dot:hover circle, .dl-dot:focus-visible circle, .dl-dot.is-active circle { r: 11; }
.dl-dot:hover .dl-spoke, .dl-dot:focus-visible .dl-spoke, .dl-dot.is-active .dl-spoke { opacity: .5; }
.dl-dot:focus-visible circle { stroke: var(--heading); }
.dial.is-filtered .dl-dot circle { opacity: .15; }
.dial.is-filtered .dl-dot.is-match circle { opacity: 1; r: 9; }
.dial.is-filtered .dl-dot.is-match .dl-spoke { opacity: .25; }
.dl-arc.is-dim, .dl-label.is-dim { opacity: .2; }
.dial-card { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); min-height: 210px; display: grid; gap: 10px; align-content: start; }
.dial-card .dc-group { font-family: var(--mono); font-size: .78rem; color: var(--accent); }
.dial-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.dial-card p { color: var(--text-2); }

/* features: live demos */
.demos { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .demos { grid-template-columns: repeat(4, 1fr); } }
.demo { display: grid; gap: 10px; align-content: start; padding: 16px 16px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.demo h3 { font-size: 1.05rem; padding: 0 4px; }
.demo p { color: var(--text-2); font-size: .9rem; padding: 0 4px; }
.demo-stage { position: relative; height: 196px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; padding: 14px; font-size: .78rem; color: var(--text-2); display: grid; align-content: center; gap: 8px; }
.demo-stage .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.demo-stage .mono { font-family: var(--mono); color: var(--heading); }
.demo-stage .big { font-family: var(--mono); font-size: 1.9rem; color: var(--heading); letter-spacing: -.02em; line-height: 1; }
.demo-stage .bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.demo-stage .bar i { display: block; height: 100%; background: var(--accent-strong); transition: width .9s linear, background .3s; }
.demo-stage .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 500; border: 1px solid var(--line-strong); white-space: nowrap; }
.demo-stage .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok-t); border-color: var(--tag-live-bd); background: var(--tag-live-bg); }
.pill.warn { color: var(--warn-t); border-color: var(--tag-soon-bd); background: var(--tag-soon-bg); }
.pill.crit { color: var(--crit-t); border-color: rgba(236, 106, 92, .45); background: rgba(192, 57, 43, .08); }
.pill.grey { color: var(--text-3); }
.pill.maint { color: #8E6FE0; border-color: rgba(169, 139, 240, .45); background: rgba(169, 139, 240, .1); }
.demo-stage .msg { padding: 6px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; animation: logIn .3s both; }
.demo-stage .msgs { display: grid; gap: 4px; align-content: start; }
.demo-stage .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100%; }
.demo-stage .cols > div { display: grid; gap: 4px; align-content: start; min-width: 0; overflow: hidden; }
.demo-stage .cap { font-size: .7rem; color: var(--text-3); }
.demo-stage .tile { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.demo-stage .dot { width: 10px; height: 10px; border-radius: 50%; background: #3CCB9C; transition: background .4s; flex: none; }
.demo-stage svg { width: 100%; height: auto; overflow: visible; }
.demo-stage .grey-out { filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }

.globe-zoom { position: absolute; right: 4%; top: 4%; z-index: 2; display: grid; gap: 6px; }
.globe-zoom button { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--overlay); color: var(--heading); font: 500 1.2rem/1 var(--sans); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.globe-zoom button:hover { border-color: var(--accent-strong); }
