/* ==========================================================================
   TrapLine by Vortacity Cyber: design system
   "The lure in the dark" — shared with the TrapLine portal (app.trapline.io).
   Deep navy surface ramp · cyan-teal lure accent · cool-blue technical secondary.
   Zero dependencies. Geist is self-hosted from /assets/fonts (first-party).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surface ramp: deepest chrome, canvas, raised panels — same ramp as the portal */
  --bg-0: #05080e;
  --bg-1: #0a0f17;
  --bg-2: #101623;
  --panel: #101623;
  --panel-2: #131a29;
  --line: #1e252f;
  --line-2: #2a3341;
  --text: #e8ebef;
  --muted: #aab2bf;
  --dim: #7f8a99;
  /* The lure: the portal's signature accent (--primary: hsl(173 67% 51%)) */
  --lure: #2fd6c3;
  --lure-ink: #042522;
  --lure-soft: rgba(47, 214, 195, 0.12);
  --blue: #4a9eff;
  --blue-soft: rgba(74, 158, 255, 0.12);
  --green: #5dd39e;

  /* Type */
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --radius: 8px;
  --radius-lg: 12px;
  --content: 1120px;
  --content-narrow: 780px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--lure);
  color: var(--lure-ink);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.eyebrow-center { justify-content: center; }
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px 1px rgba(93, 211, 158, 0.6);
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 24ch;
}
.section-lede {
  margin-top: 1.1rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.section-punch {
  margin-top: 2.75rem;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--muted);
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
}
.section-punch strong { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.06s; }
.btn-primary {
  background: var(--lure);
  color: var(--lure-ink);
  box-shadow: 0 4px 22px -6px rgba(47, 214, 195, 0.45);
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.btn-primary:hover {
  background: #4fe0cf;
  box-shadow: 0 8px 30px -8px rgba(47, 214, 195, 0.6);
}
.btn-primary:active { box-shadow: 0 3px 14px -6px rgba(47, 214, 195, 0.5); }
.btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--dim); background: rgba(255, 255, 255, 0.05); }

/* Header CTA is deliberately quieter than the hero/closing CTAs:
   one loud lure moment per screen. */
.nav-cta-item .btn-primary {
  background: transparent;
  color: var(--lure);
  border-color: rgba(47, 214, 195, 0.5);
  box-shadow: none;
}
.nav-cta-item .btn-primary:hover {
  background: var(--lure-soft);
  box-shadow: none;
}
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; margin-top: auto; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.cta-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 30px;
  width: auto;
  align-self: center;
  flex: none;
}
.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-by {
  font-size: 0.8rem;
  color: var(--dim);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-cta-item { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  align-items: center;
  gap: 0.55rem;
}
.nav-toggle-bar {
  width: 16px; height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 2px;
  background: var(--text);
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 900px 520px at 78% -10%, rgba(47, 214, 195, 0.07), transparent 62%),
    radial-gradient(ellipse 700px 500px at 12% 8%, rgba(74, 158, 255, 0.055), transparent 60%),
    var(--bg-0);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
}
.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.17rem;
  color: var(--muted);
  max-width: 54ch;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.6rem;
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-meta li { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Hero diagram ---------- */
.hero-copy, .hero-visual { min-width: 0; }
.diagram {
  display: flex;
  flex-direction: column;
  max-width: 460px;
  margin-left: auto;
}

.dg-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65);
}
.dg-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.dg-panel-title, .dg-spine-label, .dg-alert-badge, .dg-alert-time, .dg-status,
.dg-legend, .dg-row-label, .dg-route {
  font-family: var(--font-mono);
}
.dg-panel-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dg-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--green);
}
.dg-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(93, 211, 158, 0.8);
}

.dg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
.dg-row-label {
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.03em;
}
.dg-cells { display: flex; gap: 7px; }
.dg-cell {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--line);
  border: 1px solid var(--line-2);
}
.dg-decoy {
  background: var(--lure-soft);
  border: 1px dashed rgba(47, 214, 195, 0.65);
}
.dg-decoy-hit {
  position: relative;
  background: var(--lure);
  border-style: solid;
  border-color: var(--lure);
}
.dg-decoy-ping {
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  border: 1px solid var(--lure);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.dg-legend {
  display: flex;
  gap: 1.4rem;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.dg-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.dg-key {
  width: 11px; height: 11px;
  border-radius: 3px;
  flex: none;
}
.dg-key-real { background: var(--line); border: 1px solid var(--line-2); }
.dg-key-decoy { background: var(--lure-soft); border: 1px dashed rgba(47, 214, 195, 0.65); }

.dg-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.35rem 0;
}
.dg-spine-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, var(--line-2), var(--blue));
  position: relative;
}
.dg-spine-line:last-child {
  background: linear-gradient(180deg, var(--blue), var(--line-2));
}
.dg-spine-line::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  animation: flow 2.2s linear infinite;
}
@keyframes flow {
  0%   { top: -4px; opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { top: calc(100% - 2px); opacity: 0; }
}
.dg-spine-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: 999px;
  background: var(--blue-soft);
  margin: 0.3rem 0;
  white-space: nowrap;
}

.dg-alert { border-color: rgba(47, 214, 195, 0.4); }
.dg-alert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.dg-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lure);
}
.dg-alert-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lure);
  box-shadow: 0 0 9px rgba(47, 214, 195, 0.8);
}
.dg-alert-time { font-size: 0.68rem; color: var(--dim); }
.dg-alert-title {
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.dg-alert-fields div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.dg-alert-fields dt { color: var(--dim); }
.dg-alert-fields dd { margin: 0; color: var(--text); font-family: var(--font-mono); font-size: 0.78rem; }
.dg-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.dg-route {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: var(--bg-1);
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
/* Raised band: a genuinely lighter elevation step, with surface tokens
   re-tuned so panels stay lighter than the band they sit on. */
.section-raised {
  --panel: #161e2e;
  --panel-2: #1b2436;
  --line: #262f3d;
  --line-2: #333e50;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-inner-narrow { max-width: var(--content-narrow); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 4.5rem;
  align-items: end;
}
.section-head .section-lede { margin-top: 0; }

/* ---------- Problem / compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.compare-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
}
.compare-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.compare-glyph { font-size: 0.6rem; }
.compare-legit .compare-glyph { color: var(--blue); }
.compare-attacker { border-color: rgba(47, 214, 195, 0.35); }
.compare-attacker .compare-glyph { color: var(--lure); }
.compare-card ul { display: grid; gap: 0.6rem; }
.compare-card li {
  color: var(--muted);
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.99rem;
}
.compare-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 1.5px;
  background: var(--dim);
}
.compare-attacker li::before { background: var(--lure); }

/* ---------- How it works: connected flow + expanded alert ---------- */
.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
}
/* The telemetry line threading the steps; same motif as the hero spine. */
.flow::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), var(--blue) 55%, var(--line-2));
}
.flow::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  animation: flow-travel 5.5s linear infinite;
}
@keyframes flow-travel {
  0%   { top: 3%; opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 1.15rem;
  padding-bottom: 2.1rem;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-node {
  width: 39px; height: 39px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
/* Tinted nodes layer their translucent wash over the opaque panel color;
   otherwise the flow line shows through the circle. */
.flow-step-telemetry .flow-node {
  border-color: rgba(74, 158, 255, 0.5);
  background: linear-gradient(var(--blue-soft), var(--blue-soft)), var(--panel-2);
  color: var(--blue);
}
.flow-step-decoy .flow-node {
  border-color: rgba(47, 214, 195, 0.55);
  background: linear-gradient(var(--lure-soft), var(--lure-soft)), var(--panel-2);
  color: var(--lure);
}
.flow-body h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  padding-top: 0.45rem;
  margin-bottom: 0.45rem;
}
.flow-body p { color: var(--muted); font-size: 0.96rem; max-width: 48ch; }

.how-visual {
  position: sticky;
  top: 90px;
}
.dg-alert-xl { max-width: 440px; }
.dg-alert-xl .dg-alert-fields dd { overflow-wrap: anywhere; text-align: right; }
.dg-event {
  display: flex;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  margin-top: 0.9rem;
  overflow-wrap: anywhere;
}
.dg-event-time { color: var(--blue); flex: none; }
.how-visual-note {
  margin-top: 0.85rem;
  color: var(--dim);
  font-size: 0.82rem;
  max-width: 440px;
}

/* ---------- Why: editorial rows ---------- */
.why-rows {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.why-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 1rem 4.5rem;
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--line);
}
.why-row h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.why-row p { color: var(--muted); max-width: 58ch; }

/* ---------- Coverage: decoy-resource cards ---------- */
.decoy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.decoy-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem 1.45rem;
}
.decoy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.decoy-workload { font-weight: 650; font-size: 1.08rem; letter-spacing: -0.01em; }
.coverage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(93, 211, 158, 0.4);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}
.decoy-resource {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
}
.decoy-resource + .decoy-resource { margin-top: 0.6rem; }
.decoy-type {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 0.32rem 0.4rem;
  flex: none;
}
.decoy-names {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.decoy-name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  overflow-wrap: anywhere;
}
.decoy-path {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
}
.decoy-badge {
  margin-left: auto;
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lure);
  border: 1px dashed rgba(47, 214, 195, 0.6);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: var(--lure-soft);
}
.decoy-card > p { color: var(--muted); font-size: 0.94rem; margin-top: 1rem; }
.decoy-note { margin-top: 1.75rem; color: var(--dim); font-size: 0.85rem; }

/* ---------- Product: real portal screenshots ---------- */
.shot {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65);
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.shot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
}
.shot img { width: 100%; height: auto; }
.shot-solo { margin-top: 2.75rem; }
.shot-caption {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Frameless document shot: the report page IS the frame */
.shot-doc { margin: 0; }
.shot-doc img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
}
.shot-doc figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}

/* MSP + reporting: copy beside the report shot */
.msp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem 4rem;
  margin-top: 2.75rem;
  align-items: center;
}
.msp-copy p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 52ch;
}
.msp-copy p:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .msp { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Early-access proof strip ---------- */
.proof-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 3.5rem;
  margin-top: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}
.proof-value {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.proof-label {
  color: var(--muted);
  font-size: 1rem;
}
.proof-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 44ch;
  margin-left: auto;
}

/* Founder / trust strip */
.founders { margin-top: 3rem; max-width: 68ch; }
.founders-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.8rem;
}
.founders-copy {
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.35rem;
  font-weight: 600;
  font-size: 1.01rem;
  position: relative;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { background: var(--panel-2); }
.faq-item p {
  padding: 0 1.35rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Closing ---------- */
.closing {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0;
  background:
    radial-gradient(ellipse 700px 380px at 50% 115%, rgba(47, 214, 195, 0.09), transparent 65%),
    var(--bg-0);
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing-watermark {
  position: absolute;
  right: -50px;
  bottom: -55px;
  width: min(430px, 55vw);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.closing-inner { position: relative; }
.closing-inner h2 { margin: 0 auto; }
.closing-mark {
  height: 48px;
  width: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}
.closing-sub {
  margin: 1.2rem auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  padding: 3rem 0 2.5rem;
}
.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.75rem 3rem;
  align-items: start;
}
.footer-brand { display: flex; gap: 0.85rem; align-items: flex-start; }
.footer-brand .brand-mark { height: 32px; margin-top: 0.1rem; }
.footer-name {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-tag { color: var(--dim); font-size: 0.9rem; max-width: 40ch; margin-top: 0.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding-top: 0.3rem; }
.footer-nav a { color: var(--muted); font-size: 0.92rem; padding: 0.55rem 0; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  color: var(--dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.footer-vortacity { height: 23px; width: auto; opacity: 0.85; }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: var(--dim); font-size: 0.85rem; padding: 0.35rem 0; }
.footer-legal-links a:hover { color: var(--muted); text-decoration: none; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-main { padding: 4rem 0 6rem; }
.legal-main h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.legal-updated { color: var(--dim); font-size: 0.9rem; margin-top: 0.9rem; }
.legal-main h2 {
  font-size: 1.22rem;
  max-width: none;
  margin-top: 2.4rem;
  margin-bottom: 0.35rem;
}
.legal-main p { color: var(--muted); margin-top: 0.7rem; max-width: 68ch; }
.legal-main ul { margin-top: 0.7rem; display: grid; gap: 0.5rem; max-width: 68ch; }
.legal-main li {
  color: var(--muted);
  padding-left: 1.15rem;
  position: relative;
}
.legal-main li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 1.5px;
  background: var(--dim);
}

/* ---------- Reveal on scroll (hidden state applies only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.25rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .diagram { margin: 0 auto; }
  .proof-note { margin-left: 0; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .section-lede { margin-top: 1.1rem; }
  .how-layout { grid-template-columns: 1fr; gap: 3rem; }
  .how-visual { position: static; max-width: 460px; }
}

/* The full nav (with Product and Sign in) needs ~1180px of room; hand over to
   the toggle before it wraps. Keep in sync with the matchMedia in main.js. */
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-0);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-top: 1px solid var(--line); }
  .nav-menu li:first-child { border-top: none; }
  .nav-menu a:not(.btn) {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.02rem;
  }
  .nav-cta-item { border-top: none; margin: 0.85rem 0 0; }
  .nav-cta-item .btn { width: 100%; }

  /* Legal pages have no toggle; keep their single "Back to site" link inline. */
  .nav-menu-simple {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border-bottom: none;
    padding: 0;
  }
  .nav-menu-simple li { border-top: none; }
  .nav-menu-simple a:not(.btn) { padding: 0.5rem 0.25rem; font-size: 0.95rem; }
}

@media (max-width: 760px) {
  .section { padding: 4rem 0; }
  .closing { padding: 5rem 0; }

  .compare { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; gap: 0.55rem; padding: 1.6rem 0; }
  .dg-spine-label { white-space: normal; text-align: center; }
  .proof-strip { padding: 1.5rem 0; gap: 1.25rem 2.5rem; }
  .flow-step { padding-bottom: 1.6rem; }

  /* Coverage: swipeable card rail instead of a 1,800px stack */
  .decoy-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(85%, 340px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    margin: 2.25rem -1.5rem 0;
    padding: 0 1.5rem 0.9rem;
    scrollbar-width: thin;
  }
  .decoy-card { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  /* The expanded alert duplicates the hero alert card on small phones; drop it. */
  .how-visual { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  h1 { font-size: 2.15rem; }
  .hero-sub { font-size: 1.08rem; }
  .section-lede { font-size: 1.04rem; }
  .proof-value { font-size: 2.1rem; }
  .brand-by { display: none; }
  .section { padding: 3.5rem 0; }
  .closing { padding: 4.5rem 0; }
  .hero-inner { padding-top: 3.25rem; padding-bottom: 3.25rem; gap: 2.75rem; }
  .cta-row { margin-top: 1.8rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-meta { gap: 0.5rem 1.25rem; margin-top: 1.8rem; }
  .compare-card { padding: 1.3rem 1.35rem; }
  .compare-card ul { gap: 0.5rem; }
  .section-punch { margin-top: 2rem; }
  .dg-panel { padding: 0.95rem 1rem; }
  .faq-list { gap: 0.6rem; }
  .faq-item summary { padding: 0.95rem 2.8rem 0.95rem 1.15rem; }
  .faq-item p { padding: 0 1.15rem 1.1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
