/* Marketing page. Scoped to body.site so it wins over legacy layout in style.css;
   native demo window styling stays in style.css and demo-parity.css. */
.site {
  --bg: #07080b;
  --surface: #0e0f14;
  --border: #ffffff14;
  --border-strong: #ffffff24;
  --text: #f3f3f7;
  --text-2: #c4c4ce;
  --text-3: #9494a3;
  --accent-violet: #b096fa;
  --accent-blue: #66b3fa;
  --accent-green: #6ee7a8;
  --radius: 20px;
  --radius-control: 12px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site a:hover { color: inherit; }
.site a:focus-visible, .site summary:focus-visible, .site .button:focus-visible,
.site .copy-button:focus-visible, .site #bat-scene:focus-visible, .site .motion-toggle:focus-visible {
  outline: 2px solid #8fc4ff !important;
  outline-offset: 3px;
  border-radius: 8px;
}

/* Floating navigation */
.site-header { position: sticky; top: 0; z-index: 40; padding: 14px 24px 0; }
.site .site-nav {
  width: min(1080px, 100%);
  height: 60px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0d0e13c4;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 30px #0006;
}
.site .site-nav .brand { font-size: 20px; font-weight: 650; letter-spacing: -.4px; gap: 10px; }
.site .site-nav .brand svg { width: 26px; height: 22px; fill: var(--text); }
.site .nav-links { display: flex; gap: 6px; font-size: 15px; color: var(--text-2); }
.site .nav-links a { padding: 8px 14px; border-radius: var(--radius-control); transition: background-color .15s, color .15s; }
.site .nav-links a:hover { background: #ffffff0d; color: var(--text); }
.site .nav-cta {
  justify-self: end;
  padding: 9px 16px;
  border-radius: var(--radius-control);
  background: var(--text);
  color: #0b0b10;
  font-size: 15px;
  font-weight: 600;
}
.site .nav-cta { cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .15s; }
.site .nav-cta:hover { background: #d9d0ff; color: #0b0b10; box-shadow: 0 0 0 4px #b096fa33, 0 6px 20px #b096fa40; }
.site .nav-cta:active { transform: scale(.97); }

/* Buttons and install command */
.site .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--text);
  color: #0b0b10;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.1px;
  opacity: 1;
  box-shadow: 0 1px 0 #ffffff inset, 0 8px 24px #ffffff14;
  transition: transform .15s, background-color .15s, box-shadow .15s;
}
.site .button { cursor: pointer; }
.site .button:hover { background: #d9d0ff; color: #0b0b10; transform: translateY(-1px); box-shadow: 0 1px 0 #ffffff inset, 0 0 0 4px #b096fa33, 0 12px 32px #b096fa4d; }
.site .button:active { transform: translateY(0) scale(.98); }
.site .button[aria-disabled="true"] { opacity: 1; }
.site .button.ghost, .site .cli-links .button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.site .button.ghost:hover, .site .cli-links .button:hover { background: #ffffff0d; color: var(--text); }
.copy-command {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  background: #ffffff06;
  max-width: 100%;
}
.site .copy-command code {
  font: 15px/1.4 var(--mono);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-command .prompt { color: var(--accent-green); }
.copy-button {
  flex-shrink: 0;
  min-width: 72px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff14;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s;
}
.copy-button:hover { background: #ffffff22; }
.copy-command.copied { border-color: #6ee7a866; }
.copy-command.copied .copy-button { background: #6ee7a826; color: var(--accent-green); }

/* Hero */
.site .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  gap: 0;
}
.site .hero { position: relative; isolation: isolate; }
.bat-lights {
  position: absolute;
  z-index: -1;
  top: -90px;
  left: 50%;
  width: 100vw;
  height: calc(100% + 190px);
  transform: translateX(-50%);
  pointer-events: none;
}
.site .hero .scene-wrap {
  position: relative;
  inset: auto;
  width: min(460px, 100%);
  height: 400px;
  margin: -40px auto -56px;
  z-index: 1;
}
.site .hero .scene-wrap:after { bottom: 70px; }
/* Radar behind the bat, as in the app icon. */
.hero-radar {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 53%;
  width: 600px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, #2b2a8a40, #17165a26 60%, transparent);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero-radar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-radar circle { fill: none; stroke: #5b6cff3d; stroke-width: .5; }
.hero-radar .ring-outer { stroke: #6f7dff70; stroke-width: .7; }
.hero-radar .ticks { stroke: #8f86ff80; stroke-width: 2.4; stroke-dasharray: .7 23.38; }
.hero-radar .cross { stroke: #5b6cff26; stroke-width: .4; }
.site .hero-radar .radar-sweep {
  position: absolute;
  inset: 1.5%;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 250deg, #4f7dff06 295deg, #5c8dff17 335deg, #7fa2ff33 360deg);
  animation: site-scan 16s linear infinite;
}
/* The crisp leading line; the trail above fades out behind it. */
.site .hero-radar .radar-sweep:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to top, #a9c4ff00, #a9c4ffd9 35%, #c9d8ff);
  box-shadow: 0 0 6px 1px #6d8cff80;
}
.blip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fc4ff;
  box-shadow: 0 0 12px 3px #6d9bff99;
  animation: blip 3.5s ease-in-out infinite var(--d, 0s);
}
@keyframes blip { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.motion-paused .blip { animation-play-state: paused; }
.site .hero .motion-toggle { position: absolute; right: 8px; bottom: 64px; left: auto; top: auto; }
.hero-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #12131acc;
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 15px;
  transition: border-color .15s, color .15s;
}
.hero-pill:hover { border-color: #b096fa66; color: var(--text) !important; }
.pill-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: #b096fa26;
  color: #d4c8ff;
  font: 600 12px/1.6 var(--mono);
  letter-spacing: .04em;
}
.site .hero h1 {
  position: relative;
  z-index: 2;
  margin: 24px 0 0;
  font-size: clamp(52px, 8.4vw, 104px);
  font-weight: 680;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.site .hero h1 span {
  background: linear-gradient(100deg, #8f86b8 0%, #d9d2ff 45%, #86a9d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 60ch;
  margin: 28px auto 0 !important;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-3); }
.hero-trust li + li:before { content: "·"; margin: 0 10px; color: #ffffff40; }

/* Interactive desktop */
.stage-section { position: relative; padding: 88px 0 0; }
.stage-section:before {
  content: "";
  position: absolute;
  inset: 140px 8% auto;
  height: 520px;
  background: radial-gradient(closest-side, #7b5cf04d, transparent);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.stage {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 1px solid #ffffff1f;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 110%, #6c4fe080, transparent 70%),
    radial-gradient(45% 55% at 8% 18%, #2f6fd040, transparent 70%),
    radial-gradient(40% 50% at 92% 8%, #a855f73a, transparent 70%),
    linear-gradient(180deg, #15131f, #0b0b12);
  box-shadow: 0 50px 120px -40px #000, inset 0 1px 0 #ffffff12;
}
.site .stage .desktop-menubar {
  position: relative;
  top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid #ffffff14;
  border-radius: 0;
  background: #00000066;
  backdrop-filter: blur(20px);
  font-size: 13px;
  color: #e6e6ee;
  order: 0;
}
.menubar-apple { display: none; }
.menubar-app { font-weight: 700; }
.menubar-clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.site .stage .tray {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 736px;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.site .stage .tray #wifi-tray { justify-self: end; margin: 0 6px 0 0; }
.site .stage .tray #bat-tray { justify-self: start; margin: 0 0 0 6px; }
.site .stage .tray button { align-self: center; }
.stage-windows {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 24px 56px;
}
.site .stage .demo-window {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  right: auto;
  flex: none;
  order: 0;
  width: 360px;
  margin: 0;
  padding: 12px 10px 0;
}
.site .stage .app-window { height: 650px; display: flex; flex-direction: column; }
.site .stage .app-content { flex: 1; min-height: 0; height: auto; }
.stage-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px !important;
  font-size: 15px;
  color: var(--text-3);
  text-align: center;
}
.reset-demo {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: #ffffff40;
  text-underline-offset: 4px;
  cursor: pointer;
}
.reset-demo:hover { color: var(--text); }
.note-key {
  padding: 2px 10px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  font: 600 13px/1.6 var(--mono);
  color: var(--text-2);
}

/* Sections */
.site .section { padding: 140px 0 0; }
.site .section-head {
  display: block;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.site .section h2, .site .final-cta h2 {
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.site .section-head p {
  max-width: 56ch;
  margin: 18px auto 0;
  font-size: clamp(19px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--text-3);
  text-wrap: balance;
}

/* Features: bento tiles, each showing the feature as product UI. */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bento-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ffffff12;
  border-radius: var(--radius);
  background: #0b0c10;
  box-shadow: inset 0 1px 0 #ffffff0a;
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.site .bento-card > p { padding: 22px 26px 26px; font-size: 16px; line-height: 1.5; color: var(--text-3); text-wrap: pretty; }
.bento-card > p strong { color: var(--text); font-weight: 600; }
.bento-viz {
  position: relative;
  flex: 1;
  min-height: 250px;
  padding: 48px 28px 0;
  background: radial-gradient(80% 90% at 50% 0, #b096fa14, transparent 70%);
  mask-image: linear-gradient(#000 84%, transparent);
  -webkit-mask-image: linear-gradient(#000 84%, transparent);
}
.viz-tier { position: absolute; top: 18px; left: 26px; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.viz-tier.free { color: #8fc7ff; }
.viz-tier.pro { color: #c9b8ff; }
.bento .native-symbol { background: currentColor; }
.viz-app-icon { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 7px; color: #fff; }
.viz-app-icon .native-symbol { width: 16px; height: 15px; }
img.viz-app-icon { border-radius: 0; }
.viz-name { font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.viz-apps { display: flex; flex-direction: column; gap: 2px; }
.viz-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 1.2fr 84px 64px; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 10px; }
.viz-row:first-of-type { background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff0d; }
.viz-spark { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.viz-spark i { flex: 1; border-radius: 2px; background: linear-gradient(#66b3fa, #66b3fa40); opacity: .85; }
.viz-rate { font: 500 14px var(--mono); color: var(--accent-blue); text-align: right; }
.viz-mb { font: 13px var(--mono); color: var(--text-3); text-align: right; }

.viz-share { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.viz-qr { width: 132px; height: 132px; fill: #0b0c10; border-radius: 10px; box-shadow: 0 0 0 6px #ffffff0a, 0 20px 50px #66b3fa26; }
.viz-caption { font-size: 14px; color: var(--text-3); }

.viz-speed { display: grid; justify-items: center; align-content: start; }
.viz-speed svg { width: 190px; }
.viz-speed-value { margin-top: -108px; display: flex; flex-direction: column; align-items: center; }
.viz-speed-value strong { font: 700 44px/1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; letter-spacing: -.02em; }
.viz-speed-value small { margin-top: 4px; font-size: 13px; color: var(--text-3); }
.viz-speed-meta { display: flex; gap: 18px; margin-top: 14px; font: 13px var(--mono); color: var(--text-3); }
.viz-speed-meta span:first-child { color: var(--accent-violet); }

.viz-rules { display: flex; flex-direction: column; gap: 8px; }
.viz-profile { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 4px 10px; border-radius: 7px; background: #b096fa24; color: #d2c4ff; font-size: 13px; font-weight: 600; }
.viz-profile .native-symbol { width: 14px; height: 12px; }
.viz-rule-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; background: #ffffff06; }
.viz-rule-row .viz-name { flex: 1; }
.viz-lock { display: grid; place-items: center; width: 32px; height: 28px; border-radius: 8px; background: #a3a8bf1a; color: #a3a8bf; }
.viz-lock.on { background: #66b3fa1f; color: var(--accent-blue); }
.viz-lock .native-symbol { width: 13px; height: 13px; }

.viz-budget { display: flex; flex-direction: column; gap: 14px; }
.viz-budget-value { display: flex; align-items: baseline; gap: 8px; }
.viz-budget-value strong { font: 700 36px/1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; letter-spacing: -.02em; }
.viz-budget-value small { font-size: 15px; color: var(--text-3); }
.viz-meter { height: 8px; border-radius: 99px; background: #b096fa1f; overflow: hidden; }
.viz-meter i { display: block; width: 28%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8e74f0, #b096fa); }
.viz-days { display: flex; align-items: flex-end; gap: 8px; height: 76px; margin-top: 6px; }
.viz-days i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(#b096fa, #b096fa33); }
.viz-days i:nth-child(6) { background: linear-gradient(#66b3fa, #66b3fa33); }

.viz-path { mask-image: none; -webkit-mask-image: none; min-height: 250px; display: flex; align-items: center; justify-content: center; gap: 56px; padding-bottom: 8px; }
.viz-diagnosis { display: flex; flex-direction: column; align-items: center; gap: 26px; flex: 1; max-width: 640px; }
.viz-radar { position: relative; flex-shrink: 0; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(closest-side, #b096fa2b, #2b2a8a1f 70%, transparent); }
.viz-radar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-radar circle { fill: none; stroke: #5b6cff40; stroke-width: .8; }
.viz-radar .ring-outer { stroke: #6f7dff66; }
.viz-radar .ticks { stroke: #8f86ff80; stroke-width: 3; stroke-dasharray: .7 23.1; }
.viz-radar .cross { stroke: #5b6cff26; stroke-width: .6; }
.viz-radar .score { stroke: #8fb6ff; stroke-width: 3; stroke-linecap: round; }
.viz-radar-sweep { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 250deg, #4f7dff08 295deg, #5c8dff1f 335deg, #7fa2ff40 360deg); animation: site-scan 16s linear infinite; }
.viz-radar-sweep:after { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 50%; transform: translateX(-50%); background: linear-gradient(to top, #a9c4ff00, #c9d8ff); box-shadow: 0 0 6px 1px #6d8cff80; }
.viz-radar-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.viz-radar-center svg { position: static; width: 34px; height: 30px; color: var(--accent-blue); }
.viz-radar-center strong { font: 700 40px/1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; }
.viz-radar-center small { font-size: 9px; font-weight: 600; letter-spacing: .12em; color: var(--text-3); }
.motion-paused .viz-radar-sweep { animation-play-state: paused; }
.viz-hops { display: flex; align-items: center; width: min(760px, 100%); }
.viz-hop { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 96px; }
.viz-node { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; border: 1px solid #ffffff17; background: #ffffff08; color: var(--text-2); }
.viz-node .native-symbol { width: 24px; height: 21px; }
.viz-hop strong { font-size: 14px; font-weight: 600; }
.viz-hop small { font: 13px var(--mono); color: var(--accent-green); }
.viz-hop:last-child .viz-node { border-color: #f5c26b66; color: #f5c26b; box-shadow: 0 0 30px #f5c26b26; }
.viz-hop:last-child small { color: #f5c26b; }
.viz-link { flex: 1; height: 2px; margin-bottom: 44px; border-radius: 2px; background: linear-gradient(90deg, #6ee7a8, #6ee7a866); }
.viz-link.warn { background: linear-gradient(90deg, #6ee7a8, #f5c26b); }
.viz-verdict { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #ffffff07; border: 1px solid #ffffff0f; font-size: 14px; color: var(--text-2); }
.viz-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #f5c26b; box-shadow: 0 0 10px #f5c26b; }
.tier {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}
.tier-free { color: #9fd3ff; background: #66b3fa1a; border-color: #66b3fa45; }
.tier-pro { color: #d2c4ff; background: #b096fa1f; border-color: #b096fa50; }

/* CLI */
.site .cli-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
  border: 0;
}
.site .cli-section .eyebrow {
  font: 600 14px/1 var(--mono);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--accent-green);
  margin-bottom: 20px;
}
.site .cli-copy > p:not(.eyebrow):not(.cli-links):not(.cli-alt) {
  margin: 22px 0 32px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 46ch;
}
.cli-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; }
.terminal-window {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #0b0c10;
  box-shadow: 0 40px 100px -30px #000, 0 0 0 1px #00000080;
  overflow: hidden;
}
.terminal-bar {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffffff10;
  background: #ffffff06;
  font-size: 13px;
  color: var(--text-3);
}
.terminal-bar .dots { position: absolute; left: 16px; display: flex; gap: 8px; }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-window pre {
  margin: 0;
  padding: 24px 26px 28px;
  overflow-x: auto;
  font: 14.5px/1.75 var(--mono);
  color: #e8e8ef;
}
.t-prompt { color: var(--accent-green); }
.t-dim { color: #8d8d9c; }
.t-blue { color: var(--accent-blue); }
.t-violet { color: var(--accent-violet); }
.t-green { color: var(--accent-green); }
.t-yellow { color: #f5c26b; }
.t-cursor { display: inline-block; width: 9px; height: 18px; vertical-align: -3px; background: #e8e8efcc; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Comparison */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0c0d11;
}
.compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; }
.compare-table th, .compare-table td { padding: 22px 26px; border-bottom: 1px solid #ffffff0f; vertical-align: middle; }
.compare-table thead th {
  padding-block: 16px;
  background: #ffffff05;
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-3);
}
.compare-table thead .col-kilobat { color: var(--text); font-size: 14px; }
.compare-table thead img { width: 28px; height: 28px; vertical-align: middle; margin: -4px 10px 0 0; }
.compare-table tbody th { width: 30%; font-weight: 600; color: var(--text); }
.compare-table small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--text-3); }
.compare-table td { color: var(--text-2); }
.tool { display: flex; align-items: center; gap: 14px; font-weight: 550; color: var(--text); }
.tool img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.tool-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #ffffff12; color: var(--accent-blue); }
.compare-table .col-kilobat { width: 24%; background: #b096fa0c; }
.compare-table td.col-kilobat { color: var(--text); }
.kb { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.kb + .kb { margin-top: 8px; }
.compare-table tfoot th, .compare-table tfoot td { padding-block: 26px; border-top: 1px solid #ffffff1f; border-bottom: 0; background: #ffffff04; color: var(--text); }
.compare-table tfoot th { font-size: 17px; font-weight: 600; }
.compare-table tfoot .col-kilobat { background: linear-gradient(180deg, #b096fa1f, #b096fa0c); }
.total-label { font-size: 17px; font-weight: 600; }
.total-price { font: 700 30px/1.1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; letter-spacing: -.02em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.col-kilobat .total-price { color: #e2d8ff; }
.compare-table tfoot small { margin-top: 6px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff07, #ffffff02);
}
.price-pro {
  border: 1px solid transparent;
  background:
    radial-gradient(80% 60% at 100% 0, #7b5cf02e, transparent) padding-box,
    linear-gradient(#101017, #101017) padding-box,
    linear-gradient(140deg, #b096facc, #66b3fa55 45%, #ffffff14) border-box;
  box-shadow: 0 40px 90px -40px #8b6cf888;
}
.site .price-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 20px; font-weight: 620; }
.site .price-card .price { margin: 22px 0 6px; font-size: 60px; font-weight: 680; line-height: 1; letter-spacing: -.045em; }
.site .price-card .price span { font-size: 18px; font-weight: 450; letter-spacing: 0; color: var(--text-3); }
.price-sub { font-size: 17px; color: var(--text-2); }
.price-actions { display: grid; margin: 28px 0 26px; }
.site .price-card .checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #ffffff0e;
  font-size: 16.5px;
  color: var(--text-2);
}
.checks li:before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: #66b3fa24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.3l2.3 2.2 4.7-5' fill='none' stroke='%2399d0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.price-pro .checks li:before {
  background-color: #b096fa2e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.3l2.3 2.2 4.7-5' fill='none' stroke='%23d2c4ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-fine { margin-top: 28px !important; text-align: center; font-size: 15px; color: var(--text-3); }
.price-fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffffff40; }

/* FAQ */
.site .faq { display: block; gap: 0; }
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--border); }
.site .faq details { padding: 0; border-bottom: 1px solid var(--border); }
.site .faq summary { padding: 24px 4px; font-size: 19px; font-weight: 560; align-items: center; }
.site .faq summary:after { font-size: 24px; font-weight: 300; color: var(--text-3); }
.site .faq summary:hover { color: #fff; }
.site .faq details p { margin: -6px 4px 0; padding-bottom: 26px; font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 62ch; }
.site .faq details a { text-decoration: underline; text-underline-offset: 4px; }

/* Closing call to action */
.site .final-cta {
  position: relative;
  margin-top: 140px;
  padding: 110px 24px 120px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site .final-cta:before {
  content: "";
  position: absolute;
  inset: 0 15% 30%;
  background: radial-gradient(50% 60% at 50% 0, #7b5cf038, transparent);
  pointer-events: none;
}
.site .final-cta img { position: relative; width: 96px; height: 96px; filter: drop-shadow(0 18px 40px #8b6cf880); }
.site .final-cta h2 { position: relative; margin-top: 28px; }

/* Footer */
.site .site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-3);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: var(--text) !important; }

@media (max-width: 1060px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-3 { grid-column: span 2; }
  .site .cli-section { grid-template-columns: 1fr; gap: 48px; }
  .site .stage .tray { position: static; transform: none; width: auto; display: flex; gap: 4px; margin-left: auto; }
  .site .stage .tray #wifi-tray, .site .stage .tray #bat-tray { margin: 0; }
  .menubar-clock { margin-left: 8px; }
}
@media (max-width: 820px) {
  .site-header { padding: 10px 16px 0; }
  .site .site-nav { grid-template-columns: 1fr auto; height: 56px; padding: 0 8px 0 16px; }
  .site .nav-links { display: none; }
  .stage-windows { flex-direction: column; align-items: center; padding: 16px 16px 32px; }
  .site .stage .demo-window { width: min(400px, 100%); }
  .menubar-item, .menubar-clock { display: none; }
  .site .section { padding-top: 100px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .compare { border: 0; background: none; border-radius: 0; overflow: visible; }
  .compare-table, .compare-table tbody, .compare-table tfoot, .compare-table tr { display: block; }
  .compare-table thead { display: none; }
  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #0c0d11;
    overflow: hidden;
  }
  .compare-table th, .compare-table td { display: block; width: auto !important; padding: 16px 20px; border: 0; }
  .compare-table tbody th, .compare-table tfoot th { grid-column: 1 / -1; padding-bottom: 4px; }
  .compare-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font: 600 12px/1.4 var(--mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-3);
  }
  .compare-table td.col-kilobat { grid-column: 1 / -1; border-top: 1px solid #ffffff0f; }
}
@media (max-width: 650px) {
  .site main, .site .site-footer { width: calc(100% - 32px); }
  .site .hero .scene-wrap { height: 320px; width: min(340px, 100%); margin: -40px auto -28px; }
  .hero-radar { width: 400px; top: 64%; }
  .site .hero .motion-toggle { bottom: 48px; }
  .hero-pill { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .copy-command { justify-content: space-between; gap: 8px; padding: 0 6px 0 12px; }
  .site .copy-command code { font-size: 11px; text-overflow: clip; overflow-x: auto; scrollbar-width: none; }
  .copy-command:not(.agent-prompt) .prompt { display: none; }
  .copy-button { min-width: 0; padding: 0 10px; }
  .pill-more { display: none; }
  .stage-section { padding-top: 64px; }
  .stage-windows { padding: 12px 10px 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.span-3 { grid-column: auto; }
  .bento-viz { min-height: 220px; padding: 46px 18px 0; }
  .site .bento-card > p { padding: 18px 20px 22px; }
  .viz-row { grid-template-columns: 28px minmax(0, 1fr) 76px 56px; gap: 10px; padding: 9px 10px; }
  .viz-spark { display: none; }
  .viz-hop { width: 64px; }
  .viz-node { width: 42px; height: 42px; }
  .viz-hop strong { font-size: 12px; }
  .viz-hop small { font-size: 11px; }
  .viz-verdict { font-size: 13px; }
  .viz-path { flex-direction: column; gap: 28px; }
  .viz-radar { width: 180px; height: 180px; }
  .site .section-head { margin-bottom: 40px; }
  .price-card { padding: 28px 24px; }
  .terminal-window pre { font-size: 11.5px; padding: 18px 16px; }
  .site .final-cta { margin-top: 100px; padding: 80px 0 90px; }
  .site .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-cursor, .blip, .site .hero-radar .radar-sweep, .viz-radar-sweep { animation: none; }
  .site .button { transition: none; }
}
/* AI agent prompt. */
.agent-card { margin-top: 36px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #ffffff07, #ffffff02); }
.site .agent-card h3 { font-size: 17px; font-weight: 600; }
.site .agent-card .agent-head p { margin: 6px 0 16px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.agent-prompt { display: flex; align-items: flex-start; width: 100%; padding: 14px 10px 14px 16px; }
.site .agent-prompt code { white-space: normal; overflow: visible; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.agent-prompt .copy-button { align-self: flex-start; }
.site .agent-card .agent-more { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.site .agent-more code { font: 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); overflow-wrap: anywhere; }
.terminal-window pre { font-size: 13px; }
.site .agent-prompt code { font: 14px/1.6 -apple-system, BlinkMacSystemFont, sans-serif; }

/* Radar guidance (DiagnosticStore's walking hints), readable text measures, balanced advice. */
.viz-radar-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.site .viz-guide { padding: 6px 12px; border-radius: 99px; background: #66b3fa1a; color: #9fd3ff; font-size: 14px; font-weight: 600; }
.site .bento-card > p { max-width: 64ch; }
.viz-verdict { text-wrap: balance; max-width: 560px; line-height: 1.45; }
.site .bento-card > p { min-height: calc(2 * 1.5em + 48px); }
.viz-speed { mask-image: none; -webkit-mask-image: none; }
.viz-path { justify-content: space-between; gap: 64px; padding: 54px 56px 0; }
.viz-diagnosis { max-width: none; align-items: stretch; }
.viz-diagnosis .viz-verdict { align-self: center; }

/* Footer: one night scene. Traffic streams behind the closing CTA, links and wordmark;
   the cursor is the bat (footer.js). */
.site .big-footer { position: relative; isolation: isolate; display: block; width: 100%; margin-top: 140px; padding: 0; border-top: 1px solid var(--border); overflow: hidden; cursor: crosshair;
  background: radial-gradient(70% 60% at 50% 0, #7b5cf01f, transparent 70%), radial-gradient(40% 50% at 88% 45%, #ff8f6b12, transparent 70%); }
#packet-field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-hero, .footer-bottom { position: relative; z-index: 1; }
.footer-wordmark { z-index: -1; }
.footer-wordmark {
  position: relative;
  --sx: 50%;
  --sy: 30%;
  margin: 0 0 -0.16em;
  font-size: clamp(110px, 23vw, 340px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  text-align: center;
  white-space: nowrap;
  /* A faded word, faintly lit where the bat passes (footer.js sets --sx/--sy). */
  background:
    radial-gradient(300px circle at var(--sx) var(--sy), #c9b8ff40, transparent 70%),
    linear-gradient(180deg, #c9b8ff40, #66b3fa0f 55%, transparent 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
.big-footer a, .big-footer button, .big-footer .copy-command { cursor: pointer; }
.big-footer .copy-command code { cursor: text; }
.footer-hero { display: flex; flex-direction: column; align-items: center; padding: 120px 24px 0; text-align: center; }
.site .footer-hero h2 { color: var(--text); font-size: clamp(40px, 6vw, 72px); font-weight: 680; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.footer-bottom { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 24px; display: flex; align-items: center; gap: 32px; font-size: 15px; color: var(--text-3); }
.footer-bottom .brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 650; color: var(--text); }
.footer-bottom .brand svg { width: 22px; height: 19px; fill: var(--text); }
.footer-bottom .footer-links { display: flex; gap: 24px; margin-right: auto; }
.footer-bottom .footer-links a:hover, .made-by a:hover { color: var(--text) !important; }
.site .made-by { color: var(--text-3); }
.made-by a { color: var(--text-2); text-decoration: underline; text-decoration-color: #ffffff40; text-underline-offset: 4px; }

@media (max-width: 650px) {
  .site .big-footer { margin-top: 100px; }
  .footer-hero { padding-top: 90px; }
  .footer-bottom { width: calc(100% - 32px); flex-wrap: wrap; gap: 16px 24px; }
  .footer-field { height: 180px; }
  .footer-bottom .footer-links { width: 100%; order: 3; flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 650px) { .footer-hero { padding-left: 16px; padding-right: 16px; } }
.site .made-by { display: flex; align-items: center; gap: 12px; }
.made-by a { text-decoration: none; }
.made-by span a { color: var(--text-2); text-decoration: underline; text-decoration-color: #ffffff40; text-underline-offset: 4px; }
.signature-link img { display: block; width: 72px; height: 48px; filter: invert(1); opacity: .82; transition: opacity .2s, transform .2s; }
.signature-link:hover img { opacity: 1; transform: rotate(-3deg); }
.footer-links .copyright { color: var(--text-3); }
.footer-field { position: relative; z-index: 1; height: 200px; pointer-events: none; }
.site .bento-card > p { max-width: 62ch; }

/* Footer link grid (shared partial) */
.footer-grid { position: relative; z-index: 1; width: min(1200px, calc(100% - 48px)); margin: 0 auto 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site .footer-grid h3 { margin-bottom: 14px; font: 600 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.footer-grid a { display: block; padding: 5px 0; font-size: 15px; color: var(--text-2); }
.footer-grid a:hover { color: var(--text) !important; }
.footer-bottom { justify-content: space-between; }
.page-footer { margin-top: 120px; padding-top: 72px !important; }
@media (max-width: 650px) { .footer-grid { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); gap: 28px 20px; } }

/* Content pages: use cases, comparisons, docs, changelog */
.page main { width: min(1080px, calc(100% - 48px)); }
.page-hero { padding: 96px 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.site .page-hero .eyebrow { font: 600 14px var(--mono); letter-spacing: .02em; text-transform: none; color: #9fd3ff; }
.site .page-hero h1 { margin: 18px 0 0; font-size: clamp(42px, 6vw, 72px); font-weight: 680; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; max-width: 18ch; }
.site .page-lead { margin: 24px auto 0 !important; max-width: 52ch; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--text-2); text-wrap: balance; }
.page-hero .hero-actions { margin-top: 36px; }
.page-viz { margin: 72px auto 0; max-width: 820px; }
.page-viz .bento-card { box-shadow: 0 40px 100px -40px #000; }
.page-section { padding: 96px 0 0; }
.site .page-section > h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 680; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; max-width: 22ch; }
.site .page-section > p, .site .page-section li { max-width: 68ch; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.site .page-section > p { margin-top: 18px; }
.page-section ul { margin: 18px 0 0; padding-left: 22px; }
.page-section li + li { margin-top: 8px; }
.page-section strong { color: var(--text); font-weight: 600; }
.page-section code, .doc code { font: 15px var(--mono); color: #d8ccff; background: #ffffff0d; padding: 2px 6px; border-radius: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.step { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #ffffff07, #ffffff02); }
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #b096fa24; color: #d4c8ff; font: 600 14px var(--mono); }
.site .step h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 620; }
.site .step p { font-size: 16px; line-height: 1.55; color: var(--text-3); }
.page-table { width: 100%; margin-top: 32px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.page-table th, .page-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #ffffff0f; color: var(--text-2); }
.page-table thead th { background: #ffffff05; font: 600 13px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.page-table tbody th { color: var(--text); font-weight: 600; width: 30%; }
.page-table tr:last-child > * { border-bottom: 0; }
.page-table .col-kilobat { background: #b096fa0c; color: var(--text); }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.verdict > div { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #ffffff04; }
.verdict .ours { border-color: #b096fa45; background: linear-gradient(180deg, #b096fa14, #b096fa05); }
.site .verdict h3 { font-size: 18px; font-weight: 620; margin-bottom: 10px; }
.site .verdict li { font-size: 16px; color: var(--text-2); line-height: 1.55; }
.verdict ul { margin: 0; padding-left: 20px; }
.fineprint { margin-top: 18px !important; font-size: 14px !important; color: var(--text-3) !important; }
.page-cta { margin-top: 110px; padding: 64px 24px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; background: radial-gradient(60% 80% at 50% 0, #7b5cf024, transparent), #0b0c10; }
.site .page-cta h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 680; letter-spacing: -.04em; line-height: 1.05; }
.page-cta .hero-actions { margin-top: 28px; }
.page .faq { padding-top: 96px; }
.page .faq .section-head { text-align: left; margin-left: 0; }

/* Docs */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 72px; }
.doc-toc { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.site .doc-toc p { margin-bottom: 10px; font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); }
.doc-toc a { padding: 6px 10px; border-radius: 8px; font-size: 15px; color: var(--text-2); }
.doc-toc a:hover { background: #ffffff0a; color: var(--text) !important; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 680; letter-spacing: -.045em; line-height: 1.02; }
.site .doc > p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 68ch; }
.doc section { padding-top: 64px; scroll-margin-top: 90px; }
.site .doc h2 { font-size: 30px; font-weight: 680; letter-spacing: -.03em; }
.site .doc h3 { margin-top: 28px; font-size: 19px; font-weight: 620; }
.site .doc section p, .site .doc li { margin-top: 12px; max-width: 70ch; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.doc ol, .doc ul { padding-left: 22px; }
.doc pre { margin: 16px 0 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: #0b0c10; overflow-x: auto; font: 14px/1.7 var(--mono); color: #e8e8ef; }
.doc pre .c { color: #8d8d9c; }
.cmd-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.cmd-table td { padding: 10px 12px; border-bottom: 1px solid #ffffff0f; vertical-align: top; color: var(--text-2); }
.cmd-table td:first-child { width: 42%; font: 14px var(--mono); color: #d8ccff; white-space: nowrap; }
.doc .copy-command { margin-top: 16px; }

/* Changelog */
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--border); }
.release:first-of-type { border-top: 0; }
.release-meta strong { display: block; font: 700 28px ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; }
.release-meta span { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 99px; background: #6ee7a81a; color: var(--accent-green); font: 600 12px var(--mono); }
.site .release h2 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.site .release h3 { margin-top: 26px; font: 600 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.site .release li { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.release ul { margin: 0; padding-left: 20px; }

@media (max-width: 820px) {
  .steps, .verdict { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .release { grid-template-columns: 1fr; gap: 16px; }
  .page-table { font-size: 14px; }
  .page-table th, .page-table td { padding: 12px 14px; }
  .cmd-table td:first-child { white-space: normal; width: 50%; }
}

/* Selection: radar-blue highlight with a glowing scan line feel (::selection only allows
   colors and text-shadow). Gradient-clipped text needs its fill reset to stay legible. */
.site ::selection { background: rgba(102, 140, 255, .26); color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 0 10px rgba(150, 185, 255, .95), 0 0 24px rgba(110, 140, 255, .6); }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #ffffff07, #ffffff02); transition: border-color .15s, transform .15s; }
.hub-card:hover { border-color: #b096fa66; transform: translateY(-2px); color: inherit !important; }
.hub-card strong { font-size: 18px; font-weight: 620; color: var(--text); }
.hub-card span { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.hub-card em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 14px; font-weight: 600; color: #c9b8ff; }
@media (max-width: 820px) { .hub-grid { grid-template-columns: 1fr; } }
.compare-more { margin-top: 22px !important; text-align: center; font-size: 16px; }
.compare-more a { color: #c9b8ff; }
.compare-more a:hover { color: #e2d8ff !important; }
.site #dashboard .section-head { max-width: 1040px; }
@media (min-width: 821px) { .site #dashboard .section-head h2 { white-space: nowrap; } }

/* Handwritten aside: self-hosted Kalam (SIL OFL, fonts/Kalam-OFL.txt) with a hand-drawn underline. */
@font-face { font-family: "Kalam"; src: url("fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.scribble {
  display: inline-block;
  margin: 0 -.02em 0 .04em;
  padding: 0 0 .14em;
  font: 400 1.2em/.9 "Kalam", "Bradley Hand", cursive;
  word-spacing: -.18em;
  color: #e6ddff;
  transform: rotate(-2deg);
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5 C 30 4.5, 70 3.2, 118 5.2' fill='none' stroke='%23b096fa' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 104% .28em no-repeat;
}
.site .cli-alt { margin-top: 12px !important; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.cli-alt a { color: var(--text-2); text-decoration: underline; text-decoration-color: #ffffff40; text-underline-offset: 4px; }
.cli-alt code { font: 13px var(--mono); color: #d8ccff; background: #ffffff0d; padding: 1px 6px; border-radius: 6px; }
.cli-links:empty { display: none; }

/* AI agents: intro with the agents it works with, and one tabbed panel to copy from. */
.agent-block { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; margin-top: 16px; padding: 40px; border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(50% 120% at 0 0, #6ee7a80f, transparent 60%), linear-gradient(180deg, #ffffff06, #ffffff02); }
.site .agent-intro .eyebrow { margin-bottom: 14px; font: 600 14px var(--mono); text-transform: none; letter-spacing: .02em; color: var(--accent-green); }
.site .agent-intro h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 680; line-height: 1.1; letter-spacing: -.03em; }
.site .agent-intro > p:not(.eyebrow):not(.works-label):not(.agent-more) { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.site .works-label { margin-top: 28px; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.agent-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.agent-logos li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border: 1px solid #ffffff14; border-radius: 99px; background: #ffffff06; font-size: 14px; color: var(--text-2); }
.agent-logo { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.site .agent-more { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.agent-panel { border: 1px solid var(--border-strong); border-radius: 16px; background: #0b0c10; overflow: hidden; box-shadow: 0 30px 80px -40px #000; }
.agent-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid #ffffff10; background: #ffffff05; }
.agent-tabs button { padding: 7px 14px; border: 0; border-radius: 9px; background: none; color: var(--text-3); font: 500 14px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; transition: background-color .15s, color .15s; }
.agent-tabs button:hover { color: var(--text); }
.agent-tabs button[aria-selected="true"] { background: #ffffff12; color: var(--text); }
.site .agent-pane { position: relative; display: block; min-height: 178px; width: 100%; max-width: none; padding: 20px 22px 64px; border: 0; border-radius: 0; background: none; }
.agent-pane[hidden] { display: none !important; }
.site .agent-pane .pane-note { margin-bottom: 14px; font-size: 14px; color: var(--text-3); }
.site .agent-pane code { display: block; white-space: pre-wrap; overflow: visible; font: 14px/1.7 var(--mono); color: var(--text); }
.site .agent-pane .pane-alt { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.site .agent-pane .pane-alt code { display: inline; padding: 1px 6px; border-radius: 6px; background: #ffffff0d; font-size: 13px; color: #d8ccff; }
.agent-pane .copy-button { position: absolute; right: 14px; bottom: 14px; }
.agent-pane.copied { box-shadow: inset 0 0 0 1px #6ee7a855; }
@media (max-width: 1060px) { .agent-block { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 650px) {
  .agent-block { padding: 24px 18px; }
  .site .agent-pane code { font-size: 12.5px; }
  .agent-tabs button { padding: 7px 10px; font-size: 13px; }
}
