:root{
  --bg:#F2F6F8; --surface:#FFFFFF; --surface-2:#FAFCFD;
  --ink:#2A3C46; --ink-2:#3E5460; --text-muted:#586A73;
  --line:#DDE6EA; --line-2:#EBF1F4; --line-strong:#7A8891;
  --slate:#39505C;
  /* --brand-sky is decorative only: never a text colour, never a fill behind a label.
     Interactive/text colour is --action. Ratios audited in LEV-69; change values only
     with re-measured WCAG AA ratios (text >=4.5, boundaries >=3.0). */
  --brand-sky:#3AA8DC; --blue-wash:#E7F4FB;
  --action:#0B6E9B; --action-hover:#085B81; --on-action:#FFFFFF;
  --good:#0B7A3E; --warning:#8A5300; --danger:#B42318;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 28px -18px rgba(0,0,0,.28);
  --shadow-lg:0 2px 6px rgba(0,0,0,.05), 0 24px 60px -28px rgba(0,0,0,.35);
  --r:18px; --r-sm:12px;
  --sans:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Inter',
         'Helvetica Neue',Arial,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --col:1080px;
  /* status icon silhouettes — four distinct shapes so states survive greyscale */
  --ic-tick:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --ic-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3Cpath stroke='%23000' stroke-width='2.6' stroke-linecap='round' d='M12 11v5.5'/%3E%3Ccircle cx='12' cy='7.2' r='1.7' fill='%23000'/%3E%3C/svg%3E");
  --ic-warn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 23 21H1Z' fill='none' stroke='%23000' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath stroke='%23000' stroke-width='2.6' stroke-linecap='round' d='M12 10v4'/%3E%3Ccircle cx='12' cy='17.4' r='1.5' fill='%23000'/%3E%3C/svg%3E");
  --ic-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3Cpath stroke='%23000' stroke-width='2.6' stroke-linecap='round' d='m8.6 8.6 6.8 6.8m0-6.8-6.8 6.8'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0D1418; --surface:#1E2D36; --surface-2:#243640;
    --ink:#DCE8EE; --ink-2:#BDCDD6; --text-muted:#9DB1BC;
    --line:#445B68; --line-2:#31434E; --line-strong:#7A8891;
    --slate:#8FB0C0;
    --brand-sky:#4FB8E8; --blue-wash:#122B39;
    /* pale cyan is fine as a fill only with a dark label — never white-on-cyan */
    --action:#4FB8E8; --action-hover:#6FC4EC; --on-action:#04212E;
    --good:#30D158; --warning:#E8A33D; --danger:#FB837A;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 8px 28px -18px rgba(0,0,0,.9);
    --shadow-lg:0 2px 6px rgba(0,0,0,.5), 0 24px 60px -28px rgba(0,0,0,1);
  }
}
:root[data-theme="dark"]{
  --bg:#0D1418; --surface:#1E2D36; --surface-2:#243640;
  --ink:#DCE8EE; --ink-2:#BDCDD6; --text-muted:#9DB1BC;
  --line:#445B68; --line-2:#31434E; --line-strong:#7A8891;
  --slate:#8FB0C0;
  --brand-sky:#4FB8E8; --blue-wash:#122B39;
  --action:#4FB8E8; --action-hover:#6FC4EC; --on-action:#04212E;
  --good:#30D158; --warning:#E8A33D; --danger:#FB837A;
  --shadow:0 1px 2px rgba(0,0,0,.5), 0 8px 28px -18px rgba(0,0,0,.9);
  --shadow-lg:0 2px 6px rgba(0,0,0,.5), 0 24px 60px -28px rgba(0,0,0,1);
}
:root[data-theme="light"]{
  --bg:#F2F6F8; --surface:#FFFFFF; --surface-2:#FAFCFD;
  --ink:#2A3C46; --ink-2:#3E5460; --text-muted:#586A73;
  --line:#DDE6EA; --line-2:#EBF1F4; --line-strong:#7A8891;
  --slate:#39505C;
  --brand-sky:#3AA8DC; --blue-wash:#E7F4FB;
  --action:#0B6E9B; --action-hover:#085B81; --on-action:#FFFFFF;
  --good:#0B7A3E; --warning:#8A5300; --danger:#B42318;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 28px -18px rgba(0,0,0,.28);
  --shadow-lg:0 2px 6px rgba(0,0,0,.05), 0 24px 60px -28px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased; letter-spacing:-.011em;
}
h1,h2,h3{margin:0; text-wrap:balance; letter-spacing:-.028em; line-height:1.06; font-weight:600}
p{margin:0}
a{color:inherit; text-decoration:none}
.wrap{width:100%; max-width:var(--col); margin-inline:auto; padding-inline:22px}
:focus-visible{outline:3px solid var(--action); outline-offset:3px; border-radius:8px}

/* ---------- nav ---------- */
header{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line-2);
}
.nav{display:flex; align-items:center; justify-content:space-between; height:52px; gap:16px}
.brand{display:flex; align-items:center; gap:9px; font-weight:600; font-size:18px; letter-spacing:-.03em}
.mark{width:21px; height:21px; display:block; flex:none}
.mark .l{fill:var(--slate)}
.mark .o{fill:var(--brand-sky)}
.brand .word .a{color:var(--slate)}
.brand .word .b{color:var(--action)}
.navlinks{display:flex; gap:28px; font-size:14px; color:var(--text-muted)}
.navlinks a:hover{color:var(--ink)}
/* The links collapse once brand + links + actions stop fitting on one row.
   That happens at ~850px, not 760px — below this the row overflowed the page. */
@media(max-width:860px){.navlinks{display:none}}

.btn{
  display:inline-block; font-size:14.5px; font-weight:500; padding:9px 19px;
  border-radius:980px; background:var(--action); color:var(--on-action); border:1px solid transparent;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), background .18s ease, filter .18s ease; white-space:nowrap;
}
.btn:hover{background:var(--action-hover)}
.btn:active{transform:scale(.97)}
.btn-ghost{background:transparent; color:var(--action); border-color:color-mix(in srgb,var(--action) 45%,transparent)}
.btn-ghost:hover{background:var(--blue-wash); filter:none}
.btn-lg{font-size:16px; padding:13px 28px}
.btn-sm{font-size:14px; padding:8px 16px}
.btn .i{width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; vertical-align:-3px; margin-right:6px}
.nav-actions{display:flex; align-items:center; gap:8px}
/* tertiary pill: a nav destination, not a competing call to action */
.btn-soft{
  background:color-mix(in srgb,var(--slate) 9%,transparent);
  color:var(--ink); border-color:transparent;
}
.btn-soft:hover{background:color-mix(in srgb,var(--slate) 16%,transparent); filter:none}
.btn-soft .i{stroke:var(--slate)}
.lbl-sm{display:none}
@media(max-width:900px){
  .lbl-lg{display:none}
  .lbl-sm{display:inline}
}
/* The actions row is nowrap and cannot shrink, so on a phone it pushes the
   whole document sideways instead of overflowing itself. Shed width in stages. */
@media(max-width:600px){
  .nav-actions .btn .i{display:none}
  .btn-sm{padding:8px 13px; font-size:13.5px}
}
@media(max-width:380px){
  .nav-actions{gap:6px}
  /* Client Area collapses to its glyph; .lbl keeps the accessible name */
  .nav-actions .btn-ghost{display:inline-flex; align-items:center; padding:10px 12px}
  .nav-actions .btn-ghost .i{display:block; width:17px; height:17px; margin-right:0; vertical-align:0}
  .nav-actions .btn-ghost .lbl{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap;
  }
}

/* ---------- hero ---------- */
.hero{padding:96px 0 20px; text-align:center}
.eyebrow{
  display:inline-block; font-size:13px; font-weight:500; color:var(--action);
  background:var(--blue-wash); padding:6px 14px; border-radius:980px; margin-bottom:26px;
}
h1{font-size:clamp(42px,6.6vw,72px); font-weight:600}
h1 .grad{
  background:linear-gradient(180deg,var(--ink) 30%,var(--text-muted));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lede{
  margin:24px auto 0; max-width:60ch; font-size:clamp(17px,2vw,21px);
  color:var(--text-muted); letter-spacing:-.014em;
}
.cta{display:flex; gap:12px; justify-content:center; margin-top:32px; flex-wrap:wrap}
.trust{margin-top:18px; font-size:13px; color:var(--text-muted)}

/* ---------- status pills ----------
   Status is never colour alone: each state pairs an icon silhouette (tick /
   circle-i / triangle / circle-x), a text label and a border, so the states
   stay distinguishable in greyscale and for colour-blind users. */
.st{
  display:inline-flex; align-items:center; gap:7px; padding:3px 11px;
  border:1.5px solid currentColor; border-radius:980px;
  font-size:13.5px; font-weight:600; line-height:1.35; white-space:nowrap;
}
.st::before{
  content:""; width:13px; height:13px; flex:none; background:currentColor;
  -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat;
}
.st-good{color:var(--good); --ic:var(--ic-tick)}
.st-info{color:var(--text-muted); --ic:var(--ic-info)}
.st-warn{color:var(--warning); --ic:var(--ic-warn)}
.st-bad{color:var(--danger); --ic:var(--ic-x)}

/* ---------- console card (hero visual) ---------- */
.console{
  margin:56px auto 0; max-width:940px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--shadow-lg);
  overflow:hidden; text-align:left;
}
.console-top{
  display:flex; align-items:center; gap:10px; padding:13px 18px;
  border-bottom:1px solid var(--line-2); background:var(--surface-2);
}
.dots{display:flex; gap:6px}
.dots i{width:10px;height:10px;border-radius:50%;background:var(--line);display:block}
.console-host{font-family:var(--mono); font-size:12.5px; color:var(--text-muted); margin-left:6px}
.pill-live{
  margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:12px;
  font-weight:600; color:var(--good); background:color-mix(in srgb,var(--good) 10%,transparent);
  border:1.5px solid currentColor; padding:3px 10px; border-radius:980px;
}
.pill-live i{
  width:11px; height:11px; background:currentColor; display:block;
  -webkit-mask:var(--ic-tick) center/contain no-repeat; mask:var(--ic-tick) center/contain no-repeat;
}
.console-body{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-2)}
@media(max-width:720px){.console-body{grid-template-columns:repeat(2,1fr)}}
.stat{background:var(--surface); padding:20px 18px}
.stat .k{font-size:12px; color:var(--text-muted); font-weight:500; letter-spacing:.01em}
.stat .v{margin-top:6px; font-size:19px; font-weight:600; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.stat .v.mono{font-family:var(--mono); font-size:15px; font-weight:500}

/* ---------- sections ---------- */
section{padding:96px 0}
.sec-head{text-align:center; max-width:64ch; margin-inline:auto}
h2{font-size:clamp(30px,4.2vw,46px)}
.sec-sub{margin-top:16px; font-size:18px; color:var(--text-muted)}

.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:52px}
@media(max-width:880px){.cards{grid-template-columns:1fr}}
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:28px 26px; box-shadow:var(--shadow);
  transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.card:hover{transform:translateY(-3px); box-shadow:var(--shadow-lg)}
.card .ico{
  width:36px; height:36px; border-radius:11px; background:var(--blue-wash);
  display:grid; place-items:center; margin-bottom:16px;
}
.card .ico svg{width:19px; height:19px; stroke:var(--brand-sky); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
.card h3{font-size:18px; font-weight:600}
.card p{margin-top:9px; font-size:15px; color:var(--text-muted); line-height:1.6}

/* ---------- segmented control ---------- */
.seg-wrap{display:flex; justify-content:center; margin-top:44px}
.seg{
  position:relative; display:inline-flex; padding:4px; gap:2px;
  background:var(--surface-2); border:1px solid var(--line); border-radius:980px;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}
.seg button{
  position:relative; z-index:2; border:0; background:transparent; cursor:pointer;
  font-family:inherit; font-size:15px; font-weight:500; color:var(--text-muted);
  padding:10px 30px; border-radius:980px; transition:color .22s ease; white-space:nowrap;
}
.seg button[aria-selected="true"]{color:var(--ink)}
.seg button:hover{color:var(--ink)}
.glider{
  position:absolute; z-index:1; top:4px; bottom:4px; left:4px;
  background:var(--surface); border-radius:980px; box-shadow:var(--shadow);
  transition:transform .34s cubic-bezier(.32,.72,0,1), width .34s cubic-bezier(.32,.72,0,1);
}
@media(max-width:620px){ .seg button{padding:10px 18px; font-size:14px} }

.panel-note{text-align:center; margin-top:22px; font-size:14px; color:var(--text-muted)}

/* Entry-tier demand capture (LEV-82): no sub-25-device plan is for sale, so
   the slot under each ladder collects the demand signal instead. */
.plan-capture{
  max-width:72ch; margin:18px auto 0; padding:14px 22px; text-align:center;
  font-size:14px; line-height:1.6; color:var(--text-muted);
  background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r);
}
.plan-capture strong{color:var(--ink)}
.plan-capture a{color:var(--action); font-weight:600}

/* ---------- plans ---------- */
.plans{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px}
@media(max-width:1040px){.plans{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.plans{grid-template-columns:1fr}}
.plan{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:30px 26px 26px; display:flex; flex-direction:column;
  box-shadow:var(--shadow);
}
.plan.hot{border-color:var(--action); box-shadow:0 0 0 1px var(--action), var(--shadow-lg)}
.plan .badge{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  background:var(--action); color:var(--on-action); font-size:11.5px; font-weight:600;
  padding:4px 13px; border-radius:980px; letter-spacing:.01em; white-space:nowrap;
}
.plan .nm{font-size:17px; font-weight:600}
.plan .desc{margin-top:5px; font-size:13.5px; color:var(--text-muted); min-height:34px}
.price{margin-top:14px; display:flex; align-items:baseline; gap:3px}
.price .cur{font-size:20px; font-weight:600; color:var(--ink)}
.price .amt{font-size:46px; font-weight:600; letter-spacing:-.045em; font-variant-numeric:tabular-nums}
.price .per{font-size:14px; color:var(--text-muted); margin-left:4px}
.plan ul{list-style:none; padding:0; margin:20px 0 24px; display:flex; flex-direction:column; gap:11px}
.plan li{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink-2)}
.chk{flex:none; width:17px; height:17px; margin-top:2px; border-radius:50%; background:var(--blue-wash); display:grid; place-items:center}
.chk svg{width:10px; height:10px; stroke:var(--action); fill:none; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round}
.plan .btn{margin-top:auto; text-align:center; width:100%}
.tabpanel[hidden]{display:none}
.tabpanel{animation:rise .38s cubic-bezier(.2,.7,.3,1)}
@keyframes rise{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}

/* ---------- live demo ----------
   Shared read-only UISP controller. The credentials are deliberately printed in
   plain text: the account is UISP's `guest` role pinned to a read-only access
   group, so there is nothing to protect. Do not restyle these as a secret. */
.demo-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--shadow); padding:28px 26px; text-align:left;
  display:grid; grid-template-columns:1fr auto; gap:26px; align-items:center;
}
.demo-card.in-panel{margin-top:30px}
@media(max-width:860px){.demo-card{grid-template-columns:1fr; gap:20px}}
.demo-card h3{font-size:21px; font-weight:600}
.demo-card .demo-sub{margin-top:9px; font-size:15px; color:var(--text-muted); line-height:1.6; max-width:62ch}
.demo-card .pill-live{margin-left:0; margin-bottom:14px}

/* Credential chips. `user-select:all` so one click selects the whole value —
   the copy buttons are an enhancement, not the only way to get the string. */
.creds{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px}
.cred{
  display:inline-flex; align-items:center; gap:7px; font-size:13px;
  background:var(--surface-2); border:1px solid var(--line-2);
  border-radius:10px; padding:6px 7px 6px 11px;
}
.cred .k{color:var(--text-muted)}
.cred .v{font-family:var(--mono); font-weight:500; color:var(--ink); user-select:all}
.cred .cp{
  display:grid; place-items:center; width:24px; height:24px; flex:none;
  border:0; border-radius:7px; background:transparent; cursor:pointer;
  color:var(--text-muted); font:inherit; transition:background .18s ease, color .18s ease;
}
.cred .cp:hover{background:var(--blue-wash); color:var(--action)}
.cred .cp svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
.cred .cp.ok{color:var(--good)}
.cred .cp.ok:hover{background:color-mix(in srgb,var(--good) 12%,transparent); color:var(--good)}

/* The reset caveat. Stays legible rather than fine print: a visitor who misses
   it is a visitor who thinks the shared demo is their own instance. */
.demo-reset{
  margin-top:16px; font-size:13.5px; color:var(--text-muted); line-height:1.55;
  display:flex; gap:8px; align-items:flex-start; max-width:64ch;
}
.demo-reset svg{
  width:15px; height:15px; flex:none; margin-top:3px; stroke:var(--text-muted);
  fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;
}
.demo-go{display:flex; flex-direction:column; gap:10px; align-items:stretch; flex:none}
.demo-go .btn{text-align:center}
.demo-go .demo-nocard{font-size:12.5px; color:var(--text-muted); text-align:center}
@media(max-width:860px){.demo-go{align-items:flex-start}}

/* ---------- compare ---------- */
.tblwrap{margin-top:44px; overflow-x:auto; border:1px solid var(--line); border-radius:var(--r); background:var(--surface); box-shadow:var(--shadow)}
table{width:100%; border-collapse:collapse; font-size:15px; min-width:620px}
th,td{text-align:left; padding:15px 20px; border-bottom:1px solid var(--line-2)}
thead th{font-size:12.5px; font-weight:600; color:var(--text-muted); letter-spacing:.02em; text-transform:uppercase}
tbody tr:last-child th, tbody tr:last-child td{border-bottom:0}
tbody th{font-weight:500}
td{color:var(--text-muted)}

/* ---------- closing ---------- */
.close{text-align:center; padding:110px 0}
footer{border-top:1px solid var(--line-2); padding:34px 0; color:var(--text-muted); font-size:13.5px}
.foot{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}
.foot a{text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:3px}
.foot a:hover{color:var(--ink); text-decoration-color:currentColor}
@media(prefers-reduced-motion:reduce){*{animation:none!important; transition:none!important}}

/* Plan CTA for a controller we cannot provision yet. Rendered as a span, not
   an anchor, so it is inert for mouse, keyboard and screen readers alike. */
.btn.is-soon {
  opacity: .45; cursor: not-allowed; pointer-events: none;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--line);
}
