:root{
  --bg:#F2F6F8; --surface:#FFFFFF; --surface-2:#FAFCFD;
  --ink:#2A3C46; --ink-2:#3E5460; --muted:#61757F; --faint:#8497A0;
  --line:#DDE6EA; --line-2:#EBF1F4;
  --slate:#39505C;
  --blue:#3AA8DC; --blue-ink:#2A8CBB; --blue-wash:#E7F4FB;
  --good:#00A862;
  --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;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0D1418; --surface:#1E2D36; --surface-2:#243640;
    --ink:#DCE8EE; --ink-2:#BDCDD6; --muted:#9DB1BC; --faint:#8398A3;
    --line:#445B68; --line-2:#31434E;
    --slate:#8FB0C0;
    --blue:#4FB8E8; --blue-ink:#7ACCF0; --blue-wash:#122B39;
    --good:#30D158;
    --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; --muted:#9DB1BC; --faint:#8398A3;
  --line:#445B68; --line-2:#31434E;
  --slate:#8FB0C0;
  --blue:#4FB8E8; --blue-ink:#7ACCF0; --blue-wash:#122B39;
  --good:#30D158;
  --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; --muted:#61757F; --faint:#8497A0;
  --line:#DDE6EA; --line-2:#EBF1F4;
  --slate:#39505C;
  --blue:#3AA8DC; --blue-ink:#2A8CBB; --blue-wash:#E7F4FB;
  --good:#00A862;
  --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(--blue); 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(--blue)}
.brand .word .a{color:var(--slate)}
.brand .word .b{color:var(--blue)}
.navlinks{display:flex; gap:28px; font-size:14px; color:var(--muted)}
.navlinks a:hover{color:var(--ink)}
@media(max-width:760px){.navlinks{display:none}}

.btn{
  display:inline-block; font-size:14.5px; font-weight:500; padding:9px 19px;
  border-radius:980px; background:var(--blue); color:#fff; border:1px solid transparent;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), filter .18s ease; white-space:nowrap;
}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:scale(.97)}
.btn-ghost{background:transparent; color:var(--blue); border-color:color-mix(in srgb,var(--blue) 35%,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}
}
@media(max-width:520px){
  .nav-actions .btn .i{display:none}
  .btn-sm{padding:8px 13px; font-size:13.5px}
}

/* ---------- hero ---------- */
.hero{padding:96px 0 20px; text-align:center}
.eyebrow{
  display:inline-block; font-size:13px; font-weight:500; color:var(--blue);
  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(--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(--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(--faint)}

/* ---------- 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(--muted); margin-left:6px}
.pill-live{
  margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:12px;
  font-weight:500; color:var(--good); background:color-mix(in srgb,var(--good) 12%,transparent);
  padding:4px 11px; border-radius:980px;
}
.pill-live i{width:6px;height:6px;border-radius:50%;background:var(--good);display:block}
.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(--faint); 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(--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(--blue); 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(--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(--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(--faint)}

/* ---------- plans ---------- */
.plans{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:30px}

/* Lite is kept out of the default ladder so the grid stays one clean row of
   four; the "Home user?" toggle below the ladder reveals it. */
/* Doubled class on purpose: `.plan{display:flex}` is declared further down, so
   a single-class selector here would lose the cascade to it. */
.plan.plan-extra{display:none}
.plans.show-extra .plan.plan-extra{display:flex}
.tier-more{
  display:block; margin:18px auto 0; background:none; border:0; cursor:pointer;
  font:inherit; font-size:14px; color:var(--muted); padding:6px 10px; border-radius:980px;
}
.tier-more:hover{color:var(--blue)}
.tier-more .arrow{display:inline-block; transition:transform .2s ease; margin-left:2px}
.tier-more[aria-expanded="true"] .arrow{transform:rotate(90deg)}
@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(--blue); box-shadow:0 0 0 1px var(--blue), var(--shadow-lg)}
.plan .badge{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  background:var(--blue); color:#fff; 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(--faint); 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(--faint); 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(--blue); 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}}

/* ---------- 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(--faint); 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(--muted)}
td.y{color:var(--good); font-weight:600}

/* ---------- closing ---------- */
.close{text-align:center; padding:110px 0}
footer{border-top:1px solid var(--line-2); padding:34px 0; color:var(--faint); font-size:13.5px}
.foot{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}
@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(--muted);
  border: 1px solid var(--line);
}
