/* ============================================================
   TERASHIELD TECHNOLOGIES — @font-face declarations
   Self-hosted brand fonts. WOFF2 primary (~70% smaller); the
   variable TTF is kept as a fallback for Bricolage Grotesque.
   url() paths are relative to THIS file → fonts/ folder.
   ============================================================ */

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

/* Display — Bricolage Grotesque (variable, 400–800) */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url("fonts/BricolageGrotesque-Variable.woff2") format("woff2-variations"),
       url("fonts/BricolageGrotesque-Variable.ttf") format("truetype-variations"),
       url("fonts/BricolageGrotesque-Regular.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Body — IBM Plex Sans */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url("fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Mono — IBM Plex Mono (labels, eyebrows, tags, readouts) */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("fonts/IBMPlexMono-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}


/* ============================================================
   TERASHIELD TECHNOLOGIES — Color tokens
   Light, instrument-grade interface. Burgundy accent +
   midnight-navy "scope" panels + a ice-blue live signal. Near-black ink on a
   cool paper-gray field. Borders are alpha-black hairlines.
   ============================================================ */
:root {
  /* ---- Base surfaces (cool paper grays → white) ---- */
  --bg:          #f2f4f6;   /* page field */
  --bg-2:        #e8ecef;   /* alternating band / recessed */
  --surface:     #ffffff;   /* card / panel */
  --surface-2:   #fdfdfe;   /* raised input / hover */
  --surface-3:   #ffffff;   /* pure white (menus, switches) */

  /* ---- Ink ---- */
  --text:        #1c2733;   /* primary near-black */
  --text-dim:    #4a5866;   /* secondary / body copy */
  --text-faint:  #7e8b98;   /* tertiary / mono micro-labels */
  --text-on-accent: #ffffff; /* white used ON blue fills */

  /* ---- Hairlines ---- */
  --line:        rgba(0, 0, 0, 0.10);  /* default divider */
  --line-2:      rgba(0, 0, 0, 0.16);  /* stronger border */

  /* ---- Brand blue (primary accent) ---- */
  --navy:        #0D2B4F;   /* brand navy — logo ink */
  --accent:      #1E5A9C;   /* brand blue (primary) */
  --accent-2:    #2B6FB5;   /* lighter — hover + on-ink text */
  --accent-dim:  rgba(30, 90, 156, 0.10);  /* blue wash fill */
  --accent-line: rgba(30, 90, 156, 0.38);  /* blue hairline */

  /* ---- Electric cyan (live / monitoring signal) ---- */
  --scope:       #1BC7F2;   /* electric cyan live signal */



  /* ---- Status ---- */
  --danger:      #ff7a6b;   /* error / risk text */

  /* ============================================================
     Semantic aliases — prefer these in components.
     ============================================================ */
  --surface-page:    var(--bg);
  --surface-band:    var(--bg-2);
  --surface-card:    var(--surface);
  --surface-raised:  var(--surface-2);
  --surface-pure:    var(--surface-3);

  --text-heading:    var(--text);
  --text-body:       var(--text-dim);
  --text-muted:      var(--text-faint);

  --border-subtle:   var(--line);
  --border-strong:   var(--line-2);

  --brand:           var(--accent);
  --brand-hover:     var(--accent-2);
  --brand-wash:      var(--accent-dim);
  --brand-line:      var(--accent-line);
  --signal-live:     var(--scope);
  --focus-ring:      var(--accent);
}


/* ============================================================
   TERASHIELD TECHNOLOGIES — Typography tokens
   Three families: Bricolage Grotesque (display), IBM Plex Sans
   (body), IBM Plex Mono (labels/eyebrows/data). Mono is a load-
   bearing brand signal — used uppercase + letter-spaced for every
   micro-label, tag, eyebrow and readout.
   ============================================================ */
:root {
  /* ---- Families ---- */
  --font-display: 'Space Grotesk', 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* ---- Weights ---- */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */
  --fw-display:  800; /* @kind font */ /* hero / product codes */

  /* ---- Display scale (Bricolage, clamped fluid) ---- */
  --fs-hero:     clamp(2.3rem, 4.6vw, 4rem);    /* @kind font */
  --fs-display:  clamp(1.9rem, 4vw, 3.2rem);    /* @kind font */
  --fs-title:    clamp(1.3rem, 2.6vw, 1.95rem); /* @kind font */
  --fs-card:     1.32rem;                        /* @kind font */

  /* ---- Body scale (IBM Plex Sans) ---- */
  --fs-lead:     clamp(1.15rem, 2vw, 1.5rem);   /* @kind font */
  --fs-lg:       1.18rem; /* @kind font */
  --fs-base:     1rem;     /* @kind font */
  --fs-sm:       0.92rem; /* @kind font */
  --fs-xs:       0.86rem; /* @kind font */

  /* ---- Mono scale (labels / data) ---- */
  --fs-mono-btn:   0.82rem;  /* @kind font */
  --fs-mono-label: 0.72rem;  /* @kind font */
  --fs-mono-tag:   0.68rem;  /* @kind font */
  --fs-mono-micro: 0.62rem;  /* @kind font */

  /* ---- Line heights ---- */
  --lh-tight:   1.04;   /* @kind font */
  --lh-snug:    1.2; /* @kind font */
  --lh-body:    1.6;    /* @kind font */
  --lh-relaxed: 1.7;    /* @kind font */

  /* ---- Letter-spacing ---- */
  --ls-display:  -0.03em;  /* @kind font */
  --ls-heading:  -0.01em; /* @kind font */
  --ls-eyebrow:   0.22em;  /* @kind font */
  --ls-label:     0.14em;  /* @kind font */
  --ls-mono:      0.04em;  /* @kind font */
}


/* ============================================================
   TERASHIELD TECHNOLOGIES — Spacing, radius, shadow, motion tokens
   Tight, engineered radii (4–8px — never pill-soft on panels).
   Hairline borders do most of the structural work; shadows are
   reserved for floating chrome (menus, the hero dashboard mock).
   ============================================================ */
:root {
  /* ---- Radius ---- */
  --radius-sm:  2px;    /* focus, micro */
  --radius:     4px;    /* default — buttons, inputs, tags */
  --radius-lg:  8px;    /* cards, panels, mock */
  --radius-pill: 999px; /* meters, status dots, capability tags */

  /* ---- Spacing scale (rem) ---- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-8:  3rem;
  --space-10: 4rem;

  /* ---- Section rhythm (fluid) ---- */
  --section-y: clamp(4rem, 9vw, 8rem); /* @kind spacing */
  --band-y:    clamp(3.5rem, 7vw, 6rem); /* @kind spacing */

  /* ---- Layout ---- */
  --maxw:     1180px;
  --gutter:   clamp(1.15rem, 4vw, 2.75rem); /* @kind spacing */

  /* ---- Shadows (floating chrome only) ---- */
  --shadow-menu:  0 20px 44px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 30px 60px -18px rgba(0, 0, 0, 0.65);
  --shadow-mock:  0 40px 80px -24px rgba(0, 0, 0, 0.55);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, .7, .2, 1); /* @kind other */
  --dur-fast:  0.2s; /* @kind other */
  --dur:       0.25s; /* @kind other */
  --dur-slow:  0.35s; /* @kind other */
  --dur-reveal: 0.8s; /* @kind other */
}


/* ============================================================
   Terashield — PQCA "Command Surface" website kit.
   A light instrument-grade control surface that reads as a LIVE
   monitoring console: paper-gray field, near-black "scope" panels
   as focal instruments, phosphor-teal + signal-gold live signals,
   monospace readouts, corner-bracket reticles, radar + scan motion.
   Token-driven off styles.css; page chrome only.
   ============================================================ */

:root {
  /* Scope-panel inks (near-black instrument surfaces) */
  --ink:      #0e1f2e;
  --ink-2:    #14293c;
  --ink-3:    #1e3a52;
  --ink-line: rgba(255,255,255,.10);
  --ink-line-2: rgba(255,255,255,.16);
  --ink-text: #e6ecf5;
  --ink-dim:  #96acbe;
  --ink-faint:#64798c;
  --scope-dim: rgba(27,199,242,.16);
  --gold-glow: rgba(43,111,181,.5);
  --teal-glow: rgba(27,199,242,.55);
  --shadow-inst: 0 24px 60px -28px rgba(6,10,16,.55);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
/* Instrument field: faint precision grid + cool vignette */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(130% 100% at 78% -12%, var(--surface-2), transparent 46%), linear-gradient(165deg, var(--surface) 0%, var(--bg) 42%, var(--bg-2) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--text-on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.kit-root { min-height: 100vh; position: relative; }

/* ============================================================
   Instrument primitives — reticle brackets, scan line, radar,
   coordinate labels, tick rulers, live dot.
   ============================================================ */
.inst { position: relative; }
.inst::before, .inst::after {
  content: ""; position: absolute; width: 13px; height: 13px; pointer-events: none; z-index: 2;
}
.inst::before { top: 7px; left: 7px; border-top: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.inst::after  { bottom: 7px; right: 7px; border-bottom: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.inst--teal::before { border-color: var(--scope); }
.inst--teal::after  { border-color: var(--scope); }

/* Live dot */
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--scope); box-shadow: 0 0 0 0 var(--teal-glow); animation: pulse 2.4s var(--ease) infinite; flex: none; }
.live--gold { background: var(--accent); box-shadow: 0 0 0 0 var(--gold-glow); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--teal-glow); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Coordinate eyebrow: §0X // LABEL */
.coord { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.coord__n { color: var(--accent); font-weight: 600; }
.coord__l { position: relative; padding-left: .8rem; }
.coord__l::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; transform: translateY(-50%) rotate(45deg); background: var(--accent); }
.coord--on { color: var(--ink-dim); }
.coord--on .coord__n { color: var(--accent-2); }
.coord--on .coord__l::before { background: var(--scope); }

/* Tick ruler (section top edge) */
.tickrule { height: 22px; background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 34px); -webkit-mask-image: linear-gradient(90deg, #000, #000 70%, transparent); mask-image: linear-gradient(90deg, #000, #000 70%, transparent); }

/* Scan line overlay (for scope panels) */
.scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.scan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal-glow), transparent); box-shadow: 0 0 14px 2px var(--teal-glow); animation: scanY 5.5s var(--ease) infinite; }
@keyframes scanY { 0% { transform: translateY(-10%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(1000%); opacity: 0; } }

/* Radar sweep backdrop */
.radar { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 72%); mask-image: radial-gradient(circle, #000 60%, transparent 72%); opacity: .7; }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 292deg, rgba(27,199,242,.12) 320deg, rgba(27,199,242,.42) 356deg, transparent 360deg); animation: sweep 6s linear infinite; }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(27,199,242,.09) 26px 27px); }
@keyframes sweep { to { transform: rotate(360deg); } }

/* ============================================================
   Header — console top bar
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(14,31,46,.94); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line) 30%, var(--accent-line) 70%, transparent); opacity: .8; }
.header__inner { display: flex; align-items: center; gap: 1.1rem; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; }
.brand__logo { height: 34px; width: auto; transition: opacity .25s var(--ease); }
.brand:hover .brand__logo { opacity: .8; }

.nav { display: flex; align-items: stretch; gap: .1rem; margin-left: .9rem; height: 100%; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: .45em; height: 100%; padding: 0 .9rem;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; color: #b9c6d2;
  cursor: pointer; position: relative; transition: color .2s var(--ease);
}
.nav__trigger::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 16px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__trigger .caret { font-size: .6em; transition: transform .25s var(--ease); opacity: .65; }
.nav__item:hover .nav__trigger, .nav__trigger.active { color: #ffffff; }
.nav__item:hover .nav__trigger::after, .nav__trigger.active::after { transform: scaleX(1); }
.nav__item:hover .nav__trigger .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 0px); left: 0; transform: translateY(8px);
  width: max-content; width: max-content; min-width: 330px; max-width: min(620px, calc(100vw - 2.5rem));
  background: var(--ink); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inst); padding: 1.15rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.4rem;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 90;
}
.mega::before { content: ""; position: absolute; top: 0; left: 1.15rem; right: 1.15rem; height: 1px; background: linear-gradient(90deg, var(--accent), transparent 60%); }
.nav__item:hover .mega, .mega.mega--open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:nth-child(n+2) .mega { left: auto; right: 0; }
.mega-scrim { position: fixed; inset: 0; z-index: 70; background: transparent; }
.mega__col { display: grid; gap: .1rem; align-content: start; }
.mega__heading { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); padding: .3rem .6rem .55rem; }
.mega__link { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; padding: .55rem .6rem; border-radius: var(--radius); transition: background .18s var(--ease); }
.mega__link:hover { background: rgba(255,255,255,.05); }
.mega__ic { display: inline-flex; flex: none; width: 20px; color: var(--scope); padding-top: .1rem; }
.mega__ic svg { width: 20px; height: 20px; }
.mega__code { font-family: var(--font-display); font-weight: 800; font-size: .68rem; color: var(--accent); }
.mega__t { font-family: var(--font-body); font-weight: 600; font-size: .86rem; color: var(--ink-text); display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.mega__d { font-size: .76rem; color: var(--ink-dim); margin-top: .1rem; line-height: 1.4; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.header__status { display: none; align-items: center; gap: .5em; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.header__status b { color: var(--text-dim); font-weight: 500; }
@media (min-width: 1120px) { .header__status { display: inline-flex; } }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius); flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--surface); }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.drawer.open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,13,17,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--ink); color: var(--ink-text); border-left: 1px solid var(--ink-line-2); box-shadow: var(--shadow-inst); display: flex; flex-direction: column; animation: drawerin .25s var(--ease); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@keyframes drawerin { from { transform: translateX(100%); } to { transform: none; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--ink-line); }
.drawer__top img { height: 26px; filter: brightness(0) invert(1); opacity: .92; }
.drawer__close { font-size: 1.4rem; color: var(--ink-dim); width: 36px; height: 36px; display: grid; place-items: center; }
.drawer__nav { padding: .5rem; display: grid; gap: .1rem; }
.macc__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .9rem 1rem; font-family: var(--font-mono); font-size: .9rem; color: var(--ink-text); border-radius: var(--radius); background: none; }
.macc__trigger .caret { color: var(--accent); transition: transform .25s var(--ease); }
.macc__trigger.open .caret { transform: rotate(180deg); }
.macc__panel { display: grid; gap: .1rem; padding: 0 .5rem .5rem; }
.macc__link { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; padding: .65rem .75rem; border-radius: var(--radius); }
.macc__link:hover { background: rgba(255,255,255,.05); }
.macc__link .mega__ic { color: var(--scope); }
.drawer__foot { margin-top: auto; padding: 1.1rem 1.25rem; border-top: 1px solid var(--ink-line); display: grid; gap: .6rem; }

/* ============================================================
   Hero — big editorial statement + live console strip
   ============================================================ */
.hero { position: relative; padding-top: clamp(2.75rem,6vw,4.75rem); padding-bottom: clamp(2rem,4vw,3.25rem); overflow: hidden; }
.hero__graticule { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: radial-gradient(120% 95% at 74% 6%, #000 20%, transparent 70%); mask-image: radial-gradient(120% 95% at 74% 6%, #000 20%, transparent 70%); background-image: radial-gradient(circle at 78% 14%, rgba(27,199,242,.1), transparent 42%); }
.hero .coord { margin-bottom: 1.4rem; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,6.4vw,5.1rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 1.6rem; max-width: 16ch; text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--accent); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .5em; background: var(--accent-dim); z-index: -1; transform: skewX(-9deg); }
.hero__sub { font-size: clamp(1.05rem,1.6vw,1.28rem); color: var(--text-dim); max-width: 60ch; margin-bottom: 1.1rem; line-height: 1.55; }
.hero__sub:last-of-type { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Live console strip (dark scope instrument) */
.console { position: relative; margin-top: clamp(2.25rem,4vw,3.25rem); background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-inst); }
.console::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(120% 130% at 88% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(120% 130% at 88% 0%, #000 30%, transparent 78%); }
.console__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
.console__count { padding: clamp(1.35rem,2.4vw,1.9rem) clamp(1.4rem,2.6vw,2.1rem); border-right: 1px solid var(--ink-line); }
.console__label { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--scope); }
.console__ctitle { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-dim); margin: .95rem 0 .8rem; }
.console__metrics { display: grid; grid-template-columns: repeat(3,1fr); }
.console__metric { padding: clamp(1.35rem,2.4vw,1.9rem) 1.1rem; border-left: 1px solid var(--ink-line); text-align: left; }
.console__metric:first-child { border-left: none; }
.console__metric dt { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .55rem; }
.console__metric dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,2.6vw,2.1rem); letter-spacing: -.02em; color: var(--ink-text); font-variant-numeric: tabular-nums; }
.console__metric dd em { font-style: normal; font-size: .62em; margin-left: .1em; }
.console__metric--gold dd { color: var(--accent-2); }
.console__metric--risk dd { color: var(--danger); }

/* Live clock — segmented countdown */
.lclock { display: flex; align-items: flex-end; gap: .55rem; }
.lclock__seg { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.lclock__v { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--ink-text); }
.lclock__u { font-family: var(--font-mono); font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.lclock__c { font-family: var(--font-display); font-weight: 700; color: var(--ink-faint); line-height: .9; align-self: flex-start; }
.lclock--big .lclock__v { font-size: clamp(2.2rem,4vw,3rem); }
.lclock--big .lclock__c { font-size: clamp(1.6rem,3vw,2.2rem); margin-top: .1rem; }
.lclock--big .lclock__seg:first-child .lclock__v { color: var(--accent-2); }
.lclock--sm .lclock__v { font-size: 1.5rem; }
.lclock--sm .lclock__c { font-size: 1.1rem; }

/* ============================================================
   Sections (shared framing)
   ============================================================ */
.section { padding-block: clamp(2.75rem,5.5vw,4.75rem); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg-2)); }
.section--alt::before, .section:not(.scope)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
.section__head { max-width: none; margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.section__head .coord { margin-bottom: 1.1rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .coord { justify-content: center; }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,3.8vw,3rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 1.1rem; text-wrap: balance; }
.section__lede { font-size: clamp(1rem,1.4vw,1.16rem); color: var(--text-dim); max-width: 68ch; line-height: 1.6; }
.section__head--center .section__lede { max-width: 62ch; margin-inline: auto; }
.kit-root p { text-wrap: pretty; }

/* Scope section (dark instrument band) */
.scope { background: var(--ink); color: var(--ink-text); position: relative; overflow: hidden; border-block: 1px solid var(--ink); }
.scope::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(110% 120% at 82% 0%, #000 28%, transparent 76%); mask-image: radial-gradient(110% 120% at 82% 0%, #000 28%, transparent 76%); }
.scope > .wrap { position: relative; z-index: 2; }
.scope .section__title { color: #fff; }
.scope .section__lede { color: var(--ink-dim); }
.scope .radar { width: 460px; height: 460px; top: -120px; right: -110px; }

/* ============================================================
   Why-now / problem cards (instrument cards)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.cards--2x2 { grid-template-columns: repeat(2,1fr); }
.tv-card, .cards .tv-card--lead { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,2.4vw,2rem); position: relative; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tv-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tv-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.tv-card:hover::after { transform: scaleX(1); }
.tv-card__ic, .cards .tv-card--lead .tv-card__ic { display: inline-flex; color: var(--accent); margin-bottom: 1.15rem; }
.tv-card h3, .cards .tv-card--lead h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-card); letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .7rem; }
.tv-card p, .cards .tv-card--lead p { color: var(--text-dim); font-size: var(--fs-sm); margin: 0; line-height: 1.6; }
.tv-tags, .cards .tv-card--lead .tv-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.tv-tag, .cards .tv-card--lead .tv-tag { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-mono-tag); letter-spacing: .04em; line-height: 1.4; color: var(--text-faint); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: .3em .7em; }
.cards .tv-card--lead { grid-column: 1 / -1; }
@media (min-width: 681px) { .cards .tv-card--lead { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; } .cards .tv-card--lead .tv-card__ic { flex: none; margin: 0; } .cards .tv-card--lead h3 { flex: none; width: 15rem; margin: 0; } .cards .tv-card--lead p { flex: 1 1 16rem; } .cards .tv-card--lead .tv-tags { flex: 1 1 100%; margin-top: .25rem; } }

/* ============================================================
   Quantum clock — live countdown modules (scope)
   ============================================================ */
.qc--wide { grid-column: span 2; }
.qclock { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); overflow: hidden; }
.qc { background: var(--ink-2); padding: clamp(1.35rem,2.2vw,1.75rem); display: flex; flex-direction: column; gap: .6rem; position: relative; transition: background .3s var(--ease); }
.qc:hover { background: var(--ink-3); }
.qc__label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--scope); }
.qc .lclock { margin: .15rem 0 .1rem; }
.qc .lclock__v { color: var(--ink-text); font-size: 1.55rem; }
.qc .lclock__c { color: var(--ink-faint); font-size: 1.1rem; }
.qc .lclock__u { color: var(--ink-faint); }
.qc__name { font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--ink-text); line-height: 1.3; }
.qc__date { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--ink-dim); }
.qc__tag { margin-top: auto; align-self: flex-start; font-family: var(--font-mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; padding: .26em .62em; border-radius: 999px; border: 1px solid; }
.qc__tag--binding { color: #ff9d90; border-color: rgba(255,122,107,.5); background: rgba(255,122,107,.12); }
.qc__tag--guidance { color: var(--ink-faint); border-color: var(--ink-line-2); background: rgba(255,255,255,.04); }

/* ============================================================
   Lifecycle / roadmap — program timeline
   ============================================================ */
.phases { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; counter-reset: phase; }
.phase { background: var(--surface); padding: clamp(1.4rem,2.2vw,1.85rem); position: relative; transition: background .3s var(--ease); display: flex; flex-direction: column; }
.section--alt .phase { background: var(--surface-2); }
.phase:hover { background: var(--surface-2); }
.phase::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-line)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.phase:hover::before { transform: scaleX(1); }
.phase__n { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; color: var(--accent); }
.phase__t { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.01em; margin: .65rem 0 .5rem; line-height: 1.12; }
.phase__d { font-size: .85rem; color: var(--text-dim); line-height: 1.5; }
.phase__meta { margin-top: auto; padding-top: .95rem; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); display: flex; align-items: center; gap: .45em; }
.phase__meta::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--scope); flex: none; }

/* ============================================================
   Discovery channels — instrument modules
   ============================================================ */
.chan { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.chan__item { background: var(--surface); padding: clamp(1.3rem,2vw,1.65rem); display: flex; flex-direction: column; gap: .65rem; position: relative; transition: background .3s var(--ease); overflow: hidden; }
.section--alt .chan__item { background: var(--surface-2); }
.chan__item:hover { background: var(--surface-2); }
.chan__item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--scope); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.chan__item:hover::after { transform: scaleX(1); }
.chan__n { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; color: var(--accent); }
.chan__ic { display: inline-flex; color: var(--accent); }
.chan__t { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.chan__d { font-size: .82rem; color: var(--text-dim); line-height: 1.5; }

/* ============================================================
   Financial exposure — copy + dark readout
   ============================================================ */
.fexp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.fexp__note { margin-top: 1.5rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; color: var(--text-faint); line-height: 1.6; }

/* Instrument readout panel (reused by exposure + hero mock legacy) */
.mock { width: 100%; max-width: 480px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-inst); position: relative; }
.mock__bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--ink-line); background: rgba(255,255,255,.03); position: relative; z-index: 2; }
.mock__dots { display: flex; gap: .35rem; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-line-2); }
.mock__title { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-left: .35rem; }
.mock__live { margin-left: auto; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: .45em; }
.mock__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.mock__body { padding: 1.2rem; display: grid; gap: 1.15rem; position: relative; z-index: 2; }
.mock__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.mock__kpi { background: rgba(255,255,255,.03); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: .8rem .85rem; }
.mock__kpi dt { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .45rem; }
.mock__kpi dd { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink-text); font-variant-numeric: tabular-nums; }
.mock__kpi dd em { font-style: normal; color: var(--accent-2); font-size: .9rem; }
.mock__sub { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* ============================================================
   Compliance framework readout
   ============================================================ */
.cmap { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.cmap__row { display: grid; grid-template-columns: 15rem 1fr; gap: .6rem 2rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); transition: background .2s var(--ease); }
.cmap__row:first-child { border-top: none; }
.cmap__row:hover { background: var(--surface-2); }
.cmap__fw { display: flex; flex-direction: column; gap: .34rem; }
.cmap__name { font-family: var(--font-body); font-weight: 600; font-size: .96rem; color: var(--text); line-height: 1.25; }
.cmap__region { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .5em; }
.cmap__region::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex: none; }
.cmap__how { font-size: .89rem; color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   Why PQCA — differentiator statements
   ============================================================ */
.pvalue { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
.pvalue__item { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,2.4vw,2rem); display: flex; flex-direction: column; gap: .55rem; position: relative; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.pvalue__item:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.pvalue__k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .5em; }
.pvalue__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.pvalue__t { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.16; margin-top: .15rem; }
.pvalue__d { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }

/* ============================================================
   Stats — scope band with counting figures
   ============================================================ */
.stats { background: var(--ink); color: var(--ink-text); position: relative; overflow: hidden; border-block: 1px solid var(--ink); }
.stats::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(100% 120% at 82% 0%, #000 28%, transparent 74%); mask-image: radial-gradient(100% 120% at 82% 0%, #000 28%, transparent 74%); }
.stats__inner { position: relative; z-index: 2; padding-block: clamp(2.5rem,4.5vw,3.5rem); }
.stats__head { text-align: center; margin-bottom: clamp(1.5rem,2.8vw,2rem); }
.stats__head .section__title { color: #fff; }
.stats__head p { color: var(--ink-dim); max-width: 54ch; margin: .6rem auto 0; }
.stats__grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--ink-2); padding: 1.6rem 1.1rem; text-align: center; transition: background .3s var(--ease); }
.stat:hover { background: var(--ink-3); }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,2.5vw,2.3rem); letter-spacing: -.02em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.stat__l { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; color: var(--ink-dim); margin-top: .55rem; line-height: 1.4; }

/* ============================================================
   Family / suite cards
   ============================================================ */
.suite { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.15rem; }
.suite__card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,2.5vw,2rem); position: relative; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); cursor: pointer; }
.suite__card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.suite__card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.suite__card:hover::after { transform: scaleX(1); }
.suite__top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.suite__ic { display: inline-flex; color: var(--accent); }
.suite__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; line-height: 1.15; }
.suite__mods { display: grid; gap: 0; margin: .5rem 0 1.25rem; border-top: 1px solid var(--line); }
.suite__mod { display: flex; align-items: center; gap: .6rem; padding: .55rem .1rem; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--text-dim); }
.suite__mod::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; opacity: .7; }
.suite__link { margin-top: auto; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: var(--accent); display: inline-flex; align-items: center; gap: .45em; transition: gap .25s var(--ease); }
.suite__card:hover .suite__link { gap: .85em; }
.suite__card--flagship { grid-column: 1 / -1; border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line) inset; background: linear-gradient(180deg, var(--accent-dim), transparent 42%), var(--surface); }
.suite__card--flagship::after { transform: scaleX(1); height: 3px; }
.suite__flag { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-accent); background: var(--accent); border-radius: var(--radius-pill); padding: .28rem .7rem; }
.suite__card--flagship .suite__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

.flagship-badge { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-accent); background: var(--accent); border-radius: var(--radius-pill); padding: .3em .75em; white-space: nowrap; }

/* ============================================================
   CTA band (scope)
   ============================================================ */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-text); border-top: 1px solid var(--ink); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(90% 130% at 82% 0%, #000 26%, transparent 74%); mask-image: radial-gradient(90% 130% at 82% 0%, #000 26%, transparent 74%); }
.cta__inner { position: relative; z-index: 2; padding-block: clamp(2.5rem,4.5vw,3.75rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3.2vw,2.6rem); letter-spacing: -.025em; line-height: 1.08; max-width: 20ch; color: #fff; text-wrap: balance; }
.cta__sub { color: var(--ink-dim); margin-top: .85rem; max-width: 46ch; }
.cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   Platform detail page
   ============================================================ */
.pdetail__head { max-width: 62rem; }
.pdetail__badge { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pdetail__pitch { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem,2.6vw,1.95rem); line-height: 1.2; color: var(--accent); margin: 1.1rem 0 1.4rem; max-width: 24ch; }
.pdetail__desc { color: var(--text-dim); font-size: clamp(1.02rem,1.4vw,1.15rem); max-width: 60ch; }
.pdetail__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.pdetail__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; margin-top: clamp(2.5rem,5vw,4rem); padding-top: clamp(2.5rem,5vw,3.5rem); border-top: 1px solid var(--line-2); }
.pdetail__subhead { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.product__modules { display: flex; flex-wrap: wrap; gap: .5rem; }
.product__facts { display: grid; gap: .85rem; }
.product__facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.product__facts dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.product__facts dd { font-size: .88rem; color: var(--text-dim); }

.dhero { position: relative; overflow: hidden; padding-top: clamp(2rem,4vw,3.25rem); padding-bottom: clamp(1.75rem,3.5vw,2.75rem); border-bottom: 1px solid var(--line-2); }
.dhero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.dhero__visual { display: flex; justify-content: center; }
.dhero__visual .gfx { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dhero__visual .gfx:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -20px rgba(6,10,16,.3); }
.dhero__badge { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.dhero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.04; letter-spacing: -.025em; }
.dhero__pitch { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem,2.4vw,1.85rem); line-height: 1.2; color: var(--accent); margin: 1rem 0 1.3rem; max-width: 26ch; }
.dhero__desc { color: var(--text-dim); font-size: clamp(1.02rem,1.4vw,1.15rem); max-width: 64ch; }
.dhero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.ocard { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,2.4vw,2rem); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.ocard:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.ocard__ic { display: inline-flex; color: var(--accent); margin-bottom: 1rem; }
.ocard__t { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; margin-bottom: .55rem; }
.ocard__d { color: var(--text-dim); font-size: .94rem; }

.capgroups { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.15rem; align-items: stretch; }
.capgroup { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.capgroup__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.capgroup__ic { display: inline-flex; color: var(--accent); }
.capgroup__t { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.capgroup__mods { display: flex; flex-direction: column; flex: 1; }
.capmod { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.capmod:last-child { border-bottom: none; }
.capmod:hover { background: var(--surface-2); }
.capmod__name { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: .3rem; }
.capmod__desc { font-size: .86rem; color: var(--text-dim); line-height: 1.5; }

.how { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.how--5 { grid-template-columns: repeat(5,1fr); }
.howstep { background: var(--surface); padding: clamp(1.5rem,2.5vw,2rem); position: relative; }
.section--alt .howstep { background: var(--surface-2); }
.howstep__n { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.howstep__t { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; margin: .8rem 0 .5rem; }
.howstep__d { color: var(--text-dim); font-size: .9rem; }

.dcols { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.covgroups { display: grid; gap: 1.25rem; }
.covgroup { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.covgroup:last-child { border-bottom: none; padding-bottom: 0; }
.covregion { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: .45rem; }
.covlist { display: flex; flex-wrap: wrap; gap: .5rem; }
.covmore { margin-top: 1.5rem; font-size: .9rem; color: var(--text-faint); }
.dglance { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,2.5vw,2rem); position: sticky; top: 88px; }
.dglance-solo { max-width: 560px; margin-inline: auto; }
.dglance-solo .dglance { position: static; }
.dglance__cta { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.deploy { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.deploy__item { background: var(--surface); padding: clamp(1.4rem,2.4vw,1.9rem); }
.section--alt .deploy__item { background: var(--surface-2); }
.deploy__ic { display: inline-flex; color: var(--accent); margin-bottom: .9rem; }
.deploy__t { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: .5rem; line-height: 1.2; }
.deploy__d { color: var(--text-dim); font-size: .88rem; line-height: 1.55; }

/* Platform added-value + regulatory map + before/after */
.cmap__row .cmap__how { text-align: justify; text-justify: inter-word; }
.baw { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.baw__head { display: grid; grid-template-columns: 1fr 1fr; }
.baw__hl { padding: .8rem 1.35rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid var(--line-2); }
.baw__hl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.baw__hl--off { background: rgba(255,122,107,.06); }
.baw__hl--off::before { background: var(--danger); }
.baw__hl--on { background: rgba(27,199,242,.08); border-left: 1px solid var(--line); }
.baw__hl--on::before { background: var(--scope); }
.baw__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.baw__head + .baw__row { border-top: none; }
.baw__cell { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: 1rem 1.35rem; align-items: start; }
.baw__cell p { font-size: .89rem; color: var(--text-dim); line-height: 1.55; }
.baw__cell--off { background: rgba(255,122,107,.045); }
.baw__cell--on { background: rgba(27,199,242,.05); border-left: 1px solid var(--line); }
.baw__mark { margin-top: .12rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-mono); font-size: .74rem; font-weight: 700; line-height: 1; }
.baw__mark--off { background: rgba(255,122,107,.18); color: #c53b2c; }
.baw__mark--off::before { content: "\2013"; }
.baw__mark--on { background: rgba(27,199,242,.2); color: #1E5A9C; }
.baw__mark--on::before { content: "\2713"; }

/* ============================================================
   Sectors band + explore cards + steps (about page)
   ============================================================ */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.sector { background: var(--surface); padding: 1.1rem 1.6rem; flex: 1 1 auto; text-align: center; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: var(--text-dim); display: inline-flex; align-items: center; justify-content: center; gap: .6em; transition: color .25s var(--ease), background .25s; white-space: nowrap; }
.sector::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sector:hover { color: var(--text); background: var(--surface-2); }
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.why__item { background: var(--surface); padding: clamp(1.5rem,2.5vw,2rem); transition: background .3s var(--ease); }
.section--alt .why__item { background: var(--surface-2); }
.why__item:hover { background: var(--surface-2); }
.why__ic { display: inline-flex; color: var(--accent); margin-bottom: 1rem; }
.why__t { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: .55rem; }
.why__b { color: var(--text-dim); font-size: .92rem; }
.steps--row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; background: var(--surface); padding: clamp(1.5rem,2.5vw,2rem) clamp(1.2rem,2vw,1.6rem); transition: background .3s var(--ease); }
.step:hover { background: var(--surface-2); }
.step__icon { color: var(--accent); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.step p { color: var(--text-dim); font-size: .95rem; }
.explore { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; }
.exp { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); cursor: pointer; }
.exp:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.exp__top { height: 140px; background: var(--ink-2); border-bottom: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.exp__top::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%); }
.exp__ic { position: relative; color: var(--accent-2); }
.exp__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.exp__tag { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .7rem; }
.exp__t { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; letter-spacing: -.01em; flex: 1; }
.exp__cta { margin-top: 1.2rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--accent); display: inline-flex; align-items: center; gap: .45em; transition: gap .25s var(--ease); }
.exp:hover .exp__cta { gap: .85em; }

/* ============================================================
   Contact / legal / sitemap
   ============================================================ */
.section--contact { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.contact__details { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.contact__details li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: start; }
.contact__details address { line-height: 1.65; }
.contact__label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.contact__details a:hover { color: var(--accent); }
.contact__form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.25rem); }
.form__status { font-family: var(--font-mono); font-size: .78rem; color: var(--scope); min-height: 1.2em; }

.legal { max-width: 76ch; }
.legal__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin: .4rem 0 1.75rem; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; margin: 2.2rem 0 .7rem; }
.legal p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.7; margin-bottom: .9rem; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }

.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.sitemap__col { background: var(--surface); padding: clamp(1.4rem,2.4vw,1.9rem); }
.sitemap__t { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.sitemap__col ul { display: grid; gap: .7rem; }
.sitemap__col a { color: var(--text-dim); font-size: .95rem; cursor: pointer; transition: color .2s var(--ease); }
.sitemap__col a:hover { color: var(--accent); }

/* ============================================================
   Footer — console readout
   ============================================================ */
.site-footer { background: var(--ink); color: var(--ink-dim); border-top: 1px solid var(--ink); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line) 20%, var(--scope) 50%, var(--accent-line) 80%, transparent); opacity: .6; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: clamp(1.75rem,3vw,2.4rem); padding-block: clamp(2.25rem,4vw,3.25rem); }
.footer__brand .brand__logo { height: 32px; margin-bottom: 1.1rem; opacity: .95; }
.footer__legal-name { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-faint); max-width: 32ch; margin-bottom: .85rem; text-align: left; }
.footer__tag { color: var(--ink-faint); font-size: .88rem; max-width: 34ch; line-height: 1.6; }
.footer__col-title { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.1rem; }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; }
.footer__nav a { color: var(--ink-dim); font-size: .9rem; width: fit-content; cursor: pointer; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--accent-2); }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.4rem; border-top: 1px solid var(--ink-line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--ink-faint); }
.footer__readout { display: inline-flex; align-items: center; gap: .5em; }

/* ============================================================
   Scroll reveal (motion)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-grid > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal-grid.is-in > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan::before, .radar::before, .live { animation: none; }
  .hero .coord, .hero__title, .hero__sub, .hero__actions, .console { opacity: 1 !important; animation: none !important; }
}

/* Header CTA (desktop only) */
.header__cta { display: none; }
@media (min-width: 921px) { .header__cta { display: inline-flex; align-items: center; } }

/* Hero page-load choreography */
@media (prefers-reduced-motion: no-preference) {
  .hero .coord, .hero__title, .hero__sub, .hero__actions, .console { opacity: 0; animation: heroIn .8s var(--ease) forwards; }
  .hero__title { animation-delay: .06s; }
  .hero__sub { animation-delay: .16s; }
  .hero__actions { animation-delay: .26s; }
  .console { animation-delay: .4s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .suite, .explore, .outcomes, .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .capgroups { grid-template-columns: 1fr; }
  .how, .deploy { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .qclock, .chan, .phases { grid-template-columns: repeat(2,1fr); } .qc--wide2 { grid-column: span 2; }
  .chan > .chan__item:last-child:nth-child(odd), .phases > .phase:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: flex; }
  .console__grid { grid-template-columns: 1fr; }
  .console__count { border-right: none; border-bottom: 1px solid var(--ink-line); }
  .fexp, .dcols, .dhero__inner, .pdetail__body, .contact__grid { grid-template-columns: 1fr; }
  .dglance { position: static; }
  .dhero__visual { order: 2; margin-top: .5rem; }
  .steps--row { grid-template-columns: repeat(2, 1fr); }
  .pvalue { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .suite, .explore, .cards, .why, .outcomes, .how, .deploy { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps--row { grid-template-columns: 1fr; }
  .console__metrics { grid-template-columns: repeat(3,1fr); }
  .sector { flex: 1 1 100%; }
  .suite__card--flagship .suite__mods { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cmap__row { grid-template-columns: 1fr; gap: .4rem; }
  .sitemap { grid-template-columns: 1fr; }
  .baw__head { display: none; }
  .baw__row { grid-template-columns: 1fr; }
  .baw__cell--on { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .qclock, .chan, .phases { grid-template-columns: 1fr; } .qc--wide, .qc--wide2 { grid-column: auto; }
}
@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .header__inner { height: 60px; }
  .console__metrics { grid-template-columns: 1fr; }
}


/* ============================================================
   Terashield — per-solution marketing graphics.
   Self-contained (needs only styles.css tokens). Instrument-grade
   product visuals for IAG / PDPM / FARR — usable in the solution
   hero and exportable as standalone marketing assets.
   ============================================================ */

.gfx { width: 100%; max-width: 480px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-mock); font-family: var(--font-body); }
.gfx__bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.gfx__dots { display: flex; gap: .35rem; }
.gfx__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.gfx__code { font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: var(--accent); margin-left: .2rem; }
.gfx__title { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.gfx__live { margin-left: auto; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--scope); display: inline-flex; align-items: center; gap: .45em; }
.gfx__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--scope); box-shadow: 0 0 8px var(--scope); }
.gfx__live--gold { color: var(--accent); }
.gfx__live--gold::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.gfx__body { padding: 1.15rem; display: grid; gap: 1.05rem; }

/* KPI row */
.gfx__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.gfx__kpi { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; }
.gfx__kpi dt { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .4rem; }
.gfx__kpi dd { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: var(--text); }
.gfx__kpi dd em { font-style: normal; font-size: .8rem; }
.gfx__kpi dd em.gold { color: var(--accent); }
.gfx__kpi dd em.teal { color: var(--scope); }
.gfx__kpi dd em.red { color: var(--danger); }
.gfx__sub { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .55rem; }

/* IAG — authority matrix grid */
.amx { display: grid; gap: .3rem; }
.amx__grid { display: grid; grid-template-columns: 64px repeat(6, 1fr); gap: 3px; align-items: center; }
.amx__hd { font-family: var(--font-mono); font-size: .48rem; letter-spacing: .04em; color: var(--text-faint); text-align: center; text-transform: uppercase; transform: rotate(0); }
.amx__rl { font-family: var(--font-mono); font-size: .56rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amx__cell { height: 18px; border-radius: 2px; background: var(--bg-2); border: 1px solid var(--line); }
.amx__cell.on { background: var(--accent-dim); border-color: var(--accent-line); }
.amx__cell.cert { background: rgba(27,199,242,.16); border-color: var(--scope); }
.amx__cell.sod { background: rgba(255,122,107,.16); border-color: var(--danger); position: relative; }
.amx__cell.sod::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: .56rem; color: var(--danger); font-weight: 700; }
.gfx__legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .04em; color: var(--text-faint); }
.gfx__legend span { display: inline-flex; align-items: center; gap: .35em; }
.gfx__legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* coverage meters */
.gfx__cov { display: grid; gap: .55rem; }
.gfx__row { display: grid; grid-template-columns: 5.5rem 1fr 2.2rem; align-items: center; gap: .7rem; }
.gfx__name { font-family: var(--font-mono); font-size: .62rem; color: var(--text-dim); }
.gfx__meter { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.gfx__fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.gfx__fill.teal { background: var(--scope); }
.gfx__pct { font-family: var(--font-mono); font-size: .58rem; color: var(--text-faint); text-align: right; }

/* log / list rows */
.gfx__log { display: grid; }
.gfx__logrow { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .74rem; color: var(--text-dim); }
.gfx__logrow:first-child { border-top: none; }
.gfx__logrow .mono { font-family: var(--font-mono); font-size: .68rem; color: var(--text); }
.sevpill { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .06em; text-transform: uppercase; padding: .18em .5em; border-radius: 999px; border: 1px solid; }
.sevpill.high { color: var(--danger); border-color: var(--danger); background: rgba(255,122,107,.1); }
.sevpill.med { color: var(--accent); border-color: var(--accent-line); background: var(--accent-dim); }
.sevpill.ok { color: var(--scope); border-color: var(--scope); background: rgba(27,199,242,.1); }

/* FARR — segment map */
.segmap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; }
.segmap svg { width: 100%; height: auto; display: block; }
.segmap .zone-box { fill: var(--surface-3); stroke: var(--line-2); }
.segmap .zone-t { font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; fill: var(--text-dim); text-transform: uppercase; }
.segmap .link { stroke: var(--accent-line); stroke-width: 1.4; fill: none; }
.segmap .link.crit { stroke: var(--danger); stroke-dasharray: 4 3; }
.segmap .node { fill: var(--accent); }
.segmap .node.crit { fill: var(--danger); }

/* format chip */
.gfx__chip { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .08em; color: var(--text-faint); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .15em .5em; }

/* standalone export page framing */
.gfx-stage { min-height: 100vh; display: grid; place-items: center; padding: 40px; background:
  radial-gradient(700px 500px at 75% 0%, var(--accent-dim), transparent 60%), var(--bg); }


/* ============================================================
   Static-site header nav (pure-CSS details/summary + checkbox)
   ============================================================ */
.nav-toggle { display: none; }
.nav-list { display: flex; align-items: center; gap: .1rem; margin-left: .9rem; height: 100%; }
.nav-list a, .nav-top, .navdd__sum { display: inline-flex; align-items: center; gap: .45em; height: 66px; padding: 0 .9rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; color: #b9c6d2; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s; text-decoration: none; background: none; cursor: pointer; position: relative; }
.navdd__sum { list-style: none; user-select: none; }
.navdd__sum::-webkit-details-marker { display: none; }
.nav-list a:hover, .nav-top:hover, .navdd__sum:hover, .nav-list a[aria-current="page"], .navdd[open] > .navdd__sum { color: #ffffff; border-bottom-color: var(--accent); }
.navdd { position: relative; display: flex; align-items: center; }
.navdd__sum .caret { font-size: .6em; opacity: .65; transition: transform .25s var(--ease); }
.navdd[open] > .navdd__sum .caret { transform: rotate(180deg); }
.navmega { position: absolute; top: 100%; left: 0; width: max-content; min-width: 330px; max-width: min(620px, calc(100vw - 2.5rem)); background: var(--ink); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-inst); padding: 1.15rem; display: grid; gap: .3rem 1.4rem; z-index: 90; }
.navmega::before { content: ""; position: absolute; top: 0; left: 1.15rem; right: 1.15rem; height: 1px; background: linear-gradient(90deg, var(--accent), transparent 60%); }
.navmega--2 { grid-template-columns: 1fr 1fr; min-width: 520px; }
.nav-list > .navdd:last-of-type .navmega { left: auto; right: 0; }
.navmega__h { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); padding: .3rem .6rem .55rem; }
.navmega a { display: flex; align-items: flex-start; gap: .7rem; height: auto; border-bottom: 0; padding: .55rem .6rem; border-radius: var(--radius); color: var(--ink-text); transition: background .18s var(--ease); }
.navmega a:hover { background: rgba(255,255,255,.05); }
.navmega a > span { display: block; min-width: 0; flex: 1 1 auto; }
.navmega__ic { flex: none; color: var(--scope); margin-top: .15rem; }
.navmega__t { display: block; font-family: var(--font-body); font-weight: 600; font-size: .86rem; color: var(--ink-text); line-height: 1.25; white-space: nowrap; }
.navmega__code { font-family: var(--font-display); font-weight: 800; font-size: .68rem; color: var(--accent); margin-left: .45rem; letter-spacing: .02em; }
.navmega__d { display: block; font-size: .76rem; color: var(--ink-dim); margin-top: .05rem; line-height: 1.4; text-align: left; }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.burger-label { display: none; }
@media (max-width: 920px) {
  .burger-label { display: flex; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); align-items: center; justify-content: center; flex-direction: column; gap: 4px; margin-left: auto; cursor: pointer; background: rgba(255,255,255,.06); }
  .burger-label span { width: 18px; height: 1.6px; background: #e8eef3; display: block; }
  /* Anchored to the header itself (the header's backdrop-filter makes it a
     containing block, so position:fixed + hardcoded offsets mis-render). */
  .nav-list { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; height: auto; background: var(--ink); border-bottom: 1px solid var(--ink-line-2); box-shadow: var(--shadow-inst); transform: translateY(-130%); transition: transform .3s var(--ease), visibility 0s linear .3s; z-index: 90; max-height: 78dvh; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; }
  .nav-toggle:checked ~ .nav-list { visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .nav-list a, .nav-top, .navdd__sum { height: auto; padding: 1rem 1.25rem; border-bottom: 1px solid var(--ink-line); color: var(--ink-text); width: 100%; justify-content: space-between; }
  .navdd { width: 100%; flex-direction: column; align-items: stretch; }
  .navmega { position: static; box-shadow: none; border: none; border-radius: 0; min-width: 0; max-width: none; background: rgba(255,255,255,.03); grid-template-columns: 1fr !important; padding: .4rem .75rem .8rem; }
  .navmega::before { display: none; }
  .navmega__t { white-space: normal; }
  .nav-list > .navdd:last-of-type .navmega { right: auto; }
  .hdr-cta { display: none; }
  .nav-toggle:checked ~ .nav-list { transform: none; }
}

/* ---- Eyebrow, buttons, product code, coverage (static) ---- */
.eyebrow { margin: 0; font-family: var(--font-mono); font-size: var(--fs-mono-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow svg { color: var(--accent); }
.eyebrow--bare { color: var(--text-faint); }
.scope .eyebrow { color: var(--ink-dim); }
.scope .eyebrow svg { color: var(--scope); }
.tvb { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-mono); letter-spacing: .04em; border-radius: var(--radius); border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; font-size: var(--fs-mono-btn); padding: .85em 1.5em; transition: border-color .25s var(--ease), background .25s, color .25s; }
.tvb--solid { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); font-weight: 600; }
.tvb--solid:hover { background: var(--accent-2); border-color: var(--accent-2); }
.tvb--ghost:hover { color: var(--accent); border-color: var(--accent-line); }
.tvb--onink { color: var(--ink-text); border-color: var(--ink-line-2); }
.tvb--onink:hover { color: var(--accent-2); border-color: var(--accent-line); }
.tv-pc { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; color: var(--accent); border: 1px solid var(--accent-line); border-radius: var(--radius); background: var(--accent-dim); line-height: 1; font-size: 1.55rem; padding: .2em .55em; }
.tv-pc--sm { font-size: 1.1rem; padding: .18em .5em; }
.tv-cov { display: grid; grid-template-columns: 6.5rem 1fr 2.4rem; align-items: center; gap: .8rem; }
.tv-cov__n { font-family: var(--font-mono); font-size: var(--fs-mono-tag); color: var(--ink-dim); letter-spacing: .02em; }
.tv-cov__track { height: 6px; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); overflow: hidden; }
.tv-cov__fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--accent); }
.tv-cov__pct { font-family: var(--font-mono); font-size: var(--fs-mono-micro); color: var(--ink-faint); text-align: right; }


/* ============================================================
   Justified paragraphs & titles (user preference)
   ============================================================ */
body p { text-align: justify; text-justify: inter-word; }
.section__head--center *, .stats__head * { text-align: center; }


/* Full-width reading column — text edges align with the images/grids below */
.hero__title, .hero__sub, .section__lede, .pdetail__pitch, .pdetail__desc, .dhero__title, .dhero__pitch, .dhero__desc, .legal { max-width: none; }


/* ============================================================
   Algorithm inventory field — decorative background layer
   ============================================================ */
.hero .wrap, .dhero .wrap { position: relative; z-index: 1; }
.algofield { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; -webkit-mask-image: radial-gradient(150% 150% at 50% 50%, #000 74%, transparent 100%); mask-image: radial-gradient(150% 150% at 50% 50%, #000 74%, transparent 100%); }
.algofield__inner { position: absolute; inset: -6% -4%; display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around; gap: .5rem .9rem; padding: 1.4rem; }
.algofield--light { opacity: .3; }
.algofield--dark { opacity: .5; }
.algo { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em; white-space: nowrap; border: 1px solid currentColor; border-radius: 999px; padding: .18em .66em; color: var(--text-faint); }
.algo--cat { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .6rem; border-width: 1.5px; padding: .22em .8em; }
.algo--asym { color: var(--danger); }
.algo--pq { color: var(--scope); }
.algo--sym { color: #1E5A9C; }
.algo--hash { color: var(--text-dim); }
.algo--mac { color: var(--text-faint); }
.algofield--dark .algo { color: var(--ink-faint); }
.algofield--dark .algo--asym { color: #ff9d90; }
.algofield--dark .algo--pq { color: var(--scope); }
.algofield--dark .algo--sym { color: #2B6FB5; }
.algofield--dark .algo--hash { color: var(--ink-dim); }
.algofield--dark .algo--mac { color: var(--ink-faint); }
@media (prefers-reduced-motion: no-preference) {
  .algofield__inner { animation: algoDrift 64s var(--ease) infinite alternate; }
  @keyframes algoDrift { from { transform: translate3d(-1.6%, -1.1%, 0) rotate(-.4deg); } to { transform: translate3d(1.6%, 1.1%, 0) rotate(.4deg); } }
}

.cmap__how { text-align: justify; text-justify: inter-word; }

.console__note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }

/* ---- Persona doors ---- */
.doors { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.door { background: var(--surface); padding: clamp(1.4rem,2.2vw,1.9rem); display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: inherit; position: relative; transition: background .3s var(--ease); }
.door:hover { background: var(--surface-2); }
.door::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.door:hover::after { transform: scaleX(1); }
.door__who { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.door__t { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.door__d { font-size: .9rem; color: var(--text-dim); line-height: 1.55; }
.door__go { margin-top: auto; padding-top: .85rem; font-family: var(--font-mono); font-size: .74rem; color: var(--accent); }
/* ---- Quantum-risk self-check ---- */
.rc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem,3vw,2.6rem); align-items: start; }
.rcq { border: none; margin: 0 0 1.35rem; padding: 0; }
.rcq legend { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: .65rem; }
.rcq__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.rcq__opts input { position: absolute; opacity: 0; pointer-events: none; }
.rcq__opts label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; padding: .55rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; color: var(--text-dim); background: var(--surface); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.rcq__opts label:hover { border-color: var(--accent); color: var(--text); }
.rcq__opts input:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; }
.rcq__opts input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.rcres { position: sticky; top: 90px; background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line-2); border-radius: var(--radius-lg); padding: clamp(1.4rem,2.4vw,2rem); display: grid; gap: 1rem; }
.rcres__label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rcres__verdict { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem,3vw,2.1rem); letter-spacing: -.01em; line-height: 1.1; }
.rcres--crit .rcres__verdict { color: #ff9d90; }
.rcres--elev .rcres__verdict { color: #ffc98f; }
.rcres--watch .rcres__verdict { color: var(--scope); }
.rcres__margin { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-dim); }
.rcres__mosca { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.rcres__mosca > div { background: var(--ink-2); padding: .75rem .8rem; }
.rcres__mosca dt { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .3rem; }
.rcres__mosca dd { font-family: var(--font-mono); font-size: 1.15rem; margin: 0; }
.rcres__notes { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.rcres__notes li { font-size: .82rem; color: var(--ink-dim); line-height: 1.5; padding-left: 1rem; position: relative; }
.rcres__notes li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; transform: rotate(45deg); background: var(--accent-2); }
.rcres__acts { display: flex; flex-wrap: wrap; gap: .7rem; }
.rcres__foot { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; color: var(--ink-faint); line-height: 1.6; }
/* ---- Deadline tracker ---- */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.fbtn { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-dim); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.fbtn:hover { border-color: var(--accent); color: var(--text); }
.fbtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.dlgrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.dlrow { display: grid; grid-template-columns: 150px 1.35fr 175px 205px; gap: 1.2rem; background: var(--surface); padding: 1.05rem 1.3rem; align-items: center; }
.dlrow[hidden] { display: none; }
.dlrow__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.dlrow__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.dlrow__what { font-size: .86rem; color: var(--text-dim); line-height: 1.5; margin-top: .15rem; }
.dlrow__date { font-family: var(--font-mono); font-size: .78rem; color: var(--text); }
.dlrow__date .qc__tag { display: inline-flex; margin-top: .45rem; }
.dlrow .lclock--sm { --lc-scale: .85; }
.dlrow .lclock__v { color: var(--text); font-size: 1.3rem; }
.dlrow .lclock__c { color: var(--text-faint); font-size: 1rem; }
.dlrow .lclock__u { color: var(--text-faint); }
.dlrow .qc__tag { font-size: .56rem; }
.dlrow .qc__tag--binding { color: var(--accent); border-color: rgba(30,90,156,.38); background: rgba(30,90,156,.07); }
.dlrow .qc__tag--guidance { color: var(--text-dim); border-color: var(--line-2); background: var(--surface-2); }
/* ---- Sample deliverables ---- */
.samples { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2vw,1.8rem); align-items: start; }
.sample { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 1.35rem; display: flex; flex-direction: column; gap: .7rem; }
.sample__t { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.sample__d { font-size: .88rem; color: var(--text-dim); line-height: 1.55; }
.sample pre { background: var(--ink); color: var(--ink-text); font-family: var(--font-mono); font-size: .6rem; line-height: 1.6; padding: 1rem; border-radius: var(--radius); overflow: auto; max-height: 360px; margin: 0; }
.illus { align-self: flex-start; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--line-2); padding: .25rem .55rem; border-radius: 999px; }
.fwrow { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.fwrow:last-child { border-bottom: none; }
.fwrow__n { font-size: .84rem; font-weight: 600; }
.fwrow__pills { display: flex; gap: .35rem; font-family: var(--font-mono); font-size: .6rem; }
.stp { padding: .2rem .5rem; border-radius: 999px; border: 1px solid; }
.stp--met { color: #2e7d5b; border-color: rgba(46,125,91,.4); background: rgba(46,125,91,.08); }
.stp--part { color: #9a6b1f; border-color: rgba(154,107,31,.4); background: rgba(154,107,31,.08); }
.stp--gap { color: var(--danger); border-color: rgba(255,122,107,.45); background: rgba(255,122,107,.08); }
@media (max-width: 920px) { .rc, .samples, .doors { grid-template-columns: 1fr; } .rcres { position: static; } .dlrow { grid-template-columns: 1fr; gap: .55rem; } }
