/* WatchTower public site — cinematic blue.
 *
 * One palette, shared exactly with the console (console.css). The marketing
 * face and the product a buyer signs into are one thing: same azure signature,
 * same indigo-slate night, same self-hosted type. Committed dark.
 *
 * Signature = azure (#4d9cff / #82bbff): the brand mark, the eyebrow, focus
 * rings, the primary call-to-action. Hanken Grotesk (600-700, tight tracking)
 * carries every heading and display accent — the register reads like an EDR
 * console, not a consumer site; IBM Plex Mono is eyebrows, labels, metrics and
 * data. Instrument Serif is retained as a font file but no longer referenced
 * for display.
 *
 * Self-hosted fonts only — no CDN, no webfont request (CSP font-src 'self').
 */

/* ---------- self-hosted fonts (woff2, latin) ---------- */
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  /* Surfaces — the shared blue night, identical intent to console.css. */
  --ink:        #0a0e1a;
  --bg-2:       #0f1626;
  --surface:    #111726;
  --surface-2:  #172033;
  --surface-3:  #1e2942;
  --line:       #263149;
  --line-soft:  #1a2336;

  --text:       #eaeefb;
  --muted:      #98a4c2;
  --faint:      #6b7699;
  --line-control: #37456b;

  --accent:     #4d9cff;   /* azure — the signature; "act here" */
  --accent-2:   #82bbff;
  --accent-dim: rgba(77,156,255,.12);
  --accent-ink: #05101e;   /* text on an azure fill */
  --good:       #35d3a6;
  --warn:       #f5b95a;
  --bad:        #ff7a8a;
  --crit:       #ff4d6a;

  --radius:     14px;
  --radius-sm:  10px;
  --shell:      1200px;

  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  /* Display accents are now grotesque, not serif-italic. --serif is repointed to
     the sans stack so any remaining reference resolves to Hanken Grotesk. */
  --serif: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Atmospheric wash: an azure aurora up from behind the hero, fixed so it does
     not scroll with content. Quiet — colour is a signal, not decoration. */
  background-image:
    radial-gradient(1200px 700px at 78% -14%, rgba(77,156,255,.10), transparent 60%),
    radial-gradient(1000px 620px at 6% 4%, rgba(30,52,96,.30), transparent 62%);
  background-attachment: fixed;
}

/* Film grain — a fixed, blend-mode overlay above everything, pointer-inert. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::before { display: none; } }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Display headings are grotesque, operator-grade: Hanken Grotesk 700 with tight
   -.02em tracking. The accent inside them is the same face in azure — a colour
   signal, not a change of register. No serif, no italic. */
h1, h2, h3, h4 { font-family: var(--sans); margin: 0 0 12px; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-weight: 700; font-size: clamp(31px, 4.6vw, 54px); }
h2 { font-weight: 700; font-size: clamp(24px, 3.1vw, 40px); letter-spacing: -.02em; }
h3 { font-weight: 700; font-size: 18px; letter-spacing: -.015em; }
h4 { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
h1 em, h2 em, h3 em {
  font-family: var(--sans); font-style: normal; font-weight: 700;
  color: var(--accent-2); letter-spacing: inherit;
}
p  { margin: 0 0 14px; }

.lead { font-size: clamp(16.5px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- the mark ---------- */
.wt-mark { display: block; flex: none; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16.5px; letter-spacing: -.015em;
  color: var(--text);
  --mark-beacon: var(--accent);
}
.logo:hover { text-decoration: none; color: var(--text); }

/* ---------- nav (glass) ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(10,14,26,.66);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav .shell { display: flex; align-items: center; gap: 26px; height: 68px; }
.site-nav nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.site-nav nav a:hover { color: var(--text); text-decoration: none; }
.site-nav nav a.btn { color: var(--accent-ink); }

@media (max-width: 780px) {
  .site-nav .shell { height: auto; flex-wrap: wrap; gap: 10px 18px; padding-block: 12px; }
  .site-nav nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 12px 18px; }
  .site-nav nav a.btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .site-nav nav { gap: 10px 14px; }
  .site-nav nav a { font-size: 13.5px; }
  .site-nav nav a.btn { width: 100%; margin-left: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 19px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px; line-height: 1.2;
  border: 1px solid var(--line); color: var(--text); background: transparent;
  cursor: pointer; text-decoration: none;
  transition: background .16s ease, border-color .16s ease, filter .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; background: rgba(77,156,255,.06); border-color: rgba(77,156,255,.42); }
/* Gradient azure primary with a soft cast — the one place the site glows. */
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); border-color: transparent; font-weight: 680;
  box-shadow: 0 12px 34px -12px rgba(77,156,255,.6);
}
.btn-primary:hover { filter: brightness(1.06); background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: transparent; color: var(--accent-ink); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- layout blocks ---------- */
section { padding: 92px 0; position: relative; }
section.tight { padding: 52px 0; }
.band {
  background:
    radial-gradient(110% 130% at 50% -20%, rgba(77,156,255,.10), transparent 58%),
    var(--surface);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(23,32,51,.5), rgba(17,23,38,.4));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card h3 { margin-bottom: 6px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
/* Feature-grid cards lift on hover; content cards (tables, forms) stay put. */
.grid.cols-3 > .card:hover, .grid.cols-2 > .card:hover {
  border-color: rgba(77,156,255,.34); transform: translateY(-3px);
  box-shadow: 0 30px 60px -32px rgba(0,0,0,.7);
}
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- hero (aurora) ---------- */
.hero { padding: 96px 0 44px; overflow: hidden; }
#aurora {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; filter: blur(8px); pointer-events: none;
}
.hero .shell { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 48px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(38px, 6.2vw, 78px); line-height: 1.03; letter-spacing: -.02em; max-width: 19ch; }
.hero-grid h1 { max-width: 26ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 20px; align-items: center; }

/* ---------- proof / trust ---------- */
.proof { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.proof .badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-dim); border: 1px solid rgba(77,156,255,.28);
  color: var(--text); font-size: 12.5px; font-weight: 550;
}
.proof .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); flex: none; }
.trust { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.trust span { display: flex; gap: 8px; align-items: baseline; }
.trust b { color: var(--text); font-weight: 620; }
.trust .tick { color: var(--good); flex: none; }

/* ---------- floating product frame ---------- */
.stage { position: relative; z-index: 2; margin: 4px auto 0; max-width: 1080px; padding: 0 28px; }
.frame {
  position: relative; border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(23,32,51,.9), rgba(12,18,30,.95));
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,.85),
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 0 90px -30px rgba(77,156,255,.35);
}
.frame::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130,187,255,.45), transparent);
}
.frame .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(10,14,26,.6); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.frame .bar .t { margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.demo { display: grid; grid-template-columns: 210px 1fr; min-height: 380px; }
.demo .rail { border-right: 1px solid var(--line); padding: 16px 12px; background: rgba(10,14,26,.5); }
.demo .rail .logo { font-size: 14px; padding: 0 6px 12px; }
.demo .rail .g { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 6px 8px; margin-top: 8px; }
.demo .rail a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 1px; cursor: default; }
.demo .rail a.on { background: linear-gradient(90deg, rgba(77,156,255,.14), transparent); color: #fff; position: relative; }
.demo .rail a.on::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.demo .rail a .dot { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .7; }
.demo .body { padding: 22px 24px; }
.demo .hbadge { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-dim); border: 1px solid rgba(77,156,255,.3); border-radius: 999px; padding: 3px 10px; display: inline-block; }
.demo h3 { font-family: var(--sans); font-weight: 700; font-size: 26px; margin: 14px 0 0; letter-spacing: -.02em; }
.demo h3 em { font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--accent-2); }
.demo .facts { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
.demo .facts .k { font-family: var(--mono); font-size: 20px; color: var(--text); }
.demo .facts .k.g { color: var(--accent-2); }
.demo .facts .v { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.demo .frame-map { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #070d1c; position: relative; }
.demo .frame-map svg { display: block; width: 100%; height: auto; }
.demo .frame-map .cap { position: absolute; left: 10px; bottom: 9px; font-size: 11.5px; color: var(--muted); background: rgba(7,13,28,.86); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--radius-sm); }
@media (max-width: 820px) { .demo { grid-template-columns: 1fr; } .demo .rail { display: none; } }

/* ---------- the standalone map figure (features/other pages) ---------- */
.map-figure { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #070d1c; overflow: hidden; }
.map-figure svg { display: block; width: 100%; height: auto; }
.map-figure .cap {
  position: absolute; left: 12px; bottom: 11px; font-size: 12px; color: var(--muted);
  background: rgba(7,13,28,.86); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: var(--radius-sm);
}
.ping { animation: ping 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9 } 70% { transform: scale(1.6); opacity: 0 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .ping { animation: none } }

/* ---------- count-up numbers band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 44px 28px; border-radius: var(--radius);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(23,32,51,.42), transparent);
}
.stats .st { text-align: center; }
.stats .num {
  font-family: var(--mono); font-size: clamp(30px, 4.4vw, 46px); font-weight: 500;
  letter-spacing: -.02em; color: var(--text); line-height: 1;
}
.stats .st.g .num { color: var(--accent-2); }
.stats .cap { color: var(--faint); font-size: 12.5px; line-height: 1.5; margin-top: 8px; letter-spacing: .02em; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 30px; } }

/* ---------- comparison table ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 500; }
.cmp td.yes { color: var(--good); font-weight: 600; }
.cmp td.no  { color: var(--faint); }

/* ---------- how it works (elegant steps) ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.how .step {
  position: relative; display: block; padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,32,51,.42), transparent);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.how .step:hover {
  border-color: rgba(77,156,255,.34); transform: translateY(-3px);
  box-shadow: 0 30px 60px -32px rgba(0,0,0,.7);
}
.how .step .no { font-family: var(--mono); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--accent-2); opacity: .72; }
.how .step h3 { margin-top: 14px; margin-bottom: 8px; }
.how .step p { margin-bottom: 0; }
.how .step .ln {
  position: absolute; top: 46px; right: -14px; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.how .step:last-child .ln { display: none; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } .how .step .ln { display: none; } }

/* ---------- pricing ---------- */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.plan .price.words { font-size: 21px; letter-spacing: -.01em; }
.plan .price span { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .btn { margin-top: auto; }
.plan.featured {
  border-color: rgba(77,156,255,.42);
  box-shadow: 0 0 60px -30px rgba(77,156,255,.4);
}
.plan .flag {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-dim); border: 1px solid rgba(77,156,255,.3);
  color: var(--accent-2); font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; vertical-align: 3px;
}
.tick { color: var(--good); margin-right: 8px; }
ul.clean { list-style: none; padding: 0; margin: 14px 0 18px; }
ul.clean li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.55; }
ul.clean li:last-child { border-bottom: 0; }

/* ---------- faq ---------- */
details.faq { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: 10px 0 0; max-width: 76ch; font-size: 15px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 15px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select {
  background: var(--ink); border: 1px solid var(--line-control); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 12px; font: inherit; font-size: 14.5px;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input::placeholder { color: var(--faint); }
.field .hint { font-size: 12.5px; color: var(--faint); line-height: 1.5; }

/* ---------- closing call to action ---------- */
.closer {
  background:
    radial-gradient(110% 140% at 50% -30%, rgba(77,156,255,.14), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line-soft); text-align: center;
}
.closer .lead { margin: 0 auto 22px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); padding: 46px 0 54px; color: var(--muted); font-size: 13.5px; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 26px; }
@media (max-width: 820px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 500; }
.site-foot a { display: block; color: var(--muted); padding: 4px 0; }
.site-foot a:hover { color: var(--accent); text-decoration: none; }
.site-foot .fine { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 12.5px; }


/* ---------- scroll reveal ----------
   JS-gated: the hidden state applies only once wt-landing.js adds `wt-reveal`
   to <html>, so with scripting off every `.rv` stays fully visible. Reduced
   motion shows them immediately, without transition. */
.rv { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.wt-reveal .rv { opacity: 0; transform: translateY(22px); }
html.wt-reveal .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .06s; }
.rv.d2 { transition-delay: .12s; }
.rv.d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  html.wt-reveal .rv { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
   v3 LANDING — elevated hero with the rotating dotted-globe threat-interception
   signature. Additive: only landing.html consumes the .band/.how/.step/.stats
   selectors among brand.css pages, so the overrides below are page-scoped in
   practice. Shared classes (.eyebrow/.card/.grid/.btn/.lead/.rv) are untouched.
   Palette reuses the existing azure tokens; headings are Hanken 800, tight.
   ========================================================================== */

/* content rail — the v3 markup uses .wrap (mirrors .shell width/padding) */
.wrap { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---------- hero (two-column, globe on the right) ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
#amb {
  position: absolute; inset: -10% -10% auto -10%; height: 640px;
  z-index: 0; opacity: .9; pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); max-width: 14ch; font-weight: 800; line-height: 1.05; }
.hero h1 b { color: var(--accent-2); font-weight: inherit; }
.hero .lead { margin-top: 22px; max-width: 52ch; }
.hero .ctas { margin: 30px 0 0; }
.hchips { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
  background: rgba(16,24,42,.6);
}
.chip b { color: var(--accent-2); font-weight: 600; }

/* ---------- THREAT INTERCEPTION panel — the signature ---------- */
.scope {
  position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(77,156,255,.10), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.scope .scope-cap {
  display: flex; align-items: center; gap: 9px; padding: 12px 15px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px; color: var(--faint);
}
.scope .scope-cap .live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 9px var(--good); animation: scope-pulse 2.4s infinite;
}
@keyframes scope-pulse { 0%,100% { opacity: .5 } 50% { opacity: 1 } }
.scope .scope-cap .r { margin-left: auto; color: var(--muted); }
#scope { display: block; width: 100%; height: 340px; }
.scope .hud { position: absolute; left: 15px; bottom: 14px; display: flex; gap: 20px; font-family: var(--mono); }
.scope .hud .k { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.scope .hud .k.b { color: var(--accent-2); }
.scope .hud .k.g { color: var(--good); }
.scope .hud .v { font-size: 9.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); margin-top: 2px; }
.scope .leg {
  position: absolute; right: 15px; bottom: 16px; display: flex; flex-direction: column; gap: 5px;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.scope .leg span { display: flex; align-items: center; gap: 6px; }
.scope .leg i { width: 16px; height: 2px; border-radius: 2px; }

/* ---------- stats band (reuses .stats/.st/.num/.cap; adds azure + green) ---------- */
.stats-sec { margin-top: 8px; }
.stats .st.b .num { color: var(--accent-2); }
.stats .st.g .num { color: var(--good); }

/* ---------- centered sections (capabilities / deployment) ---------- */
.sec { padding: 100px 0; }
.sec.sec-tight { padding-top: 0; }
.kick { font-family: var(--mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2); text-align: center; }
.sec-h { text-align: center; font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; font-weight: 800; }
.sub { text-align: center; color: var(--muted); max-width: 58ch; margin: 16px auto 0; font-size: 16.5px; }

/* capabilities grid */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.feat {
  border: 1px solid var(--line); border-radius: 15px; padding: 24px;
  background: linear-gradient(180deg, rgba(23,32,51,.42), transparent);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat:hover { border-color: rgba(77,156,255,.34); transform: translateY(-3px); box-shadow: 0 26px 54px -30px rgba(0,0,0,.6); }
.feat .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid rgba(77,156,255,.25); color: var(--accent-2); margin-bottom: 16px;
}
.feat h4 { font-size: 17.5px; font-weight: 700; margin: 0; }
.feat .tag { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 4px; letter-spacing: .04em; }
.feat p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* deployment steps — override the big-number .no with the v3 mono label */
.how { margin-top: 52px; }
.how .step .no { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-2); letter-spacing: .1em; opacity: 1; line-height: 1.4; }
.how .step h4 { font-size: 17px; margin-top: 12px; margin-bottom: 0; }
.how .step p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- CTA band (override the section-modifier .band with the v3 card) ---------- */
.band {
  position: relative; margin: 0 28px 84px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 170% at 50% -30%, rgba(77,156,255,.20), rgba(10,14,26,.9) 62%);
  padding: 72px 28px; text-align: center;
}
.band h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; }
.band p { color: var(--muted); margin: 16px auto 0; max-width: 50ch; }
.band .ctas { margin-top: 30px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .fgrid, .how, .feedwrap { grid-template-columns: 1fr; }
  #scope { height: 300px; }
  .sec { padding: 72px 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scope .scope-cap .live { animation: none; }
  .feat { transition: none; }
}

/* ============================================================
   Live detection feed (v4) + FAQ container form
   ============================================================ */
.feedwrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.feed { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 40px 90px -44px rgba(0,0,0,.75); }
.feed-h { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.feed-h .live { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 9px var(--good); animation: scope-pulse 2.4s infinite; }
.feed-body { height: 340px; overflow: hidden; position: relative; }
.feed-row { display: grid; grid-template-columns: 16px 74px 1fr auto; gap: 11px; align-items: center; padding: 11px 15px; border-bottom: 1px solid var(--line-soft); animation: feedin .5s cubic-bezier(.2,.7,.2,1); }
@keyframes feedin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed-row .s { width: 3px; height: 26px; border-radius: 3px; }
.feed-row .tech { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.feed-row .ti b { font-weight: 600; font-size: 13px; }
.feed-row .host { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 1px; }
.feed-row .act { font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-b { color: var(--accent-2); background: var(--accent-dim); border: 1px solid rgba(77,156,255,.3); }
.pill-a { color: var(--warn); background: rgba(245,185,90,.1); border: 1px solid rgba(245,185,90,.3); }
.pill-r { color: #fff; background: var(--crit); border: 1px solid var(--crit); }
.pill-g { color: var(--good); background: rgba(53,211,166,.1); border: 1px solid rgba(53,211,166,.3); }

.faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(16,24,42,.4), transparent); padding: 2px 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15.5px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--accent-2); font-family: var(--mono); font-size: 18px; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); font-size: 14.5px; padding: 0 0 16px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .feed-row { animation: none; } .feed-h .live { animation: none; } }

/* ============================================================================
   RESEND-STYLE LANDING (2026-08 redesign of /welcome).
   Every rule is scoped under `body.rs` so it cannot regress the shared
   marketing pages (features/pricing/signup use a bare <body>) or the console.
   Pure-dark ground (#07090f); huge Instrument-Serif hero; tight-tracked Hanken
   Grotesk section heads; IBM Plex Mono install code — ALL self-hosted faces
   (font-src 'self', no CDN). One globe engine: #scope in wt-scope.js, arrows.
   ========================================================================== */
body.rs{
  --bg:#07090f; --bg-2:#0b0f18; --panel:#0d1320; --panel-2:#111a2b;
  --line:rgba(122,150,210,.12); --line-2:rgba(122,150,210,.2);
  --text:#f1f3f8; --text-2:#98a4bd; --text-3:#5f6980;
  --az:#4d9cff; --az-2:#82bbff; --mint:#8ff0d6;
  --serif:"Instrument Serif",Georgia,serif;
  --sans:"Hanken Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SF Mono",Consolas,monospace;
  background:var(--bg); background-image:none; background-attachment:initial;
  color:var(--text); font:16px/1.6 var(--sans); overflow-x:hidden;
}
/* kill the shared fixed film-grain overlay on this page */
body.rs::before{display:none;content:none}
body.rs *{box-sizing:border-box;margin:0;padding:0}
body.rs a{color:inherit;text-decoration:none}
body.rs a:hover{text-decoration:none}
body.rs section{padding:0;position:relative}
body.rs .wrap{max-width:1160px;margin:0 auto;padding:0 32px}
body.rs .eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--az-2);display:inline-block;margin:0}
body.rs .eyebrow::before{content:none;display:none}
body.rs h2{font-family:var(--sans);font-weight:600;letter-spacing:-.04em;line-height:1.02;font-size:clamp(30px,4.6vw,54px);margin:0}
body.rs .lead{color:var(--text-2);font-size:clamp(16px,1.6vw,19px);line-height:1.6;max-width:none}
body.rs .btn{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:10px;font-size:14px;font-weight:600;border:1px solid var(--line-2);color:var(--text);background:transparent;cursor:pointer;transition:.15s}
body.rs .btn:hover{border-color:#3a4b70;background:rgba(77,156,255,.06)}
body.rs .btn.p{background:#fff;color:#080b12;border-color:#fff}
body.rs .btn.p:hover{background:#dfe7f5}

/* nav */
body.rs .nav{position:sticky;top:0;z-index:50;background:rgba(7,9,15,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
body.rs .nav .wrap{display:flex;align-items:center;gap:14px;height:64px}
body.rs .logo{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.02em;font-size:16px;color:var(--text)}
body.rs .logo:hover{color:var(--text)}
body.rs .logo .m{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:radial-gradient(circle at 50% 25%,#16233d,#0c1424);border:1px solid #24314c;position:relative;flex:none}
body.rs .logo .m svg{width:15px;height:15px}
body.rs .nav .links{margin-left:20px;display:flex;gap:22px;font-size:14px;color:var(--text-2)}
body.rs .nav .links a:hover{color:var(--text)}
body.rs .nav .r{margin-left:auto;display:flex;gap:10px;align-items:center}

/* hero */
body.rs .hero{padding:90px 0 40px;text-align:center;position:relative;overflow:visible;overflow-x:clip}
body.rs .hero::before{content:"";position:absolute;left:50%;top:-80px;width:900px;height:520px;transform:translateX(-50%);z-index:0;background:radial-gradient(60% 60% at 50% 40%,rgba(77,156,255,.16),transparent 70%);filter:blur(20px);pointer-events:none}
body.rs .hero .wrap{position:relative;z-index:1;display:block}
body.rs .hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(52px,9vw,104px);line-height:.98;letter-spacing:-.02em;margin-top:26px;max-width:none}
body.rs .hero h1 .i{font-style:italic;color:var(--az-2)}
body.rs .hero p{margin:26px auto 0;max-width:56ch;color:var(--text-2);font-size:clamp(16px,1.7vw,20px);line-height:1.55}
body.rs .hero .cta{margin-top:34px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
body.rs .hero .sub{margin-top:20px;font-family:var(--mono);font-size:12px;color:var(--text-3);letter-spacing:.02em}

/* product frame */
body.rs .frame{margin:56px auto 0;max-width:1020px;position:relative;border:1px solid var(--line-2);border-radius:16px;overflow:hidden;background:linear-gradient(180deg,var(--panel-2),var(--panel));box-shadow:0 60px 140px -50px rgba(0,0,0,.9),0 0 100px -40px rgba(77,156,255,.3)}
body.rs .frame::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(130,187,255,.5),transparent)}
body.rs .frame .bar{display:flex;align-items:center;gap:7px;padding:11px 15px;border-bottom:1px solid var(--line)}
body.rs .frame .bar i{width:10px;height:10px;border-radius:50%;background:#26313f}
body.rs .frame .bar .t{margin-left:10px;font-family:var(--mono);font-size:11.5px;color:var(--text-3)}
body.rs .demo{display:grid;grid-template-columns:190px 1fr;min-height:400px}
body.rs .demo .rail{border-right:1px solid var(--line);padding:16px 12px}
body.rs .demo .rail .g{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);padding:6px 8px;margin-top:10px}
body.rs .demo .rail a{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:8px;font-size:12.5px;color:var(--text-2);margin-bottom:1px}
body.rs .demo .rail a .d{width:6px;height:6px;border-radius:2px;background:currentColor;opacity:.6}
body.rs .demo .rail a.on{background:linear-gradient(90deg,rgba(77,156,255,.14),transparent);color:#fff}
body.rs .demo .rail a.on .d{background:var(--az);opacity:1;box-shadow:0 0 8px var(--az)}
body.rs .demo .body{padding:22px 24px}
body.rs .demo .st{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--mint)}
body.rs .demo h3{font-family:var(--serif);font-weight:400;font-size:26px;margin:12px 0 0;letter-spacing:.01em;color:var(--text)}
body.rs .demo .facts{display:flex;gap:24px;margin-top:18px;flex-wrap:wrap}
body.rs .demo .facts .k{font-family:var(--mono);font-size:19px;color:var(--text)}
body.rs .demo .facts .k.g{color:var(--mint)}
body.rs .demo .facts .v{font-size:9.5px;color:var(--text-3);text-transform:uppercase;letter-spacing:.07em;margin-top:3px}
body.rs .demo table{width:100%;border-collapse:collapse;margin-top:20px;font-size:12.5px}
body.rs .demo td{padding:9px 4px;border-bottom:1px solid var(--line)}
body.rs .demo .sev{width:3px;height:22px;border-radius:2px;display:inline-block;vertical-align:middle}
body.rs .demo .tech{font-family:var(--mono);font-size:11px;color:var(--text-3)}
body.rs .demo .pill{font-family:var(--mono);font-size:10px;padding:2px 7px;border-radius:999px;border:1px solid var(--line-2);color:var(--az-2)}

/* trusted strip */
body.rs .logos{padding:44px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:80px}
body.rs .logos .wrap{display:flex;align-items:center;justify-content:center;gap:44px;flex-wrap:wrap;opacity:.6}
body.rs .logos .l{font-family:var(--mono);font-size:12px;letter-spacing:.1em;color:var(--text-2)}

/* feature sections */
body.rs .sec{padding:110px 0}
body.rs .split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
body.rs .split>*{min-width:0}
body.rs .vis{max-width:100%}
body.rs .split.rev .txt{order:2}
body.rs .txt h2{margin-top:16px}
body.rs .txt p{margin-top:18px;max-width:44ch}
body.rs .txt .list{margin-top:22px;display:grid;gap:12px}
body.rs .txt .list .li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--text-2)}
body.rs .txt .list .li b{color:var(--text);font-weight:600}
body.rs .txt .list svg{width:16px;height:16px;color:var(--mint);margin-top:2px;flex:none}
body.rs .vis{border:1px solid var(--line-2);border-radius:14px;background:linear-gradient(180deg,var(--panel-2),var(--panel));padding:20px;position:relative;overflow:hidden;box-shadow:0 40px 90px -50px rgba(0,0,0,.8)}
body.rs .vis .cap{font-family:var(--mono);font-size:11px;color:var(--text-3);margin-bottom:14px;display:flex;align-items:center;gap:8px}
body.rs .vis .cap .dot{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 8px var(--mint)}
body.rs .code{font-family:var(--mono);font-size:12.5px;line-height:1.9;color:var(--text-2);white-space:pre;overflow-x:auto}
body.rs .code .c{color:var(--text-3)}
body.rs .code .k{color:var(--az-2)}
body.rs .code .g{color:var(--mint)}
body.rs .feedrow{display:grid;grid-template-columns:14px 66px 1fr auto;gap:10px;align-items:center;padding:11px 6px;border-bottom:1px solid var(--line);font-size:12.5px}
body.rs .feedrow .s{width:3px;height:24px;border-radius:2px}
body.rs .feedrow .t2{font-family:var(--mono);font-size:10.5px;color:var(--text-3)}
body.rs .feedrow .a{font-family:var(--mono);font-size:10px;padding:2px 8px;border-radius:999px}

/* globe vis — the app's #scope engine (wt-scope.js) draws here */
body.rs #scope{width:100%;height:280px;display:block}

/* metric grid */
body.rs .mg{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:56px;margin-bottom:0}
body.rs .mg .c{background:var(--bg);padding:30px 26px}
body.rs .mg .c .n{font-family:var(--mono);font-size:34px;letter-spacing:-.02em}
body.rs .mg .c .n.g{color:var(--mint)}
body.rs .mg .c .l{color:var(--text-2);font-size:14px;margin-top:8px}
body.rs .mg-sec{padding:96px 0 0}

/* cta band */
body.rs .band{margin:96px 32px 96px;border:1px solid var(--line-2);border-radius:22px;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);text-align:center;padding:88px 28px;position:relative;overflow:hidden;background:radial-gradient(120% 150% at 50% -20%,rgba(77,156,255,.2),rgba(7,9,15,.9) 60%)}
body.rs .band h2{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;font-size:clamp(34px,5vw,60px)}
body.rs .band p{color:var(--text-2);margin:18px auto 0;max-width:46ch}
body.rs .band .cta{margin-top:30px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* footer */
body.rs .foot{border-top:1px solid var(--line);padding:34px 0;color:var(--text-3);font-size:13px}
body.rs .foot .wrap{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
body.rs .foot .links{display:flex;gap:18px}
body.rs .foot .links a{color:var(--text-2)}
body.rs .foot .links a:hover{color:var(--text)}
body.rs .foot .sp{margin-left:auto;font-family:var(--mono)}

@media(max-width:860px){
  body.rs .split{grid-template-columns:1fr;gap:32px}
  body.rs .code{white-space:pre-wrap;overflow-wrap:anywhere}
  body.rs .split.rev .txt{order:0}
  body.rs .demo{grid-template-columns:1fr}
  body.rs .demo .rail{display:none}
  body.rs .mg{grid-template-columns:1fr}
  body.rs .nav .links{display:none}
}
@media(prefers-reduced-motion:reduce){body.rs *{animation:none!important}}
