/* ==========================================================================
   BlackVault Mail — marketing site stylesheet
   Locked v1 brand: Crimson #FF2D2D, Orange #FF6A00, Gold #FFC400,
   Midnight Blue #0A2A5E, Charcoal #0B0B0F, metallic silver.
   Fonts: Orbitron (headings) + Inter (body), self-hosted (SIL OFL 1.1).
   Mobile-first. No inline styles are required, so a strict CSP works.
   ========================================================================== */

/* ---------- 0. Fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("/assets/fonts/orbitron-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so the swap to Inter does not shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.12%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0b0b0f;
  --bg-2: #0f0f16;
  --bg-card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);

  --text: #f2f3f7;
  --text-2: #bcc0ce;
  --text-3: #9399ab;

  --crimson: #ff2d2d;
  --crimson-lt: #ff4d4d;
  --orange: #ff6a00;
  --orange-lt: #ff8a3d;
  --gold: #ffc400;
  --midnight: #0a2a5e;
  --link: #ff8a3d;

  --font-head: "Orbitron", "Eurostile", "Bank Gothic", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;

  color-scheme: dark;
}
@media (min-width: 640px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 76px; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, 0.35); --line-2: rgba(255, 255, 255, 0.55); --text-2: #e4e6ee; --text-3: #cfd2de; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  font: 400 1rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Ambient page glow: fixed, compositor-only, behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255, 45, 45, 0.07), transparent 70%),
    radial-gradient(60% 55% at 0% 100%, rgba(10, 42, 94, 0.30), transparent 70%);
}
img, svg, picture { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 45, 45, 0.45); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  padding: 0.75rem 1.1rem; border-radius: 10px;
  background: var(--gold); color: #0b0b0f; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #0b0b0f; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.95rem, 1.15rem + 3.5vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.4rem); }
h3 { font-size: 1.1rem; letter-spacing: 0.02em; }
.lead { font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem); line-height: 1.7; color: var(--text-2); max-width: 64ch; }
.muted { color: var(--text-3); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1rem;
  font: 600 0.75rem/1 var(--font-body);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { transform: scaleX(-1); }
.section-head--left .eyebrow::after, .page-hero .eyebrow::after { display: none; }

/* Gradient text for key phrases (falls back to plain text in forced-colors). */
.grad {
  background: linear-gradient(90deg, #ff4d4d 0%, #ff8a3d 55%, #ffc400 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: 800px; }
.section { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.section--tint {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(10, 42, 94, 0.45), transparent 70%),
    linear-gradient(180deg, rgba(10, 42, 94, 0.14), rgba(11, 11, 15, 0));
  border-block: 1px solid var(--line);
}
.page-hero + .section { padding-top: clamp(8px, 2vw, 28px); }
.section--cta { padding-top: clamp(16px, 4vw, 56px); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .lead { margin-inline: 0; }
.stack > * + * { margin-top: 1rem; }
.list-reset { list-style: none; margin: 0; padding: 0; }

/* ---------- 5. Components ---------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 1rem/1.1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--lg { min-height: 54px; padding: 0.9rem 1.7rem; font-size: 1.05rem; border-radius: 14px; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn--primary {
  color: #0b0b0f;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6a00 58%, #ff8a1f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 30px -8px rgba(255, 45, 45, 0.6), 0 0 26px rgba(255, 106, 0, 0.22);
}
.btn--primary:hover { color: #0b0b0f; transform: translateY(-2px); filter: brightness(1.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 14px 38px -8px rgba(255, 45, 45, 0.75), 0 0 36px rgba(255, 106, 0, 0.35); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 106, 0, 0.75); background: rgba(255, 106, 0, 0.09); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-row--center { justify-content: center; }

/* Icons */
.icon { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: radial-gradient(circle at 30% 18%, rgba(255, 196, 0, 0.16), rgba(255, 45, 45, 0.06) 72%);
  border: 1px solid rgba(255, 106, 0, 0.4);
  box-shadow: inset 0 0 22px rgba(255, 106, 0, 0.14), 0 0 26px -8px rgba(255, 45, 45, 0.45);
}
.icon-tile .icon { width: 26px; height: 26px; filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.55)); }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile--sm .icon { width: 22px; height: 22px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips--center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; line-height: 1.2;
  color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
}
.chip .icon { width: 1.05rem; height: 1.05rem; }
.chip--soon, .chip--tag {
  padding: 0.22rem 0.6rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border-color: rgba(255, 196, 0, 0.42); background: rgba(255, 196, 0, 0.08); vertical-align: middle;
}
.chip--live { color: #ffb4b4; border-color: rgba(255, 77, 77, 0.5); background: rgba(255, 45, 45, 0.1); }

/* Cards */
.card {
  position: relative; overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--mx, 100%) var(--my, 0%), rgba(255, 106, 0, 0.14), transparent 55%);
}
.card > * { position: relative; }
.card h3 { margin-top: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-2); margin-bottom: 0; }
.card p + .chips { margin-top: 1.1rem; }
@media (hover: hover) {
  .card:hover { border-color: rgba(255, 106, 0, 0.5); transform: translateY(-3px); box-shadow: 0 22px 54px -26px rgba(255, 45, 45, 0.55); }
  .card:hover::before { opacity: 1; }
}
.card--static:hover { transform: none; }

/* Callouts */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 196, 0, 0.38); background: rgba(255, 196, 0, 0.06);
  color: var(--text-2); font-size: 0.95rem;
}
.callout .icon { margin-top: 2px; }
.callout strong { color: var(--text); }
.callout p { margin: 0; }
.callout--legal { border-color: rgba(255, 77, 77, 0.5); background: rgba(255, 45, 45, 0.08); }

.callout { margin-bottom: clamp(24px, 4vw, 40px); }
.placeholder { color: var(--gold); font-weight: 600; background: rgba(255, 196, 0, 0.09); padding: 0.05em 0.35em; border-radius: 5px; }

/* FAQ (native <details>) */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.faq details[open] { border-color: rgba(255, 106, 0, 0.45); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 56px 18px 20px; font-weight: 600; line-height: 1.4; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--orange-lt); border-bottom: 2px solid var(--orange-lt);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 20px 20px; color: var(--text-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.4rem; font-size: 0.85rem; color: var(--text-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-2); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0.65;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.75) 28%, rgba(255, 106, 0, 0.75) 72%, transparent);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  min-height: var(--header-h); padding-block: 8px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: 10px; }
.brand__img { display: block; height: 44px; width: auto; aspect-ratio: 1; object-fit: contain; }
@media (min-width: 560px) {
  .brand__img { height: 48px; aspect-ratio: 376 / 96; }
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav__panel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nav__list { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.9rem;
  border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 0.97rem; text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__list a[aria-current="page"] { color: #fff; }
.nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--orange), var(--gold)); box-shadow: 0 0 10px rgba(255, 106, 0, 0.7);
}
.nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nav__app {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 0.6rem;
  color: var(--text); font-weight: 500; font-size: 0.97rem; text-decoration: none; border-radius: 10px;
}
.nav__app:hover { color: var(--gold); }
.nav__app .icon { width: 1rem; height: 1rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer;
}
.nav-toggle:hover { border-color: rgba(255, 106, 0, 0.7); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: inline-block; }

/* Collapsible menu only when scripting is available; otherwise links stay visible and wrap. */
@media (max-width: 899px) and (scripting: enabled) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .nav__panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 22px; background: #0b0b0f;
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
  .nav__panel.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { width: 100%; min-height: 52px; padding-inline: 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a[aria-current="page"]::after { left: 8px; right: auto; width: 28px; bottom: 8px; }
  .nav__actions { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .nav__app { justify-content: center; border: 1px solid var(--line-2); min-height: 48px; }
  .nav__actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav { gap: 24px; }
  .nav__panel { flex-wrap: nowrap; gap: 24px; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(14px, 2.2vw, 30px) 0 clamp(40px, 5vw, 72px); text-align: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 84% 10%, rgba(255, 45, 45, 0.22), transparent 70%),
    radial-gradient(60% 55% at 4% 20%, rgba(10, 42, 94, 0.65), transparent 72%),
    radial-gradient(70% 38% at 50% 100%, rgba(255, 106, 0, 0.14), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}
.hexgrid { position: absolute; inset: 0; pointer-events: none; }
@supports ((mask: url("x.svg") 0 0 / 10px 10px) or (-webkit-mask: url("x.svg") 0 0 / 10px 10px)) {
  .hexgrid {
    -webkit-mask-image: radial-gradient(75% 70% at 50% 26%, #000 0%, transparent 78%);
    mask-image: radial-gradient(75% 70% at 50% 26%, #000 0%, transparent 78%);
  }
  .hexgrid::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 106, 0, 0.34), rgba(255, 255, 255, 0.11) 55%, rgba(60, 110, 200, 0.4));
    -webkit-mask: url("/assets/img/hex.svg") 0 0 / 104px 180px repeat;
    mask: url("/assets/img/hex.svg") 0 0 / 104px 180px repeat;
  }
}
.hero__visual { position: relative; max-width: 1496px; margin: 0 auto; }
.hero__visual::before {
  content: ""; position: absolute; inset: 12% 10% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 60%, rgba(255, 60, 20, 0.2), transparent 72%);
  animation: glow-pulse 7s ease-in-out infinite;
}
.hero__visual img { display: block; width: 100%; height: auto; aspect-ratio: 540 / 253; }
@media (min-width: 700px) {
  .hero__visual img { aspect-ratio: 1496 / 253; }
}
.hero__copy { max-width: 940px; margin: clamp(18px, 3vw, 34px) auto 0; padding-inline: var(--gutter); }
.hero__copy .eyebrow { margin-bottom: 1.1rem; }
.hero__copy h1 { margin-bottom: 0.5em; }
.hero__copy .lead { margin-inline: auto; }
.hero__copy .chips { margin-top: 34px; }

/* ---------- 8. Home sections ---------- */
/* Bento feature grid */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card--wide { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .bento .card { grid-column: span 3; }
  .bento .card--wide { grid-column: span 6; }
}
.bento .card { display: flex; flex-direction: column; }
.card.card--wide p + .chips { margin-top: auto; padding-top: 1.4rem; }
.card--wide::after {
  content: ""; position: absolute; right: -150px; top: -170px; width: 400px; height: 400px; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 45, 45, 0.2), transparent 56%),
    repeating-radial-gradient(circle, transparent 0 30px, rgba(255, 106, 0, 0.3) 31px 32px);
  -webkit-mask-image: radial-gradient(circle, #000 22%, transparent 70%);
  mask-image: radial-gradient(circle, #000 22%, transparent 70%);
}
@media (min-width: 1000px) {
  .card--wide::after { top: auto; right: -140px; bottom: -150px; }
}
.more-link { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.more-link p { color: var(--text-3); font-size: 0.92rem; margin-top: 14px; }

/* Fortress / trust section */
.fortress-wrap { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .fortress-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .fortress-wrap > .fortress { position: sticky; top: calc(var(--header-h) + 48px); }
}
.fortress { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.fortress__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.fortress__ring--1 { inset: 0; border: 1px solid rgba(255, 106, 0, 0.3); background: radial-gradient(circle, rgba(255, 45, 45, 0.12), transparent 64%); }
.fortress__ring--2 { inset: 11%; border: 1px dashed rgba(255, 196, 0, 0.34); animation: spin 120s linear infinite; }
.fortress__ring--3 { inset: 23%; border: 1px solid rgba(255, 77, 77, 0.5); box-shadow: 0 0 44px rgba(255, 45, 45, 0.2), inset 0 0 44px rgba(255, 45, 45, 0.14); }
.fortress__core {
  position: relative; width: 36%; aspect-ratio: 1; border-radius: 22%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 60px rgba(255, 45, 45, 0.55), 0 0 130px rgba(255, 106, 0, 0.28);
}
.fortress__core img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fortress__tag {
  position: absolute; padding: 0.42rem 0.7rem; border-radius: 999px; white-space: nowrap;
  font: 600 0.66rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); background: rgba(11, 11, 15, 0.92); border: 1px solid rgba(255, 196, 0, 0.4);
  box-shadow: 0 0 22px -4px rgba(255, 196, 0, 0.35);
}
.fortress__tag--n { top: -1%; left: 50%; transform: translateX(-50%); }
.fortress__tag--s { bottom: -1%; left: 50%; transform: translateX(-50%); }
.fortress__tag--e { right: -2%; top: 50%; transform: translateY(-50%); }
.fortress__tag--w { left: -2%; top: 50%; transform: translateY(-50%); }
@media (max-width: 479px) {
  .fortress__tag { padding: 0.36rem 0.55rem; font-size: 0.58rem; letter-spacing: 0.12em; }
  .fortress__tag--e { right: 0; top: 17%; transform: none; }
  .fortress__tag--w { left: 0; top: auto; bottom: 17%; transform: none; }
}

.trust-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.trust-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.trust-item:hover { border-color: rgba(255, 106, 0, 0.45); }
.trust-item h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.trust-item p { margin: 0; color: var(--text-2); font-size: 0.97rem; }

/* How it works */
.steps { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 16px; font: 800 1.9rem/1 var(--font-head);
  background: linear-gradient(135deg, #ffc400, #ff4d4d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -22px; width: 22px; height: 1px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.8), transparent);
  }
}

/* Family / ecosystem */
.family { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .family { grid-template-columns: repeat(3, 1fr); } }
.family .card { display: flex; flex-direction: column; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.family .card p { flex: 1; }
.family__link { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.family__link .icon { width: 1rem; height: 1rem; }
.card--current { border-color: rgba(255, 77, 77, 0.55); box-shadow: 0 0 0 1px rgba(255, 45, 45, 0.18) inset, 0 26px 60px -34px rgba(255, 45, 45, 0.7); }

/* Closing CTA */
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px) clamp(76px, 10vw, 136px); border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 45, 45, 0.2), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(10, 42, 94, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 106, 0, 0.35);
}
.cta-panel::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48%; z-index: -1; pointer-events: none; opacity: 0.9;
  background: url("/assets/img/streak.svg") center bottom / 100% 100% no-repeat;
}
.cta-panel .btn--ghost { background: rgba(11, 11, 15, 0.8); }
.cta-panel h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(1.7rem, 1.1rem + 2.8vw, 3rem); }
.cta-panel p { max-width: 52ch; margin-inline: auto; color: var(--text-2); font-size: 1.1rem; }

/* ---------- 9. Inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(255, 45, 45, 0.18), transparent 70%),
    radial-gradient(55% 90% at 0% 10%, rgba(10, 42, 94, 0.55), transparent 72%);
}
.page-hero .hexgrid { z-index: -1; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--wide h1 { max-width: 26ch; }

.feature-group { margin-top: clamp(36px, 5vw, 64px); }
.feature-group:first-of-type { margin-top: 0; }
.feature-group > h2 { display: flex; align-items: center; gap: 0.8rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); margin-bottom: 1.2rem; }
.feature-group > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 106, 0, 0.5), transparent); }
.feat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px 20px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
@media (hover: hover) { .feat:hover { border-color: rgba(255, 106, 0, 0.45); transform: translateY(-2px); } }
.feat h3 { margin: 0 0 0.35rem; font-size: 1rem; line-height: 1.3; }
.feat > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.feat p { margin-bottom: 0.8rem; }
.feat p:last-child { margin-bottom: 0; }
.feat .chip { margin-top: auto; align-self: flex-start; }
.feat p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* Security: card grid + journey */
.grid-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.journey { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey li {
  position: relative; display: grid; align-content: start; grid-template-columns: 48px 1fr; gap: 18px; padding: 0 0 28px;
}
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  counter-increment: j; content: counter(j);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; z-index: 1;
  font: 700 1.05rem/1 var(--font-head); color: var(--gold); background: #14141c; border: 1px solid rgba(255, 196, 0, 0.5); box-shadow: 0 0 22px -4px rgba(255, 196, 0, 0.45);
}
.journey li:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.7), rgba(255, 106, 0, 0.12));
}
.journey h3 { margin: 0.5rem 0 0.3rem; font-size: 1.05rem; }
.journey p { margin: 0; color: var(--text-2); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .journey li { grid-template-columns: 1fr; gap: 14px; padding: 0; }
  .journey li:not(:last-child)::after { left: 56px; right: -20px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, rgba(255, 106, 0, 0.7), rgba(255, 106, 0, 0.1)); }
  .journey h3 { margin-top: 0.2rem; }
}
.split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.points { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.points li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.points li strong { color: var(--text); }
.points .icon { margin-top: 2px; }

/* Pricing */
.tiers { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { border: 1px dashed rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.02); }
.tier:hover { transform: none; }
.tier__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 0.4rem; }
.tier h3 { margin: 0; font-size: 1.25rem; }
.tier__price { margin: 1.1rem 0 0.2rem; font: 800 2.4rem/1 var(--font-head); color: var(--text); letter-spacing: 0.02em; }
@media (min-width: 820px) { .tier .muted { min-height: 3.3em; } }
.tier__sub { margin: 0 0 1.2rem; color: var(--text-3); font-size: 0.9rem; }
.tier__list { display: grid; gap: 0; list-style: none; margin: 0 0 1.4rem; padding: 0; }
.tier__list li { display: flex; justify-content: space-between; gap: 12px; padding: 0.7rem 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.95rem; }
.tier__list li span:last-child { color: var(--text-3); font-weight: 600; }
.tier .btn { width: 100%; }

/* Contact */
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card h3 { margin-top: 1rem; }
.contact-card .mail { display: inline-block; margin: 0.4rem 0 0.9rem; font: 600 1.05rem/1.3 var(--font-body); overflow-wrap: anywhere; }

/* Legal documents */
.legal { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.legal__toc { font-size: 0.92rem; }
.legal__toc h2 { font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc a { display: block; padding: 0.4rem 0.7rem; border-left: 2px solid var(--line); color: var(--text-2); text-decoration: none; }
.legal__toc a:hover { color: #fff; border-left-color: var(--orange); }
.prose { max-width: 74ch; }
.prose section + section { margin-top: clamp(32px, 4vw, 48px); }
.prose h2 { margin-top: 0; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.05rem; }
.prose p, .prose li { color: var(--text-2); }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--text); }
.legal-meta { color: var(--text-3); font-size: 0.9rem; margin-bottom: 1.5rem; }
.feature-groups { margin-top: clamp(8px, 2vw, 24px); }

/* Narrow single-column page (404) */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.center-page .lead { margin-inline: auto; }
.center-page__code { margin: 0 0 0.15em; font: 800 clamp(4rem, 12vw, 8rem)/1 var(--font-head); }

/* ---------- 10. Footer ---------- */
.site-footer { position: relative; margin-top: clamp(16px, 3vw, 40px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 42, 94, 0.14), rgba(11, 11, 15, 0) 60%); }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; opacity: 0.6;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.7) 28%, rgba(255, 106, 0, 0.7) 72%, transparent);
}
.footer__grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, 1fr); padding-block: clamp(40px, 6vw, 72px); }
.footer__brand { grid-column: 1 / -1; max-width: 420px; }
.footer__brand .brand__img { height: 56px; aspect-ratio: 376 / 96; }
.footer__brand p { color: var(--text-2); margin: 0.9rem 0 0; font-size: 0.97rem; }
.footer__brand p + p { margin-top: 0.4rem; }
.footer__h { margin: 0 0 1rem; font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; color: var(--text-2); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list .icon { width: 0.9rem; height: 0.9rem; }
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer__brand { grid-column: auto; }
}
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px;
  border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.88rem;
}
.footer__bar p { margin: 0; }

/* ---------- 11. Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* JS marks only below-the-fold elements as pending, so nothing is ever hidden without scripting. */
.reveal.is-pending { opacity: 0; transform: translateY(20px); }
.reveal.is-in { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- 12. Forced colors + print ---------- */
@media (forced-colors: active) {
  .grad, .step::before { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
  .btn--primary { border-color: ButtonText; }
  .card, .feat, .trust-item, .step, .faq details { border-color: CanvasText; }
  .site-header::after, .site-footer::before, .hexgrid { display: none; }
}
@media print {
  html, body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .cta-panel, .hero__bg, .hexgrid, .nav-toggle, .skip-link, .legal__toc { display: none !important; }
  .page-hero { padding: 0 0 12pt; }
  .page-hero::before { display: none; }
  h1, h2, h3, .lead, .prose p, .prose li, .legal-meta { color: #000; }
  a { color: #000; text-decoration: underline; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .callout, .callout--legal { border: 1px solid #000; background: none; color: #000; }
  .legal { display: block; }
}
