@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────────────
   Analyzer69000 — Security & Client Portal styling
   Aligned with /check + /boost design language: layered conic+radial
   bg, glass surfaces, animated gradient flows, mono eyebrows, pill
   chips. Built with the same color tokens as the rest of the app so
   every navigation feels like one product.
   ───────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;
  --bg: #030712;
  --panel: #0b1220;
  --surface: rgba(15, 23, 42, .42);
  --surface-strong: rgba(15, 23, 42, .68);
  --line: rgba(255, 255, 255, .055);
  --line-strong: rgba(255, 255, 255, .12);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --brand: #22d3ee;
  --brand-2: #818cf8;
  --accent: #f472b6;
  --red: #f87171;
  --amber: #fbbf24;
  --green: #34d399;
  --shield: #fbbf24;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; max-width: 100vw; overflow-x: hidden; }
body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Animated atmospheric backdrop — same conic-rotate + radial top
   wash as /check + /boost. Tints lean amber/cyan/violet to signal
   "shield" instead of /check's red rugscore palette. */
body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(148,163,184,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.025) 1px, transparent 1px),
    conic-gradient(from 180deg at 50% 50%,
      rgba(251,191,36,.045) 0deg, transparent 60deg,
      rgba(34,211,238,.045) 120deg, transparent 180deg,
      rgba(167,139,250,.04) 240deg, transparent 300deg,
      rgba(251,191,36,.045) 360deg);
  background-size: 80px 80px, 80px 80px, 200% 200%;
  animation: a69spin 38s linear infinite;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(251,191,36,.085), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 12%, rgba(34,211,238,.07), transparent 60%),
    linear-gradient(180deg, rgba(3,7,18,.06), rgba(3,7,18,.86) 78%);
}
@keyframes a69spin { to { transform: rotate(360deg); } }
@keyframes a69flow { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
@keyframes a69pulse { 50% { opacity: .55; } }
@keyframes a69rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tiny grain layer — same one /boost uses to kill banding. */
.sec-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body, button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, .btn { -webkit-tap-highlight-color: transparent; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* ─── Shell ─── */
.shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 80px;
}

/* ─── Sticky glass nav (matches /boost app-header) ─── */
.nav {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  margin: 0 0 36px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: rgba(3,7,18,.74);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0;
  white-space: nowrap;
}
.brand img {
  width: auto;
  height: 22px;
  max-width: 188px;
  opacity: .9;
}
.brand:hover img { opacity: 1; }
.brand-label {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-left: 1px solid rgba(255,255,255,.10);
  padding-left: 12px;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.navlinks > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  transition: color .18s, background .18s;
}
.navlinks > a:hover { color: #fff; background: rgba(255,255,255,.05); }
.navlinks > a.active { color: #fde68a; background: rgba(251,191,36,.08); }
.nav-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,.7);
  display: inline-block;
}

/* ─── Buttons ─── */
.btn,
button:not(.unstyled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 9px 16px;
  color: #cbd5e1;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .005em;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover,
button:not(.unstyled):hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(34,211,238,.40);
  background: rgba(34,211,238,.10);
}
.btn.primary,
button.primary {
  border-color: transparent;
  color: #1f1300;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  box-shadow: 0 0 30px rgba(251,191,36,.22), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn.primary:hover,
button.primary:hover {
  color: #1f1300;
  background: linear-gradient(135deg, #fef3c7, #fbbf24 50%, #f59e0b);
  filter: saturate(1.06);
}
.btn.good,
button.good {
  color: #bae6fd;
  border-color: rgba(34,211,238,.36);
  background: rgba(34,211,238,.10);
}
.btn.good:hover,
button.good:hover { color: #fff; background: rgba(34,211,238,.18); }
.btn.warn,
button.warn {
  color: #fde68a;
  border-color: rgba(251,191,36,.36);
  background: rgba(251,191,36,.10);
}
.btn.danger,
button.danger {
  color: #fecaca;
  border-color: rgba(248,113,113,.42);
  background: rgba(248,113,113,.10);
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
}
.btn.ghost:hover { color: #fff; background: rgba(255,255,255,.04); }
.btn .btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* ─── Typography ─── */
h1 {
  margin: 0 0 18px;
  max-width: 960px;
  color: #fff;
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.035em;
}
h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.018em;
}
h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.01em;
}
p { margin: 0 0 14px; }
.muted { color: var(--muted); line-height: 1.65; }
.dim { color: var(--muted-2); }
.lead { max-width: 720px; font-size: 16px; line-height: 1.6; color: #cbd5e1; }

/* ─── Eyebrow / mono kicker ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(251,191,36,.85);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,.7);
}
.eyebrow.cyan { color: rgba(34,211,238,.85); }
.eyebrow.cyan::before { background: #22d3ee; box-shadow: 0 0 10px rgba(34,211,238,.7); }
.eyebrow.violet { color: rgba(167,139,250,.85); }
.eyebrow.violet::before { background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,.7); }
.eyebrow.green { color: rgba(52,211,153,.85); }
.eyebrow.green::before { background: #34d399; box-shadow: 0 0 10px rgba(52,211,153,.7); }

/* Animated gradient text — used on the hero hook */
.flow-text {
  background-image: linear-gradient(90deg, #fde68a, #f472b6, #22d3ee, #fde68a);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: a69flow 9s linear infinite;
}

/* ─── Surfaces ─── */
.panel,
.card,
.surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.62), rgba(8,12,20,.78));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 0 0 1px rgba(255,255,255,.015),
    0 24px 90px -28px rgba(0,0,0,.7);
}
.panel { padding: 24px; }
.card { padding: 20px; }
.surface { padding: 0; border-radius: 22px; }
.surface-row {
  position: relative;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.surface-row:last-child { border-bottom: 0; }
.surface-row::before {
  content: '';
  position: absolute;
  left: 24px; right: 24px; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.18), transparent);
  opacity: 0;
  transition: opacity .28s;
}
.surface-row:hover::before { opacity: 1; }

.panel::before,
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,211,238,.10), rgba(251,191,36,.08), rgba(167,139,250,.10));
  opacity: .35;
  filter: blur(14px);
}
.panel-amber { border-color: rgba(251,191,36,.30); }
.panel-cyan { border-color: rgba(34,211,238,.28); }
.panel-violet { border-color: rgba(167,139,250,.28); }
.panel-green { border-color: rgba(52,211,153,.28); }

/* ─── Pills ─── */
.pill,
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: #94a3b8;
  text-transform: uppercase;
  white-space: nowrap;
}
.p-amber { color: #fcd34d; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.08); }
.p-cyan  { color: #67e8f9; border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.08); }
.p-violet{ color: #c4b5fd; border-color: rgba(167,139,250,.42); background: rgba(167,139,250,.08); }
.p-green { color: #86efac; border-color: rgba(52,211,153,.42); background: rgba(52,211,153,.08); }
.p-red   { color: #fca5a5; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.08); }
.p-blue  { color: #93c5fd; border-color: rgba(96,165,250,.40); background: rgba(96,165,250,.08); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .005em;
}
.status::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.status.good { color: #86efac; border-color: rgba(52,211,153,.32); background: rgba(52,211,153,.08); }
.status.warn { color: #fbbf24; border-color: rgba(251,191,36,.32); background: rgba(251,191,36,.08); }
.status.bad  { color: #f87171; border-color: rgba(248,113,113,.34); background: rgba(248,113,113,.08); }
.status.info { color: #67e8f9; border-color: rgba(34,211,238,.32); background: rgba(34,211,238,.08); }

/* ─── Layout helpers ─── */
.grid { display: grid; gap: 14px; }
.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section { margin-top: 32px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.section-head p { max-width: 600px; margin: 0; }
.divider {
  height: 1px;
  margin: 32px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* ═══════════════════════════════════════════════════════════════════
   /security  —  Marketing surface
   ═══════════════════════════════════════════════════════════════════ */

.sec-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
  padding: 8px 0 28px;
}
.sec-hero h1 .flow-text { display: inline-block; }
.sec-hero-lead { color: #cbd5e1; font-size: 16px; line-height: 1.65; max-width: 580px; margin-bottom: 22px; }
.sec-hero-lead b { color: #fff; font-weight: 800; }
.sec-hero-lead .accent { color: #fcd34d; font-weight: 800; }
.sec-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.sec-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

/* Console-style preview card on the right of the hero. Uses the same
   readout language as Codex's old audit-console but tightened and
   animated so the eye lingers. */
.sec-console {
  position: relative;
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(15,23,42,.78), rgba(8,12,20,.86)),
    radial-gradient(ellipse at top left, rgba(251,191,36,.16), transparent 58%);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 30px 90px -24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.sec-console::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 30% at 90% 0%, rgba(34,211,238,.18), transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 40%);
}
.sec-console-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(2,6,23,.55);
  color: #64748b;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sec-console-top .dots { display: inline-flex; gap: 6px; }
.sec-console-top .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #475569;
  box-shadow: 0 0 8px currentColor;
}
.sec-console-top .dot.r { color: #ef4444; background: #ef4444; }
.sec-console-top .dot.y { color: #fbbf24; background: #fbbf24; animation: a69pulse 2.6s infinite; }
.sec-console-top .dot.g { color: #34d399; background: #34d399; }

.sec-console-pipeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}
.sec-console-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(2,6,23,.46), rgba(15,23,42,.30));
  transition: border-color .25s, background .25s, transform .25s;
}
.sec-console-step:hover { border-color: rgba(34,211,238,.30); background: linear-gradient(135deg, rgba(2,6,23,.6), rgba(15,23,42,.46)); transform: translateY(-1px); }
.sec-console-step .num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(251,191,36,.30);
  border-radius: 10px;
  color: #fcd34d;
  background: rgba(251,191,36,.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 11px;
}
.sec-console-step b { display: block; color: #fff; font-size: 13.5px; }
.sec-console-step p {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}
.sec-console-step .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.7);
  animation: a69pulse 1.6s infinite;
}

/* "Output" tag rail under console — lists payouts at the end of each
   stage so the visitor reads what they actually receive from the work. */
.sec-console-out {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.sec-console-out > div {
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(34,211,238,.045);
}
.sec-console-out b { display: block; color: #e0f2fe; font-size: 13px; }
.sec-console-out span { display: block; color: #94a3b8; font-size: 11px; line-height: 1.4; margin-top: 2px; }

/* ─── Tier picker (matches /boost tier-grid) ─── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(15,23,42,.6), rgba(8,12,20,.8));
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s;
}
.tier:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.30); }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tier-name { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: #cbd5e1; }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.tier-price-amount { font-size: 32px; font-weight: 900; letter-spacing: -.025em; color: #fff; }
.tier-price-unit { font-size: 11.5px; color: #94a3b8; font-weight: 700; }
.tier-blurb { color: #94a3b8; font-size: 13px; line-height: 1.55; margin: 8px 0 16px; min-height: 46px; }
.tier-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.tier-bullets li {
  position: relative;
  padding-left: 22px;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.45;
}
.tier-bullets li::before {
  content: '';
  position: absolute;
  left: 4px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f472b6);
  box-shadow: 0 0 8px rgba(251,191,36,.5);
}
.tier-cta { margin-top: auto; }
.tier-feature {
  position: absolute;
  top: -10px; right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #1f1300;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(251,191,36,.6);
}
.tier.tier-feature-on {
  border-color: rgba(251,191,36,.45);
  box-shadow: 0 0 0 1px rgba(251,191,36,.18), 0 30px 80px -20px rgba(251,191,36,.18);
}

/* Coverage card grid — what we audit */
.cov-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.cov-card {
  position: relative;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(160deg, rgba(15,23,42,.62), rgba(15,23,42,.28));
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.cov-card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.28); }
.cov-card .num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 14px;
  border: 1px solid rgba(34,211,238,.26);
  border-radius: 12px;
  color: #67e8f9;
  background: rgba(34,211,238,.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
}
.cov-card h3 { font-size: 18px; }
.cov-card-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.cov-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.5;
}
.cov-card-list li::before {
  content: '✓';
  flex: 0 0 auto;
  color: #67e8f9;
  font-weight: 900;
  font-size: 11px;
  margin-top: 1px;
}

/* Stats rail — single flowing surface like /boost */
.stats-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,23,42,.5), rgba(8,12,20,.65));
}
.stats-cell {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.05);
  position: relative;
}
.stats-cell:last-child { border-right: 0; }
.stats-cell .lbl {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.stats-cell .val {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.stats-cell .sub {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 4px;
}

/* Method / billing split */
.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.feature-panel {
  position: relative;
  border-radius: 22px;
  min-height: 280px;
  padding: 28px;
  background: linear-gradient(155deg, rgba(8,13,26,.78), rgba(15,23,42,.42));
  overflow: hidden;
}
.feature-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 35%, transparent 70%, rgba(34,211,238,.06));
  opacity: .56;
}
.feature-panel.amber::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.55), transparent);
}
.feature-panel.cyan::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.55), transparent);
}
.feature-bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.feature-bullets li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.55;
}
.feature-bullets li::before {
  content: '';
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(251,191,36,.25), rgba(244,114,182,.18));
  border: 1px solid rgba(251,191,36,.35);
  position: relative;
}
.feature-bullets li b { color: #fff; font-weight: 800; }

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,23,42,.5), rgba(8,12,20,.6));
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: rgba(34,211,238,.28); background: linear-gradient(180deg, rgba(15,23,42,.65), rgba(8,12,20,.78)); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(34,211,238,.30);
  background: rgba(34,211,238,.08);
  color: #67e8f9;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 14px;
  flex: 0 0 auto;
  transition: transform .2s;
}
.faq-item[open] summary::before { content: '−'; transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px 58px; color: #cbd5e1; font-size: 13.5px; line-height: 1.65; }

/* CTA banner at page tail */
.cta-banner {
  position: relative;
  margin-top: 40px;
  padding: 36px 28px;
  border-radius: 24px;
  border: 1px solid rgba(251,191,36,.25);
  background:
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(251,191,36,.18), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(34,211,238,.14), transparent 60%),
    linear-gradient(180deg, rgba(8,13,26,.85), rgba(15,23,42,.55));
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.cta-banner h2 { margin-bottom: 6px; font-size: clamp(20px, 2.5vw, 28px); }
.cta-banner p { color: #cbd5e1; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════
   /security/apply  —  Intake. Single column, focused. Sign-in lives
   in a compact collapsible accordion at the top so it's available but
   doesn't dominate. Form is the hero.
   ═══════════════════════════════════════════════════════════════════ */
.apply-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.apply-aside { display: contents; }

/* Compact sign-in accordion — collapsed by default; opens when the
   user wants to track an existing engagement. */
.apply-signin {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(8,12,20,.7));
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.apply-signin > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.apply-signin > summary::-webkit-details-marker { display: none; }
.apply-signin-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(34,211,238,.06));
  border: 1px solid rgba(34,211,238,.32);
  color: #67e8f9;
}
.apply-signin-mark svg { width: 16px; height: 16px; display: block; }
.apply-signin-summary-text { min-width: 0; flex: 1; }
.apply-signin-summary-text b { display: block; color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: -.005em; }
.apply-signin-summary-text span { display: block; color: #94a3b8; font-size: 12px; line-height: 1.45; margin-top: 2px; }
.apply-signin-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #64748b;
  transition: transform .2s, color .2s;
}
.apply-signin[open] .apply-signin-chevron { transform: rotate(180deg); color: #fde68a; }
.apply-signin[open] { border-color: rgba(34,211,238,.32); }
.apply-signin-body {
  padding: 4px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 4px;
}
body.is-authed .apply-signin-summary-anon { display: none; }
body:not(.is-authed) .apply-signin-summary-authed { display: none; }

/* Hide the verbose trust strip when authed — the active session card
   already says everything that matters. */
body.is-authed .apply-trust { display: none; }
.apply-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.intake-form { padding: 28px; border-radius: 22px; }
.intake-step {
  position: relative;
  margin-bottom: 22px;
  padding-left: 32px;
  padding-top: 4px;
}
.intake-step::before {
  content: attr(data-step);
  position: absolute;
  top: 0; left: 0;
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(251,191,36,.06));
  border: 1px solid rgba(251,191,36,.35);
  color: #fcd34d;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 11px;
}
.intake-step h3 { margin-bottom: 8px; }
.intake-step .hint { color: #94a3b8; font-size: 12px; margin: 4px 0 12px; line-height: 1.5; }

.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.signal-list li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 13px;
  background: rgba(2,6,23,.32);
}
.signal-list .num {
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 1px solid rgba(34,211,238,.28);
  border-radius: 9px;
  color: #67e8f9;
  background: rgba(34,211,238,.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 11px;
}
.signal-list b { color: #fff; font-size: 13.5px; }
.signal-list p { margin: 2px 0 0; color: #94a3b8; font-size: 12px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════
   /portal  —  Project list + workspace
   ═══════════════════════════════════════════════════════════════════ */
.portal-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 30px;
}
.portal-hero {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  overflow: hidden;
}
.portal-hero h1 { font-size: clamp(36px, 5.5vw, 56px); margin-bottom: 14px; }
.portal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 0% 0%, rgba(251,191,36,.16), transparent 60%);
}
.portal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.portal-metrics > div {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(2,6,23,.42);
}
.portal-metrics > div::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #fbbf24, #f472b6, #22d3ee);
  border-radius: 4px 0 0 4px;
}
.portal-metrics b { display: block; color: #fff; font-size: 14px; font-weight: 850; margin-bottom: 4px; }
.portal-metrics span { display: block; color: #94a3b8; font-size: 11.5px; line-height: 1.45; }
.portal-foot {
  margin-top: 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: #64748b;
  letter-spacing: .04em;
  line-height: 1.6;
}

/* Auth card — magic-link sign-in */
.auth-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
}
.auth-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.auth-card form { display: grid; gap: 8px; }
.auth-token-input {
  letter-spacing: .26em;
  font-weight: 800;
  text-align: center;
  max-width: 220px;
}
.auth-help { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #94a3b8; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Project list rows */
.projects-panel { padding: 24px; border-radius: 22px; margin-top: 20px; }
.panel-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.panel-toolbar h2 { margin-bottom: 0; }
.list { display: grid; gap: 10px; }
.row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s;
}
.row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(34,211,238,.6), rgba(251,191,36,.45));
  opacity: .55;
}
.row:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.30); background: rgba(255,255,255,.04); }
.row > div { min-width: 0; }
.row b { display: block; color: #fff; font-weight: 800; font-size: 13.5px; margin-bottom: 4px; }
.row .meta-line { color: #94a3b8; font-size: 12px; line-height: 1.4; }
.row .meta-line.mono { color: #64748b; font-size: 11px; letter-spacing: .03em; margin-top: 2px; }

.empty-state {
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px;
  background: rgba(2,6,23,.32);
  color: #94a3b8;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
}
.empty-state b { display: block; color: #cbd5e1; font-size: 14.5px; margin-bottom: 4px; }

/* Project workspace hero */
.project-hero {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 22px;
}
.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(251,191,36,.14), transparent 60%);
}
.project-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.project-head .page-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.project-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 180px;
}

.project-progress {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(2,6,23,.4);
}
.progress-step {
  position: relative;
  flex: 1 1 120px;
  min-width: 130px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  font-size: 11.5px;
  color: #64748b;
  border: 1px solid rgba(255,255,255,.04);
}
.progress-step.done { color: #86efac; border-color: rgba(52,211,153,.32); background: rgba(52,211,153,.08); }
.progress-step.active { color: #fde68a; border-color: rgba(251,191,36,.42); background: rgba(251,191,36,.10); }
.progress-step.active::after {
  content: '';
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,.7);
  animation: a69pulse 1.6s infinite;
}
.progress-step b { display: block; color: inherit; font-weight: 800; font-size: 12px; }
.progress-step span { display: block; font-size: 10.5px; color: #64748b; margin-top: 2px; line-height: 1.3; }
.progress-step.done span, .progress-step.active span { color: inherit; opacity: .8; }

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.work-card {
  padding: 22px;
  border-radius: 20px;
  min-height: 220px;
}
.work-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.work-card-head h2 { margin-bottom: 0; font-size: 18px; }

/* Invoice payment buttons */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pay-status {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(2,6,23,.4);
  border: 1px dashed rgba(255,255,255,.08);
  font-size: 12.5px;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-status:empty { display: none; }

/* Pay-trust strip — three plain-language safety lines under the
   invoice list. Sells the security story (server-built tx ·
   pre-signed simulation · Blowfish / Falcon-clean preview) without
   claiming third-party endorsements we don't have. */
.pay-trust {
  margin-top: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  background: linear-gradient(180deg, rgba(34,211,238,.04), rgba(15,23,42,.4));
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 12px;
}
.pay-trust .pt-cell { display: flex; gap: 10px; align-items: flex-start; }
.pay-trust .pt-ico {
  flex: 0 0 26px; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
}
.pay-trust .pt-h {
  font-size: 11.5px; font-weight: 800; color: #fff;
  letter-spacing: -.005em; line-height: 1.35; margin-bottom: 2px;
}
.pay-trust .pt-s { font-size: 10.5px; color: #94a3b8; line-height: 1.5; }
@media (max-width: 720px) {
  .pay-trust { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
}

/* Severity / status chips */
.sev-crit { color: #fca5a5; border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.10); }
.sev-high { color: #fcd34d; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.10); }
.sev-med  { color: #93c5fd; border-color: rgba(96,165,250,.40); background: rgba(96,165,250,.10); }
.sev-low  { color: #86efac; border-color: rgba(52,211,153,.40); background: rgba(52,211,153,.10); }

/* Forms — every control gets the same brand styling. No browser defaults. */
label {
  display: block;
  margin: 14px 0 7px;
  color: #94a3b8;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 11px 14px;
  color: #e2e8f0;
  background: rgba(2,6,23,.62);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(251,191,36,.55);
  background: rgba(2,6,23,.78);
  box-shadow: 0 0 0 3px rgba(251,191,36,.16);
}
input::placeholder, textarea::placeholder { color: #475569; opacity: 1; }
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  accent-color: #fbbf24;
  cursor: pointer;
}

/* Custom select chevron — embedded SVG arrow tinted to match brand */
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px 7px;
  cursor: pointer;
}
select:hover {
  border-color: rgba(255,255,255,.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23fde68a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23fbbf24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
select option {
  background: #0b1220;
  color: #e2e8f0;
  padding: 8px;
}
/* Hide default arrow in IE/Edge legacy */
select::-ms-expand { display: none; }

/* Custom file input — replace the default "Choose File" button + filename */
input[type="file"] {
  position: relative;
  padding: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 12.5px;
  color: #94a3b8;
}
input[type="file"]::file-selector-button {
  margin: 5px 12px 5px 5px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(34,211,238,.04));
  color: #67e8f9;
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .18s, background .18s;
}
input[type="file"]:hover::file-selector-button {
  filter: brightness(1.15);
  background: linear-gradient(135deg, rgba(34,211,238,.26), rgba(34,211,238,.08));
}
/* Number / decimal inputs — strip steppers for a cleaner look */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[inputmode="decimal"], input[inputmode="numeric"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.submit-wide { width: 100%; margin-top: 22px; min-height: 50px; font-size: 14px; }

/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(15,23,42,.94);
  color: #e2e8f0;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,.6);
  animation: a69rise .25s ease-out;
}
.toast.good { border-color: rgba(52,211,153,.4); }
.toast.bad  { border-color: rgba(248,113,113,.4); }
.toast.warn { border-color: rgba(251,191,36,.4); }

/* Report page */
.report-shell { width: min(960px, calc(100% - 32px)); }
.report-card { padding: 36px; border-radius: 22px; }
.report {
  white-space: pre-wrap;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.78;
}

/* Skeleton shimmer */
.skel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}
.skel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  background-size: 200% 100%;
  animation: skshim 1.4s infinite;
}
@keyframes skshim { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* Reveal on load */
.reveal { animation: a69rise .55s ease-out both; }
.reveal.d1 { animation-delay: .04s; }
.reveal.d2 { animation-delay: .12s; }
.reveal.d3 { animation-delay: .20s; }
.reveal.d4 { animation-delay: .28s; }

/* Hidden-utility */
.hidden { display: none !important; }

/* Focus outlines */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(34,211,238,.7);
  outline-offset: 3px;
}
::selection { background: rgba(251,191,36,.32); color: #1f1300; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .sec-hero { grid-template-columns: 1fr; gap: 28px; }
  .portal-frame { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-aside { position: static; }
  .stats-rail { grid-template-columns: repeat(2, 1fr); }
  .stats-cell:nth-child(2) { border-right: 0; }
}
@media (max-width: 880px) {
  .tier-grid,
  .cov-grid,
  .grid.three,
  .grid.four,
  .workspace-grid,
  .split-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 28px 22px; }
  .project-status-stack { align-items: flex-start; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 20px, 1180px); padding-bottom: 56px; }
  .nav { position: relative; top: auto; padding: 10px 12px; border-radius: 18px; margin-bottom: 22px; }
  .navlinks { width: 100%; justify-content: flex-start; gap: 4px; }
  .nav .navlinks > a { font-size: 11.5px; padding: 6px 10px; }
  .panel, .card { padding: 18px; }
  .panel.intake-form { padding: 22px; }
  .stats-rail { grid-template-columns: 1fr; }
  .stats-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .stats-cell:last-child { border-bottom: 0; }
  h1 { font-size: clamp(34px, 11vw, 48px); line-height: 1; }
  .portal-hero h1, .project-hero .page-title { font-size: clamp(30px, 9vw, 42px); }
  .grid.two { grid-template-columns: 1fr; }
  .auth-token-input { max-width: 100%; text-align: left; }
  .report-card { padding: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ADVANCED HEADER — multi-element brand lockup, segmented nav,
   sliding active indicator, live status pulse, command-palette
   hint, primary CTA. Replaces plain glass-nav.
   ═══════════════════════════════════════════════════════════════════ */
.a69-hdr {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 14px;
  margin: 0 0 32px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8,12,20,.86), rgba(3,7,18,.78));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 18px 70px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(255,255,255,.015);
}
.a69-hdr::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  padding: 1px;
  background: linear-gradient(120deg, rgba(251,191,36,.4), rgba(34,211,238,.4), rgba(167,139,250,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
}

.a69-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}
.a69-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 4px 16px -4px rgba(251,191,36,.55);
  flex-shrink: 0;
}
.a69-brand-mark svg { display: block; color: #1f1300; }
.a69-brand-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(251,191,36,.4), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: a69pulse 3s ease-in-out infinite;
}
.a69-brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}
.a69-brand-name {
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: -.02em;
  color: #fff;
}
.a69-brand-name .ana { color: #f87171; }
.a69-brand-name .lyzer { color: #94a3b8; }
.a69-brand-name .num { color: #60a5fa; }
.a69-brand-mark-divider {
  width: 1px; height: 20px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
  flex-shrink: 0;
}
.a69-brand-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fde68a;
}
.a69-brand-product::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251,191,36,.7);
  animation: a69pulse 1.8s ease-in-out infinite;
}

/* Segmented nav with sliding active indicator */
.a69-segnav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: rgba(2,6,23,.5);
  justify-self: center;
}
.a69-segnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  transition: color .2s, background .2s;
}
.a69-segnav a:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}
.a69-segnav a.is-active {
  color: #1f1300;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 4px 16px -4px rgba(251,191,36,.5);
}
.a69-segnav .seg-mark {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
}
.a69-segnav a.is-active .seg-mark { background: rgba(31,19,0,.4); opacity: 1; }

/* Right cluster — status + command palette + CTA */
.a69-hdr-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.a69-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(52,211,153,.32);
  border-radius: 999px;
  background: rgba(52,211,153,.08);
  color: #86efac;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: filter .2s, background .2s, border-color .2s;
}
.a69-status-chip:hover { filter: brightness(1.15); }
.a69-status-chip .pulse {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,.7);
}
.a69-status-chip .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(52,211,153,.5);
  animation: a69ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes a69ping {
  0% { transform: scale(.85); opacity: 1; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

.a69-cmd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.a69-cmd:hover { color: #fff; border-color: rgba(34,211,238,.32); background: rgba(34,211,238,.06); }
.a69-cmd kbd {
  display: inline-grid;
  place-items: center;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  color: #cbd5e1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0;
}

.a69-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  color: #1f1300;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -.005em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 6px 22px -6px rgba(251,191,36,.55);
  transition: transform .25s cubic-bezier(.16,1,.3,1), filter .2s;
}
.a69-cta:hover { transform: translateY(-1px); filter: saturate(1.08); }
.a69-cta-arrow {
  display: inline-block;
  transition: transform .2s;
}
.a69-cta:hover .a69-cta-arrow { transform: translateX(3px); }

/* Hide segnav labels at narrow widths, keep dot-only */
@media (max-width: 980px) {
  .a69-hdr { grid-template-columns: auto auto auto; gap: 8px; }
  .a69-segnav { display: none; }
  .a69-cmd { display: none; }
  .a69-status-chip span:not(.pulse) { display: none; }
  .a69-status-chip { padding: 8px; }
}
@media (max-width: 640px) {
  .a69-hdr {
    position: relative; top: auto;
    grid-template-columns: 1fr auto;
    padding: 8px 10px;
    border-radius: 16px;
    margin-bottom: 18px;
  }
  .a69-brand-mark-divider, .a69-brand-product { display: none; }
  .a69-cta { font-size: 11.5px; padding: 7px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC HERO — animated SVG pipeline, traveling particle,
   floating glowing nodes, shield mark, live counter ribbon.
   Single-column. Minimal copy. Maximum visual.
   ═══════════════════════════════════════════════════════════════════ */
.cine-hero {
  position: relative;
  margin: 8px 0 56px;
  padding: 56px 32px 40px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 50% -10%, rgba(251,191,36,.20), transparent 50%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(167,139,250,.14), transparent 60%),
    linear-gradient(180deg, rgba(8,12,20,.78), rgba(3,7,18,.92));
  border: 1px solid rgba(255,255,255,.06);
  isolation: isolate;
}
.cine-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  opacity: .9;
  z-index: 0;
}

.cine-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.cine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  padding: 6px 14px;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 999px;
  background: rgba(251,191,36,.06);
  color: #fde68a;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.cine-eyebrow .pulse {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,.7);
}
.cine-eyebrow .pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(251,191,36,.5);
  animation: a69ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}

.cine-h1 {
  margin: 4px 0 8px;
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.04em;
  color: #fff;
}
.cine-h1 .accent {
  background-image: linear-gradient(90deg, #fde68a, #f472b6, #22d3ee, #fde68a);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: a69flow 9s linear infinite;
}
.cine-h1 .accent::after {
  content: '';
  display: inline-block;
  width: .12em;
  height: .9em;
  margin-left: .04em;
  vertical-align: -.04em;
  background: linear-gradient(180deg, #fde68a, #22d3ee);
  border-radius: 1px;
  animation: a69caret 1.1s steps(2) infinite;
}
@keyframes a69caret { 50% { opacity: 0; } }

.cine-sub {
  margin: 0 auto;
  max-width: 600px;
  font-size: clamp(15px, 1.7vw, 17px);
  color: #cbd5e1;
  line-height: 1.55;
}
.cine-sub b { color: #fff; font-weight: 800; }

.cine-cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0;
}
.cine-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  color: #1f1300;
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: -.005em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 12px 36px -10px rgba(251,191,36,.55);
  transition: transform .25s cubic-bezier(.16,1,.3,1), filter .2s;
}
.cine-cta-primary:hover { transform: translateY(-2px); filter: saturate(1.1); }
.cine-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -.005em;
  transition: color .2s, border-color .2s, background .2s;
}
.cine-cta-secondary:hover {
  color: #fff;
  border-color: rgba(34,211,238,.4);
  background: rgba(34,211,238,.08);
}

/* SVG pipeline scene — sits below the headline. Floating nodes,
   curved flow paths, traveling particles, central shield mark. */
.cine-scene {
  position: relative;
  margin: 18px auto 0;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 800 / 240;
  overflow: visible;
}
/* SVG must allow its glow + scale-up filter to extend beyond the viewBox
   without revealing the cine-hero container's clip edge. */
.cine-scene svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
@keyframes a69dash { to { stroke-dashoffset: -200; } }
/* Scale capped at 1.04 + transform-origin pinned to each node's centre
   so the orb cannot translate sideways into the container edge. */
@keyframes a69nodepulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px var(--node-color, rgba(251,191,36,.6))); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 12px var(--node-color, rgba(251,191,36,.85))); }
}
@keyframes a69partmove {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Live counter ribbon */
.cine-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 28px auto 0;
  max-width: 800px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.cine-ribbon > div {
  position: relative;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,.05);
}
.cine-ribbon > div:last-child { border-right: 0; }
.cine-ribbon b {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cine-ribbon b .num { color: #fde68a; }
.cine-ribbon span {
  display: block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
}

@media (max-width: 720px) {
  .cine-hero { padding: 36px 18px 28px; border-radius: 24px; }
  .cine-ribbon { grid-template-columns: repeat(2, 1fr); }
  .cine-ribbon > div:nth-child(2) { border-right: 0; }
  .cine-ribbon > div:nth-child(1), .cine-ribbon > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.05); }
  .cine-cta-primary, .cine-cta-secondary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   FLOWING SURFACE — single continuous shell (boost-style), no
   stacked boxes. Sections separated by inline indicators + subtle
   dividers. Each row has an illustrated graphic on the right.
   ═══════════════════════════════════════════════════════════════════ */
.flow-surface {
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.55), rgba(6,10,18,.78));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 30px 90px -30px rgba(0,0,0,.7);
  overflow: hidden;
}
.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, .9fr);
  gap: 22px;
  padding: 32px 28px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  align-items: center;
}
.flow-row:last-child { border-bottom: 0; }
.flow-row::before {
  content: '';
  position: absolute;
  left: 28px; right: 28px; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.22), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.flow-row:hover::before { opacity: 1; }
.flow-row-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(251,191,36,.06));
  border: 1px solid rgba(251,191,36,.32);
  color: #fde68a;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.flow-row-num.cyan { background: linear-gradient(135deg, rgba(34,211,238,.20), rgba(34,211,238,.06)); border-color: rgba(34,211,238,.32); color: #67e8f9; }
.flow-row-num.violet { background: linear-gradient(135deg, rgba(167,139,250,.20), rgba(167,139,250,.06)); border-color: rgba(167,139,250,.32); color: #c4b5fd; }
.flow-row-num.green { background: linear-gradient(135deg, rgba(52,211,153,.20), rgba(52,211,153,.06)); border-color: rgba(52,211,153,.32); color: #86efac; }
.flow-row-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.flow-row-body p { margin: 0; color: #94a3b8; font-size: 14px; line-height: 1.55; }
.flow-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.flow-row-tags > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.005em;
}

.flow-row-art {
  position: relative;
  height: 132px;
}
.flow-row-art svg { display: block; width: 100%; height: 100%; }

@media (max-width: 880px) {
  .flow-row { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 20px; gap: 14px; }
  .flow-row-art { display: none; }
  .flow-row-body h3 { font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PRICING — compressed comparator (replaces 3 chunky tier cards
   with a single elegant rail). Click-to-pick highlight.
   ═══════════════════════════════════════════════════════════════════ */
.tier-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.6), rgba(8,12,20,.78));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.04);
}
.tier-cell {
  position: relative;
  padding: 28px 22px 24px;
  border-right: 1px solid rgba(255,255,255,.05);
  transition: background .25s, transform .25s;
}
.tier-cell:last-child { border-right: 0; }
.tier-cell.is-feature {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(251,191,36,.10), transparent 60%);
}
.tier-cell.is-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}
.tier-cell:hover { background: rgba(255,255,255,.025); }
.tier-cell-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tier-cell-flag.cyan { color: #67e8f9; background: rgba(34,211,238,.10); border: 1px solid rgba(34,211,238,.32); }
.tier-cell-flag.amber { color: #1f1300; background: linear-gradient(135deg, #fde68a, #fbbf24); }
.tier-cell-flag.violet { color: #c4b5fd; background: rgba(167,139,250,.10); border: 1px solid rgba(167,139,250,.32); }
.tier-cell-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.tier-cell-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.tier-cell-price b {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.tier-cell-price span { color: #94a3b8; font-size: 11.5px; font-weight: 700; }
.tier-cell-blurb {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 16px;
  min-height: 38px;
}
.tier-cell-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 5px;
}
.tier-cell-points li {
  display: grid;
  grid-template-columns: 14px minmax(0,1fr);
  gap: 8px;
  align-items: start;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.45;
}
.tier-cell-points li::before {
  content: '';
  width: 7px; height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f472b6);
  box-shadow: 0 0 6px rgba(251,191,36,.5);
}
.tier-cell-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.005em;
  transition: transform .25s, color .2s, background .2s, border-color .2s;
}
.tier-cell-cta:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(34,211,238,.08);
  border-color: rgba(34,211,238,.34);
}
.tier-cell.is-feature .tier-cell-cta {
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  border-color: transparent;
  color: #1f1300;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 24px -8px rgba(251,191,36,.5);
}
.tier-cell.is-feature .tier-cell-cta:hover {
  filter: saturate(1.1);
}

@media (max-width: 880px) {
  .tier-rail { grid-template-columns: 1fr; }
  .tier-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .tier-cell:last-child { border-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   PIPELINE RAIL — connected SVG with glowing nodes + animated dash
   line, replaces the 6 boxy progress-step cards.
   ═══════════════════════════════════════════════════════════════════ */
.pipe-rail {
  position: relative;
  margin-top: 22px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: rgba(2,6,23,.42);
  overflow: hidden;
}
.pipe-rail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(251,191,36,.05), transparent 70%);
  pointer-events: none;
}
.pipe-track {
  position: relative;
  height: 70px;
}
.pipe-line {
  position: absolute;
  left: 22px; right: 22px;
  top: 22px;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(52,211,153,.32) 0%, rgba(251,191,36,.32) var(--pipe-pct, 50%), rgba(255,255,255,.04) var(--pipe-pct, 50%));
}
.pipe-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent, rgba(251,191,36,.7), transparent);
  background-size: 80px 100%;
  background-repeat: no-repeat;
  background-position: var(--pipe-pct, 50%) 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 50%, transparent);
          mask: linear-gradient(90deg, transparent, #000 50%, transparent);
  animation: pipeglow 3s linear infinite;
}
@keyframes pipeglow {
  0% { background-position: calc(var(--pipe-pct, 50%) - 80px) 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { background-position: calc(var(--pipe-pct, 50%) + 40px) 0; opacity: 0; }
}
.pipe-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 100%;
}
.pipe-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.pipe-node-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(15,23,42,1);
  border: 2px solid rgba(255,255,255,.15);
  margin-top: 14px;
  flex-shrink: 0;
  z-index: 2;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s;
}
.pipe-node.is-done .pipe-node-dot {
  background: #34d399;
  border-color: rgba(52,211,153,.7);
  box-shadow: 0 0 0 2px rgba(52,211,153,.18);
}
.pipe-node.is-active .pipe-node-dot {
  background: #fbbf24;
  border-color: rgba(251,191,36,.9);
  transform: scale(1.25);
  box-shadow:
    0 0 0 4px rgba(251,191,36,.18),
    0 0 14px rgba(251,191,36,.7);
  animation: a69pulse 1.6s ease-in-out infinite;
}
.pipe-node-label {
  margin-top: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #475569;
  white-space: nowrap;
  transition: color .25s;
}
.pipe-node.is-done .pipe-node-label { color: #86efac; }
.pipe-node.is-active .pipe-node-label { color: #fde68a; }

@media (max-width: 720px) {
  .pipe-rail {
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .pipe-rail::-webkit-scrollbar { display: none; }
  .pipe-track {
    height: 70px;
    width: max(640px, 100%);
    padding: 0 16px;
  }
  .pipe-line { left: 38px; right: 38px; }
  .pipe-nodes { width: 100%; }
  .pipe-node-label { font-size: 9px; letter-spacing: .06em; }
}

/* Sticky-header scroll-margin so anchor links don't tuck under it */
[id] { scroll-margin-top: 96px; }

/* ═══════════════════════════════════════════════════════════════════
   FORM ROW LAYOUTS — replace inline grid-template-columns with named
   classes so responsive collapse is driven by CSS not by inline styles.
   ═══════════════════════════════════════════════════════════════════ */
.form-row {
  display: grid;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}
.form-row.signin {
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, .8fr) auto;
}
.form-row.send-job {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
}
.form-row.send-job > .full-row { grid-column: 1 / -1; }
.form-row.upload {
  grid-template-columns: minmax(160px, .8fr) minmax(0, 1.4fr) auto;
}
.form-row.invoice-amounts {
  grid-template-columns: 1fr 1fr;
}
.form-row.action-row > button { height: 46px; align-self: end; }

@media (max-width: 720px) {
  .form-row,
  .form-row.signin,
  .form-row.send-job,
  .form-row.upload,
  .form-row.invoice-amounts {
    grid-template-columns: 1fr;
  }
  .form-row.action-row > button { width: 100%; }
}

/* Mute the "loading" status pill so it doesn't fight the headline */
.status.warn[id="project-status"]:not(.has-data) { opacity: .55; }

/* Empty-state link color brand-consistent */
.empty-state a { color: #67e8f9; }
.empty-state a:hover { color: #a5f3fc; }

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL SCROLLBARS — branded to match the rest of the UI. Subtle on
   the body (so it doesn't fight the design), more visible inside
   scroll containers. Firefox + Chromium covered.
   ═══════════════════════════════════════════════════════════════════ */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(251,191,36,.32) rgba(2,6,23,.4);
}
.security-page::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.security-page::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(2,6,23,.4);
  border-left: 1px solid rgba(255,255,255,.04);
}
.security-page::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(251,191,36,.42), rgba(34,211,238,.32));
  border-radius: 10px;
  border: 3px solid rgba(2,6,23,.4);
  background-clip: padding-box;
}
.security-page::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(251,191,36,.65), rgba(34,211,238,.5));
  background-clip: padding-box;
}
.security-page::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner { background: transparent; }
.flow-surface ::-webkit-scrollbar,
.list ::-webkit-scrollbar,
textarea::-webkit-scrollbar { width: 8px; height: 8px; }
.flow-surface ::-webkit-scrollbar-thumb,
.list ::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(251,191,36,.40), rgba(34,211,238,.30));
  border-radius: 999px;
}
.flow-surface ::-webkit-scrollbar-thumb:hover,
.list ::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(251,191,36,.6), rgba(34,211,238,.5));
}
.flow-surface ::-webkit-scrollbar-track,
.list ::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
  background: rgba(2,6,23,.5);
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════════════
   INPUTS / TEXTAREAS / SELECTS — premium polish pass. Subtle inset
   highlight on top edge, gradient bg, animated focus ring with glow,
   placeholder italics, hover state. Same look across every form on
   every surface.
   ═══════════════════════════════════════════════════════════════════ */
input, textarea, select {
  background:
    linear-gradient(180deg, rgba(8,12,20,.5), rgba(2,6,23,.7));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 0 1px rgba(255,255,255,.01);
  caret-color: #fbbf24;
}
input:hover:not(:focus), textarea:hover:not(:focus), select:hover:not(:focus) {
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(8,12,20,.6), rgba(2,6,23,.78));
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(251,191,36,.55);
  background:
    linear-gradient(180deg, rgba(15,23,42,.6), rgba(8,12,20,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 4px rgba(251,191,36,.14),
    0 8px 24px -10px rgba(251,191,36,.30);
}
input::placeholder, textarea::placeholder {
  color: rgba(71,85,105,.85);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}
/* Auto-fill state — Chrome/Safari override the bg by default. Force
   our brand palette so logged-in fields don't flash blue. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #e2e8f0 !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(8,12,20,.85) inset,
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  caret-color: #fbbf24;
  border-color: rgba(255,255,255,.10);
  transition: background-color 99999s ease-in-out 0s;
}
/* OTP / mono field — deeper inset, brighter focus glow */
input.auth-token-input {
  background:
    radial-gradient(ellipse at center, rgba(251,191,36,.06), transparent 70%),
    linear-gradient(180deg, rgba(8,12,20,.7), rgba(2,6,23,.85));
  font-variant-numeric: tabular-nums;
}
input.auth-token-input:focus {
  background:
    radial-gradient(ellipse at center, rgba(251,191,36,.14), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.7), rgba(8,12,20,.9));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 4px rgba(251,191,36,.20),
    0 0 30px -6px rgba(251,191,36,.45);
}

/* Selection highlight — brand amber */
::selection { background: rgba(251,191,36,.32); color: #fff; }
::-moz-selection { background: rgba(251,191,36,.32); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   LIVE ASSET CHIPS — preview pills as user types into /apply textarea
   ═══════════════════════════════════════════════════════════════════ */
.asset-preview {
  margin: 8px 0 4px;
  min-height: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(2,6,23,.32);
  align-items: center;
  transition: border-color .25s, background .25s;
}
.asset-preview:empty::before {
  content: 'Detected targets will appear here as you type.';
  color: #475569;
  font-size: 11.5px;
  font-style: italic;
}
.asset-preview.has-items { border-style: solid; border-color: rgba(34,211,238,.22); background: rgba(34,211,238,.04); }
.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.005em;
  animation: a69rise .3s ease-out;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.asset-chip-kind {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0;
}
.asset-chip-kind.url { background: rgba(34,211,238,.16); color: #67e8f9; }
.asset-chip-kind.domain { background: rgba(34,211,238,.10); color: #67e8f9; }
.asset-chip-kind.contract { background: rgba(167,139,250,.14); color: #c4b5fd; }
.asset-chip-kind.program { background: rgba(251,191,36,.14); color: #fde68a; }
.asset-chip-kind.repo { background: rgba(255,255,255,.06); color: #cbd5e1; }
.asset-chip-kind.other { background: rgba(255,255,255,.04); color: #94a3b8; }

/* ═══════════════════════════════════════════════════════════════════
   SERVICE-TYPE CHIP PICKER — replaces the boring select
   ═══════════════════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 10px 0 4px;
}
/* Card-style chip — clean dark surface, gradient-bordered icon tile,
   no redundant radio (selected state is signaled by the chip's own
   gold border + glowing icon tile + check overlay). */
.svc-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.62), rgba(6,10,18,.78));
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s, box-shadow .2s;
}
/* subtle inner highlight on the top edge */
.svc-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%);
}
.svc-chip > * { position: relative; z-index: 1; }
.svc-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.28);
  background:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(34,211,238,.08), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.7), rgba(6,10,18,.82));
}
.svc-chip.is-on {
  border-color: rgba(251,191,36,.50);
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(251,191,36,.14), transparent 60%),
    linear-gradient(180deg, rgba(20,16,8,.45), rgba(6,10,18,.85));
  box-shadow:
    0 0 0 1px rgba(251,191,36,.32),
    0 16px 36px -14px rgba(251,191,36,.40);
}
.svc-chip.is-on::before {
  background: linear-gradient(180deg, rgba(251,191,36,.10), transparent 40%);
}

/* Premium icon tile — per-service brand color (set via --c1/--c2 inline
   on each chip), inset highlight, ambient halo, scale-up on hover, full
   bright gradient + glow ring on selected. Flex (not grid) — works
   reliably across all child element sizes / aspect ratios. */
.svc-chip-ico {
  --c1: #67e8f9;
  --c2: #22d3ee;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--c1) 12%, #0b1220), color-mix(in srgb, var(--c2) 6%, #060a12));
  border: 1px solid color-mix(in srgb, var(--c1) 35%, rgba(255,255,255,.08));
  color: var(--c1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -10px 20px -10px color-mix(in srgb, var(--c2) 25%, transparent),
    0 8px 22px -10px color-mix(in srgb, var(--c2) 50%, transparent);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, color .2s, border-color .2s;
}
.svc-chip-ico::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity .3s;
}
.svc-chip-ico::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 35%, transparent 70%, rgba(255,255,255,.06));
  opacity: .65;
}
.svc-chip-ico svg {
  position: relative;
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
}
.svc-chip:hover .svc-chip-ico {
  transform: translateY(-1px) scale(1.04);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -10px 20px -10px color-mix(in srgb, var(--c2) 40%, transparent),
    0 14px 30px -10px color-mix(in srgb, var(--c2) 60%, transparent);
}
.svc-chip:hover .svc-chip-ico::before { opacity: .35; }
.svc-chip.is-on .svc-chip-ico {
  --c1: #fde68a;
  --c2: #f59e0b;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255,255,255,.30), transparent 60%),
    linear-gradient(135deg, #fde68a, #fbbf24 55%, #f59e0b);
  border-color: rgba(251,191,36,.65);
  color: #1f1300;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 12px 30px -10px rgba(251,191,36,.65);
}
.svc-chip.is-on .svc-chip-ico svg {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.4));
  stroke-width: 2;
}
.svc-chip.is-on .svc-chip-ico::before {
  opacity: .55;
  background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);
}

/* Brand-logo chips (EVM diamond, Solana stripes) need a slightly larger
   icon viewbox + their own tile background so the multi-color marks read
   crisply against the dark surface. */
.svc-chip-ico--evm,
.svc-chip-ico--sol {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.16)),
    radial-gradient(ellipse 120% 80% at 50% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%),
    linear-gradient(180deg, #0b1220, #050810);
  border-color: color-mix(in srgb, var(--c1) 38%, rgba(255,255,255,.08));
}
/* Square SVG box — `preserveAspectRatio="xMidYMid meet"` keeps the
   logo centered inside the SVG, and the square shape centers cleanly
   inside the chip-ico tile via grid `place-items: center`. */
.svc-chip-ico--evm svg,
.svc-chip-ico--sol svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: auto;
  position: static;
}
.svc-chip-ico--evm svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.svc-chip-ico--sol svg { filter: drop-shadow(0 0 6px rgba(153,69,255,.45)); }
.svc-chip:hover .svc-chip-ico--evm,
.svc-chip:hover .svc-chip-ico--sol {
  border-color: color-mix(in srgb, var(--c1) 60%, rgba(255,255,255,.10));
}
/* Selected state — keep brand colors on the icon itself; just add the
   gold ring around the tile so it's clearly the active pick. */
.svc-chip.is-on .svc-chip-ico--evm,
.svc-chip.is-on .svc-chip-ico--sol {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.16)),
    radial-gradient(ellipse 120% 80% at 50% 0%, color-mix(in srgb, var(--c1) 28%, transparent), transparent 70%),
    linear-gradient(180deg, #0b1220, #050810);
  border-color: rgba(251,191,36,.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 0 2px rgba(251,191,36,.25),
    0 12px 30px -10px rgba(251,191,36,.45);
}

.svc-chip-body {
  min-width: 0;
  flex: 1;
}
.svc-chip b {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: left;
}
.svc-chip span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
  text-align: left;
}
.svc-chip.is-on span { color: #fde8a8; }
.svc-chip.is-on b { color: #fff8e1; }

/* Subtle check badge in the top-right corner when selected — replaces
   the noisy right-side radio dot. Reads as "active" without competing
   visually with the icon tile. */
.svc-chip-check {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s, transform .25s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 6px 16px -4px rgba(251,191,36,.55);
  z-index: 2;
}
.svc-chip-check svg { width: 13px; height: 13px; color: #1f1300; display: block; }
.svc-chip.is-on .svc-chip-check { opacity: 1; transform: scale(1); }

@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; gap: 8px; }
  .svc-chip { padding: 12px 14px; gap: 12px; }
  .svc-chip-ico { width: 42px; height: 42px; border-radius: 11px; }
  .svc-chip-ico svg { width: 22px; height: 22px; }
  .svc-chip b { font-size: 13.5px; }
  .svc-chip span { font-size: 11.5px; }
  .svc-chip-check { top: 8px; right: 8px; width: 20px; height: 20px; }
  .svc-chip-check svg { width: 11px; height: 11px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PAYMENT MODAL — animates through wallet → intent → tx → verify
   ═══════════════════════════════════════════════════════════════════ */
.pay-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: a69rise .25s ease-out;
}
.pay-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(251,191,36,.18), transparent 60%),
    linear-gradient(180deg, rgba(8,12,20,.95), rgba(3,7,18,.95));
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.pay-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  display: grid; place-items: center;
}
.pay-modal-close:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.pay-modal h3 { font-size: 18px; margin-bottom: 4px; }
.pay-modal-amount {
  margin: 14px 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(251,191,36,.04));
  border: 1px solid rgba(251,191,36,.32);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.025em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pay-modal-amount span { color: #fde68a; font-size: 13px; font-weight: 700; }
.pay-steps {
  display: grid;
  gap: 10px;
}
.pay-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.pay-step .ico {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: currentColor;
}
.pay-step.is-doing {
  border-color: rgba(251,191,36,.32);
  background: rgba(251,191,36,.08);
  color: #fde68a;
}
.pay-step.is-doing .ico {
  background: rgba(251,191,36,.16);
  color: #fbbf24;
}
.pay-step.is-doing .ico svg { animation: spin360 1s linear infinite; }
.pay-step.is-done {
  border-color: rgba(52,211,153,.32);
  background: rgba(52,211,153,.08);
  color: #86efac;
}
.pay-step.is-done .ico { background: rgba(52,211,153,.16); color: #34d399; }
.pay-step.is-error {
  border-color: rgba(248,113,113,.4);
  background: rgba(248,113,113,.10);
  color: #fca5a5;
}
@keyframes spin360 { to { transform: rotate(360deg); } }
.pay-step-result {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  word-break: break-all;
  display: none;
}
.pay-step-result.show { display: block; }
.pay-step-result.good { background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.32); color: #bbf7d0; }
.pay-step-result.bad  { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.34); color: #fecaca; }

/* ═══════════════════════════════════════════════════════════════════
   ULTRA-NARROW RESPONSIVE — keeps everything readable at 200-300px
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .shell { width: min(100% - 14px, 1180px); padding: 12px 0 48px; }
  .a69-hdr {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 8px 10px;
    gap: 6px 8px;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .a69-brand { gap: 6px; }
  .a69-brand-mark { width: 26px; height: 26px; border-radius: 7px; }
  .a69-brand-mark-divider, .a69-brand-product { display: none; }
  .a69-brand-name { font-size: 12px; }
  .a69-segnav { display: none; }
  .a69-cmd { display: none; }
  .a69-status-chip { padding: 6px 8px; font-size: 9.5px; }
  .a69-status-chip span:not(.pulse) { display: inline; }
  .a69-cta { font-size: 11px; padding: 6px 10px; gap: 4px; border-radius: 8px; }
  .cine-hero { padding: 28px 14px 22px; border-radius: 18px; }
  .cine-h1 { font-size: clamp(28px, 9vw, 40px); }
  .cine-sub { font-size: 13px; }
  .cine-cta { gap: 6px; }
  .cine-cta-primary, .cine-cta-secondary { width: 100%; justify-content: center; padding: 12px 16px; font-size: 13px; }
  .cine-ribbon { grid-template-columns: 1fr 1fr; }
  .cine-ribbon > div { padding: 10px 12px; }
  .cine-ribbon b { font-size: 16px; }
  .flow-row { grid-template-columns: 36px minmax(0, 1fr); padding: 18px 14px; gap: 10px; }
  .flow-row-num { width: 36px; height: 36px; font-size: 11px; }
  .flow-row-body h3 { font-size: 17px; }
  .flow-row-body p { font-size: 13px; }
  .flow-row-tags > span { font-size: 10.5px; padding: 3px 8px; }
  .tier-cell { padding: 22px 16px 18px; }
  .tier-cell-price b { font-size: 30px; }
  .pipe-rail { padding: 14px 6px; }
  .pipe-track { height: 80px; }
  .pipe-line { left: 8px; right: 8px; }
  .pipe-node-label { font-size: 8px; letter-spacing: .04em; }
  .pipe-node-dot { width: 12px; height: 12px; }
  .a69-segnav, .pay-step-result { font-size: 11px; }
  .auth-token-input { letter-spacing: .14em; }
  #auth-form, #invoice-form, #job-form, #upload-form {
    grid-template-columns: 1fr !important;
  }
  .form-grid { grid-template-columns: 1fr; gap: 6px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .pay-row { gap: 6px; }
  .pay-row .btn { font-size: 11.5px; padding: 8px 12px; min-height: 36px; flex: 1 1 100%; }
  .row { padding: 12px; border-radius: 12px; }
  .row b { font-size: 12.5px; }
}
@media (max-width: 360px) {
  .shell { width: min(100% - 10px, 1180px); padding: 10px 0 40px; }
  .a69-hdr { padding: 6px 8px; gap: 4px; }
  .a69-brand-text, .a69-brand-name { display: none; }
  .a69-cta { font-size: 10.5px; padding: 5px 8px; }
  .a69-status-chip { padding: 5px 7px; }
  .cine-hero { padding: 22px 12px 18px; border-radius: 14px; }
  .cine-eyebrow { font-size: 9px; padding: 4px 10px; letter-spacing: .14em; }
  .cine-h1 { font-size: clamp(24px, 10vw, 34px); line-height: .98; }
  .cine-sub { font-size: 12px; line-height: 1.5; }
  .cine-ribbon { grid-template-columns: 1fr; }
  .cine-ribbon > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .cine-ribbon > div:last-child { border-bottom: 0; }
  .flow-surface { border-radius: 16px; }
  .flow-row { padding: 14px 10px; gap: 8px; grid-template-columns: 30px minmax(0, 1fr); }
  .flow-row-num { width: 30px; height: 30px; font-size: 10px; border-radius: 8px; }
  .flow-row-body h3 { font-size: 15px; }
  .flow-row-body p { font-size: 12px; line-height: 1.5; }
  .flow-row-tags > span { font-size: 9.5px; padding: 2px 6px; }
  .tier-rail { border-radius: 14px; }
  .tier-cell-price b { font-size: 26px; }
  .pipe-track { height: 84px; }
  .pipe-node-label { font-size: 7.5px; }
  .auth-token-input { letter-spacing: .08em; }
  h1, .cine-h1 { letter-spacing: -.02em; }
  .panel, .card { padding: 14px; }
  .toast { right: 8px; bottom: 8px; left: 8px; max-width: none; padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 280px) {
  .shell { width: 100%; padding: 8px 8px 32px; }
  .a69-hdr { display: flex; flex-direction: column; align-items: stretch; padding: 6px; }
  .a69-hdr-right { justify-content: space-between; width: 100%; }
  .cine-h1 { font-size: 22px; }
  .cine-sub { font-size: 11.5px; }
  .flow-row-body h3 { font-size: 14px; }
  .pipe-node-label { display: none; }
  .pipe-track { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL UX SUGAR — spinner, button-loading state, hover-tilt
   ═══════════════════════════════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin360 .85s linear infinite;
}
button[disabled] { opacity: .65; cursor: progress; }
button[data-busy="1"] { opacity: .8; cursor: progress; pointer-events: none; }
button[data-busy="1"]::before {
  content: '';
  display: inline-block;
  width: 13px; height: 13px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin360 .85s linear infinite;
  vertical-align: -2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cine-h1 .accent::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTON RHYTHM PASS
   ═══════════════════════════════════════════════════════════════════ */
.btn,
button:not(.unstyled) {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.005em;
  line-height: 1;
  padding: 10px 16px;
  min-height: 42px;
  gap: 6px;
}
.btn.primary,
button.primary {
  font-size: 13.5px;
  letter-spacing: -.005em;
  padding: 11px 20px;
}
.cine-cta-primary {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
}
.cine-cta-secondary {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.tier-cell-cta { font-size: 12.5px; padding: 11px 16px; }
.a69-cta { font-size: 12.5px; letter-spacing: -.005em; }
/* Arrows align cleanly with button text */
.btn-arrow, .a69-cta-arrow, .cine-cta-primary > span:last-child {
  display: inline-block;
  font-weight: 900;
  transition: transform .2s;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL DASHBOARD — replaces the cramped 3-row layout with a proper
   command-center view: hero → sign-in card → engagements grid → posture.
   ═══════════════════════════════════════════════════════════════════ */
.dash-hero {
  position: relative;
  text-align: center;
  margin: 8px 0 32px;
  padding: 36px 24px 0;
}
.dash-hero h1 {
  margin: 0 auto 12px;
  max-width: 680px;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: .96;
  letter-spacing: -.035em;
}
.dash-hero p {
  margin: 0 auto;
  max-width: 540px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.55;
}

.dash-quickstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  overflow: hidden;
}
.dash-quickstats > div {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(15,23,42,.62), rgba(8,12,20,.78));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-quickstats .qs-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
}
.dash-quickstats .qs-val {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.dash-quickstats .qs-val .accent { color: #fde68a; }
.dash-quickstats .qs-sub {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Sign-in panel — single clean card, full width */
.signin-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(34,211,238,.10), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.62), rgba(8,12,20,.78));
  overflow: hidden;
}
.signin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.55), transparent);
}
.signin-head { min-width: 0; }
.signin-head .eyebrow { margin-bottom: 12px; }
.signin-head h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -.025em;
}
.signin-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.55;
}
.signin-form {
  display: grid;
  gap: 10px;
  position: relative;
}
.signin-form .pair {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
}
.signin-form .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.signin-form .actions > .btn { flex: 1 1 auto; min-width: 0; }
.signin-form .actions > .btn.ghost { flex: 0 0 auto; }
.signin-help {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .signin-card { grid-template-columns: 1fr; padding: 22px; }
  .signin-form .pair { grid-template-columns: 1fr; }
  .dash-quickstats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dash-hero { padding: 24px 8px 0; }
  .dash-quickstats { grid-template-columns: 1fr; }
  .signin-card { padding: 20px 16px; }
  .signin-head h2 { font-size: 22px; }
}

/* Engagements panel — replaces the cramped flow-row variant on /portal */
.eng-panel {
  position: relative;
  margin-top: 22px;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(6,10,18,.78));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 30px 80px -28px rgba(0,0,0,.6);
}
.eng-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.eng-panel-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.018em;
}
.eng-panel-head .eyebrow { margin-bottom: 4px; }

.eng-empty {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px dashed rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(2,6,23,.32);
}
.eng-empty-ico {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(167,139,250,.12));
  border: 1px solid rgba(34,211,238,.28);
  color: #67e8f9;
}
.eng-empty-text b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.eng-empty-text span {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}
.eng-empty-cta { flex-shrink: 0; }
@media (max-width: 720px) {
  .eng-panel { padding: 22px 18px; }
  .eng-empty { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .eng-empty-ico { margin: 0 auto; }
  .eng-empty-cta { display: flex; justify-content: center; }
  .eng-empty-cta .btn { width: 100%; max-width: 280px; }
}

/* Posture panel — clean info row at the page tail (replaces the flow-row
   with oversized SVG art that dominated the layout) */
.posture {
  position: relative;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(251,191,36,.18);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 100% 60% at 100% 0%, rgba(251,191,36,.08), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.5), rgba(6,10,18,.7));
}
.posture-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.posture-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #1f1300;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -4px rgba(251,191,36,.42);
}
.posture-text { min-width: 0; flex: 1; }
.posture-text h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -.015em;
}
.posture-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.55;
}
.posture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .posture { padding: 20px 18px; }
}

/* Sign-in mark visual on the right of signin-card */
.auth-error-banner {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(248,113,113,.32);
  border-radius: 12px;
  background: rgba(248,113,113,.08);
  animation: a69rise .25s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════
   SIGN-IN STEP LAYOUT — two clearly numbered choices (send link OR
   verify code) with full-width tap targets sized for mobile.
   ═══════════════════════════════════════════════════════════════════ */
.signin-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.signin-step-num {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-top: 24px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(34,211,238,.04));
  border: 1px solid rgba(34,211,238,.32);
  color: #67e8f9;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 900;
  font-size: 11px;
  flex-shrink: 0;
}
.signin-step:nth-child(4) .signin-step-num {
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(251,191,36,.04));
  border-color: rgba(251,191,36,.32);
  color: #fde68a;
}
.signin-step-body { min-width: 0; }
.signin-step-body label { margin-top: 0; }
.signin-step-body input { margin-bottom: 10px; }

.signin-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: -.005em;
  margin-top: 4px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), filter .2s, opacity .2s;
}
.signin-cta:disabled,
.signin-cta[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(.3);
}
.signin-cta:not(:disabled):hover { transform: translateY(-1px); }

.signin-divider {
  position: relative;
  margin: 6px 0 2px;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .22em;
  color: #475569;
}
.signin-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(180deg, rgba(15,23,42,.7), rgba(8,12,20,.85));
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
}
.signin-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 32px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.signin-form {
  display: grid;
  gap: 18px;
}
.signin-form .signin-step ~ .signin-help { margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════
   SESSION-AWARE SIGN-IN — toggle between two states inside one card.
   `body.is-authed`  → show .signed-in panel, hide .signin-form
   `body.is-anon`    → show .signin-form, hide .signed-in panel
   ═══════════════════════════════════════════════════════════════════ */
body.is-authed .signin-form,
body.is-authed .signin-help,
body.is-authed .signin-mark { display: none !important; }
body.is-anon .signed-in-panel { display: none !important; }
body:not(.is-authed):not(.is-anon) .signed-in-panel { display: none; }

.signed-in-panel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(52,211,153,.32);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 100% 50% at 0% 0%, rgba(52,211,153,.10), transparent 70%),
    rgba(2,6,23,.42);
  animation: a69rise .25s ease-out;
}
.signed-in-avatar {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52,211,153,.22), rgba(34,211,238,.16));
  border: 1px solid rgba(52,211,153,.34);
  color: #86efac;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.005em;
  position: relative;
}
.signed-in-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid #0b1220;
  box-shadow: 0 0 8px rgba(52,211,153,.7);
}
.signed-in-info { min-width: 0; }
.signed-in-info .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 4px;
}
.signed-in-info .email {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  word-break: break-all;
  line-height: 1.2;
}
.signed-in-info .meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  color: #94a3b8;
  font-size: 11.5px;
}
.signed-in-info .meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #475569;
  display: inline-block;
}
.signed-in-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.signed-in-actions .btn { font-size: 12px; padding: 8px 14px; min-height: 38px; }

@media (max-width: 720px) {
  .signed-in-panel { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .signed-in-actions { grid-column: 1 / -1; justify-content: stretch; }
  .signed-in-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .signed-in-avatar { width: 44px; height: 44px; font-size: 16px; }
  .signed-in-panel { grid-template-columns: 44px minmax(0, 1fr); }
  .signed-in-info .email { font-size: 14.5px; }
}

/* Header sign-in chip flips to "signed in" with avatar dot */
body.is-authed .a69-cta {
  background: linear-gradient(135deg, rgba(52,211,153,.20), rgba(52,211,153,.06));
  color: #86efac;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.is-authed .a69-cta:hover { filter: brightness(1.15); }

/* ═══════════════════════════════════════════════════════════════════
   SMOOTH AUDIT-START FLOW · only visible when authed and engagement
   list is loaded. Prominent quick-start tile gives signed-in users a
   one-click path to scope a fresh audit without rummaging in the nav.
   ═══════════════════════════════════════════════════════════════════ */
.quickstart {
  display: none;
  position: relative;
  margin: 22px 0;
  padding: 24px 28px;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(251,191,36,.16), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(34,211,238,.10), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.6), rgba(8,12,20,.78));
  overflow: hidden;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr auto;
}
body.is-authed .quickstart { display: grid; }
.quickstart::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.55), transparent);
}
.quickstart-text { min-width: 0; }
.quickstart-text .eyebrow { margin-bottom: 8px; }
.quickstart-text h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.quickstart-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.55;
}
.quickstart-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.quickstart-templates a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  transition: transform .2s, color .2s, border-color .2s, background .2s;
}
.quickstart-templates a:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(34,211,238,.42);
  background: rgba(34,211,238,.08);
}
.quickstart-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde68a, #fbbf24 60%, #f59e0b);
  color: #1f1300;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.005em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 12px 32px -10px rgba(251,191,36,.55);
  transition: transform .25s, filter .2s;
}
.quickstart-cta:hover { transform: translateY(-1px); filter: saturate(1.08); }
.quickstart-cta-arrow { transition: transform .2s; }
.quickstart-cta:hover .quickstart-cta-arrow { transform: translateX(2px); }

@media (max-width: 720px) {
  .quickstart { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
  .quickstart-cta { width: 100%; justify-content: center; }
}
.auth-error-icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(248,113,113,.16);
  color: #fca5a5;
  font-size: 14px;
  font-weight: 900;
}
.auth-error-banner b {
  display: block;
  color: #fecaca;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.005em;
  margin-bottom: 3px;
}
.auth-error-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.55;
}

.signin-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at center, rgba(34,211,238,.14), transparent 70%);
  overflow: hidden;
}
.signin-mark svg { display: block; }
.signin-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(34,211,238,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(ellipse at center, #000, transparent 70%);
          mask: radial-gradient(ellipse at center, #000, transparent 70%);
  opacity: .6;
}
@media (max-width: 880px) {
  .signin-mark { display: none; }
}

