/* 00-fonts.css */
/* IBM Plex Mono, self-hosted (SIL Open Font License 1.1, see assets/fonts/). No third-party font requests. */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* 01-tokens.css */
/* Layout: dark control-room page. Sticky top bar, mesh hero, grouped suite catalogue, build principles, modes, roadmap, footer to SovSec. */
:root {
  color-scheme: dark;
  /* SovSec brand */
  --core-blue: #020028;
  --signal-violet: #941FC2;
  --protocol-purple: #51128A;
  --secure-green: #0AD1A8;
  --cipher-silver: #C8C9D4;
  /* derived surfaces */
  --bg: #020028;
  --surface: #0A0A3C;
  --surface-2: #11114C;
  --line: rgba(200, 201, 212, 0.14);
  --line-strong: rgba(200, 201, 212, 0.28);
  --fg: #FFFFFF;
  --fg-muted: #C8C9D4;
  --fg-dim: #8E8FA8;
  /* Hero mesh: violet, matching the SovSec wordmark — never the old signal blue. */
  --mesh: #941FC2;
  --mesh-2: #0AD1A8;
  --violet-text: #C46BE6;
  /* type — display stack matches sovsec.com (§5.2), body + mono stay self-hosted (no third-party fetch) */
  --font-display: "SF Pro Display", "Segoe UI", system-ui, -apple-system, "Arial Nova", Arial, sans-serif;
  --font-sans: "Arial Nova", Arial, "Liberation Sans", Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.2vw, 3rem);
  --step-4: clamp(2.5rem, 6vw, 4.5rem);
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
}

/* 02-base.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  /* SovSec house background: core-blue with a faint violet grid and violet/green glows,
     so prismara.eu and every microsite read as the same family as sovsec.com. */
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 50% -10%, rgba(148, 31, 194, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(10, 209, 168, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(148, 31, 194, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 31, 194, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed, fixed, fixed, fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--secure-green); text-underline-offset: 3px; }
a:hover { color: #5BE8C9; }
:focus-visible { outline: 2px solid var(--secure-green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secure-green);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--secure-green); color: var(--core-blue); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

/* Scrollbar — core-blue track, signal-violet thumb (matches the SovSec site) */
* { scrollbar-color: rgba(148, 31, 194, 0.45) var(--core-blue); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--core-blue); }
::-webkit-scrollbar-thumb { background: rgba(148, 31, 194, 0.3); border-radius: 8px; border: 2px solid var(--core-blue); }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 31, 194, 0.55); }

/* 03-buttons.css */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.9375rem/1 var(--font-sans);
  padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--secure-green); color: var(--core-blue); }
.btn-primary:hover { background: #3CE0BD; color: var(--core-blue); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cipher-silver); color: var(--fg); }
.btn-admin { background: transparent; color: var(--fg); border-color: var(--signal-violet); }
.btn-admin:hover { background: rgba(148, 31, 194, 0.18); color: var(--fg); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* 04-header.css */
/* Header */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(2, 0, 40, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-word { font-size: 1.375rem; letter-spacing: -0.01em; }
.brand-by { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--fg-muted); text-decoration: none; font-size: 0.9375rem; }
.nav a:hover { color: var(--fg); }
.auth { margin-left: auto; display: flex; gap: 10px; }
.auth .btn { padding: 10px 16px; font-size: 0.875rem; }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 520px) {
  .brand-by { display: none; }
  .auth .btn { padding: 9px 12px; }
  .auth .btn .lbl-long { display: none; }
}
@media (min-width: 521px) { .auth .btn .lbl-short { display: none; } }

/* 05-hero.css */
/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px; align-items: center; padding-block: clamp(48px, 8vw, 96px);
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--secure-green); }
.hero .lede { font-size: var(--step-1); color: var(--fg-muted); max-width: 34ch; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mesh-box { position: relative; aspect-ratio: 1 / 1; max-width: 100%; width: 100%; }
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.spec-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.spec-strip > div { padding: 18px 20px; border-right: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.spec-strip > div:last-child { border-right: 0; }
.spec-strip dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.spec-strip dd { margin: 0; font-size: 0.9375rem; color: var(--fg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .mesh-box { max-width: 420px; margin: 0 auto; order: -1; width: 70%; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-strip > div:nth-child(2) { border-right: 0; }
  .spec-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* 06-sections.css */
/* Sections */
section.block { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 62ch; }
.section-head h2 { font-size: var(--step-3); line-height: 1.12; }
.section-head p { color: var(--fg-muted); font-size: 1.0625rem; }

/* 07-suite.css */
/* Suite */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip-btn {
  font: 500 0.8125rem/1 var(--font-mono); letter-spacing: 0.04em;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--fg-muted); border: 1px solid var(--line-strong);
}
.chip-btn:hover { color: var(--fg); border-color: var(--cipher-silver); }
.chip-btn[aria-pressed="true"] { background: var(--secure-green); color: var(--core-blue); border-color: var(--secure-green); }
.group { display: grid; gap: 18px; }
.group + .group { margin-top: 48px; }
.group-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.group-head h3 { font-size: var(--step-1); }
.group-head span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-dim); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-width: 0;
}
.logo-band { background: var(--core-blue); border: 1px solid var(--line); border-radius: 10px; height: 92px; display: flex; align-items: center; padding: 0 20px; overflow: hidden; }
.logo-band .logo { height: 54px; width: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; }
.logo-band .logo-text { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.logo-text .lt-p { font-size: 0.875rem; color: #fff; }
.logo-text .lt-n { font-size: 1.625rem; color: var(--secure-green); }
.card .what { font-size: 0.8125rem; font-family: var(--font-mono); color: var(--fg-dim); letter-spacing: 0.02em; }
.card p.desc { color: var(--fg-muted); font-size: 0.9375rem; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { font-size: 0.875rem; color: var(--fg-muted); padding-left: 16px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border: 1px solid var(--secure-green); transform: rotate(45deg); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.stage { font: 500 0.6875rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid; }
.stage-dev { color: var(--secure-green); border-color: rgba(10, 209, 168, 0.45); background: rgba(10, 209, 168, 0.08); }
.stage-plan { color: var(--cipher-silver); border-color: var(--line-strong); }
.stage-rd { color: var(--violet-text); border-color: rgba(148, 31, 194, 0.55); background: rgba(148, 31, 194, 0.10); }
.group[hidden] { display: none; }

/* 08-principles.css */
/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.principle h3 { font-size: 1.125rem; }
.principle p { color: var(--fg-muted); font-size: 0.9375rem; }
.principle code { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--secure-green); overflow-wrap: anywhere; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* 09-modes.css */
/* Modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mode { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.mode.featured { background: linear-gradient(160deg, rgba(81, 18, 138, 0.45), rgba(2, 0, 40, 0) 70%), var(--surface); border-color: rgba(148, 31, 194, 0.6); }
.mode h3 { font-size: var(--step-1); }
.mode .who { font-size: 0.875rem; color: var(--fg-dim); }
.mode dl { margin: 0; display: grid; gap: 10px; }
.mode dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 0.875rem; }
.mode dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); padding-top: 3px; }
.mode dd { margin: 0; color: var(--fg-muted); }
@media (max-width: 900px) { .modes { grid-template-columns: minmax(0, 1fr); } }

/* 10-roadmap.css */
/* Roadmap */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline li { padding: 28px 22px 0 0; position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-strong); }
.timeline li::after { content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cipher-silver); }
.timeline li.now::after { background: var(--secure-green); border-color: var(--secure-green); box-shadow: 0 0 0 6px rgba(10, 209, 168, 0.18); }
.timeline li.golive::before { background: linear-gradient(90deg, var(--secure-green), var(--signal-violet)); }
.timeline li.golive::after { border-color: var(--signal-violet); }
.timeline .when { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--secure-green); }
.timeline h3 { font-size: 1.125rem; }
.timeline p { color: var(--fg-muted); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 22px; }
  .timeline li { padding: 0; }
  .timeline li::before { top: 6px; bottom: -34px; left: -17px; right: auto; width: 2px; height: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline li::after { top: 0; left: -22px; }
}

/* 11-cta.css */
/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 48px); border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, rgba(148, 31, 194, 0.35), rgba(2, 0, 40, 0) 60%), var(--surface); }
.cta-band h2 { font-size: var(--step-2); line-height: 1.2; }
.cta-band p { color: var(--fg-muted); margin-top: 10px; max-width: 58ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* 12-footer.css */
/* Footer */
footer { padding-block: 48px 40px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 12px; font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--fg-muted); text-decoration: none; font-size: 0.9375rem; }
.foot a:hover { color: var(--fg); }
.foot .blurb { color: var(--fg-muted); font-size: 0.9375rem; max-width: 40ch; margin-top: 10px; }
.tagline { margin-top: 18px; color: var(--violet-text); font-size: 1.0625rem; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--fg-dim); font-size: 0.8125rem; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

/* 13-dialogs.css */
/* Sign-in dialogs */
dialog.signin {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--surface); color: var(--fg);
}
dialog.signin::backdrop { background: rgba(2, 0, 40, 0.72); backdrop-filter: blur(4px); }
dialog.signin.admin { border-color: rgba(148, 31, 194, 0.7); }
.dlg-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.dlg-head h2 { font-size: 1.375rem; }
.dlg-head .eyebrow { margin-bottom: 6px; display: block; }
.dlg-admin .eyebrow { color: var(--violet-text); }
.x { background: transparent; border: 0; color: var(--fg-dim); cursor: pointer; padding: 4px; border-radius: 8px; line-height: 0; }
.x:hover { color: var(--fg); }
.x svg { width: 20px; height: 20px; }
.dlg-body { padding: 22px 24px 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8125rem; color: var(--fg-muted); }
.field input {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line-strong); width: 100%;
}
.field input:focus { outline: none; border-color: var(--secure-green); box-shadow: 0 0 0 3px rgba(10, 209, 168, 0.2); }
.admin .field input:focus { border-color: var(--signal-violet); box-shadow: 0 0 0 3px rgba(148, 31, 194, 0.3); }
.field .err { color: #FF8FA3; font-size: 0.8125rem; }
.dlg-body .btn { width: 100%; }
.btn-admin-solid { background: var(--signal-violet); color: #fff; }
.btn-admin-solid:hover { background: #A63BD3; color: #fff; }
.or { display: flex; align-items: center; gap: 12px; color: var(--fg-dim); font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { font-size: 0.8125rem; color: var(--fg-dim); }
.note a { color: var(--fg-muted); }
.status { font-size: 0.875rem; padding: 12px 14px; border-radius: 10px; background: rgba(10, 209, 168, 0.08); border: 1px solid rgba(10, 209, 168, 0.35); color: var(--fg-muted); }
.admin .status { background: rgba(148, 31, 194, 0.10); border-color: rgba(148, 31, 194, 0.45); }
.req { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 0.8125rem; color: var(--fg-muted); }
.req div { display: flex; gap: 8px; align-items: flex-start; }
.req svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--violet-text); }
.org { font-size: 0.8125rem; color: var(--fg-muted); margin-top: -8px; }
.org .link { font: inherit; background: none; border: 0; padding: 0; color: var(--fg-dim); text-decoration: underline; cursor: pointer; }
.org .link:hover { color: var(--fg); }
.status.bad { background: rgba(255, 143, 163, 0.08); border-color: rgba(255, 143, 163, 0.45); color: var(--fg); }

/* 14-navigation.css */
/* ---------- Navigation: Platform mega menu and mobile drawer ---------- */
.nav { align-items: center; }
.nav-trigger {
  font: inherit; font-size: 0.9375rem; color: var(--fg-muted); background: none; border: 0;
  padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-trigger[data-current] { color: var(--fg); }
.nav-trigger .chev { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 80px); overflow: auto;
}
.mega-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; padding-block: 28px 20px; }
.mega-col { min-width: 0; }
.mega-col h4 { margin: 0 0 8px; padding: 0 10px; font: 500 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--secure-green); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.mega-col a:hover, .mega-col a:focus-visible { background: var(--surface-2); }
.mega-col a[aria-current="page"] { background: rgba(10, 209, 168, 0.10); }
.m-name { color: var(--fg); font-size: 0.9375rem; display: flex; align-items: center; gap: 8px; }
.m-what { color: var(--fg-dim); font-size: 0.8125rem; line-height: 1.4; padding-left: 15px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot-dev { background: var(--secure-green); }
.dot-plan { background: transparent; border: 1px solid var(--cipher-silver); }
.dot-rd { background: var(--signal-violet); }
.mega-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; border-top: 1px solid var(--line); padding-block: 14px 18px; }
.mega-foot a { color: var(--fg-muted); text-decoration: none; font-size: 0.875rem; }
.mega-foot a:hover { color: var(--fg); }
.mega-foot a:first-child { color: var(--secure-green); font-weight: 600; }
.legend { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px; font: 0.75rem/1 var(--font-mono); color: var(--fg-dim); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1140px) { .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg);
  border-radius: 999px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn[aria-expanded="true"] { border-color: var(--secure-green); color: var(--secure-green); }
@media (max-width: 960px) { .menu-btn { display: inline-flex; } .mega { display: none !important; } }
@media (max-width: 420px) { .auth .btn .lbl-short { display: none; } .auth { gap: 6px; } .auth .btn { padding: 9px 11px; } }
.drawer { border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - 68px); overflow: auto; padding-block: 8px 24px; }
.drawer-label { font: 500 0.6875rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--secure-green); padding-block: 14px 4px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { padding: 14px 0; cursor: pointer; font-size: 1rem; color: var(--fg); }
.drawer ul { list-style: none; margin: 0; padding: 0 0 12px 12px; display: grid; }
.drawer ul a { color: var(--fg-muted); text-decoration: none; display: block; padding: 8px 0; }
.drawer ul a[aria-current="page"] { color: var(--secure-green); }
.drawer-links { display: grid; margin-top: 12px; }
.drawer-links a { padding: 10px 0; color: var(--fg); text-decoration: none; }
html.drawer-open { overflow: hidden; }

/* 15-product-cards.css */
/* ---------- Home: product cards link to product pages ---------- */
.card { position: relative; transition: border-color .15s ease; }
.card:hover, .card:focus-within { border-color: var(--line-strong); }
.card .more { color: var(--secure-green); text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.card .more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .more:focus-visible { outline: none; }
.card:has(.more:focus-visible) { outline: 2px solid var(--secure-green); outline-offset: 3px; }
.group { scroll-margin-top: 90px; }
#suite { scroll-margin-top: 70px; }

/* 16-product-page.css */
/* ---------- Product pages ---------- */
.p-hero { border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(81, 18, 138, 0.35), rgba(2, 0, 40, 0) 60%), var(--bg); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 48px; padding-block: clamp(36px, 6vw, 72px); align-items: start; }
.p-hero-copy { display: grid; gap: 22px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 0.75rem/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--fg-dim); }
.crumbs a { color: var(--fg-muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.p-hero h1 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; }
.p-hero .lede { font-size: 1.125rem; color: var(--fg-muted); max-width: 60ch; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-band.lg { height: 120px; width: max-content; max-width: 100%; padding: 0 32px; border-radius: 999px; }
.logo-band.lg .logo { height: 76px; }
.logo-band.lg .lt-p { font-size: 1rem; }
.logo-band.lg .lt-n { font-size: 2.25rem; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; min-width: 0; }
.facts-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.facts dt { font: 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.facts dd { margin: 0; font-size: 0.9375rem; color: var(--fg); }
@media (max-width: 860px) { .p-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 480px) { .logo-band.lg { height: 96px; padding: 0 22px; } .logo-band.lg .logo { height: 58px; } }

.caps { display: grid; gap: 0 32px; }
.caps.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.caps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.cap h3 { font-size: 1.125rem; }
.cap p { color: var(--fg-muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .caps.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps.cols-2, .caps.cols-3 { grid-template-columns: minmax(0, 1fr); } }

.principles.cols-1 { grid-template-columns: minmax(0, 1fr); }
.principles.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .principles.cols-2, .principles.cols-3 { grid-template-columns: minmax(0, 1fr); } }
.section-head p a { color: var(--secure-green); }

.rels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.rel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; text-decoration: none; color: inherit; min-width: 0; transition: border-color .15s ease; }
.rel:hover { border-color: var(--line-strong); color: inherit; }
.logo-band.sm { height: 72px; padding: 0 16px; }
.logo-band.sm .logo { height: 40px; }
.logo-band.sm .lt-p { font-size: 0.75rem; }
.logo-band.sm .lt-n { font-size: 1.25rem; }
.rel .what { font: 0.75rem/1.4 var(--font-mono); color: var(--fg-dim); }
.rel-go { color: var(--secure-green); font-size: 0.875rem; font-weight: 600; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pn a { display: grid; gap: 4px; text-decoration: none; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); min-width: 0; }
.pn a:hover { border-color: var(--line-strong); }
.pn span { font: 0.75rem/1 var(--font-mono); color: var(--fg-dim); letter-spacing: 0.04em; }
.pn strong { color: var(--fg); font-size: 1.0625rem; font-weight: 400; }
.pn-next { text-align: right; }
@media (max-width: 560px) { .pn { grid-template-columns: minmax(0, 1fr); } .pn-next { text-align: left; } }
.demo-note { margin-top: 12px; font-size: 0.8125rem; color: var(--fg-dim); }

/* 17-language.css */
/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: 999px; background: transparent; border: 1px solid var(--line-strong); color: var(--fg);
  font: 500 0.8125rem/1 var(--font-mono); letter-spacing: 0.04em; cursor: pointer;
}
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--cipher-silver); }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; z-index: 30;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.lang-menu a, .drawer-langs a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  color: var(--fg-muted); text-decoration: none; font-size: 0.9375rem;
}
.lang-menu a { padding: 10px 12px; border-radius: 8px; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--surface-2); color: var(--fg); }
.lang-menu a[aria-current="true"], .drawer-langs a[aria-current="true"] { color: var(--secure-green); }
.lang-code { font: 0.75rem/1.6 var(--font-mono); color: var(--fg-dim); letter-spacing: 0.04em; }
.drawer-langs { list-style: none; margin: 0; padding: 0; display: grid; }
.drawer-langs a { padding: 10px 0; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-langs a { color: var(--fg-dim); text-decoration: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.foot-langs a:hover { color: var(--fg); }
.foot-langs a[aria-current="true"] { color: var(--secure-green); }
@media (min-width: 421px) and (max-width: 1320px) { .auth .btn .lbl-long { display: none; } .auth .btn .lbl-short { display: inline; } }
@media (max-width: 960px) { .lang { display: none; } }

/* 18-wrapping-and-menus.css */
/* Long German compounds must wrap on small screens */
h1, h2, h3, .lede, .what, .chip-btn, .m-what, .card li, .cap p, dd { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1, h2 { overflow-wrap: anywhere; }
.nav a, .nav-trigger, .brand, .brand-by, .lang-btn, .auth .btn { white-space: nowrap; }
.nav { gap: 20px; }
@media (max-width: 1320px) { .brand-by { display: none; } }
@media (max-width: 1100px) { .nav { gap: 16px; margin-left: 4px; } .topbar .bar { gap: 16px; } }

.nav .nav-ext { }
@media (max-width: 1180px) { .nav a.nav-ext { display: none; } }

/* Suite children (Prismara Work apps) sit indented under their suite in menus */
.mega-col li.m-child a { margin-left: 14px; padding-left: 12px; border-left: 1px solid var(--line-strong); border-radius: 0 8px 8px 0; }
.drawer li.m-child a { padding-left: 14px; border-left: 1px solid var(--line-strong); }
@media (max-width: 1280px) { .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 19-compare-trust.css */
/* ---------- Compare and Trust centre pages ---------- */
.page-head { display: grid; gap: 18px; padding-block: clamp(36px, 6vw, 72px); max-width: 860px; }
.page-head h1 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; }
.page-head .lede { font-size: 1.125rem; color: var(--fg-muted); max-width: 62ch; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.9375rem; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font: 500 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); background: var(--surface-2); position: sticky; top: 0; }
table.cmp tbody tr:last-child > * { border-bottom: 0; }
table.cmp tbody + tbody tr:first-child > * { border-top: 1px solid var(--line-strong); }
.cmp-group th { font: 500 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--secure-green); background: rgba(10, 209, 168, 0.05); padding-block: 10px; }
table.cmp th[scope="row"] { font-weight: 400; color: var(--fg); }
table.cmp .ms { color: var(--fg-muted); width: 24%; }
.cmp-prod, table.trust th a { color: var(--fg); text-decoration: none; font-weight: 600; white-space: nowrap; }
.cmp-prod:hover, table.trust th a:hover { color: var(--secure-green); }
.cmp-diff { color: var(--fg-muted); }
.cmp-st { white-space: nowrap; }
.cmp-st .ver { margin-left: 8px; font: 0.75rem/1 var(--font-mono); color: var(--fg-dim); }
.mono { font-family: var(--font-mono); font-size: 0.8125rem; }
.muted { color: var(--fg-dim); }
.pill { display: inline-block; font: 500 0.6875rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-muted); white-space: nowrap; }
.pq-yes, .rv-yes { color: var(--secure-green); border-color: rgba(10, 209, 168, 0.45); background: rgba(10, 209, 168, 0.08); }
.pq-partial, .pq-roadmap { color: var(--violet-text); border-color: rgba(148, 31, 194, 0.55); background: rgba(148, 31, 194, 0.10); }
.pq-none { border-color: transparent; color: var(--fg-dim); }
.table-note { margin-top: 14px; color: var(--fg-dim); font-size: 0.875rem; max-width: 80ch; }
.cmp-none { margin-top: 48px; display: grid; gap: 10px; }
.cmp-none h2 { font-size: var(--step-1); }
.cmp-none p { color: var(--fg-muted); }
.cmp-none ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cmp-none li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.cmp-none li a { color: var(--fg); text-decoration: none; font-weight: 600; }
.cmp-none li a:hover { color: var(--secure-green); }
.cmp-none li span { font: 0.75rem/1.4 var(--font-mono); color: var(--fg-dim); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.two-col .section-head { margin-bottom: 20px; }
.two-col h2 { font-size: var(--step-2); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.gaps { list-style: none; margin: 0; padding: 0; display: grid; }
.gaps li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); color: var(--fg-muted); position: relative; }
.gaps li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--violet-text); }
.lic { margin: 0; display: grid; }
.lic > div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.lic dt { color: var(--fg); font-weight: 600; }
.lic dd { margin: 0; color: var(--fg-muted); }
.nav a[aria-current="page"] { color: var(--fg); }
.mega-col h4 { min-height: 2.8em; }
@media (max-width: 1280px) { .mega-col h4 { min-height: 0; } }

/* 20-gallery.css */
/* ---------- Screenshot gallery ---------- */
.shot-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot-grid .shot-main { grid-column: 1 / -1; }
.shot-grid.n2 { grid-template-columns: minmax(0, 1fr); }
.shot-grid.n4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shot { margin: 0; display: grid; gap: 10px; min-width: 0; }
.shot-btn { display: block; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in; width: 100%; }
.shot-btn img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot-btn:hover { border-color: var(--secure-green); }
.shot figcaption { color: var(--fg-muted); font-size: 0.875rem; }
.shot-main figcaption { font-size: 0.9375rem; }
@media (max-width: 760px) { .shot-grid, .shot-grid.n4 { grid-template-columns: minmax(0, 1fr); } }
dialog.lightbox { width: min(1440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--fg); overflow: auto; }
dialog.lightbox::backdrop { background: rgba(2, 0, 40, 0.85); }
dialog.lightbox img { display: block; width: 100%; height: auto; }
dialog.lightbox p { margin: 0; padding: 12px 16px; color: var(--fg-muted); font-size: 0.9375rem; }
.lb-close { position: absolute; top: 10px; right: 10px; background: var(--surface); border: 1px solid var(--line-strong) !important; z-index: 1; }

/* 21-contact.css */
/* ---------- Help link and Contact page (layout follows sovsec.com/contact) ---------- */
.nav a.nav-help { display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-help svg { width: 16px; height: 16px; flex: none; }
.nav a[aria-current="page"] { color: var(--fg); }
@media (max-width: 1080px) { .nav a.nav-road { display: none; } }

.btn-violet { background: var(--signal-violet); color: #fff; border-radius: 8px; padding: 14px 22px; }
.btn-violet:hover { background: #A63BD3; color: #fff; }
.btn-violet[disabled] { opacity: .7; cursor: progress; }

.c-hero { background: radial-gradient(70% 90% at 50% 0%, rgba(81, 18, 138, 0.35), rgba(2, 0, 40, 0) 70%), var(--bg); }
.c-hero .page-head { padding-block: clamp(28px, 5vw, 56px) clamp(28px, 4vw, 48px); }
.c-hero h1 { font-size: var(--step-4); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.c-hero .lede { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); line-height: 1.5; }
.eyebrow-rule { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-rule::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.c-body { padding-block: 8px clamp(56px, 8vw, 96px); }
.c-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.c-side { display: grid; gap: 20px; min-width: 0; }

/* Cards: teal-to-violet edge with a soft violet glow, as on sovsec.com */
.c-card {
  border: 1px solid transparent; border-radius: 16px; padding: clamp(22px, 3vw, 32px); min-width: 0;
  background:
    linear-gradient(#03012F, #03012F) padding-box,
    linear-gradient(160deg, rgba(10, 209, 168, 0.65), rgba(81, 18, 138, 0.5) 45%, rgba(148, 31, 194, 0.8)) border-box;
  box-shadow: 0 0 32px rgba(148, 31, 194, 0.16), 0 0 2px rgba(10, 209, 168, 0.25);
  display: grid; gap: 14px; align-content: start;
}
.c-card h2 { font-size: 1.375rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.c-card h2 svg { width: 20px; height: 20px; color: var(--secure-green); flex: none; }
.c-card > p { color: var(--fg-muted); font-size: 0.9375rem; line-height: 1.55; }
.c-card > .btn { justify-self: start; }
.c-form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.c-form { display: grid; gap: 20px; }
.c-form > h2 { margin-bottom: -10px; }
.c-req { color: var(--fg-dim); font-size: 0.875rem; }
.req-star { color: #FF6B8A; margin-left: 3px; }
.c-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.c-field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.c-field label { font-size: 0.9375rem; color: var(--fg); }
.c-field input, .c-field select, .c-field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border-radius: 6px;
  background: #05043A; color: var(--fg); border: 1px solid var(--line-strong);
}
.c-field textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.c-field select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8C9D4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.c-field select option { background: var(--surface); color: var(--fg); }
.c-field ::placeholder { color: var(--fg-dim); }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus {
  outline: none; border-color: var(--secure-green); box-shadow: 0 0 0 3px rgba(10, 209, 168, 0.2);
}
.c-field [aria-invalid="true"], .c-consent [aria-invalid="true"] { border-color: #FF6B8A; }
.c-form .err { color: #FF8FA3; font-size: 0.8125rem; }

.c-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.c-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.c-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--secure-green); }
.c-consent label { color: var(--fg-muted); font-size: 0.9375rem; line-height: 1.5; }
.c-consent a, .c-reach a { color: var(--secure-green); }
.c-consent .err { grid-column: 2; }

/* Proof-of-work check, styled like the ALTCHA widget on sovsec.com */
.pow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 320px; padding: 14px 16px; border-radius: 6px;
  background: #1C1C24; border: 1px solid rgba(200, 201, 212, 0.25); margin-bottom: -8px;
}
.pow-box { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #fff; font-size: 0.9375rem; }
.pow-box input { width: 18px; height: 18px; margin: 0; accent-color: var(--secure-green); cursor: pointer; }
.pow-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: var(--secure-green); animation: pow-spin .8s linear infinite; }
.pow[data-state="verifying"] .pow-box input { display: none; }
.pow[data-state="verifying"] .pow-spin { display: inline-block; }
.pow[data-state="verified"] { border-color: rgba(10, 209, 168, 0.55); }
.pow[data-state="verified"] .pow-label { color: var(--secure-green); }
.pow[data-state="error"] { border-color: #FF6B8A; }
.pow-brand { font: 500 0.6875rem/1 var(--font-mono); letter-spacing: .04em; color: var(--fg-dim); text-align: right; }
.pow-note { font: 0.75rem/1.5 var(--font-mono); color: var(--fg-dim); }
@keyframes pow-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pow-spin { animation-duration: 2.4s; } }

.c-status { padding: 12px 14px; border-radius: 8px; font-size: 0.9375rem; background: rgba(255, 107, 138, 0.1); border: 1px solid rgba(255, 107, 138, 0.45); color: #FFC2CF; }
.c-actions { display: flex; justify-content: flex-end; }

.c-done { display: grid; gap: 14px; justify-items: start; padding-block: 12px; }
.c-done:focus { outline: none; }
.c-done-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(10, 209, 168, 0.12); color: var(--secure-green); }
.c-done-icon svg { width: 24px; height: 24px; }
.c-done p { color: var(--fg-muted); overflow-wrap: anywhere; }

.c-reach { margin: 0; display: grid; gap: 14px; }
.c-reach dt { font: 500 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.c-reach dd { margin: 4px 0 0; display: grid; gap: 4px; }
.c-reach a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.c-reach a:hover { color: var(--secure-green); text-decoration: underline; }
.c-reach small { color: var(--fg-dim); font-size: 0.8125rem; }

@media (max-width: 900px) { .c-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .c-row { grid-template-columns: minmax(0, 1fr); } .c-actions .btn { width: 100%; } .pow { max-width: none; } }
.c-form-card [hidden], .c-form[hidden] { display: none !important; }
.c-hero .page-head { max-width: var(--max); }
.c-hero .lede { max-width: 58ch; }
.c-req .req-star { margin: 0 2px; }

/* 22-roadmap-page.css */
/* ---------- Roadmap page: the only place product status is shown ---------- */
.st-updated { font: 0.8125rem/1.4 var(--font-mono); color: var(--fg-dim); }
.st-group + .st-group { margin-top: 40px; }
.st-group > h3 { font: 500 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--secure-green); margin-bottom: 16px; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; scroll-margin-top: 96px;
}
.st-card:target, .st-card.st-focus { border-color: var(--secure-green); box-shadow: 0 0 0 3px rgba(10, 209, 168, 0.18); }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-head h4 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.st-head h4 a { color: var(--fg); text-decoration: none; }
.st-head h4 a:hover { color: var(--secure-green); }
.st-build { font: 0.8125rem/1.4 var(--font-mono); color: var(--fg); }
.st-build span { color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.6875rem; margin-right: 6px; }
.st-card dl { margin: 0; display: grid; gap: 10px; }
.st-card dt { font: 500 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.st-card dd { margin: 2px 0 0; color: var(--fg-muted); font-size: 0.9rem; line-height: 1.5; }
.st-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.st-pills:empty { display: none; }
.st-pills .pill { white-space: normal; }
@media (max-width: 1080px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .st-grid { grid-template-columns: minmax(0, 1fr); } }

/* Product pages: link from the at-a-glance panel to the product's roadmap entry */
.facts-road { font-size: 0.875rem; color: var(--secure-green); text-decoration: none; padding-top: 12px; border-top: 1px solid var(--line); }
.facts-road:hover { text-decoration: underline; }
.tr-disclose { margin-top: 32px; }
.tr-disclose a { color: var(--secure-green); }

/* 23-microsite.css */
/* Per-product microsite: product header, pricing plans and the personal/business slider. */

.topbar.micro .nav { gap: clamp(12px, 2vw, 28px); }
.micro-brand { display: inline-flex; align-items: center; }
.micro-brand .brand-logo { height: 30px; width: auto; display: block; }
.micro-brand .brand-app {
  color: var(--violet-text);
  font-weight: 600;
  margin-left: .4ch;
}
.micro-hero .eyebrow { color: var(--secure-green); }
.micro-page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem); }

/* ---- pricing ---- */
.pricing { max-width: var(--max); }
.pb-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.pricing { text-align: center; }
.pricing .section-head, .pricing .prod-price, .pricing .plans, .pricing .tiers { text-align: left; }
.pb-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg-muted);
  font: inherit;
  font-weight: 600;
  padding: .55rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
}
.pb-btn[aria-selected="true"] { background: var(--signal-violet); color: #fff; }

.tiers { display: flex; flex-wrap: wrap; gap: 14px; }
.tier {
  display: flex; flex-direction: column; gap: 4px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 180px;
}
.tier-name { color: var(--fg-dim); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .04em; }
.tier-price { font-size: var(--step-2); font-weight: 700; }
.tier-price small { font-size: var(--step--1); color: var(--fg-dim); font-weight: 400; margin-left: .3ch; }
.tier-note, .plan-foot .plan-invite { color: var(--fg-dim); font-size: var(--step--1); margin-top: .75rem; }

.plans { display: grid; gap: 16px; margin-top: 1.5rem; }
.plans-5 { grid-template-columns: repeat(5, 1fr); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
@media (max-width: 1100px) { .plans-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans-5, .plans-2 { grid-template-columns: 1fr; } }

.plan {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5rem 1.35rem;
}
.plan.featured { border-color: var(--signal-violet); box-shadow: 0 0 0 1px var(--signal-violet) inset; }
.plan-soon-card { opacity: .92; border-style: dashed; }
.plan-head h3 { font-size: var(--step-1); margin: 0; }
.plan-who { color: var(--fg-dim); font-size: var(--step--1); margin: .25rem 0 0; min-height: 2.4em; }
.plan-price { margin: 1rem 0; display: flex; align-items: baseline; gap: 2px; }
.plan-cur { color: var(--fg-muted); font-size: var(--step-1); }
.plan-amt { font-size: var(--step-3); font-weight: 800; line-height: 1; }
.plan-unit { color: var(--fg-dim); font-size: var(--step--1); margin-left: .3ch; }
.plan-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.5rem; color: var(--fg-muted); font-size: var(--step--1); line-height: 1.45; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--secure-green);
}
.plan-foot { margin-top: auto; }
.plan-soon {
  display: inline-block; font-weight: 700; color: var(--secure-green);
  border: 1px solid var(--secure-green); border-radius: 999px; padding: .4rem 1rem; font-size: var(--step--1);
}

/* ---- trust strip ---- */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip ul { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; }
.trust-strip li { display: inline-flex; align-items: center; gap: .5rem; color: var(--fg-muted); font-size: var(--step--1); font-weight: 600; }
.trust-strip li svg { width: 18px; height: 18px; color: var(--secure-green); flex: none; }

/* ---- outcomes ---- */
.outcomes-block { background: var(--surface); }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 1.5rem; }
.outcome h3 { margin: 0 0 .5rem; font-size: var(--step-1); color: var(--secure-green); }
.outcome p { margin: 0; color: var(--fg-muted); }
@media (max-width: 860px) { .outcomes { grid-template-columns: 1fr; } }

/* ---- comparison band ---- */
.compare-band .compare-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.compare-list li { display: flex; gap: .7rem; align-items: flex-start; }
.compare-list li svg { width: 20px; height: 20px; color: var(--secure-green); flex: none; margin-top: 2px; }
.compare-list strong { display: block; }
.compare-list span { color: var(--fg-muted); font-size: var(--step--1); }
@media (max-width: 860px) { .compare-band .compare-list { grid-template-columns: 1fr; } }

/* ---- use cases ---- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usecase { border-left: 2px solid var(--signal-violet); padding: .25rem 0 .25rem 1.1rem; }
.usecase h3 { margin: 0 0 .35rem; font-size: var(--step-1); }
.usecase p { margin: 0; color: var(--fg-muted); font-size: var(--step--1); }
@media (max-width: 860px) { .usecases { grid-template-columns: 1fr; } }

/* ---- personal upsell band ---- */
.personal-band .personal-inner {
  display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--signal-violet); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(148,31,194,.18), rgba(10,209,168,.10));
  padding: 1.75rem 2rem;
}
.personal-band .personal-inner p { color: var(--fg-muted); margin: .5rem 0 0; max-width: 60ch; }

/* ---- faq ---- */
.wrap.narrow { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: .35rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--secure-green); font-size: var(--step-1); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1rem; color: var(--fg-muted); }

/* ---- microsite footer ---- */
.micro-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 4rem; }
.micro-foot .brand-app { color: var(--violet-text); margin-left: .4ch; }

/* 24-animations.css */
/* Scroll-reveal + entrance zoom. Only active for visitors who are OK with motion (the reveal
   classes are added by 07-reveal.js, which bails out under prefers-reduced-motion), so reduced-
   motion and no-JS visitors see fully static, fully visible content. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    will-change: opacity, transform;
  }
  .reveal-on .reveal.seen {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  /* Entrance zoom on hero brand/logo and product hero copy — the Apple-style settle-in. */
  .reveal-on .micro-hero .logo-band,
  .reveal-on .p-hero .logo-band,
  .reveal-on .hero .hero-copy {
    animation: prismara-zoom-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .reveal-on .micro-hero h1,
  .reveal-on .p-hero h1 {
    animation: prismara-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both;
  }
  .reveal-on .micro-hero .lede,
  .reveal-on .p-hero .lede {
    animation: prismara-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.16s both;
  }

  @keyframes prismara-zoom-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes prismara-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* 25-hero-showcase.css */
/* Homepage hero: product screenshots drift upward in three columns behind the copy.
   SovSec house style — violet/green glow background (02-base), gradient headline,
   a core-blue scrim so the copy stays legible over the moving screenshots. */

.hero-showcase {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

/* The copy wrap overrides the two-column hero grid from 05-hero.css. */
.hero-showcase .wrap.hero-inner {
  display: block;
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 13vw, 160px);
}
.hero-showcase .hero-copy { max-width: 46rem; gap: 24px; }
.hero-showcase .hero-copy .lede { max-width: 42ch; font-size: var(--step-1); }
.hero-showcase .spec-strip { position: relative; z-index: 2; background: rgba(2, 0, 40, 0.55); backdrop-filter: blur(6px); }

/* Moving screenshot columns */
.hero-shots {
  position: absolute;
  inset: -8% -2% -8% auto;
  right: 0;
  width: min(60%, 880px);
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  z-index: 0;
  pointer-events: none;
  transform: rotate(-6deg) scale(1.08);
  transform-origin: top right;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.shot-col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.shot-track { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 22px); will-change: transform; animation: shot-rise linear infinite; }
.shot-col-a .shot-track { animation-duration: 64s; }
.shot-col-b .shot-track { animation-duration: 86s; animation-direction: reverse; }
.shot-col-c .shot-track { animation-duration: 74s; }
.shot-track img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(148, 31, 194, 0.12);
}

@keyframes shot-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Core-blue scrim: solid at the left/bottom where the copy sits, clearing toward the columns. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--core-blue) 28%, rgba(2, 0, 40, 0.72) 48%, rgba(2, 0, 40, 0.18) 72%, transparent 100%),
    linear-gradient(0deg, var(--core-blue) 2%, transparent 42%);
}

/* White → silver → violet headline, matching sovsec.com's gradient-headline. */
.headline-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #E7E8F0 42%, var(--cipher-silver) 64%, var(--signal-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.headline-gradient em { -webkit-text-fill-color: var(--secure-green); color: var(--secure-green); font-style: normal; }

@media (max-width: 860px) {
  .hero-shots { width: 46%; opacity: 0.45; inset: -6% -10% -6% auto; }
  .hero-showcase .hero-scrim { background: linear-gradient(90deg, var(--core-blue) 48%, rgba(2,0,40,0.6) 70%, transparent 100%), linear-gradient(0deg, var(--core-blue) 4%, transparent 46%); }
}
@media (max-width: 620px) {
  .hero-shots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-track { animation: none; }
}

/* 26-legal.css */
/* Legal & policies pages */
.legal-page { padding-block: clamp(32px, 6vw, 72px); }
.legal-page h1 { font-size: var(--step-3); }

/* Index grid */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.legal-card { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.legal-card:hover { border-color: var(--secure-green); transform: translateY(-2px); }
.legal-card-id { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--fg-dim); }
.legal-card h3 { font-family: var(--font-display); font-size: 1.125rem; }
.legal-card p { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.5; }
.legal-card-go { color: var(--secure-green); font-size: 0.85rem; margin-top: 4px; }

/* Document layout: aside + article */
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.legal-aside { position: sticky; top: 88px; align-self: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.legal-aside-top { display: block; font-weight: 600; color: var(--fg); text-decoration: none; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-aside a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--fg-muted); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.legal-aside a:hover { background: var(--surface-2); color: var(--fg); }
.legal-aside a[aria-current="page"] { background: color-mix(in srgb, var(--signal-violet) 22%, transparent); color: #fff; }

.legal-article { min-width: 0; max-width: 72ch; }
.legal-crumb { font-size: 0.85rem; color: var(--fg-dim); margin-bottom: 14px; }
.legal-crumb a { color: var(--fg-muted); }
.legal-head h1 { font-family: var(--font-display); font-size: var(--step-3); margin-top: 6px; }
.legal-meta { color: var(--fg-dim); font-size: 0.85rem; margin-top: 10px; }

/* Draft banner */
.legal-draft { margin: 22px 0; padding: 14px 16px; border: 1px solid color-mix(in srgb, #F5A623 50%, var(--line)); border-left: 3px solid #F5A623; border-radius: 10px; background: color-mix(in srgb, #F5A623 8%, transparent); color: var(--fg-muted); font-size: 0.9rem; line-height: 1.55; }
.legal-draft strong { color: #F5C06B; }

/* Placeholder tokens */
.legal-todo { background: color-mix(in srgb, #F5A623 22%, transparent); color: #F7C98B; border-radius: 4px; padding: 0 5px; font-family: var(--font-mono); font-size: 0.85em; white-space: nowrap; }

/* EU / UK edition toggle */
.legal-editions { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin: 18px 0 8px; }
.ed-btn { appearance: none; border: 0; background: transparent; color: var(--fg-muted); font: inherit; font-size: 0.85rem; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.ed-btn.is-on { background: var(--signal-violet); color: #fff; }

/* Prose body */
.legal-body { font-size: 0.975rem; line-height: 1.7; color: var(--fg-muted); }
.legal-body h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--fg); margin: 2em 0 0.5em; padding-top: 0.6em; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1em; }
.legal-body h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--fg); margin: 1.4em 0 0.4em; }
.legal-body p { margin: 0 0 0.9em; }
.legal-body strong { color: var(--fg); }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 0.4em; }
.legal-body li { line-height: 1.6; }
.legal-body a { color: var(--secure-green); }
.legal-table { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 1.2em; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5; color: var(--fg-muted); white-space: pre; }
.legal-foot { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--fg-dim); font-size: 0.9rem; }

/* Footer legal row */
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 18px 0 0; margin-top: 8px; border-top: 1px solid var(--line); }
.foot-legal a { color: var(--fg-muted); text-decoration: none; font-size: 0.85rem; }
.foot-legal a:hover { color: var(--secure-green); }

@media (max-width: 820px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; order: 2; margin-top: 32px; }
}

