/* ==========================================================================
   Black Vault Remote: pre-launch marketing site
   Source for the fingerprinted public/assets/site.<hash>.css (scripts/build.ts).
   Dark by default, with .tone-light sections alternating in white (the BlackVault Drive / Mail
   rhythm). The site ships no JavaScript, so everything interactive is CSS.
   ========================================================================== */

/* ---------- Fonts: self-hosted, SIL OFL 1.1 (licence texts sit beside the files) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/montserrat-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Locked brand tokens (assets/brand/README.md). Never change these values here. */
  --crimson: #FF2D2D;
  --citadel-green: #00E676;
  --vault-black: #0B0B0F;
  --steel: #8A9099;
  --white: #FFFFFF;

  /* Derived tokens. Text/background pairings meet WCAG AA (4.5:1 body, 3:1 large text and icons). */
  --crimson-500: #E5182E;       /* lightest stop of the accessible CTA fill (white text) */
  --crimson-600: #C90020;       /* end of the logo's red gradient; CTA fill, DRAFT tag */
  --green-line: rgba(0, 230, 118, 0.36);
  --crimson-line: rgba(255, 45, 45, 0.4);

  --font-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --radius: 20px;

  /* Chrome corner caps — the logo's metal with a dark bevel edge — on the chrome-band tiles and on
     every button. Buttons get small caps with a tiny rivet, sized to clear the label and icon. */
  --corner-metal: #FFFFFF 0%, #87919B 15%, #F5F7FA 29%, #5D6670 42%, #2C3036 44%, #2C3036 46.5%, transparent 47%;
  --btn-corner: 18px;
  --btn-rivet: #F7F8FA 0 0.9px, #4A5058 1.3px 1.9px, transparent 2.3px;
  --btn-corners:
    radial-gradient(circle at 5px 5px, var(--btn-rivet)) 0 0 / var(--btn-corner) var(--btn-corner) no-repeat,
    radial-gradient(circle at calc(100% - 5px) 5px, var(--btn-rivet)) 100% 0 / var(--btn-corner) var(--btn-corner) no-repeat,
    radial-gradient(circle at 5px calc(100% - 5px), var(--btn-rivet)) 0 100% / var(--btn-corner) var(--btn-corner) no-repeat,
    radial-gradient(circle at calc(100% - 5px) calc(100% - 5px), var(--btn-rivet)) 100% 100% / var(--btn-corner) var(--btn-corner) no-repeat,
    linear-gradient(135deg, var(--corner-metal)) 0 0 / var(--btn-corner) var(--btn-corner) no-repeat,
    linear-gradient(225deg, var(--corner-metal)) 100% 0 / var(--btn-corner) var(--btn-corner) no-repeat,
    linear-gradient(45deg, var(--corner-metal)) 0 100% / var(--btn-corner) var(--btn-corner) no-repeat,
    linear-gradient(315deg, var(--corner-metal)) 100% 100% / var(--btn-corner) var(--btn-corner) no-repeat;
}

/* ---------- Tones ----------
   Components read only these tokens, so one component set renders on both tones. Dark is the
   default; a .tone-light section flips to white, and .tone-dark switches back (a dark card inside a
   light section). Each tone re-sets `color` so inherited text picks up its own palette. */
:root, .tone-dark {
  --bg: var(--vault-black);
  --heading: var(--white);
  --ink: #F5F7FA;               /* the light end of the logo's metal gradient */
  --text: #C3C8CF;              /* body copy */
  --text-dim: #8A9099;          /* captions (= steel) */
  --surface-1: #101116;         /* cards */
  --surface-2: #161820;         /* raised surfaces */
  --line: rgba(138, 144, 153, 0.22);
  --line-strong: rgba(138, 144, 153, 0.42);
  --green-ink: var(--citadel-green);
  --crimson-ink: var(--crimson);
  --accent-glow: 0 0 36px rgba(0, 230, 118, 0.35);
}
.tone-dark { color: var(--text); }

/* Brushed-steel cladding down both sides of every gray band: the vault's frame. A chunky polished
   rail with a domed rivet every 168px; the band's content is inset by the rail width so nothing ever
   sits on the steel. Purely decorative (pseudo-elements, no pointer events); the right rail mirrors
   the left. */
.tone-light {
  --rail: clamp(14px, 3.2vw, 46px);
  --rivet: calc(var(--rail) * 0.19);  /* rivet radius scales with the rail */
  --rivet-y: 40px;
  position: relative;
  padding-inline: var(--rail);
}
.tone-light::before,
.tone-light::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail);
  pointer-events: none;
  background:
    radial-gradient(circle at calc(50% - var(--rivet) * 0.32) calc(var(--rivet-y) - var(--rivet) * 0.32), rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) calc(var(--rivet) * 0.55)) 0 0 / 100% 168px repeat-y,
    radial-gradient(circle at 50% var(--rivet-y), #D7DBE0 0, #A7ADB5 calc(var(--rivet) * 0.6), #5A6068 calc(var(--rivet) * 0.9), #2C3036 var(--rivet), transparent calc(var(--rivet) + 1px)) 0 0 / 100% 168px repeat-y,
    radial-gradient(circle at 50% calc(var(--rivet-y) + 2px), rgba(0, 0, 0, 0.45) 0, rgba(0, 0, 0, 0.2) var(--rivet), transparent calc(var(--rivet) + 3px)) 0 0 / 100% 168px repeat-y,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 2px, rgba(0, 0, 0, 0.08) 2px 3px),
    linear-gradient(90deg, #4C525A 0%, #8D939B 6%, #D3D7DC 18%, #F4F6F8 34%, #B9BEC5 52%, #8C929A 64%, #DDE0E4 80%, #6B717A 94%, #3E434A 100%);
  box-shadow: inset -2px 0 0 rgba(0, 0, 0, 0.45), inset 2px 0 0 rgba(255, 255, 255, 0.25), 6px 0 16px -6px rgba(11, 11, 15, 0.6);
}
.tone-light::after { left: auto; right: 0; transform: scaleX(-1); }
.tone-light {
  color-scheme: light;
  /* The logo's "BLACK VAULT" chrome (black-vault-remote-primary.svg, gradient #metal) scaled up to
     the band: bright silver, dark steel shading, bright again, darker toward the bottom right. */
  --bg: linear-gradient(135deg, #FFFFFF 0%, #87919B 35%, #F5F7FA 65%, #5D6670 100%);
  --heading: var(--vault-black);
  --ink: #1B1E24;
  --text: #1C1F24;
  --text-dim: #23262C;
  --surface-1: #F5F6F8;
  --surface-2: #ECEEF1;
  --line: rgba(11, 11, 15, 0.1);
  --line-strong: rgba(11, 11, 15, 0.2);
  --green-ink: #002E17;         /* small text straight on the chrome must be near-black to stay AA */
  --crimson-ink: #57000D;       /* deep crimson: small red labels stay AA across the chrome */
  --accent-glow: none;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--vault-black);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--vault-black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 600; color: var(--heading); }

:focus-visible {
  outline: 3px solid var(--green-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--vault-black);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 14px; height: 14px; }

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--crimson-ink);
}
.eyebrow--green { color: var(--green-ink); }

.accent {
  font-style: normal;
  color: var(--green-ink);
  text-shadow: var(--accent-glow);
}

.lead {
  max-width: 60ch;
  margin: 0 0 28px;
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
}

.section { position: relative; padding-block: clamp(52px, 8vw, 104px); }
.section--tight { padding-block: clamp(28px, 5vw, 64px); }

.section__head { max-width: 64ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--heading);
  text-wrap: balance;
}
.section__lead { margin: 0; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); color: var(--text); }

/* ---------- Buttons and pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn--lg { padding: 17px 28px; border-radius: 14px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; }

.btn--primary {
  color: var(--white);
  background: var(--btn-corners), linear-gradient(180deg, var(--crimson-500), var(--crimson-600));
  border-color: rgba(255, 130, 130, 0.35);
  box-shadow: 0 12px 32px -10px rgba(255, 45, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--ghost {
  color: var(--heading);
  background: var(--btn-corners), rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--heading); background: var(--btn-corners), rgba(255, 255, 255, 0.08); }
.btn--outline-green {
  color: var(--green-ink);
  background: var(--btn-corners), rgba(0, 230, 118, 0.07);
  border-color: rgba(0, 230, 118, 0.5);
}
.btn--outline-green:hover { background: var(--btn-corners), rgba(0, 230, 118, 0.16); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--crimson-line);
  background: rgba(255, 45, 45, 0.1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.pill__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--vault-black);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.6) 30%, rgba(255, 45, 45, 0.6) 70%, transparent);
  pointer-events: none;
}
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'brand actions' 'nav nav';
  align-items: center;
  column-gap: 20px;
  padding-block: 10px 6px;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; justify-self: start; border-radius: 8px; }
.brand__logo { height: 48px; width: auto; aspect-ratio: 1400 / 420; }
.site-nav { grid-area: nav; }
.site-nav__list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
}
.site-nav a:hover { color: var(--heading); border-bottom-color: var(--crimson); }
.site-nav a[aria-current='page'] { color: var(--heading); border-bottom-color: var(--citadel-green); }
.site-header__actions { grid-area: actions; display: flex; align-items: center; gap: 14px; }
.site-header__actions .btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(36px, 7vw, 92px) clamp(56px, 8vw, 116px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(54% 64% at 78% 36%, rgba(255, 45, 45, 0.22), transparent 64%),
    radial-gradient(40% 48% at 74% 78%, rgba(0, 230, 118, 0.13), transparent 70%),
    radial-gradient(42% 52% at 6% 8%, rgba(255, 45, 45, 0.07), transparent 70%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(138, 144, 153, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 144, 153, 0.15) 1px, transparent 1px);
  background-size: 200px 180px;
  -webkit-mask-image: radial-gradient(60% 78% at 74% 42%, #000 18%, transparent 72%);
  mask-image: radial-gradient(60% 78% at 74% 42%, #000 18%, transparent 72%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(185, 14, 37, 0.95) 18%, rgba(255, 45, 45, 0.95) 62%, transparent 100%);
  box-shadow: 0 0 26px 2px rgba(255, 45, 45, 0.5);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 7vw, 56px);
  align-items: center;
}
.hero__title {
  margin: 16px 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 1.2rem + 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--heading);
}
.hero__title .line { display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 64ch;
  margin: 0 0 30px;
  font-size: 0.95rem;
  color: var(--text);
}
.status .pill__dot { margin-top: 0.5em; }
.traits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.traits li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--text); }
.traits .icon { width: 18px; height: 18px; color: var(--green-ink); }

/* The vault dial behind the brand emblem. All rings are decorative (aria-hidden). */
.hero__visual { display: grid; place-items: center; }
.vault { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.vault::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 45, 45, 0.32), rgba(255, 45, 45, 0.1) 58%, transparent 74%);
  filter: blur(6px);
}
.vault__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vr { fill: none; }
.vr--outline { stroke: rgba(138, 144, 153, 0.3); stroke-width: 1; }
.vr--ticks { stroke: rgba(138, 144, 153, 0.62); stroke-width: 9; stroke-dasharray: 0.55 2.45; }
.vr--major { stroke: var(--crimson); stroke-width: 16; stroke-dasharray: 1.2 28.8; opacity: 0.9; }
.vr--dash { stroke: rgba(255, 45, 45, 0.55); stroke-width: 1.5; stroke-dasharray: 2 9; }
.vr--thin { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.vr--arc {
  stroke: var(--citadel-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 52 308;
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.85));
}
.vr--inner { stroke: rgba(138, 144, 153, 0.2); stroke-width: 1; }
/* The radar sweep only exists while it can move: a frozen wedge would just look like a seam. */
.vault__sweep {
  display: none;
  position: absolute;
  inset: 14.7%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 230, 118, 0) 0deg, rgba(0, 230, 118, 0) 250deg, rgba(0, 230, 118, 0.2) 358deg, rgba(0, 230, 118, 0) 360deg);
}
.vault__chips { display: none; margin: 0; padding: 0; list-style: none; }
.vault__emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  /* Matches the icon's own corner radius (104/512), so the ring hugs the art without touching it. */
  border-radius: 20.3125%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 7px rgba(255, 45, 45, 0.08), 0 28px 60px -12px rgba(0, 0, 0, 0.85), 0 0 90px rgba(255, 45, 45, 0.28);
}

/* ---------- Protected by Citadel strip ---------- */
.citadel-strip { padding-block: 32px; border-bottom: 1px solid var(--line); }
.citadel-strip__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: start;
  padding: 22px;
  border: 1px solid var(--green-line);
  border-radius: 20px;
  background: var(--vault-black);
  box-shadow: 0 30px 70px -40px rgba(0, 230, 118, 0.45), inset 0 0 70px rgba(0, 230, 118, 0.05);
}
.citadel-lockup { width: 240px; height: auto; aspect-ratio: 900 / 260; }
.citadel-strip__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading);
}
.citadel-strip__text p { margin: 0; max-width: 58ch; font-size: 0.96rem; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), var(--surface-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* A brand-colored hairline along the top edge: always on for Citadel, drawn in on hover for the rest. */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  opacity: 0;
}
.card:hover::before { opacity: 1; }
.card:not(.card--citadel):hover { border-color: rgba(255, 45, 45, 0.35); }

/* Icon badge: the logo's crimson gradient (as on the primary button) with a crisp white glyph. */
.card__icon, .mode__icon, .step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, #FF5A5A 0%, var(--crimson-500) 45%, var(--crimson-600) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(201, 0, 32, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 8px rgba(110, 0, 16, 0.3);
}
.card__icon .icon, .mode__icon .icon, .step__icon .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.card__title { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--heading); }
.card__text { position: relative; margin: 0; max-width: 46ch; font-size: 0.97rem; }
/* Only the Citadel card carries a watermark (the others collided with their text). */
.card__mark {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 160px;
  height: 160px;
  color: var(--green-ink);
  opacity: 0.09;
  pointer-events: none;
}
.card--citadel {
  border-color: rgba(0, 230, 118, 0.42);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 230, 118, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-1);
}
.card--citadel::before { background: linear-gradient(90deg, transparent, var(--citadel-green), transparent); opacity: 1; }
.card--citadel .card__icon, .step--result .step__icon {
  background: linear-gradient(150deg, #6BFFB8 0%, var(--citadel-green) 48%, #00B35C 100%);
  color: var(--vault-black);
  box-shadow: 0 14px 30px -14px rgba(0, 200, 100, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 8px rgba(0, 90, 45, 0.25);
}

/* ---------- Citadel section ---------- */
.section--citadel {
  border-block: 1px solid var(--line);
  background: radial-gradient(60% 80% at 0% 30%, rgba(0, 230, 118, 0.09), transparent 70%), var(--vault-black);
}
.citadel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.points { display: grid; gap: 22px; margin: 32px 0; padding: 0; list-style: none; }
.point { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.point__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 230, 118, 0.32);
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.08);
  color: var(--green-ink);
}
.point__title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.point p { margin: 0; font-size: 0.97rem; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-ink);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.link-arrow .icon { width: 18px; height: 18px; }

.decision {
  padding: 28px;
  border: 1px solid var(--green-line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.07), rgba(0, 0, 0, 0)), var(--surface-1);
  box-shadow: 0 40px 80px -44px rgba(0, 230, 118, 0.4);
}
.decision__label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.decision__title { margin: 8px 0 20px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; color: var(--heading); }
.decision__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.outcome {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.outcome .icon { width: 24px; height: 24px; margin-top: 1px; }
.outcome strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.outcome span { font-size: 0.9rem; }
.outcome--allow { border-color: rgba(0, 230, 118, 0.42); }
.outcome--allow .icon { color: var(--green-ink); }
.outcome--restrict .icon { color: var(--ink); }
.outcome--deny { border-color: rgba(255, 45, 45, 0.36); }
.outcome--deny .icon { color: var(--crimson-ink); }

/* ---------- How Citadel authorizes a session ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005)), var(--surface-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* "STEP 01" tag in the corner (the span is aria-hidden; the list order carries the sequence). */
.step__num {
  position: absolute;
  top: 24px;
  right: 22px;
  padding: 6px 10px;
  border: 1px solid var(--crimson-line);
  border-radius: 999px;
  background: rgba(255, 45, 45, 0.06);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--crimson-ink);
}
.step__num::before { content: 'STEP '; }
.step--result .step__num { border-color: rgba(0, 230, 118, 0.45); background: rgba(0, 230, 118, 0.08); color: var(--green-ink); }
.step__icon { margin-bottom: 6px; }
.step__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--heading); }
.step p { margin: 0; font-size: 0.96rem; }
.step--result {
  border-color: rgba(0, 230, 118, 0.45);
  background: radial-gradient(120% 90% at 100% 0%, rgba(0, 230, 118, 0.15), transparent 62%), var(--surface-1);
}

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.callout__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 16px;
  background: rgba(0, 230, 118, 0.08);
  color: var(--green-ink);
}
.callout__icon .icon { width: 26px; height: 26px; }
.callout__title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--heading); }
.callout p { margin: 0; max-width: 70ch; font-size: 0.97rem; }

/* ---------- Attended / unattended ---------- */
.modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.mode {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)), var(--surface-1);
}
.mode__tag {
  margin: 20px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson-ink);
}
.mode__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--heading); }
.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.98rem; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--green-ink); }

/* ---------- Platforms ---------- */
.section--platforms { border-top: 1px solid var(--line); }
.platforms { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.platform-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-1);
}
.platform__icon { width: 44px; height: 44px; margin-bottom: 12px; color: var(--heading); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.platform strong { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.platform span { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- Early access ---------- */
.section--cta { padding-top: 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid var(--crimson-line);
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 45, 45, 0.28), transparent 65%),
    radial-gradient(50% 80% at 0% 100%, rgba(0, 230, 118, 0.1), transparent 70%),
    var(--surface-1);
  box-shadow: 0 50px 100px -56px rgba(255, 45, 45, 0.55);
}
.cta-panel .section__title { margin-top: 12px; }
.cta-panel__action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-panel__email { margin: 0; font-size: 0.95rem; }
.cta-panel__email a { color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.fineprint { margin: 0; max-width: 40ch; font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--vault-black); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand__logo { height: 72px; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; margin: 0 0 14px; font-size: 0.92rem; }
.footer-citadel { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.footer-citadel .icon { width: 20px; height: 20px; color: var(--green-ink); }
.footer-citadel strong { color: var(--green-ink); }
.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.93rem; color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--heading); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(44px, 8vw, 100px) clamp(16px, 3vw, 40px); }
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 90% at 88% 0%, rgba(255, 45, 45, 0.17), transparent 70%),
    radial-gradient(40% 70% at 4% 100%, rgba(0, 230, 118, 0.07), transparent 70%);
}
.page-hero__title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.1rem + 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--heading);
}
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.principle {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-1);
}
.principle__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(138, 144, 153, 0.26);
}
.principle__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 230, 118, 0.38);
  border-radius: 14px;
  background: rgba(0, 230, 118, 0.08);
  color: var(--green-ink);
}
.principle__icon .icon { width: 24px; height: 24px; }
.principle__title { margin: 0 0 6px; padding-right: 34px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--heading); }
.principle p { margin: 0; font-size: 0.97rem; }

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid var(--crimson-line);
  border-radius: 18px;
  background: rgba(255, 45, 45, 0.06);
}
.notice__icon { color: var(--crimson-ink); }
.notice__icon .icon { width: 28px; height: 28px; }
.notice__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--heading); }
.notice p { margin: 0; max-width: 70ch; font-size: 0.97rem; }
.page-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.draft-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 70ch;
  padding: 18px 22px;
  border: 1px solid var(--crimson);
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(255, 45, 45, 0.12) 0 14px, rgba(255, 45, 45, 0.05) 14px 28px);
}
.draft-banner__tag {
  flex: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--crimson-600);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.draft-banner p { margin: 0; color: var(--white); }

.prose { max-width: 72ch; }
.prose__section + .prose__section { margin-top: 34px; }
.prose h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--heading); }
.prose p { margin: 0 0 12px; }
.back-link { margin: 44px 0 0; }
.back-link .icon { transform: scaleX(-1); }

.notfound { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(64px, 13vw, 168px); text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; }
.notfound__code {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 24vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff, #8a9099 62%, #3a3f46);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 45, 45, 0.35));
}
.notfound .lead { margin-inline: auto; }
.notfound .page-cta { justify-content: center; }

/* ---------- Chrome sections ----------
   Tiles are black plates mounted on the chrome: they switch back to the dark palette (so the crimson
   badges and Citadel green glow as they do in the dark sections), with a top-lit face, a bevel
   (bright top edge, shaded bottom edge) and a stacked shadow so they float off the steel. Hover
   lifts them higher. */
.tone-light {
  /* Chrome corner caps on all four corners of every tile: the logo's metal with a dark bevel edge and
     a rivet, clipped by the tile's rounded corner. Sized to clear the badge, STEP tag and text. */
  --corner: 44px;
  --corner-rivet: #F7F8FA 0 1.5px, #4A5058 2.1px 3.2px, transparent 3.7px;
  --tile-corners:
    radial-gradient(circle at 12px 12px, var(--corner-rivet)) 0 0 / var(--corner) var(--corner) no-repeat,
    radial-gradient(circle at calc(100% - 12px) 12px, var(--corner-rivet)) 100% 0 / var(--corner) var(--corner) no-repeat,
    radial-gradient(circle at 12px calc(100% - 12px), var(--corner-rivet)) 0 100% / var(--corner) var(--corner) no-repeat,
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--corner-rivet)) 100% 100% / var(--corner) var(--corner) no-repeat,
    linear-gradient(135deg, var(--corner-metal)) 0 0 / var(--corner) var(--corner) no-repeat,
    linear-gradient(225deg, var(--corner-metal)) 100% 0 / var(--corner) var(--corner) no-repeat,
    linear-gradient(45deg, var(--corner-metal)) 0 100% / var(--corner) var(--corner) no-repeat,
    linear-gradient(315deg, var(--corner-metal)) 100% 100% / var(--corner) var(--corner) no-repeat;
  --tile-face: linear-gradient(180deg, #191B21 0%, #121318 45%, #0B0B0F 100%);
  --tile-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    0 1px 1px rgba(11, 11, 15, 0.3),
    0 4px 8px -2px rgba(11, 11, 15, 0.35),
    0 14px 26px -10px rgba(11, 11, 15, 0.5),
    0 32px 52px -20px rgba(11, 11, 15, 0.6);
  --tile-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    0 2px 2px rgba(11, 11, 15, 0.3),
    0 10px 16px -4px rgba(11, 11, 15, 0.4),
    0 24px 38px -12px rgba(11, 11, 15, 0.55),
    0 52px 70px -24px rgba(11, 11, 15, 0.7);
}
/* Long legal text reads on a black plate (same treatment as the tiles), not on the chrome itself. */
.tone-light .prose {
  max-width: 82ch;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid;
  border-radius: var(--radius);
}
.tone-light :is(.card, .step, .mode, .platform, .principle, .callout, .prose) {
  color-scheme: dark;
  --heading: var(--white);
  --ink: #F5F7FA;
  --text: #C3C8CF;
  --text-dim: #8A9099;
  --line: rgba(138, 144, 153, 0.22);
  --line-strong: rgba(138, 144, 153, 0.42);
  --green-ink: var(--citadel-green);
  --crimson-ink: #FF4A4A;       /* a touch lighter than Crimson so the STEP tags stay AA on the tile top */
  --accent-glow: 0 0 36px rgba(0, 230, 118, 0.35);
  /* Colored glow: a fine rim plus a soft halo in the tile's accent (crimson; Citadel tiles green).
     Kept low at rest — on chrome a strong glow turns into a haze — and it wakes up on hover. */
  --glow-rgb: 255, 45, 45;
  color: var(--text);
  background: var(--tile-corners), var(--tile-face);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(var(--glow-rgb), 0.28), 0 0 30px -6px rgba(var(--glow-rgb), 0.5), var(--tile-shadow);
}
.tone-light :is(.card, .step, .platform, .principle):hover {
  box-shadow: 0 0 0 1px rgba(var(--glow-rgb), 0.55), 0 0 46px -4px rgba(var(--glow-rgb), 0.7), var(--tile-shadow-hover);
}
.tone-light :is(.card--citadel, .step--result) { --glow-rgb: 0, 230, 118; }
.tone-light .callout { border-color: rgba(255, 255, 255, 0.16); }
.tone-light .card--citadel {
  border-color: rgba(0, 230, 118, 0.45);
  background: var(--tile-corners), radial-gradient(120% 90% at 100% 0%, rgba(0, 230, 118, 0.18), transparent 62%), var(--tile-face);
}
.tone-light .step--result {
  border-color: rgba(0, 230, 118, 0.45);
  background: var(--tile-corners), radial-gradient(120% 90% at 100% 0%, rgba(0, 230, 118, 0.17), transparent 62%), var(--tile-face);
}

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citadel-strip__panel { grid-template-columns: auto minmax(0, 1fr); padding: 26px 30px; }
  .citadel-strip__panel .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .brand__logo { height: 50px; }
}

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .site-header__bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'brand nav actions';
    column-gap: 36px;
    padding-block: 12px;
  }
  .brand__logo { height: 62px; }
  .site-nav__list { justify-content: center; gap: 30px; }
  .site-nav a { font-size: 0.95rem; }
  .site-header__actions .btn { display: inline-flex; }

  .hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(28px, 4vw, 64px); }
  .hero__title { font-size: clamp(2rem, 4vw, 3.3rem); }
  .vault { width: min(100%, 520px); }

  .citadel-strip__panel { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; padding: 24px 32px; }
  .citadel-strip__panel .btn { grid-column: auto; }
  .citadel-lockup { width: 260px; }

  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .citadel-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .platforms { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .cta-panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; }
  .footer-grid { grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1100px) {
  .hero__title { font-size: clamp(2.6rem, 3.6vw, 3.4rem); }
  .vault { width: min(100%, 560px); }

  .vault__chips { display: block; }
  .vault__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px 9px 11px;
    border: 1px solid var(--green-line);
    border-radius: 999px;
    background: rgba(11, 11, 15, 0.88);
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9), 0 0 26px -8px rgba(0, 230, 118, 0.4);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
  }
  .vault__chip .icon { width: 16px; height: 16px; color: var(--citadel-green); }
  .vault__chip--a { left: -2%; top: 21%; }
  .vault__chip--b { right: -1%; top: 55%; }
  .vault__chip--c { left: 5%; bottom: 13%; }
}

/* ---------- Narrow phones ---------- */
@media (max-width: 420px) {
  .platform-cards { grid-template-columns: minmax(0, 1fr); }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .callout__icon { width: 46px; height: 46px; }
  .cta-panel .btn--lg, .hero__cta .btn { width: 100%; }
  .card, .step, .principle { padding: 22px; }
  .mode { padding: 24px; }
  .decision { padding: 22px; }
  .notice { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 640px) and (max-width: 899.98px) {
  .site-header__actions .btn { display: inline-flex; }
}

/* ---------- Motion (only when the visitor has not asked for less) ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes ping { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.95); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .vr-spin { transform-box: fill-box; transform-origin: center; animation: spin 140s linear infinite; }
  .vr-spin--rev { animation-duration: 90s; animation-direction: reverse; }
  .vr-spin--fast { animation-duration: 9s; }
  .vault__sweep { display: block; animation: spin 8s linear infinite; }
  .vault::before { animation: breathe 6s ease-in-out infinite; }
  .vault::after {
    content: '';
    position: absolute;
    inset: 26%;
    border: 1px solid rgba(255, 45, 45, 0.55);
    border-radius: 50%;
    animation: ping 4.8s ease-out infinite;
    pointer-events: none;
  }
  .vault__chip { animation: float 7s ease-in-out infinite; }
  .vault__chip--b { animation-delay: -2.3s; }
  .vault__chip--c { animation-delay: -4.6s; }
  .pill__dot { animation: blip 2.4s ease-in-out infinite; }

  .btn { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
  .btn .icon { transition: transform 0.2s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { box-shadow: 0 18px 40px -10px rgba(255, 45, 45, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  .btn:hover .icon { transform: translateX(3px); }
  .card, .step, .mode, .principle, .platform { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
  .card:hover, .step:hover, .mode:hover, .principle:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .tone-light :is(.card, .step, .principle, .platform):hover { transform: translateY(-5px); }
  .card::before { transition: opacity 0.3s ease; }
  .card__icon, .mode__icon, .step__icon { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .card:hover .card__icon, .mode:hover .mode__icon, .step:hover .step__icon { transform: translateY(-2px) scale(1.04); }
  .card--citadel:hover { border-color: rgba(0, 230, 118, 0.7); }

  @supports (animation-timeline: view()) {
    .card, .step, .mode, .principle, .decision, .callout, .cta-panel {
      animation: rise linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}

/* Belt and braces: every animation above already lives behind no-preference, so this simply
   guarantees that nothing can move for a visitor who asked for less. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .card, .step, .mode, .principle, .platform, .decision, .notice { border-color: CanvasText; }
}
