/* ============================================================
   SURFACE DRIFT — light command-center landing
   Palette: Off-white + slate, cyan (#06B6D4) + amber (#F59E0B)
   Surfaces: glassmorphism on a soft, lit canvas
   ============================================================ */

:root {
  /* Base */
  --bg:            #FAFBFE;
  --bg-deep:       #FFFFFF;
  --bg-soft:       #F1F5F9;
  --bg-tint:       #EEF2FB;

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.72);
  --glass-bg-2:    rgba(255, 255, 255, 0.58);
  --glass-bg-3:    rgba(255, 255, 255, 0.86);
  --glass-border:  rgba(15, 23, 42, 0.07);
  --glass-line:    rgba(15, 23, 42, 0.08);

  /* Lines */
  --line:          rgba(15, 23, 42, 0.06);
  --line-strong:   rgba(15, 23, 42, 0.10);
  --line-soft:     rgba(15, 23, 42, 0.04);

  /* Text */
  --fg:            #0B1220;
  --fg-soft:       #334155;
  --fg-mute:       #64748B;
  --fg-faint:      #94A3B8;

  /* Accents */
  --cyan:          #0891B2;
  --cyan-deep:     #0E7490;
  --cyan-mid:      #06B6D4;
  --cyan-soft:     #22D3EE;
  --cyan-glow:     rgba(6, 182, 212, 0.20);
  --cyan-faint:    rgba(6, 182, 212, 0.08);

  --amber:         #D97706;
  --amber-deep:    #B45309;
  --amber-mid:     #F59E0B;
  --amber-soft:    #FBBF24;
  --amber-glow:    rgba(245, 158, 11, 0.18);
  --amber-faint:   rgba(245, 158, 11, 0.08);

  --ok:            #10B981;
  --ok-soft:       #34D399;

  /* Type */
  --f-sans:        'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:        'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Measure */
  --wrap:          1280px;
  --radius:        16px;
  --radius-lg:     22px;
  --radius-sm:     10px;

  /* Shadows */
  --shadow-card:   0 1px 0 rgba(255,255,255,0.6) inset,
                   0 0 0 1px var(--glass-border),
                   0 22px 50px -28px rgba(15, 23, 42, 0.18);
  --shadow-strong: 0 1px 0 rgba(255,255,255,0.8) inset,
                   0 0 0 1px var(--glass-border),
                   0 30px 80px -30px rgba(15, 23, 42, 0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "zero";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 60%, #FAFBFE 100%);
}

::selection { background: var(--cyan-glow); color: var(--fg); }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }

/* ============================================================
   AMBIENT BACKGROUND (light)
   ============================================================ */
.ambient {
  position: fixed; inset: 0; pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient__grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
}
.ambient__glow {
  position: absolute;
  width: 820px; height: 820px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: .9;
}
.ambient__glow--c {
  top: -260px; left: -200px;
  background: radial-gradient(circle, rgba(6,182,212,.20), transparent 65%);
}
.ambient__glow--a {
  top: 240px; right: -260px;
  background: radial-gradient(circle, rgba(245,158,11,.14), transparent 65%);
}
.ambient__glow--b {
  bottom: -300px; left: 30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.10), transparent 70%);
}

body > *:not(.ambient) { position: relative; z-index: 1; }

/* ============================================================
   GLASS UTILITY
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   ANNOUNCE
   ============================================================ */
.announce {
  position: relative; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--fg-soft);
}
.announce__inner {
  display: flex; align-items: center; gap: 16px;
  height: 40px;
}
.announce__pill {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--cyan-deep);
  padding: 3px 9px;
  border: 1px solid rgba(6,182,212,.28);
  border-radius: 3px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(6,182,212,.06);
}
.announce__pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-mid);
  box-shadow: 0 0 10px var(--cyan-mid);
  animation: pulse 1.8s ease-in-out infinite;
}
.announce__text { font-weight: 400; }
.announce__link {
  margin-left: auto;
  color: var(--cyan-deep);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.announce__link:hover { color: var(--cyan); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.8); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 26px; height: 26px; }
.brand__word {
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 17px;
  color: var(--fg);
}

.nav__links {
  display: flex; gap: 30px;
  justify-self: center;
}
.nav__links a {
  font-size: 13.5px;
  color: var(--fg-soft);
  font-weight: 500;
  transition: color .2s;
  position: relative;
  padding: 6px 0;
  letter-spacing: -.005em;
}
.nav__links a:hover { color: var(--fg); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__signin {
  font-size: 13.5px;
  color: var(--fg-soft);
  font-weight: 500;
}
.nav__signin:hover { color: var(--fg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--f-sans);
  border-radius: 10px;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.btn svg { width: 12px; height: 12px; }
.btn--primary {
  background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 50%, #0891B2 100%);
  color: #FFFFFF;
  border-color: rgba(6, 182, 212, .55);
  box-shadow:
    0 1px 0 rgba(255,255,255,.55) inset,
    0 0 0 1px rgba(6,182,212,.45),
    0 10px 24px -6px rgba(6,182,212,.40),
    0 0 50px -12px rgba(34,211,238,.45);
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #67E8F9 0%, #22D3EE 50%, #0EA5E9 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.65) inset,
    0 0 0 1px rgba(6,182,212,.6),
    0 14px 32px -6px rgba(6,182,212,.55),
    0 0 70px -10px rgba(34,211,238,.55);
}

.btn--ghost {
  background: rgba(255,255,255,.6);
  color: var(--fg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: rgba(15,23,42,.18);
  background: rgba(255,255,255,.85);
  transform: translateY(-1px);
}
.btn__play {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(6,182,212,.10);
  border: 1px solid rgba(6,182,212,.25);
  color: var(--cyan-deep);
  transition: background .2s, border-color .2s;
}
.btn__play svg { width: 8px; height: 8px; margin-left: 1px; }
.btn--ghost:hover .btn__play {
  background: rgba(6,182,212,.18);
  border-color: rgba(6,182,212,.4);
  color: var(--cyan);
}
.btn--lg { padding: 14px 22px; font-size: 14px; }
.btn--xl { padding: 16px 28px; font-size: 15px; border-radius: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 80px;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(540px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--cyan-deep);
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(6,182,212,.22);
  border-radius: 999px;
  background: rgba(6,182,212,.06);
  margin-bottom: 32px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-mid);
  box-shadow: 0 0 10px var(--cyan-mid);
}

.display {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(48px, 5.8vw, 80px);
  line-height: .98;
  letter-spacing: -.038em;
  color: var(--fg);
  margin: 0 0 28px;
}
.display__accent {
  background: linear-gradient(180deg, #0891B2 0%, #06B6D4 50%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 480px;
  margin: 0 0 32px;
  font-weight: 400;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  font-size: 12.5px;
  color: var(--fg-mute);
  align-items: center;
}
.hero__trust span {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__trust .check {
  width: 14px; height: 14px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  color: var(--ok);
  font-size: 9px;
  font-weight: 700;
}

/* ============================================================
   HERO SIDE — graph + drift feed
   ============================================================ */
.hero__side {
  display: flex; flex-direction: column;
  gap: 18px;
  min-height: 620px;
}

/* --- Graph card --- */
.graph {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,255,.82));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    var(--shadow-card),
    0 0 80px -20px rgba(6,182,212,.18);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1141px) {
  .graph {
    width: 94%;
    align-self: center;
    margin-top: -6px;
  }
}

.graph__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--glass-line);
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--fg-soft);
}
.graph__chrome-l { display: inline-flex; align-items: center; gap: 12px; }
.graph__pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex; align-items: center; gap: 7px;
}
.graph__pill--live {
  background: rgba(245,158,11,.10);
  color: var(--amber-deep);
  border: 1px solid rgba(245,158,11,.28);
}
.graph__pill-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.6s ease-in-out infinite;
}
.graph__title {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  color: var(--fg);
  letter-spacing: -.005em;
  transform: translateY(-1px);
}
.graph__chrome-r {
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: .08em;
}

.graph__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, rgba(6,182,212,.06), transparent 70%);
  border-radius: 14px;
  overflow: hidden;
}
#netgraph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* readouts */
.readout {
  position: absolute;
  font-size: 9.5px;
  color: var(--fg-mute);
  letter-spacing: .12em;
  pointer-events: none;
  z-index: 4;
}
.readout__k { color: var(--fg-faint); margin-bottom: 3px; }
.readout__v { color: var(--fg); font-size: 10px; letter-spacing: .05em; }
.readout__v .ok { color: var(--ok); }
.readout__v .up { color: var(--cyan-deep); }
.readout__v .dn { color: var(--amber-deep); }
.readout--tl { top: 14px; left: 14px; }
.readout--tr { top: 14px; right: 14px; text-align: right; }
.readout--bl { bottom: 14px; left: 14px; }
.readout--br { bottom: 14px; right: 14px; text-align: right; max-width: 220px; }

/* crosshairs */
.cross {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 3;
}
.cross::before, .cross::after {
  content: ""; position: absolute;
  background: rgba(6,182,212,.5);
}
.cross::before { width: 16px; height: 1px; top: 0; left: 0; }
.cross::after  { width: 1px; height: 16px; top: 0; left: 0; }
.cross--tl { top: 8px; left: 8px; }
.cross--tr { top: 8px; right: 8px; transform: scaleX(-1); }
.cross--bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.cross--br { bottom: 8px; right: 8px; transform: scale(-1); }

/* Annotations */
.anno {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  animation: annoIn 800ms ease-out forwards;
}
.anno--1 { top: 16%; left: 5%; animation-delay: 400ms; }
.anno--2 { top: 38%; right: 4%; animation-delay: 900ms; }
.anno--3 { bottom: 14%; left: 14%; animation-delay: 1400ms; }

@keyframes annoIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anno__card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px 12px;
  width: 230px;
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(10px);
}
.anno--2 .anno__card { margin-left: auto; }

.anno__top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
}
.anno__sev {
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 500;
}
.sev--cyan  { background: var(--cyan-faint);  color: var(--cyan-deep);  border: 1px solid rgba(6,182,212,.3); }
.sev--amber { background: var(--amber-faint); color: var(--amber-deep); border: 1px solid rgba(245,158,11,.3); }

.anno__id { color: var(--fg-mute); }
.anno__body {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--fg);
  line-height: 1.38;
  margin-bottom: 6px;
}
.anno__body b { color: var(--amber-deep); font-weight: 600; }
.anno__foot {
  display: flex; justify-content: space-between;
  font-size: 9.5px;
  color: var(--fg-faint);
  letter-spacing: .06em;
}

/* Legend */
.graph__legend {
  display: flex; gap: 18px;
  padding: 12px 4px 2px;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: .08em;
  border-top: 1px solid var(--glass-line);
  margin-top: 10px;
  flex-wrap: wrap;
}
.leg { display: inline-flex; align-items: center; gap: 6px; }
.leg--r { margin-left: auto; color: var(--fg-faint); }
.leg-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.leg-cyan  { background: var(--cyan-mid);  box-shadow: 0 0 8px var(--cyan-mid); }
.leg-amber { background: var(--amber);     box-shadow: 0 0 8px var(--amber); }
.leg-slate { background: var(--fg);        box-shadow: 0 0 6px var(--fg); }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { max-width: 820px; margin: 0 0 48px; }
.section-head__index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--cyan-deep);
  margin-bottom: 16px;
}
.section-head__title {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.028em;
  color: var(--fg);
  margin: 0 0 18px;
}
.section-head__title .muted { color: var(--fg-mute); font-weight: 400; }
.section-head__sub {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

/* ============================================================
   BENTO
   ============================================================ */
.bento { padding: 96px 0 80px; }
.bento__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}

.card {
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(6,182,212,.28);
  box-shadow:
    var(--shadow-card),
    0 0 60px -20px rgba(6,182,212,.30);
}

.card--xl   { grid-column: span 2; grid-row: span 2; padding: 30px 32px; }
.card--tall { grid-column: span 1; grid-row: span 2; }
.card--wide { grid-column: span 2; }

.card__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--cyan-deep);
  background: linear-gradient(180deg, rgba(6,182,212,.14), rgba(6,182,212,.04));
  border: 1px solid rgba(6,182,212,.22);
  box-shadow: 0 0 20px -6px rgba(6,182,212,.20) inset;
}
.card__icon svg { width: 20px; height: 20px; }
.card__icon--amber {
  color: var(--amber-deep);
  background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(245,158,11,.04));
  border-color: rgba(245,158,11,.25);
  box-shadow: 0 0 20px -6px rgba(245,158,11,.22) inset;
}
.card__idx {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--cyan-deep);
}
.card__idx--amber { color: var(--amber-deep); }

.card__title {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1.22;
  color: var(--fg);
  margin: 0 0 10px;
}
.card--xl .card__title { font-size: 28px; letter-spacing: -.025em; }

.card__body {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Monitoring card viz */
.card__viz {
  margin: 4px -10px 18px;
  padding: 6px 4px 0;
}

.card__kv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-line);
  border-top: 1px solid var(--glass-line);
  margin: 18px -32px -30px;
  padding-top: 1px;
}
.card__kv > div {
  background: rgba(255,255,255,.65);
  padding: 16px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.card__kv span {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--fg-mute);
}
.card__kv b {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -.015em;
}

/* Asset list (replaces path on tall card 02) */
.assets-list {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: auto;
  background: var(--glass-line);
  border: 1px solid var(--glass-line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}
.assets-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.78);
}
.assets-row .asset-host { color: var(--fg); font-family: var(--f-mono); font-size: 11px; }
.assets-row .asset-meta { color: var(--fg-mute); font-size: 10px; letter-spacing: .04em; margin-top: 2px; }
.assets-row .asset-pill {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .14em;
  padding: 2px 7px;
  border-radius: 3px;
}
.asset-pill--cyan  { background: var(--cyan-faint);  color: var(--cyan-deep);  border: 1px solid rgba(6,182,212,.25); }
.asset-pill--amber { background: var(--amber-faint); color: var(--amber-deep); border: 1px solid rgba(245,158,11,.25); }
.asset-pill--ok    { background: rgba(16,185,129,.10); color: #047857; border: 1px solid rgba(16,185,129,.25); }

/* Diff bars (alerts/diff card) */
.prio {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.prio__row {
  display: grid;
  grid-template-columns: 1fr 200px 56px;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
}
.prio__l { color: var(--fg-soft); }
.prio__bar {
  height: 6px;
  background: rgba(15,23,42,.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.prio__bar i {
  display: block; height: 100%; width: var(--w);
  background: linear-gradient(90deg, #22D3EE, #06B6D4);
  border-radius: 3px;
}
.prio__bar--amber i { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.prio__bar--neg i { background: linear-gradient(90deg, #94A3B8, #64748B); }
.prio__v {
  font-size: 11px;
  color: var(--cyan-deep);
  text-align: right;
  font-weight: 500;
  font-family: var(--f-mono);
}
.prio__v.amber { color: var(--amber-deep); }
.prio__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--glass-line);
}
.prio__total .mono {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--fg-mute);
}
.prio__total b {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--cyan-deep);
  letter-spacing: -.015em;
}
.prio__total b span {
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 400;
  margin-left: 2px;
}

/* Takeover list */
.to-list {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: auto;
  background: var(--glass-line);
  border: 1px solid var(--glass-line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}
.to-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.80);
}
.to-kind { color: var(--fg-mute); font-size: 10px; letter-spacing: .15em; }
.to-host { color: var(--fg); font-family: var(--f-mono); font-size: 11px; }
.sev {
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .16em;
  font-weight: 500;
}

/* Integrations chips */
.intg {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.intg__chip {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--fg-soft);
  letter-spacing: .08em;
  background: rgba(255,255,255,.6);
}

/* ============================================================
   FLOW (how it works)
   ============================================================ */
.flow { padding: 80px 0 100px; }
.agent-workbench {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(420px, 1.18fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-line);
}
.agent-workbench__rail {
  display: grid;
  gap: 1px;
  background: var(--glass-line);
}
.agent-node {
  appearance: none;
  border: 0;
  text-align: left;
  padding: 22px 24px;
  min-height: 104px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "k main"
    "k sub";
  align-items: center;
  column-gap: 14px;
  background: rgba(255,255,255,.70);
  color: var(--fg);
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}
.agent-node:hover,
.agent-node.is-active {
  background: rgba(255,255,255,.94);
  box-shadow: inset 3px 0 0 var(--cyan-mid);
}
.agent-node__k {
  grid-area: k;
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,.24);
  color: var(--cyan-deep);
  background: rgba(6,182,212,.07);
  font-size: 10px;
  letter-spacing: .08em;
}
.agent-node__main {
  grid-area: main;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.agent-node__sub {
  grid-area: sub;
  color: var(--fg-mute);
  font-size: 12.5px;
  margin-top: 4px;
}
.agent-console {
  padding: 34px;
  min-height: 418px;
  background:
    radial-gradient(circle at 80% 12%, rgba(6,182,212,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,255,.82));
  display: flex;
  flex-direction: column;
}
.agent-console.is-switching .agent-console__body,
.agent-console.is-switching .agent-trace,
.agent-console.is-switching h3 {
  animation: agentSwap .34s ease both;
}
.agent-console__top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.agent-console__label,
.agent-console__mini {
  display: block;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: .18em;
  margin-bottom: 9px;
}
.agent-console h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.agent-console__state {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(6,182,212,.24);
  color: var(--cyan-deep);
  background: rgba(6,182,212,.07);
  font-size: 10px;
  letter-spacing: .13em;
}
.agent-progress {
  height: 3px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15,23,42,.07);
  margin: -12px 0 26px;
}
.agent-progress span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22D3EE, #06B6D4, #F59E0B);
  transform-origin: left center;
  animation: agentProgress 3.4s linear both;
}
.agent-console__body {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.62;
}
.agent-brief {
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  padding: 20px;
  margin-top: auto;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.agent-console.is-complete .agent-brief {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.agent-brief__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: .14em;
}
.agent-brief__meta span:first-child {
  color: var(--amber-deep);
}
.agent-brief p {
  margin: 0 0 18px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.01em;
}
.agent-brief__action {
  padding-top: 16px;
  border-top: 1px solid var(--glass-line);
}
.agent-brief__action strong {
  display: block;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.agent-trace {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: .1em;
  flex-wrap: wrap;
}
.agent-trace i {
  width: 26px;
  height: 1px;
  background: rgba(6,182,212,.32);
}
@keyframes agentProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes agentSwap {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 64px 0 80px; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  position: relative;
}
.price-card.featured {
  border-color: rgba(6,182,212,.45);
  box-shadow:
    var(--shadow-card),
    0 0 60px -16px rgba(6,182,212,.30);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,253,255,.78));
}
.price-card.featured::after {
  content: "MOST POPULAR";
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 6px 18px -4px rgba(6,182,212,.45);
}
.price-card.enterprise {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,251,243,.62));
  border-color: rgba(245,158,11,.20);
}

.plan-name {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan-deep);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.price-card.enterprise .plan-name { color: var(--amber-deep); }
.price {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.025em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}
.price span {
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
}
.price--contact {
  font-size: 31px;
  line-height: 1.08;
}
.price-desc {
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 56px;
}
.price-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.price-card li {
  position: relative;
  font-size: 13px;
  color: var(--fg-soft);
  padding-left: 22px;
  line-height: 1.45;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 4px; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(6,182,212,.18);
  border: 1px solid rgba(6,182,212,.35);
}
.price-card.enterprise li::before {
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.35);
}
.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  padding: 80px 0 120px;
  position: relative;
}
.final__inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 40px 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.final__inner::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(6,182,212,.16), transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(245,158,11,.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.final__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--cyan-deep);
  padding: 7px 16px;
  border: 1px solid rgba(6,182,212,.25);
  border-radius: 999px;
  margin-bottom: 28px;
  background: var(--cyan-faint);
}
.final__title {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.032em;
  color: var(--fg);
  margin: 0 0 22px;
}
.final__sub {
  font-size: 16.5px;
  color: var(--fg-soft);
  line-height: 1.55;
  margin: 0 auto 32px;
  max-width: 600px;
}
.final__ctas {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--glass-line);
  padding-top: 64px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 3fr;
  gap: 80px;
  padding-bottom: 56px;
}
.foot__tag {
  color: var(--fg-mute);
  font-size: 13px;
  line-height: 1.55;
  margin: 18px 0 18px;
  max-width: 320px;
}
.foot__status {
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: .05em;
  display: flex; align-items: center; gap: 8px;
}
.foot__status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2s ease-in-out infinite;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.foot__cols h4 {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--cyan-deep);
  margin: 0 0 18px;
  font-weight: 500;
  font-family: var(--f-mono);
}
.foot__cols a {
  display: block;
  font-size: 13px;
  color: var(--fg-soft);
  padding: 5px 0;
  transition: color .15s;
}
.foot__cols a:hover { color: var(--fg); }

.foot__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px;
  border-top: 1px solid var(--glass-line);
  font-size: 10.5px;
  color: var(--fg-faint);
  letter-spacing: .08em;
}
.foot__legal { display: flex; gap: 24px; }
.foot__legal a {
  color: var(--fg-mute);
  font-size: 11.5px;
  letter-spacing: .04em;
}
.foot__legal a:hover { color: var(--fg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1140px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__side { min-height: auto; }
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .card--xl { grid-column: span 2; grid-row: span 2; }
  .card--wide { grid-column: span 2; }
  .card--tall { grid-column: span 1; grid-row: span 2; }
  .agent-workbench { grid-template-columns: 1fr; }
  .agent-workbench__rail { grid-template-columns: 1fr 1fr; }
  .agent-node:hover,
  .agent-node.is-active { box-shadow: inset 0 3px 0 var(--cyan-mid); }
  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .foot__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav__links, .nav__signin { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__cta { justify-content: flex-end; }
  .announce { display: none; }
  .hero__inner { gap: 36px; }
  .hero__side { width: 100%; }
  .graph {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 18px;
  }
  .graph__chrome {
    align-items: flex-start;
    gap: 8px;
    padding: 3px 4px 10px;
  }
  .graph__chrome-l {
    min-width: 0;
    gap: 8px;
  }
  .graph__title {
    max-width: 130px;
    line-height: 1.25;
  }
  .graph__chrome-r {
    font-size: 8.5px;
    line-height: 1.35;
    text-align: right;
  }
  .graph__stage {
    aspect-ratio: 1 / 1.08;
    border-radius: 12px;
  }
  .readout {
    font-size: 8px;
    letter-spacing: .08em;
  }
  .readout__v { font-size: 8.5px; }
  .readout--tl { top: 10px; left: 10px; }
  .readout--tr { top: 10px; right: 10px; }
  .readout--bl,
  .readout--br { display: none; }
  .cross { display: none; }
  .anno__card {
    width: 188px;
    padding: 8px 9px;
    border-radius: 7px;
  }
  .anno__top {
    gap: 5px;
    flex-wrap: wrap;
    font-size: 8px;
    letter-spacing: .08em;
    margin-bottom: 5px;
  }
  .anno__sev { padding: 2px 5px; }
  .anno__body {
    font-size: 10.5px;
    line-height: 1.32;
    margin-bottom: 5px;
  }
  .anno__foot { font-size: 8px; }
  .anno--1,
  .anno--2 { display: none; }
  .anno--3 {
    bottom: 13%;
    left: 50%;
  }
  .anno--3 .anno__card {
    width: min(220px, calc(100vw - 92px));
    transform: translateX(-50%);
  }
  .graph__legend {
    gap: 10px 12px;
    padding: 10px 2px 0;
    font-size: 8.5px;
    letter-spacing: .05em;
  }
  .leg--r {
    flex-basis: 100%;
    margin-left: 0;
  }
  .bento__grid { grid-template-columns: 1fr; }
  .card--xl, .card--wide, .card--tall { grid-column: span 1; grid-row: auto; }
  .agent-workbench__rail { grid-template-columns: 1fr; }
  .agent-node { min-height: auto; padding: 18px; }
  .agent-console { min-height: auto; padding: 26px 20px; }
  .agent-console__top { flex-direction: column; margin-bottom: 22px; }
  .agent-console h3 { font-size: 26px; }
  .agent-console__body { font-size: 14.5px; }
  .agent-brief__meta { flex-direction: column; gap: 6px; }
  .agent-trace { align-items: flex-start; flex-direction: column; }
  .agent-trace i { width: 1px; height: 18px; margin-left: 4px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__meta { flex-direction: column; gap: 12px; text-align: center; padding: 22px 20px; }
  .prio__row { grid-template-columns: 1fr 100px 44px; }
  .final__inner { padding: 44px 22px; }
  .display { font-size: clamp(40px, 9vw, 56px); }
}

@media (max-width: 420px) {
  .graph__chrome-r { display: none; }
  .graph__stage { aspect-ratio: 1 / 1.12; }
  .anno--3 { bottom: 12%; }
  .anno--3 .anno__card { width: min(208px, calc(100vw - 80px)); }
}
