/* ==========================================================================
   Resphera SNP Check — standalone page theme
   Loaded after style.css; everything is scoped under body.snp-page.
   ========================================================================== */
body.snp-page {
  --ink: #0a1120;
  --ink-2: #0f1a2e;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e6ebf5;
  --muted: #95a3bf;
  --blue: #5974a9;
  --sky: #8fb0ff;
  --gold: #fec339;
  --green: #2db86a;
  --red: #ff5d5d;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: 'Montserrat', 'Cabin', 'Helvetica Neue', sans-serif;
  background: var(--ink);
  color: var(--text);
}
.snp-page h1, .snp-page h2, .snp-page h3, .snp-page h4 {
  font-family: var(--display);
  text-transform: none;
}
.snp-page section { position: relative; }
.snp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Shared bits ---------- */
.snp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.snp-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.snp-h2 {
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 18px 0;
  max-width: 820px;
}
.snp-lede {
  font-size: 1.1em;
  line-height: 1.65em;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 48px 0;
}
.snp-grad {
  background: linear-gradient(92deg, var(--sky) 0%, #c3d4ff 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.snp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.snp-btn-primary {
  background: var(--gold);
  color: #1b2333;
  box-shadow: 0 8px 30px rgba(254, 195, 57, 0.25);
}
.snp-btn-primary:hover {
  color: #1b2333;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(254, 195, 57, 0.4);
}
.snp-btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel);
}
.snp-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Hero ---------- */
.snp-hero {
  padding: 170px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(89, 116, 169, 0.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(45, 184, 106, 0.12), transparent 60%),
    var(--ink);
}
.snp-hero::before {
  /* faint grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.snp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.snp-hero h1 {
  font-size: 3.4em;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 22px 0;
}
.snp-hero h1 sup { font-size: 0.3em; top: -1.8em; font-weight: 500; }
.snp-hero-sub {
  font-size: 1.15em;
  line-height: 1.6em;
  color: var(--muted);
  margin: 0 0 34px 0;
  max-width: 520px;
}
.snp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.snp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(45, 184, 106, 0.35);
  background: rgba(45, 184, 106, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.snp-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(45, 184, 106, 0.6);
  animation: snp-pulse 2s infinite;
}
@keyframes snp-pulse {
  70%  { box-shadow: 0 0 0 9px rgba(45, 184, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 184, 106, 0); }
}

/* ---------- Fingerprint console (hero visual) ---------- */
.fp-console {
  background: linear-gradient(180deg, rgba(20, 31, 54, 0.92), rgba(12, 20, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 13px;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.fp-console.is-mismatch {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 93, 93, 0.45), 0 0 60px rgba(255, 93, 93, 0.15);
}
.fp-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}
.fp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; display: inline-block; }
.fp-bar span { margin-left: auto; }
.fp-body { padding: 20px 20px 18px; }
.fp-row-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11.5px;
  margin: 0 0 7px 0;
}
.fp-row-label b { color: var(--text); font-weight: 500; }
.fp-cells {
  display: grid;
  grid-template-columns: repeat(var(--n, 32), 1fr);
  gap: 3px;
}
.fp-cell {
  aspect-ratio: 1 / 1.6;
  border-radius: 3px;
  background: #1c2740;
  transition: background 0.25s ease, opacity 0.25s ease;
}
.fp-cell.g0 { background: #2b3a5c; }
.fp-cell.g1 { background: var(--blue); }
.fp-cell.g2 { background: var(--sky); }
.fp-links {
  display: grid;
  grid-template-columns: repeat(var(--n, 32), 1fr);
  gap: 3px;
  height: 18px;
  margin: 4px 0;
}
.fp-link {
  justify-self: center;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s ease;
}
.fp-link.ok  { background: rgba(45, 184, 106, 0.75); }
.fp-link.bad { background: var(--red); box-shadow: 0 0 6px var(--red); }
.fp-readout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.fp-score-label { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.fp-score {
  font-family: var(--display);
  font-size: 2.3em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.fp-verdict {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.fp-verdict.ok  { color: var(--green); border-color: rgba(45, 184, 106, 0.5); background: rgba(45, 184, 106, 0.1); }
.fp-verdict.bad { color: #fff; border-color: var(--red); background: rgba(255, 93, 93, 0.85); }
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
}
.fp-legend em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.fp-legend em::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.fp-legend .note { margin-left: auto; opacity: 0.7; }

/* ---------- Format ticker ---------- */
.snp-ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.snp-ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: snp-marquee 40s linear infinite;
  font-family: var(--mono);
  font-size: 0.8em;
  letter-spacing: 1.5px;
  color: var(--muted);
  white-space: nowrap;
}
.snp-ticker-track span::before { content: '◆'; color: var(--gold); margin-right: 44px; font-size: 0.7em; opacity: 0.7; }
@keyframes snp-marquee { to { transform: translateX(-50%); } }

/* ---------- Field result callout ---------- */
.snp-field { padding: 110px 0 40px; background: var(--ink); }
.snp-field-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 20px;
  border: 1px solid rgba(255, 93, 93, 0.3);
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(255, 93, 93, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.snp-field-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2.1em;
  color: var(--red);
  background: rgba(255, 93, 93, 0.1);
  border: 1px solid rgba(255, 93, 93, 0.35);
}
.snp-field-card h2 {
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 12px 0;
}
.snp-field-card p { color: var(--muted); line-height: 1.65em; margin: 0; font-size: 1.02em; }
.snp-field-card .snp-eyebrow { color: var(--red); margin-bottom: 12px; }

/* ---------- Problem ---------- */
.snp-problem { padding: 90px 0 100px; background: var(--ink); }
.snp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.snp-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.snp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 176, 255, 0.35);
  background: rgba(143, 176, 255, 0.05);
}
.snp-card .fa {
  font-size: 1.3em;
  width: 46px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 12px;
  color: var(--sky);
  background: rgba(143, 176, 255, 0.1);
  margin-bottom: 18px;
}
.snp-problem .snp-card .fa { color: #ff8b8b; background: rgba(255, 93, 93, 0.1); }
.snp-card h3 { font-size: 1.05em; font-weight: 600; color: #fff; margin: 0 0 10px 0; }
.snp-card p { font-size: 0.9em; line-height: 1.6em; color: var(--muted); margin: 0; }
.snp-gap {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(254, 195, 57, 0.04);
  color: var(--muted);
  font-size: 0.98em;
  line-height: 1.7em;
}
.snp-gap strong { color: #fff; font-weight: 600; }

/* ---------- Capabilities ---------- */
.snp-features {
  padding: 110px 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(89, 116, 169, 0.2), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.snp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.snp-chips span {
  font-family: var(--mono);
  font-size: 0.68em;
  letter-spacing: 0.5px;
  color: var(--text);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.snp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 17, 32, 0.6);
}
.snp-stat { padding: 34px 30px; border-right: 1px solid var(--line); }
.snp-stat:last-child { border-right: 0; }
.snp-stat-num {
  font-family: var(--display);
  font-size: 3em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.snp-stat-label { color: #fff; margin-top: 12px; font-size: 0.98em; }
.snp-stat-sub { font-family: var(--mono); color: var(--muted); font-size: 0.72em; letter-spacing: 1px; margin-top: 6px; }

/* ---------- How it works ---------- */
.snp-method { padding: 110px 0; background: var(--ink); border-top: 1px solid var(--line); }
.snp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.snp-steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--gold));
  opacity: 0.6;
}
.snp-step { position: relative; }
.snp-step-num {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.85em;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--sky);
  box-shadow: 0 0 0 6px var(--ink), 0 0 24px rgba(143, 176, 255, 0.35);
  margin-bottom: 24px;
}
.snp-step h4 { font-size: 1.05em; font-weight: 600; color: #fff; margin: 0 0 10px 0; }
.snp-step p { font-size: 0.9em; line-height: 1.6em; color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.snp-cta { padding: 40px 0 120px; background: var(--ink); }
.snp-cta-card {
  position: relative;
  text-align: center;
  padding: 80px 32px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(143, 176, 255, 0.25);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(143, 176, 255, 0.25), transparent 70%),
    linear-gradient(160deg, #1a2a4a 0%, #0f1a2e 100%);
}
.snp-cta-card h2 {
  font-size: 2.6em;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin: 0 0 16px 0;
}
.snp-cta-card p { color: var(--muted); font-size: 1.1em; max-width: 560px; margin: 0 auto 34px; line-height: 1.6em; }
.snp-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.snp-cta-meta { margin-top: 26px; font-family: var(--mono); font-size: 0.8em; color: var(--muted); letter-spacing: 0.5px; }
.snp-cta-meta a { color: var(--text); }
.snp-cta-meta a:hover { color: var(--gold); }

/* ---------- Footer override ---------- */
.snp-page .footer { background: #070c17; color: #6b7894; border-top: 1px solid var(--line); }
.snp-page .footer p { color: #6b7894; }

/* ---------- Scroll reveal ---------- */
.snp-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.snp-page .reveal.in { opacity: 1; transform: none; }
.snp-page .reveal-d1 { transition-delay: 0.08s; }
.snp-page .reveal-d2 { transition-delay: 0.16s; }
.snp-page .reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .snp-page .reveal { opacity: 1; transform: none; transition: none; }
  .snp-ticker-track, .snp-badge .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .snp-hero { padding: 140px 0 80px; }
  .snp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .snp-hero h1 { font-size: 2.7em; }
  .snp-cards, .snp-steps { grid-template-columns: repeat(2, 1fr); }
  .snp-steps::before { display: none; }
}
@media (max-width: 600px) {
  body.snp-page { font-size: 16px; }
  .snp-wrap { padding: 0 16px; }
  .snp-hero h1 { font-size: 2.2em; letter-spacing: -0.8px; }
  .snp-h2 { font-size: 1.8em; }
  .snp-cards, .snp-steps, .snp-stats { grid-template-columns: 1fr; }
  .snp-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .snp-stat:last-child { border-bottom: 0; }
  .snp-field-card { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
  .snp-cta-card { padding: 56px 20px; }
  .snp-cta-card h2 { font-size: 1.9em; }
  .fp-body { padding: 16px 14px; }
  .fp-legend .note { margin-left: 0; }
  .snp-features, .snp-method, .snp-problem { padding: 72px 0; }
}
.snp-hero .snp-eyebrow { display: flex; }
.snp-hero-grid > *, .snp-field-card > * { min-width: 0; }

/* ---------- Identity network (illustrative animation) ---------- */
.snp-net { padding: 70px 0 100px; background: var(--ink); }
.net-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
}
.net-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.net-steps li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.net-steps li:hover { opacity: 0.85; }
.net-steps li.on { opacity: 1; border-color: rgba(143, 176, 255, 0.4); background: rgba(143, 176, 255, 0.06); }
.net-steps li[data-phase="3"].on { border-color: rgba(255, 93, 93, 0.5); background: rgba(255, 93, 93, 0.06); }
.net-step-k { font-family: var(--mono); font-size: 0.75em; color: var(--sky); padding-top: 3px; }
.net-steps li[data-phase="3"] .net-step-k { color: #ff8b8b; }
.net-steps b { font-family: var(--display); font-weight: 600; color: #fff; font-size: 1em; }
.net-steps p { margin: 4px 0 0; font-size: 0.82em; line-height: 1.5em; color: var(--muted); }
.net-bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--gold));
}
.net-steps li[data-phase="3"] .net-bar { background: var(--red); }
.net-stage {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% 40%, rgba(89, 116, 169, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(20, 31, 54, 0.7), rgba(10, 17, 32, 0.9));
  overflow: hidden;
  min-height: 360px;
}
.net-stage svg { display: block; width: 100%; height: 100%; }
.net-hud {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
  pointer-events: none;
}
.net-hud b { color: var(--gold); font-weight: 600; font-size: 13px; }
.net-hud-tl { top: 14px; left: 16px; }
.net-hud-tr { top: 14px; right: 16px; display: flex; align-items: center; gap: 6px; }
.net-hud-tr em { display: inline-block; font-style: normal; }
.net-hud-tr .sw { width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#8fb0ff 0 25%, #fec339 0 50%, #2db86a 0 75%, #b18cff 0); }
.net-hud-tr .ln { width: 16px; height: 2px; background: rgba(143, 176, 255, 0.7); margin-left: 10px; }
.net-hud-bl { bottom: 14px; left: 16px; transition: color 0.3s; }
.net-hud-bl.alert { color: #ff8b8b; }
.net-hud-br { bottom: 14px; right: 16px; opacity: 0.6; }
#net-svg text { font-family: var(--mono); pointer-events: none; }

@media (max-width: 991px) {
  .net-grid { grid-template-columns: 1fr; }
  .net-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; order: 2; }
  .net-steps li { padding: 10px 12px; flex-direction: column; gap: 4px; }
  .net-steps p { display: none; }
}
@media (max-width: 600px) {
  .snp-net { padding: 40px 0 72px; }
  .net-steps { grid-template-columns: repeat(2, 1fr); }
  .net-stage { min-height: 0; }
  .net-hud-tr, .net-hud-br { display: none; }
  .net-hud { font-size: 10px; }
  .net-hud b { font-size: 12px; }
  .net-hud-tl { top: 10px; left: 12px; }
  .net-hud-bl { bottom: 10px; left: 12px; }
}

/* In-page anchors: smooth scroll and clear the fixed navbar */
html:has(body.snp-page) { scroll-behavior: smooth; }
.snp-page section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html:has(body.snp-page) { scroll-behavior: auto; } }

/* ---------- Hero console: pair view ⇄ network view ---------- */
.fp-stage { position: relative; height: 210px; display: flex; align-items: center; }
.fp-view-pair { width: 100%; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease; }
.fp-view-net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; overflow: visible;
  transition: opacity 0.6s ease;
}
.fp-console.mode-net .fp-view-pair { opacity: 0; transform: scale(0.9); filter: blur(3px); }
.fp-console.mode-net .fp-view-net { opacity: 1; }
.fp-console .lg-net { display: none; }
.fp-console.mode-net .lg-net { display: inline-flex; }
.fp-console.mode-net .lg-pair { display: none; }
.fp-view-net text { font-family: var(--mono); }
#fp-title { transition: color 0.4s ease; }
.fp-console.mode-net #fp-title { color: var(--sky); }
@media (max-width: 600px) {
  .fp-stage { height: 180px; }
}
.fp-bar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-score { white-space: nowrap; }
@media (max-width: 600px) {
  .fp-score { font-size: 1.9em; }
  .fp-verdict { padding: 7px 9px; font-size: 10.5px; letter-spacing: 1px; }
}

/* ---------- Buttons: centered label + inline icon ---------- */
.snp-btn { justify-content: center; line-height: 1; text-align: center; }
.snp-btn-ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.snp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3000;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.snp-header.scrolled {
  background: rgba(10, 17, 32, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.snp-header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; gap: 14px;
}
.snp-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.08em; letter-spacing: -0.2px; color: #fff;
}
.snp-brand:hover { color: #fff; }
.snp-brand-mark { width: 28px; height: 28px; }
.snp-brand-mark line { stroke: rgba(143, 176, 255, 0.7); stroke-width: 1.3; }
.snp-brand-mark circle { fill: var(--sky); }
.snp-brand-mark .hot { stroke: var(--gold); fill: var(--gold); }
.snp-by {
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 14px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.62em; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
  opacity: 0.85; transition: opacity 0.2s ease;
}
.snp-by:hover { opacity: 1; color: var(--muted); }
.snp-by img { height: 26px; width: auto; display: block; }
.snp-nav { margin-left: auto; display: flex; gap: 4px; }
.snp-nav a {
  font-family: var(--display); font-weight: 500; font-size: 0.82em; color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
}
.snp-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.snp-header-cta { padding: 10px 18px; font-size: 0.78em; box-shadow: none; }
.snp-hero { padding-top: 140px; }

/* ---------- Footer ---------- */
.snp-footer { background: #070c17; border-top: 1px solid var(--line); padding: 56px 0 44px; text-align: center; }
.snp-footer-logo { display: inline-block; opacity: 0.9; transition: opacity 0.2s ease; }
.snp-footer-logo:hover { opacity: 1; }
.snp-footer-logo img { height: 52px; width: auto; display: block; margin: 0 auto 22px; }
.snp-footer p { color: #6b7894; font-size: 0.82em; line-height: 1.6em; margin: 0 auto 8px; max-width: 860px; }
.snp-footer .snp-footer-legal { font-size: 0.72em; }

@media (max-width: 860px) {
  .snp-nav { display: none; }
  .snp-header-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .snp-header-inner { padding: 0 16px; height: 60px; gap: 10px; }
  .snp-brand { font-size: 0.98em; gap: 8px; }
  .snp-brand-mark { width: 24px; height: 24px; }
  .snp-by { padding-left: 10px; gap: 6px; }
  .snp-by span { display: none; }
  .snp-by img { height: 22px; }
  .snp-header-cta { padding: 9px 14px; font-size: 0.72em; }
  .snp-hero { padding-top: 110px; }
}
@media (max-width: 380px) {
  .snp-by { display: none; }
}

/* ---------- Hero console: larger + wider ---------- */
.snp-hero .snp-wrap { max-width: 1280px; }
.snp-hero-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
.fp-console { font-size: 14px; }
.fp-bar { font-size: 12px; padding: 14px 18px; }
.fp-body { padding: 22px 24px 20px; }
.fp-row-label { font-size: 12.5px; }
.fp-score-label { font-size: 12px; }
.fp-verdict { font-size: 12.5px; }
.fp-legend { font-size: 11.5px; }
.fp-stage { height: 262px; }

/* ---------- Header: taller, brand left, Resphera logo far right ---------- */
.snp-header-inner { height: 80px; max-width: 1280px; }
.snp-brand em { font-style: normal; font-weight: inherit; color: #c3d4ff; margin-right: 2px; }
.snp-brand-mark { width: 30px; height: 30px; }
.snp-header-cta { margin-left: 8px; }
.snp-by { margin-left: 10px; padding-left: 18px; }
.snp-by img { height: 30px; }
.snp-hero { padding-top: 150px; }
.snp-page section[id] { scroll-margin-top: 92px; }

@media (max-width: 991px) {
  .snp-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .snp-header-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .snp-header-inner { height: 68px; }
  .snp-hero { padding-top: 116px; }
  .fp-console { font-size: 13px; }
  .fp-body { padding: 16px 14px; }
  .fp-stage { height: 210px; }
  .snp-by { display: none; }
}

/* Header nav: keep labels on one line; compact on mid widths */
.snp-nav a { white-space: nowrap; }
@media (max-width: 1280px) {
  .snp-nav { gap: 0; }
  .snp-nav a { padding: 8px 10px; }
  .snp-by span { display: none; }
}
@media (max-width: 1100px) {
  .snp-nav { display: none; }
  .snp-header-cta { margin-left: auto; }
}
.snp-brand, .snp-header-cta, .snp-by { white-space: nowrap; flex: none; }
@media (max-width: 1480px) {
  .snp-nav { gap: 0; }
  .snp-nav a { padding: 8px 10px; }
  .snp-by span { display: none; }
}
@media (max-width: 1200px) {
  .snp-nav { display: none; }
  .snp-header-cta { margin-left: auto; }
}
.snp-nav { gap: 0; }
.snp-nav a { padding: 8px 10px; }
@media (max-width: 1240px) {
  .snp-nav { display: none; }
  .snp-header-cta { margin-left: auto; }
}

/* Research Use Only notices */
.snp-ruo { margin: 18px auto 0 !important; font-family: var(--mono); font-size: 0.72em !important; letter-spacing: 0.5px; color: var(--muted) !important; }
.snp-footer .snp-footer-ruo { color: #95a3bf; font-size: 0.8em; font-weight: 600; margin-bottom: 14px; }
