:root {
  color-scheme: dark;
  --background: #080f1c;
  --panel: #0d1727;
  --border: #26364c;
  --text: #ecf3ff;
  --muted: #aebed2;
  --accent: #52e9ce;
  --blue: #80adff;
  --link: #a9c9ff;
  --primary: #52e9ce;
  --primary-hover: #93ffeb;
  --on-primary: #041b21;
  --feature-hover: #122039;
  --glyph-fill: #0d292f;
  --glyph-border: #24504f;
  --inset: #0b1424;
  --demo: #0e192a;
  --frame: #30445e;
  --shadow: #02071158;
  --meter-track: #253750;
  --radar-shell: #0b172a;
  --radar-border: #2b4563;
  --radar-text: #b6c9e4;
  --radar-label: #dae7fb;
  --radar-center: #162e56;
  --radar-edge: #0a1426;
  --radar-grid: #719aff12;
  --radar-ring: #80adff33;
  --radar-line: #7aaff9;
  --radar-node-fill: #173451;
  --radar-node-border: #a1c7ff;
  --radar-node-glow: #629affbd;
  --radar-gateway-fill: #123f48;
  --radar-gateway-glow: #54f3db91;
  --radar-shadow: #02071182;
  --mono: "Cascadia Code", Consolas, monospace;
  --body: "Segoe UI", system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --background: #f2f7fb;
  --panel: #ffffff;
  --border: #cbd9e8;
  --text: #14243a;
  --muted: #455b73;
  --accent: #086d60;
  --blue: #316eac;
  --link: #245a96;
  --primary: #086d60;
  --primary-hover: #07594f;
  --on-primary: #ffffff;
  --feature-hover: #e9f2fc;
  --glyph-fill: #e1f3ed;
  --glyph-border: #9dcabf;
  --inset: #e8f0f8;
  --demo: #ffffff;
  --frame: #adc2d9;
  --shadow: #23436a1c;
  --meter-track: #d9e5f1;
  --radar-shell: #f8fcff;
  --radar-border: #adc2d9;
  --radar-text: #405973;
  --radar-label: #24435f;
  --radar-center: #dceefa;
  --radar-edge: #f4f9fd;
  --radar-grid: #25669a18;
  --radar-ring: #4788b84a;
  --radar-line: #366e9e;
  --radar-node-fill: #daeaff;
  --radar-node-border: #316eac;
  --radar-node-glow: #528bd14d;
  --radar-gateway-fill: #caeee6;
  --radar-gateway-glow: #2aae9647;
  --radar-shadow: #25476921;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.65 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
p { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1170px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 88px; scroll-margin-top: 20px; }
.skip { position: fixed; top: 12px; left: 12px; padding: 10px 14px; z-index: 2; background: var(--primary); color: var(--on-primary); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav theme"; align-items: center; gap: 18px; min-height: 76px; }
.header-inner .brand { grid-area: brand; }
.brand { display: block; width: 166px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .brand-light, :root[data-theme="light"] .brand-dark { display: none; }
:root[data-theme="light"] .brand .brand-light { display: block; }
.header nav { grid-area: nav; display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 3vw, 32px); font-size: .9375rem; font-weight: 600; }
.theme-toggle { grid-area: theme; min-height: 44px; white-space: nowrap; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--text); font-size: .875rem; font-weight: 650; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
nav a, .footer a:last-child { color: var(--muted); }
nav a:hover, .footer a:last-child:hover { color: var(--accent); }
.nav-cta { padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 44px; padding-block: 104px 100px; }
.eyebrow { color: var(--accent); font: 600 .875rem/1.45 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 19px; }
h1 { font-size: clamp(3.45rem, 6.45vw, 5.6rem); letter-spacing: -.074em; font-weight: 720; }
h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 440px; font-size: 1.2rem; line-height: 1.55; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-weight: 650; }
.primary { color: var(--on-primary); background: var(--primary); }
.primary:hover { background: var(--primary-hover); }
.secondary { border-color: var(--border); }
.secondary:hover, .nav-cta:hover { border-color: var(--accent); }

.radar { min-width: 0; overflow: hidden; border: 1px solid var(--radar-border); border-radius: 13px; background: var(--radar-shell); box-shadow: 0 24px 75px var(--radar-shadow), 0 0 55px #174fea1a; }
.radar-hud, .radar-caption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 17px; color: var(--radar-text); font: 500 .75rem/1.5 var(--mono); }
.radar-hud { border-bottom: 1px solid var(--border); letter-spacing: .085em; }
.radar-hud span:first-child { color: var(--accent); }
.radar-caption { justify-content: flex-start; gap: 22px; border-top: 1px solid var(--border); }
.radar-caption span { display: inline-flex; align-items: center; gap: 7px; }
.radar-caption i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.radar-caption span:last-child i { background: var(--blue); }
.radar-field {
  position: relative;
  aspect-ratio: 520 / 316;
  isolation: isolate;
  background:
    linear-gradient(var(--radar-grid) 1px, transparent 1px) center / 25px 25px,
    linear-gradient(90deg, var(--radar-grid) 1px, transparent 1px) center / 25px 25px,
    radial-gradient(ellipse at center, var(--radar-center), var(--radar-edge) 77%);
}
.scope {
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle closest-side at center, transparent 0 24%, var(--radar-ring) 24.4% 25%);
  mask-image: radial-gradient(circle closest-side at center, #000 94%, transparent 100%);
}
.connections { position: absolute; inset: 0; width: 100%; height: 100%; }
.connections path { fill: none; stroke: var(--radar-line); stroke-opacity: .8; stroke-width: 1.2; }
.gateway, .point { position: absolute; transform: translate(-50%, -50%); }
.gateway { left: 50%; top: 50%; }
.gateway i, .point i { display: block; width: 12px; height: 12px; border: 2px solid var(--radar-node-border); background: var(--radar-node-fill); border-radius: 50%; box-shadow: 0 0 15px var(--radar-node-glow); }
.gateway i { width: 31px; height: 31px; border: 1px solid var(--accent); border-radius: 8px; background: var(--radar-gateway-fill); box-shadow: 0 0 26px var(--radar-gateway-glow); transform: rotate(45deg); }
.gateway i::before { content: ""; position: absolute; inset: 8px; border: 2px solid var(--accent); border-radius: 50%; }
.gateway span, .point span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 7px; color: var(--radar-label); font: 500 .75rem/1.4 var(--mono); white-space: nowrap; }
.gateway span { margin-top: 13px; color: var(--accent); }
.core { left: 18.46%; top: 29.11%; }
.office { left: 79.42%; top: 27.53%; }
.guest { left: 78.27%; top: 74.68%; }
.services { left: 19.42%; top: 73.73%; }

.features { border-top: 1px solid var(--border); }
.section-intro { display: grid; grid-template-columns: 1fr .63fr; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-intro > p { max-width: 410px; font-size: 1.0625rem; }
h2 { font-size: clamp(2.25rem, 4.3vw, 3.85rem); font-weight: 680; letter-spacing: -.059em; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -.022em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.feature { padding: 25px; background: var(--panel); border: 1px solid var(--border); border-radius: 9px; }
.feature h3 { margin-block: 16px 9px; color: var(--link); }
.feature p { line-height: 1.55; }
.feature:hover, .feature:focus-visible { background: var(--feature-hover); border-color: var(--blue); }
.feature:hover h3, .feature:focus-visible h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.glyph { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 7px; border: 1px solid var(--glyph-border); background: var(--glyph-fill); color: var(--accent); }
.glyph::before, .glyph::after { content: ""; grid-area: 1 / 1; }
.glyph-address::before { width: 16px; height: 13px; border: 1px solid; border-radius: 2px; }
.glyph-address::after { width: 8px; height: 1px; background: currentColor; box-shadow: 0 -3px, 0 3px; }
.glyph-discovery::before { width: 16px; height: 16px; border: 1px solid; border-radius: 50%; }
.glyph-discovery::after { width: 7px; height: 7px; border-radius: 50%; border: 1px solid; }
.glyph-map::before { width: 13px; height: 13px; border: 1px solid; transform: rotate(45deg); }
.glyph-map::after { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.glyph-backup::before { width: 15px; height: 15px; border: 1px solid; border-radius: 3px; }
.glyph-backup::after { width: 7px; height: 7px; border-left: 1px solid; border-bottom: 1px solid; transform: translate(2px, -2px); }
.glyph-collector::before { width: 12px; height: 12px; border: 1px solid; border-radius: 50%; box-shadow: 0 0 0 3px #52e9ce44; }
.glyph-collector::after { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.glyph-report::before { width: 13px; height: 16px; border: 1px solid; border-radius: 2px; }
.glyph-report::after { width: 5px; height: 1px; background: currentColor; box-shadow: 0 -3px, 0 3px; }
.glyph-automation::before { width: 13px; height: 13px; border-right: 1px solid; border-bottom: 1px solid; transform: translate(-2px, -2px); }
.glyph-automation::after { width: 5px; height: 5px; border: 1px solid; border-radius: 50%; transform: translate(4px, 4px); background: var(--glyph-fill); }

.detail-main { min-height: 70vh; }
.detail-breadcrumb { padding-top: 25px; font-size: .9375rem; color: var(--muted); }
.detail-breadcrumb a, .related a { color: var(--link); }
.detail-breadcrumb a:hover, .related a:hover { color: var(--accent); text-decoration: underline; }
.detail-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 6vw, 76px); padding-block: 53px 64px; }
.detail-hero h1 { font-size: clamp(2.8rem, 6vw, 5.15rem); letter-spacing: -.06em; text-wrap: balance; }
.detail-hero .lede { max-width: 550px; }
.detail-example { border: 1px solid var(--frame); border-radius: 11px; background: var(--panel); box-shadow: 0 18px 48px var(--shadow); overflow: hidden; }
.example-header { display: flex; align-items: center; gap: 13px; padding: 15px 19px; border-bottom: 1px solid var(--border); }
.example-header h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.example-header .glyph { flex: none; }
.detail-example > p { padding: 17px 19px 4px; }
.example-steps { margin: 9px 19px 19px; padding: 0; list-style: none; }
.example-steps li { display: grid; grid-template-columns: minmax(88px, .55fr) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.example-steps strong { color: var(--accent); font-size: .9375rem; }
.example-steps span { color: var(--muted); font-size: .9375rem; }
.detail-capabilities { border-top: 1px solid var(--border); padding-block: 48px 56px; }
.app-screenshot { margin-bottom: 47px; overflow: hidden; border: 1px solid var(--frame); border-radius: 11px; background: var(--panel); box-shadow: 0 18px 48px var(--shadow); }
.app-screenshot img { display: block; width: 100%; height: auto; }
.detail-main .app-screenshot { width: fit-content; max-width: 100%; margin-inline: auto; }
.detail-main .app-screenshot img { width: auto; max-width: 100%; margin-inline: auto; }
.app-screenshot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 7px 20px; padding: 13px 18px; border-top: 1px solid var(--border); font-size: .9375rem; }
.app-screenshot figcaption > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.sample-note { color: var(--muted); }
.app-screenshot a { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.app-screenshot a:hover { color: var(--accent); }
.homepage-screenshot { margin-top: 39px; margin-bottom: 0; }
.detail-capabilities h2 { margin-bottom: 27px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; }
.capability-grid > div { padding: 18px 0; border-top: 1px solid var(--border); }
.capability-grid h3 { margin-bottom: 7px; }
.related { padding-block: 25px 38px; border-top: 1px solid var(--border); }
.related h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.related ul { display: flex; flex-wrap: wrap; gap: 12px 25px; padding: 0; margin: 13px 0 0; list-style: none; }
.related a { text-decoration: underline; text-underline-offset: .2em; }

.preview-section { background: var(--inset); border-block: 1px solid var(--border); }
.preview-layout { display: grid; grid-template-columns: .65fr 1fr; align-items: center; gap: 54px; }
.preview-copy > p:last-child { max-width: 350px; margin-top: 18px; font-size: 1.0625rem; }
.demo { min-width: 0; background: var(--demo); border: 1px solid var(--frame); border-radius: 11px; box-shadow: 0 14px 50px var(--shadow); }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 17px; border-bottom: 1px solid var(--border); color: var(--muted); font: .8125rem/1.5 var(--mono); }
.demo-bar strong { color: var(--accent); font-weight: 600; }
.demo-tabs { display: flex; gap: 6px; padding-inline: 12px; border-bottom: 1px solid var(--border); }
.demo-tabs button { flex: 0 1 auto; padding: 11px 11px 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: .9375rem; cursor: pointer; }
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.demo-panel { min-height: 270px; padding: 20px 17px 18px; }
.demo-panel h3 { font-size: 1.125rem; }
.demo-panel > p { margin-block: 6px 14px; font-size: .9375rem; }
.network-row { display: grid; grid-template-columns: minmax(100px, .65fr) 1fr 72px; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding: 7px 0; }
.network-row strong, .network-row code { display: block; }
.network-row strong { font-size: .875rem; line-height: 1.4; }
code, .network-row > span { color: var(--muted); font: .8125rem/1.5 var(--mono); }
.network-row > span { text-align: right; }
meter { width: 100%; height: 12px; accent-color: var(--accent); }
meter::-webkit-meter-bar { background: var(--meter-track); border: 0; }
meter::-webkit-meter-optimum-value { background: var(--accent); border-radius: 8px; }
meter::-moz-meter-bar { background: var(--accent); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; line-height: 1.35; }
th, td { border-top: 1px solid var(--border); padding: 9px 8px 9px 0; }
thead th, td { color: var(--muted); }
tbody th { font-weight: 600; }
.no-script { padding: 0 17px 17px; }

.deployment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.deployment-grid > div { border-top: 1px solid var(--border); padding-top: 16px; }
dt { margin-bottom: 6px; font-weight: 650; }
dd { color: var(--muted); }
.footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 90px; }
.footer-inner p, .footer-inner > a:last-child { font-size: .9375rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 25px; padding-block: 84px; }
  h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .wide-only { display: none; }
  .feature { padding: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .section-intro, .preview-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 55px 50px; gap: 35px; }
  h1 { font-size: clamp(3rem, 10vw, 5rem); max-width: 10ch; }
  .section { padding-block: 54px; }
  .section-intro, .preview-layout { gap: 18px; }
  .feature-grid, .deployment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-copy > p:last-child { max-width: 550px; }
  .radar { max-width: 550px; }
  .detail-hero { grid-template-columns: 1fr; padding-block: 36px 46px; }
  .detail-hero h1 { max-width: none; }
  .detail-capabilities { padding-block: 37px; }
}
@media (max-width: 680px) {
  .header-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand theme" "nav nav"; gap: 3px 12px; padding-block: 5px 11px; }
  .header nav { justify-content: flex-start; flex-wrap: wrap; gap: 8px 16px; }
}
@media (max-width: 500px) {
  .brand { width: 126px; }
  .header nav { font-size: .875rem; }
  .nav-cta { padding: 4px 8px; }
  .feature-grid, .deployment-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 0 16px; padding-block: 12px; }
  .footer-inner p { order: 1; width: 100%; }
  .radar-hud, .radar-caption { padding-inline: 11px; }
  .network-row { gap: 8px; }
  .capability-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
