/* Fonts: self-hosted (fonts/, SIL Open Font License, see fonts/README.md). Each file is a
   variable font; latin-ext loads only for characters outside latin. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/space-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Precision Ops: blue-grey carbon surfaces, blue accent. Green (--up) means
     up/healthy only; amber (--warn) warning; red (--bad) down; violet (--pending)
     waiting for your decision (to approve); cyan (--info) info. */
  --bg: #0A0D12;
  --bg-alt: #0D1117;
  --panel: #111722;
  --panel-2: #172030;
  --border: #1F2A3B;
  --text: #EAF1FB;
  --muted: #9AA8BA;
  --accent: #4493F8;
  --accent-ink: #04172E;
  --accent-soft: rgba(68, 147, 248, .14);
  --up: #3FB950;
  --bad: #F85149;
  --warn: #F0883E;
  --info: #39C5CF;
  --pending: #A371F7;
  --shadow: 0 30px 80px rgba(0, 0, 0, .6);
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FFFFFF;
    --bg-alt: #F6F8FA;
    --panel: #FFFFFF;
    --panel-2: #F6F8FA;
    --border: #D8DEE4;
    --text: #1F2328;
    --muted: #59636E;
    --accent: #0969DA;
    --accent-ink: #FFFFFF;
    --accent-soft: rgba(9, 105, 218, .10);
    --up: #1A7F37;
    --bad: #CF222E;
    --warn: #B45309;
    --info: #0C6A7E;
    --pending: #8250DF;
    --shadow: 0 30px 70px rgba(31, 35, 40, .16);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .9em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.brand svg { width: 30px; height: 30px; }
.brand.small { font-size: 17px; }
.brand.small svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover, .foot a:hover { color: var(--text); }
.nav-links a, .btn { white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 10px; font: 600 15px/1 var(--body); border: 1px solid transparent; transition: transform .12s, background .12s, border-color .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--border); background: var(--panel); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* hero */
.hero { padding: 76px 0 88px; background: radial-gradient(900px 420px at 78% 0%, var(--accent-soft), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; background: var(--panel); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; margin: 22px 0 20px; }
.lede { font-size: 18px; color: var(--muted); max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta.center { justify-content: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 7px; }

/* product preview */
.shot { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; font-size: 12.5px; }
.shot-bar { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; white-space: nowrap; }
.shot-logo { display: inline-flex; align-items: center; gap: 7px; font: 700 14px/1 var(--display); margin-right: 12px; }
.shot-logo svg { width: 20px; height: 20px; }
.shot-tab { padding: 5px 9px; border-radius: 6px; color: var(--muted); }
.shot-tab.on { background: var(--panel-2); color: var(--text); }
.shot-body { padding: 16px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; background: var(--bg); }
.tile b { display: block; font: 700 24px/1.1 var(--display); }
.tile > span { color: var(--muted); }
.ok { color: var(--up); } .bad { color: var(--bad); } .warn { color: var(--warn); } .info { color: var(--info); } .pending { color: var(--pending); }
.rows { margin-top: 14px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 74px minmax(0, 1.25fr) minmax(0, 1fr) 96px; gap: 12px; align-items: center; padding: 9px 13px; border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; }
.row.head { background: var(--bg); color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; }
.row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row > span > i { font-style: normal; color: var(--muted); font-size: 11.5px; }
.row > span:nth-child(3) { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { justify-self: start; padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: 11.5px; border: 1px solid currentColor; background: color-mix(in srgb, currentColor 6%, transparent); }
.spark { display: flex; gap: 2px; align-items: center; }
.spark i { width: 5px; height: 16px; border-radius: 2px; background: var(--up); }
.spark i.w { background: var(--warn); } .spark i.b { background: var(--bad); }

/* The preview loops through one incident: portal-orders goes down, the
   on-call engineer is paged, it recovers. Without motion (or with
   prefers-reduced-motion) it rests on the "down" frame, with no toast. */
.shot-wrap, .shot { position: relative; }
.swap { display: grid; }
.tile b.swap { display: grid; }
.swap > * { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap > .pill { justify-self: start; }
.s-up { opacity: 0; }
.toast { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: flex; gap: 10px; align-items: flex-start; max-width: min(290px, calc(100% - 28px)); padding: 10px 12px; border: 1px solid var(--border); border-left: 3px solid var(--bad); border-radius: 10px; background: var(--panel-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); font-size: 12px; line-height: 1.35; opacity: 0; pointer-events: none; }
.toast-dot { flex: none; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--bad); }
.toast-text { display: grid; gap: 2px; min-width: 0; }
.toast-text b { font-weight: 600; }
.toast-text > span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-app { color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; }
@media (prefers-reduced-motion: no-preference) {
  .shot .s-up { animation: inc-up 10s step-end infinite; }
  .shot .s-down { animation: inc-down 10s step-end infinite; }
  .shot .row.live { animation: inc-row 10s step-end infinite; }
  .shot .spark i.fw { animation: inc-warn 10s step-end infinite; }
  .shot .spark i.fb { animation: inc-bad 10s step-end infinite; }
  .shot .toast { animation: inc-toast 10s infinite; }
}
/* Values change at once, as on the real dashboard: no cross-fade. */
@keyframes inc-up { 0%, 21.9% { opacity: 1; } 22%, 71.9% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes inc-down { 0%, 21.9% { opacity: 0; } 22%, 71.9% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes inc-row { 0%, 21.9% { background: transparent; } 22%, 71.9% { background: color-mix(in srgb, var(--bad) 7%, transparent); } 72%, 100% { background: transparent; } }
@keyframes inc-warn { 0%, 21.9% { background: var(--up); } 22%, 71.9% { background: var(--warn); } 72%, 100% { background: var(--up); } }
@keyframes inc-bad { 0%, 21.9% { background: var(--up); } 22%, 71.9% { background: var(--bad); } 72%, 100% { background: var(--up); } }
/* A pause button (WCAG 2.2.2), shown only while the preview moves. */
.shot-toggle { display: none; position: absolute; top: 7px; right: 8px; z-index: 2; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-2); color: var(--muted); cursor: pointer; }
.shot-toggle:hover, .shot-toggle:focus-visible { color: var(--text); }
.shot-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.shot-toggle .i-play, .shot-wrap.paused .shot-toggle .i-pause { display: none; }
.shot-wrap.paused .shot-toggle .i-play { display: block; }
.shot-wrap.paused .shot * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: no-preference) { .shot-toggle { display: inline-flex; } }
@keyframes inc-toast { 0%, 28% { opacity: 0; transform: translateY(10px); } 31%, 62% { opacity: 1; transform: none; } 65%, 100% { opacity: 0; transform: translateY(10px); } }

/* sections */
.band { padding: 88px 0; border-top: 1px solid var(--border); }
.band.alt { background: var(--bg-alt); }
.kicker { font: 600 13px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
h2 { font-size: clamp(27px, 3.3vw, 38px); font-weight: 700; max-width: 21em; }
.sub { color: var(--muted); margin-top: 12px; font-size: 17px; }
h3 { font-size: 18px; font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); padding: 26px; }
.card .num { font: 500 13px/1 var(--mono); color: var(--accent); }
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p, .feat p { color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 28px; margin-top: 40px; }
.feat { border-top: 2px solid var(--accent); padding-top: 16px; }
.feat h3 { margin-bottom: 8px; font-size: 17px; }
.tag { font: 600 11px/1 var(--body); font-style: normal; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 54px; color: var(--muted); }
.steps li b { display: block; color: var(--text); font: 600 18px/1.3 var(--display); margin-bottom: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 16px/1 var(--display); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }

.code { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); background: var(--bg); }
.code-head.second { border-top: 1px solid var(--border); }
.code pre { margin: 0; padding: 18px 16px; font: 14px/1.7 var(--mono); overflow-x: auto; }
.code .k { color: var(--accent); }
.code-note { padding: 0 16px 16px; font-size: 13.5px; color: var(--muted); }
.copy { font: 600 12px/1 var(--body); color: var(--text); background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans.four .plan { padding: 24px 20px; }
.plans.four .price { flex-wrap: wrap; row-gap: 6px; }
.plans.four .price span { flex-basis: 100%; }
@media (max-width: 1200px) { .plans.four { grid-template-columns: repeat(2, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); padding: 28px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--accent-ink); font: 600 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.price b { font: 700 44px/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 14px; }
.plan-for { color: var(--muted); font-size: 14.5px; }
.plan-why { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--text); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan em { font-style: normal; font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.roadmap { margin-top: 26px; padding: 16px 20px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 15px; }
.roadmap b { color: var(--text); }

.closing { text-align: center; }
.closing h2 { margin: 0 auto; }
.closing p { color: var(--muted); max-width: 36em; margin: 16px auto 0; font-size: 17px; }

.foot { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; color: var(--muted); }

/* agent platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.platform { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); padding: 22px; }
.platform p { color: var(--muted); font-size: 14.5px; }
.os-head { display: flex; align-items: center; gap: 10px; }
.os-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); font-size: 18px; }
.platform h3 { font-size: 20px; }
.platform .arch { font: 500 12.5px/1.4 var(--mono); color: var(--accent); }
.os-link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.os-link:hover { text-decoration: underline; }
.matrix-wrap { margin-top: 30px; border: 1px solid var(--border); border-radius: 14px; overflow-x: auto; background: var(--panel); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.matrix caption { text-align: left; padding: 14px 18px; font: 600 15px/1.3 var(--display); border-bottom: 1px solid var(--border); }
.matrix th, .matrix td { padding: 11px 18px; border-top: 1px solid var(--border); text-align: center; }
.matrix thead th { border-top: 0; background: var(--bg); color: var(--muted); font: 600 11.5px/1 var(--body); text-transform: uppercase; letter-spacing: .07em; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; }
.matrix thead th:first-child { text-align: left; }
.matrix td.y { color: var(--accent); font-weight: 700; }
.matrix td.n { color: var(--muted); }
.matrix small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }

/* data sources */
.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.source { position: relative; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); padding: 18px 18px 44px; }
.source h3 { font-size: 16.5px; margin-bottom: 6px; }
.source p { color: var(--muted); font-size: 14px; }
.source .ed { position: absolute; left: 18px; bottom: 14px; font: 600 11px/1 var(--body); color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; }
.source .ed.pro { color: var(--info); }
.source-code { margin-top: 26px; max-width: 560px; }
.more { margin-top: 18px; font-weight: 600; color: var(--accent); }
.more a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .nav-in { gap: 18px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 40px; }
  .pillars, .plans, .plans.four { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .platforms, .sources { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 52px 0 64px; }
  .band { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .grid, .platforms, .sources { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 70px minmax(0, 1fr); }
  .row > span:nth-child(3), .row > span:nth-child(4) { display: none; }
  .shot-tab:not(.on) { display: none; }
  .foot nav { margin-left: 0; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Collapsible "everything else" lists on the homepage. */
.more-feats { margin-top: 34px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.more-feats > summary { cursor: pointer; padding: 16px 20px; font: 600 15px/1.3 var(--display); list-style: none; display: flex; align-items: center; gap: 10px; }
.more-feats > summary::-webkit-details-marker { display: none; }
.more-feats > summary::before { content: "+"; font: 600 16px/1 var(--mono); color: var(--accent); width: 14px; }
.more-feats[open] > summary::before { content: "−"; }
.more-feats > .grid { margin: 6px 20px 24px; }
.more-feats > .matrix-wrap { margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; }
