/* =====================================================================
   TROY // SECURITY — Design System
   Zero-build static CSS. GPU-composited motion only (transform, opacity,
   clip-path, SVG stroke-dashoffset). Respects prefers-reduced-motion.
   ===================================================================== */

:root {
  --bg: #06070A;
  --bg-2: #0A0B0F;
  --surface: #0D0F14;
  --surface-2: #12151C;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F3F4F6;
  --text-2: #A4AAB6;
  --text-3: #6E7581;

  --em: #10B981;
  --em-2: #34D399;
  --cy: #06B6D4;
  --cr: #EF4444;
  --am: #F59E0B;
  --em-rgb: 16, 185, 129;
  --em2-rgb: 52, 211, 153;
  --cy-rgb: 6, 182, 212;
  --cr-rgb: 239, 68, 68;
  --am-rgb: 245, 158, 11;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;

  --f-head: 'Manrope', 'IBM Plex Sans', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(var(--em-rgb), 0.05), transparent 70%),
    var(--bg);
}

html.modal-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
html[lang="el"] h1, html[lang="el"] h2, html[lang="el"] h3 { letter-spacing: -0.005em; }

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }

::selection { background: rgba(var(--em-rgb), 0.32); color: #ECFDF5; }

.mono { font-family: var(--f-mono); font-feature-settings: 'zero' 0; letter-spacing: 0; }
.dim { color: var(--text-3); }
.tone-ok { color: var(--em-2); }
.tone-crit { color: var(--cr); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--em); color: #03140D; font-weight: 700;
  padding: 10px 14px; border-radius: 8px;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(72px); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
@media (min-width: 640px) { .container { padding-left: 28px; padding-right: 28px; } }

/* ---------- Text signal gradient ---------- */
.text-signal {
  background: linear-gradient(92deg, var(--em-2) 0%, #5EEAD4 45%, var(--cy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { min-height: 38px; padding: 0.5rem 0.95rem; font-size: 0.875rem; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  color: #03140D;
  background: linear-gradient(180deg, #3EE0A6 0%, var(--em) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(var(--em-rgb), 0.5),
    0 10px 30px -10px rgba(var(--em-rgb), 0.7);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(var(--em2-rgb), 0.7),
    0 14px 40px -10px rgba(var(--em-rgb), 0.85);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }
.btn-outline {
  color: var(--em-2);
  background: rgba(var(--em-rgb), 0.07);
  border-color: rgba(var(--em-rgb), 0.45);
}
.btn-outline:hover { background: var(--em); color: #03140D; border-color: var(--em); }

.btn-arrow { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Glass cards: metallic 1px gradient border + spotlight ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 23, 30, 0.82) 0%, rgba(10, 11, 15, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 24px 60px -32px rgba(0, 0, 0, 0.9);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.03) 70%, rgba(255, 255, 255, 0.08) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 1;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--em2-rgb), 0.85), rgba(var(--cy-rgb), 0.3) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.spot .spot-fill, .spot > .spot-sheen { display: none; }
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after { opacity: 1; }
  .spot:hover {
    background:
      radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--em-rgb), 0.07), transparent 60%),
      linear-gradient(180deg, rgba(20, 23, 30, 0.82) 0%, rgba(10, 11, 15, 0.94) 100%);
  }
}

/* ---------- Live dot ---------- */
.live-dot {
  position: relative;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--em-2);
  box-shadow: 0 0 10px rgba(var(--em2-rgb), 0.8);
}
.live-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(var(--em2-rgb), 0.7);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 7, 10, 0.78);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.site-header.is-scrolled, .site-header.menu-open { border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .site-header.menu-open::before { opacity: 1; }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-emblem { width: 34px; height: 34px; flex: none; overflow: visible; filter: drop-shadow(0 0 12px rgba(var(--em-rgb), 0.25)); }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-wordmark { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand-word { font-family: var(--f-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.24em; color: #fff; }
.brand-slash { font-size: 0.6875rem; font-weight: 500; color: var(--em-2); letter-spacing: 0.04em; }
.brand-tag { font-size: 0.6875rem; color: var(--text-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.nav-desktop { display: none; align-items: center; gap: 4px; }
.nav-desktop a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.nav-desktop a.is-active { color: #fff; }
.nav-desktop a::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--em-2), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.nav-desktop a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta { display: none; }

.lang-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 36px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
}
.lang-opt { position: relative; z-index: 1; padding: 0 9px; line-height: 28px; color: var(--text-3); transition: color 0.25s; }
.lang-toggle[data-lang="el"] .lang-opt[data-opt="el"],
.lang-toggle[data-lang="en"] .lang-opt[data-opt="en"] { color: #fff; }
.lang-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease);
}
.lang-toggle[data-lang="en"] .lang-thumb { transform: translateX(100%); }

.menu-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon i {
  position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: #E5E7EB;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-icon i:nth-child(1) { top: 0; }
.menu-icon i:nth-child(2) { top: 5.2px; }
.menu-icon i:nth-child(3) { top: 10.4px; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(8, 9, 12, 0.97);
  border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), clip-path 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), clip-path 0.45s var(--ease), visibility 0s;
}
.mobile-menu-inner { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 20px; }
.mobile-menu-inner > a:not(.mobile-menu-mail) {
  padding: 13px 2px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-inner .btn { margin-top: 18px; }
.mobile-menu-mail { margin-top: 14px; text-align: center; font-size: 0.8125rem; color: var(--em-2); }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .nav-desktop { display: flex; }
  .menu-btn, .mobile-menu { display: none; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 48px);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.aurora {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  backface-visibility: hidden;
}
.aurora-1 {
  width: 1100px; height: 1100px;
  left: 50%; top: -640px; margin-left: -550px;
  background: radial-gradient(closest-side, rgba(var(--em-rgb), 0.26), rgba(var(--em-rgb), 0.08) 45%, transparent 72%);
  animation: drift-1 22s var(--ease-io) infinite alternate;
}
.aurora-2 {
  width: 760px; height: 760px;
  right: -260px; top: -160px;
  background: radial-gradient(closest-side, rgba(var(--cy-rgb), 0.17), transparent 70%);
  animation: drift-2 27s var(--ease-io) infinite alternate;
}
.aurora-3 {
  width: 680px; height: 680px;
  left: -300px; top: 260px;
  background: radial-gradient(closest-side, rgba(var(--em2-rgb), 0.1), transparent 70%);
  animation: drift-3 31s var(--ease-io) infinite alternate;
}
@keyframes drift-1 { from { transform: translate3d(-5%, 0, 0) scale(1); } to { transform: translate3d(6%, 5%, 0) scale(1.12); } }
@keyframes drift-2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-14%, 12%, 0) scale(1.18); } }
@keyframes drift-3 { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(18%, -10%, 0) scale(0.92); } }

.defense-field {
  position: absolute;
  width: 1400px; height: 1400px;
  left: 50%; top: -900px; margin-left: -700px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--em2-rgb), 0.09) 18deg, transparent 52deg, transparent 180deg, rgba(var(--cy-rgb), 0.06) 200deg, transparent 236deg);
  -webkit-mask: radial-gradient(closest-side, transparent 30%, #000 62%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 30%, #000 62%, transparent 100%);
  animation: field-spin 48s linear infinite;
  will-change: transform;
}
@keyframes field-spin { to { transform: rotate(360deg); } }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--bg)); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; padding-bottom: 88px; }
  .hero { padding-top: calc(var(--header-h) + 72px); }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--em-rgb), 0.3);
  background: rgba(var(--em-rgb), 0.08);
  color: #A7F3D0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(1.95rem, 1.1rem + 3.3vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  hyphens: manual;
}
html[lang="el"] .hero-title { line-height: 1.16; letter-spacing: -0.012em; }

.hero-sub {
  margin-top: 22px;
  max-width: 40rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-2);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}
@media (min-width: 560px) { .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.trust-item { position: relative; padding-left: 14px; }
.trust-item::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(var(--em-2), rgba(var(--cy-rgb), 0.2)); }
.trust-item dt { font-size: 0.75rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }
.trust-item dd { margin-top: 3px; font-size: 0.875rem; font-weight: 600; color: #E5E7EB; }

/* ---------- Telemetry card ---------- */
.telemetry {
  overflow: hidden;
  --tone-rgb: var(--cr-rgb);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 100px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 80px -30px rgba(var(--tone-rgb), 0.35);
  transition: box-shadow 0.8s var(--ease);
}
.telemetry[data-state="hardened"] { --tone-rgb: var(--em-rgb); }

.tel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.tel-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tel-dots { display: inline-flex; gap: 6px; }
.tel-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A2E37; }
.tel-dots i:nth-child(1) { background: rgba(var(--cr-rgb), 0.75); }
.tel-dots i:nth-child(2) { background: rgba(var(--am-rgb), 0.75); }
.tel-dots i:nth-child(3) { background: rgba(var(--em-rgb), 0.75); }
.tel-title { font-size: 0.6875rem; color: var(--text-3); white-space: nowrap; }

.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.5);
}
.seg-btn {
  position: relative; z-index: 1;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.3s;
}
.seg-btn[aria-pressed="true"] { color: #fff; }
.seg-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 0;
  width: var(--seg-w, 0px);
  transform: translateX(var(--seg-x, 3px));
  border-radius: 6px;
  background: rgba(var(--cr-rgb), 0.16);
  box-shadow: inset 0 0 0 1px rgba(var(--cr-rgb), 0.45);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), background-color 0.5s, box-shadow 0.5s;
}
.telemetry[data-state="hardened"] .seg-thumb { background: rgba(var(--em-rgb), 0.16); box-shadow: inset 0 0 0 1px rgba(var(--em-rgb), 0.5); }
.seg-hint::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 8px;
  border: 1px solid rgba(var(--em2-rgb), 0.6);
  opacity: 0;
  animation: hint 2.6s var(--ease) 1.8s infinite;
  pointer-events: none;
}
.seg.is-touched .seg-hint::after { display: none; }
@keyframes hint { 0% { opacity: 0.9; transform: scale(0.96); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

.tel-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.75rem;
  color: #C9CED6;
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
  overflow: hidden;
}
.tel-prompt { color: var(--em-2); }
.caret { width: 7px; height: 14px; background: var(--em-2); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

.tel-meter { padding: 14px 16px 6px; }
.tel-meter-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tel-meter-label { font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.tel-meter-val { font-size: 1.375rem; font-weight: 600; color: #fff; }
.tel-meter-val .dim { font-size: 0.8125rem; }
.tel-meter-track { margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.tel-meter-fill {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0.87);
  background: linear-gradient(90deg, var(--am), var(--cr));
  transition: transform 1s var(--ease);
  position: relative;
}
.tel-meter-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--em), var(--em-2), var(--cy));
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.telemetry[data-state="hardened"] .tel-meter-fill::after { opacity: 1; }

.tel-rows { display: grid; gap: 8px; padding: 12px 14px 14px; }
.tel-row {
  --tone: var(--cr); --tone-rgb: var(--cr-rgb);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--tone-rgb), 0.24);
  background: rgba(var(--tone-rgb), 0.055);
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.tel-row[data-tone="warn"] { --tone: var(--am); --tone-rgb: var(--am-rgb); }
.tel-row[data-tone="ok"] { --tone: var(--em-2); --tone-rgb: var(--em2-rgb); }
.tel-row::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--tone-rgb), 0.22), transparent);
  transform: translateX(-100%);
  pointer-events: none;
}
.tel-row.is-flipping::after { animation: sweep 0.7s var(--ease) forwards; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.tel-row-main { min-width: 0; }
.tel-row-label { font-size: 0.8125rem; font-weight: 600; color: #E5E7EB; }
.tel-row-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 2px; }
.tel-code { font-size: 0.6875rem; color: rgba(var(--tone-rgb), 0.95); }
.tel-detail { font-size: 0.6875rem; color: var(--text-3); }
.tel-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(var(--tone-rgb), 0.12);
  color: var(--tone);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tel-status-text { min-width: 1ch; }
.tel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.tel-row.is-flipping .tel-status { animation: chip-flip 0.55s var(--ease); }
@keyframes chip-flip { from { transform: perspective(200px) rotateX(85deg); opacity: 0; } to { transform: none; opacity: 1; } }

.tel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.6875rem;
  color: var(--text-3);
}
.tel-badge { font-weight: 700; letter-spacing: 0.04em; color: var(--cr); text-align: right; transition: color 0.4s; }
.telemetry[data-state="hardened"] .tel-badge { color: var(--em-2); }

.scan-beam {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(var(--tone-rgb), 0.07) 70%, rgba(var(--tone-rgb), 0.5) 99%, transparent);
  transform: translate3d(0, -100px, 0);
  pointer-events: none;
  z-index: 3;
  animation: beam-idle 7s var(--ease-io) 1.2s infinite;
  opacity: 0.55;
}
.telemetry.is-scanning .scan-beam { animation: beam-pass 1.1s var(--ease-io) 1; opacity: 1; }
@keyframes beam-idle {
  0% { transform: translate3d(0, -100px, 0); }
  35%, 100% { transform: translate3d(0, 620px, 0); }
}
@keyframes beam-pass {
  from { transform: translate3d(0, -100px, 0); }
  to { transform: translate3d(0, 620px, 0); }
}

/* ---------- Standards bar ---------- */
.standards-bar {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 15, 0.7);
}
.standards-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.standards-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.standards-list { display: flex; flex-wrap: wrap; gap: 10px 10px; }
.standards-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #D1D5DB;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.standards-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--em-2);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(var(--em2-rgb), 0.7);
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { position: relative; padding: 88px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-alt::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-head { max-width: 46rem; margin-bottom: 48px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-2);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.section-title {
  margin-top: 14px;
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  line-height: 1.15;
}
.section-sub { margin-top: 16px; font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); max-width: 40rem; }

/* ---------- Threat cards ---------- */
.threat-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .threat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .threat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.threat-card {
  --tone: var(--cr); --tone-rgb: var(--cr-rgb);
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.threat-card[data-tone="warn"] { --tone: var(--am); --tone-rgb: var(--am-rgb); }
.threat-card[data-tone="law"] { --tone: var(--em-2); --tone-rgb: var(--em2-rgb); }
.threat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.threat-icon {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(var(--tone-rgb), 0.16), rgba(var(--tone-rgb), 0.04));
  box-shadow: inset 0 0 0 1px rgba(var(--tone-rgb), 0.3);
  color: var(--tone);
}
.threat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sev-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--tone-rgb), 0.35);
  background: rgba(var(--tone-rgb), 0.08);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tone);
}
.sev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); animation: sev-pulse 1.8s ease-in-out infinite; }
.threat-card[data-tone="law"] .sev-dot { animation: none; }
@keyframes sev-pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
.threat-code { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--tone); }
.threat-card h3 { margin-top: 8px; font-size: 1.1875rem; line-height: 1.3; }
.threat-card p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.65; color: var(--text-2); flex: 1; }
.threat-ref {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ---------- Architecture diagram ---------- */
.arch { overflow: hidden; }
.arch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}
.arch-title-wrap { display: flex; align-items: center; gap: 14px; }
.arch-title { font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: #fff; }
.arch-subtitle { font-size: 0.8125rem; color: var(--text-3); }
.arch-counters { display: flex; gap: 10px; flex-wrap: wrap; }
.arch-counter {
  display: flex; flex-direction: column;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-width: 150px;
}
.arch-counter-label { font-size: 0.6875rem; font-weight: 600; color: var(--text-3); }
.arch-counter-val { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.arch-counter.is-threat .arch-counter-val { color: #FCA5A5; }
.arch-counter.is-ok .arch-counter-val { color: #6EE7B7; }

.arch-stage {
  position: relative;
  padding: 14px 10px 6px;
  background:
    radial-gradient(600px 300px at 44% 50%, rgba(var(--em-rgb), 0.06), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 40px 40px;
}
.arch-svg { width: 100%; height: auto; overflow: visible; }
.arch-svg-tall { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 719px) {
  .arch-svg-wide { display: none; }
  .arch-svg-tall { display: block; }
}

.arch-svg text { font-family: var(--f-mono); font-size: 11px; font-weight: 500; fill: #D1D5DB; letter-spacing: 0.02em; }
.arch-svg text.sub { font-size: 10px; fill: var(--text-3); font-weight: 400; }
.arch-svg text.t-sans { font-family: var(--f-body); }
.arch-svg .zone-label { font-size: 10px; font-weight: 600; fill: var(--text-3); letter-spacing: 0.14em; }
.arch-svg .zone-sep { stroke: rgba(255, 255, 255, 0.06); stroke-dasharray: 3 6; fill: none; }
.arch-svg .node-title { font-weight: 600; fill: #fff; }
.arch-svg .drop-label { font-size: 9.5px; fill: #F87171; font-weight: 600; letter-spacing: 0.08em; }

.arch-svg .track { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.4; }
.arch-svg .pkt {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 4 200;
  stroke-dashoffset: 4;
  animation: pkt var(--dur, 2.6s) linear var(--delay, 0s) infinite;
}
.arch-svg .pkt-red { stroke: #F87171; }
.arch-svg .pkt-green { stroke: var(--em-2); }
.arch-svg .pkt-cyan { stroke: #22D3EE; stroke-width: 2.6; }
@keyframes pkt { from { stroke-dashoffset: 4; } to { stroke-dashoffset: -100; } }

.arch-svg .impact {
  fill: rgba(var(--cr-rgb), 0.18);
  stroke: #F87171;
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: impact var(--dur, 2.6s) linear var(--delay, 0s) infinite;
}
@keyframes impact {
  0%, 92% { opacity: 0; transform: scale(0.3); }
  96% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.1); }
}

.arch-svg .src rect { fill: rgba(255, 255, 255, 0.025); stroke-width: 1; }
.arch-svg .src-threat rect { stroke: rgba(var(--cr-rgb), 0.45); }
.arch-svg .src-ok rect { stroke: rgba(var(--em2-rgb), 0.45); }
.arch-svg .src-threat text:not(.sub) { fill: #FCA5A5; }
.arch-svg .src-ok text:not(.sub) { fill: #A7F3D0; }

.arch-svg .wall-beam { transform-box: fill-box; animation: wall-scan 4.5s var(--ease-io) infinite; }
.arch-svg .wall-beam-h { transform-box: fill-box; animation: wall-scan-h 4.5s var(--ease-io) infinite; }
@keyframes wall-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(306px); opacity: 0; } }
@keyframes wall-scan-h { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(278px); opacity: 0; } }

.arch-svg .node { cursor: pointer; transition: opacity 0.45s var(--ease); }
.arch-svg .node-box {
  fill: #0D1316;
  stroke: rgba(var(--em2-rgb), 0.4);
  stroke-width: 1.2;
  transition: stroke 0.4s, fill 0.4s;
}
.arch-svg .core-box { fill: #0E1117; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.2; }
.arch-svg .core-leds rect { fill: rgba(var(--em2-rgb), 0.35); }
.arch-svg .vault-lock { fill: none; stroke: var(--cy); stroke-width: 2.4; stroke-linecap: round; }
.arch-svg .vault-lock-body { fill: rgba(var(--cy-rgb), 0.2); stroke: var(--cy); stroke-width: 1.6; }

.arch[data-focus="waf"] .node:not(.node-waf),
.arch[data-focus="wg"] .node:not(.node-wg),
.arch[data-focus="vault"] .node:not(.node-vault) { opacity: 0.45; }
.arch[data-focus="waf"] .node-waf .node-box,
.arch[data-focus="wg"] .node-wg .node-box,
.arch[data-focus="vault"] .node-vault .node-box { stroke: var(--em-2); fill: #0B1A16; stroke-width: 1.6; }

.arch-foot {
  display: grid;
  gap: 18px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .arch-foot { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tabs panel" "legend panel"; column-gap: 32px; align-items: start; }
  .arch-tabs { grid-area: tabs; }
  .arch-panels { grid-area: panel; }
  .arch-legend { grid-area: legend; }
}
.arch-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .arch-tabs { flex-direction: column; } }
.arch-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
  text-align: left;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.arch-tab:hover { color: #fff; border-color: var(--line-2); }
.arch-tab[aria-selected="true"] { color: #fff; border-color: rgba(var(--em-rgb), 0.55); background: rgba(var(--em-rgb), 0.1); }
.arch-tab-idx { font-size: 0.6875rem; color: var(--em-2); }
.arch-panel h3 { font-size: 1.0625rem; }
.arch-panel p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.65; color: var(--text-2); max-width: 46rem; }
.arch-panel:not([hidden]) { animation: fade-up 0.5s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-row li {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(var(--em-rgb), 0.28);
  background: rgba(var(--em-rgb), 0.06);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: #A7F3D0;
}
html[lang="el"] .chip-row li[data-i18n] { font-family: var(--f-body); font-weight: 600; }
.arch-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.75rem; color: var(--text-3); }
@media (min-width: 900px) { .arch-legend { flex-direction: column; } }
.arch-legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 3px; border-radius: 3px; }
.lg-red { background: #F87171; }
.lg-green { background: var(--em-2); }
.lg-cyan { background: #22D3EE; }

/* ---------- Timeline + stages ---------- */
.timeline {
  position: relative;
  display: none;
  height: 10px;
  margin: 56px 0 18px;
}
@media (min-width: 900px) { .timeline { display: block; } }
.timeline::before, .timeline-fill {
  content: "";
  position: absolute; left: 16.66%; right: 16.66%; top: 4px;
  height: 1px;
  background: var(--line-2);
}
.timeline-fill {
  background: linear-gradient(90deg, var(--em-2), var(--cy));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s var(--ease) 0.2s;
}
.timeline.is-in .timeline-fill { transform: scaleX(1); }
.timeline i {
  position: absolute; top: 0;
  width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--em-2);
  box-shadow: 0 0 12px rgba(var(--em2-rgb), 0.6);
}
.timeline i:nth-of-type(1) { left: 16.66%; }
.timeline i:nth-of-type(2) { left: 50%; }
.timeline i:nth-of-type(3) { left: 83.33%; }

.stages { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 0; } }
.stage { padding: 24px; }
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.stage-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--em-2); }
.stage-time {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.6875rem; font-weight: 600; color: var(--text-2);
  white-space: nowrap;
}
.stage h3 { font-size: 1.125rem; line-height: 1.3; }
.stage p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.65; color: var(--text-2); }

/* ---------- Executive report preview ---------- */
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 1024px) { .report-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.report-copy .section-head { margin-bottom: 28px; }
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.9375rem;
  color: #D1D5DB;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(var(--em-rgb), 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%2334D399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(var(--em-rgb), 0.35);
}
.report-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.report-note { font-size: 0.8125rem; color: var(--text-3); }

.report-visual { perspective: 1800px; }
.doc-tilt { transition: transform 0.9s var(--ease); transform-style: preserve-3d; }
@media (min-width: 1024px) and (hover: hover) {
  .doc-tilt { transform: rotateY(-7deg) rotateX(4deg) rotateZ(0.4deg); }
  .report-visual:hover .doc-tilt, .report-visual:focus-within .doc-tilt { transform: none; }
}
.doc {
  padding: 22px;
  background: linear-gradient(180deg, rgba(22, 25, 33, 0.94) 0%, rgba(12, 13, 18, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 50px 120px -50px rgba(0, 0, 0, 1),
    0 0 90px -40px rgba(var(--em-rgb), 0.35);
}
@media (min-width: 640px) { .doc { padding: 28px; } }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.doc-brand { display: flex; align-items: center; gap: 12px; }
.doc-emblem { width: 30px; height: 30px; overflow: visible; }
.doc-brand-name { font-size: 0.75rem; font-weight: 600; color: #fff; letter-spacing: 0.08em; }
.doc-type { font-size: 0.6875rem; font-weight: 700; color: var(--text-3); letter-spacing: 0.12em; margin-top: 2px; }
.doc-stamp {
  padding: 4px 9px;
  border: 1.5px solid rgba(var(--cr-rgb), 0.7);
  border-radius: 5px;
  color: #F87171;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  transform: rotate(-3deg);
  white-space: nowrap;
}
.doc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-meta dt { font-size: 0.6875rem; font-weight: 600; color: var(--text-3); }
.doc-meta dd { margin-top: 3px; font-size: 0.8125rem; color: #E5E7EB; display: flex; align-items: center; gap: 6px; }
.doc-suffix { color: var(--text-2); }
.redact {
  display: inline-block;
  width: var(--w, 6em);
  height: 0.95em;
  border-radius: 2px;
  background: repeating-linear-gradient(-45deg, #1F232B 0 5px, #161920 5px 10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.doc-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
@media (min-width: 560px) { .doc-kpis { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } }
.doc-kpi {
  --tone-rgb: var(--am-rgb);
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--tone-rgb), 0.28);
  background: rgba(var(--tone-rgb), 0.07);
}
.doc-kpi span { font-size: 0.6875rem; font-weight: 600; color: var(--text-2); }
.doc-kpi strong { font-size: 1.125rem; font-weight: 700; color: rgb(var(--tone-rgb)); letter-spacing: 0.04em; }
.kpi-overall, .kpi-crit { --tone-rgb: var(--cr-rgb); }
.kpi-med { --tone-rgb: 250, 204, 21; }
.kpi-overall strong { font-family: var(--f-body); font-size: 1rem; }

.doc-summary { margin-top: 16px; }
.doc-summary-title { font-size: 0.75rem; font-weight: 700; color: #E5E7EB; }
.blurred { margin-top: 4px; font-size: 0.8125rem; line-height: 1.55; color: var(--text-2); filter: blur(3.5px); user-select: none; }

.doc-tabs {
  display: flex;
  gap: 4px;
  margin-top: 18px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  overflow-x: auto;
  scrollbar-width: none;
}
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tab {
  flex: 1 0 auto;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.doc-tab:hover { color: #fff; }
.doc-tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.doc-panel { margin-top: 16px; min-height: 248px; }
.doc-panel:not([hidden]) { animation: fade-up 0.45s var(--ease); }

.matrix-wrap {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  float: none;
}
.matrix-y {
  grid-row: 1; grid-column: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.625rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em;
  text-align: center;
}
.matrix-x { grid-row: 2; grid-column: 2; font-size: 0.625rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em; text-align: center; }
.matrix {
  grid-row: 1; grid-column: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 3px;
  aspect-ratio: 5 / 3.4;
}
.m-cell {
  position: relative;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--em-rgb), 0.12);
}
.m-cell.t-a { background: rgba(var(--am-rgb), 0.16); }
.m-cell.t-r { background: rgba(var(--cr-rgb), 0.22); }
.m-mark {
  position: relative;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: #0A0B0F;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.m-mark.is-active { transform: scale(1.18); border-color: var(--em-2); box-shadow: 0 0 0 3px rgba(var(--em2-rgb), 0.18); }

.findings { display: grid; gap: 6px; margin-top: 14px; }
.finding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.75rem;
  cursor: default;
  transition: border-color 0.25s, background-color 0.25s;
}
.finding:hover, .finding:focus-visible, .finding.is-active { border-color: rgba(var(--em-rgb), 0.45); background: rgba(var(--em-rgb), 0.05); }
.finding-id { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--text-3); }
.finding-title { color: #E5E7EB; min-width: 0; }
.finding-title .mono { color: var(--text-3); font-size: 0.6875rem; margin-left: 6px; }
.sev {
  --tone-rgb: var(--am-rgb);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--tone-rgb));
  background: rgba(var(--tone-rgb), 0.12);
  white-space: nowrap;
}
.sev-crit { --tone-rgb: var(--cr-rgb); }
.sev-med { --tone-rgb: 250, 204, 21; }
.sev-ok { --tone-rgb: var(--em2-rgb); }

.art15-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.art15-ready strong { color: var(--am); font-size: 0.875rem; }
.art15-bar { margin-top: 8px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.art15-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0.38)); background: linear-gradient(90deg, var(--cr), var(--am)); border-radius: inherit; }
.art15 { display: grid; gap: 6px; margin-top: 14px; }
.art15 li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.75rem;
}
.art15-ref { font-size: 0.6875rem; font-weight: 600; color: var(--text-3); }
.art15-ctrl { color: #E5E7EB; }
.art15-ctrl .mono { color: var(--text-3); font-size: 0.625rem; margin-left: 6px; }

.plan { display: grid; gap: 6px; counter-reset: plan; }
.plan li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.75rem;
}
.plan-when { font-weight: 700; color: var(--em-2); font-size: 0.6875rem; }
.plan-what { color: #E5E7EB; }
.plan-ref { font-family: var(--f-mono); font-size: 0.625rem; color: var(--text-3); white-space: nowrap; }
.plan-residual {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--em-rgb), 0.3);
  background: rgba(var(--em-rgb), 0.06);
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
}
.plan-residual strong { font-size: 1rem; color: #fff; }
.doc-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.625rem; color: var(--text-3); }
.doc-foot .mono:first-child { color: var(--am); }

@media (max-width: 480px) {
  .art15 li { grid-template-columns: 44px minmax(0, 1fr); }
  .art15 li .sev { grid-column: 2; justify-self: start; }
  .plan li { grid-template-columns: minmax(0, 1fr) auto; }
  .plan-when { grid-column: 1 / -1; }
  .finding-title .mono { display: none; }
}

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.calc-questions .section-head { margin-bottom: 36px; }
.calc-q { margin-top: 28px; }
.calc-q:first-of-type { margin-top: 0; }
.calc-q-label { font-size: 0.9375rem; font-weight: 600; color: #E5E7EB; margin-bottom: 12px; }
.calc-options { display: grid; gap: 10px; }
@media (min-width: 640px) { .calc-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.calc-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 56px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-2);
  transition: border-color 0.25s, background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.calc-option:hover { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, 0.035); }
.calc-option[aria-checked="true"] {
  border-color: rgba(var(--em-rgb), 0.65);
  background: linear-gradient(180deg, rgba(var(--em-rgb), 0.14), rgba(var(--em-rgb), 0.05));
  color: #fff;
  box-shadow: 0 0 0 3px rgba(var(--em-rgb), 0.08);
}
.radio-dot {
  flex: none;
  position: relative;
  width: 16px; height: 16px; margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #4B5260;
  transition: border-color 0.25s;
}
.radio-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--em-2);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.calc-option[aria-checked="true"] .radio-dot { border-color: var(--em-2); }
.calc-option[aria-checked="true"] .radio-dot::after { transform: scale(1); }

.calc-output-col { position: relative; }
@media (min-width: 1024px) { .calc-output { position: sticky; top: calc(var(--header-h) + 24px); } }
.calc-output {
  --tone: var(--am); --tone-rgb: var(--am-rgb);
  padding: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 100px -50px rgba(0, 0, 0, 1),
    0 0 90px -40px rgba(var(--tone-rgb), 0.45);
  transition: box-shadow 0.6s var(--ease);
}
.calc-output[data-tone="crit"] { --tone: var(--cr); --tone-rgb: var(--cr-rgb); }
.calc-output[data-tone="ok"] { --tone: var(--em-2); --tone-rgb: var(--em2-rgb); }
.calc-out-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-out-title { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.calc-badge {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(var(--tone-rgb), 0.4);
  background: rgba(var(--tone-rgb), 0.12);
  color: var(--tone);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.4s, background-color 0.4s, border-color 0.4s;
}
.calc-out-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 0 18px; }
@media (max-width: 380px) { .calc-out-body { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.gauge { position: relative; width: 148px; height: 148px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 8; }
.gauge-track { stroke: rgba(255, 255, 255, 0.06); }
.gauge-ticks { stroke: rgba(255, 255, 255, 0.12); stroke-width: 14; stroke-dasharray: 0.6 7.565; opacity: 0.6; }
.gauge-fill {
  stroke: var(--tone);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 163.36;
  transition: stroke-dashoffset 0.9s var(--ease), stroke 0.5s;
}
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge-label { font-size: 0.625rem; font-weight: 600; color: var(--text-3); max-width: 90px; line-height: 1.25; }
.gauge-val { font-size: 2.375rem; font-weight: 600; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.gauge-val .dim { font-size: 0.875rem; }

.calc-status-label { font-size: 0.75rem; font-weight: 600; color: var(--text-3); }
.calc-nis2 { margin-top: 4px; font-size: 0.9375rem; font-weight: 700; line-height: 1.35; transition: color 0.4s; }
.calc-nis2.n-crit { color: #F87171; }
.calc-nis2.n-warn { color: #FBBF24; }
.calc-nis2.n-ok { color: var(--em-2); }
.calc-bar-track { margin-top: 16px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.calc-bar {
  height: 100%; width: 100%;
  border-radius: inherit;
  background: var(--tone);
  transform-origin: left center;
  transform: scaleX(0.5);
  transition: transform 0.9s var(--ease), background-color 0.5s;
}
.calc-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.625rem; color: var(--text-3); }
.calc-summary { min-height: 4.8em; font-size: 0.9375rem; line-height: 1.6; color: #D1D5DB; margin-bottom: 20px; }
.calc-disclaimer { margin-top: 12px; font-size: 0.75rem; color: var(--text-3); text-align: center; }

/* ---------- Pricing ---------- */
.tier-grid { display: grid; gap: 18px; }
@media (min-width: 1024px) { .tier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; } }
.tier { display: flex; flex-direction: column; padding: 28px; }
.tier-featured {
  background: linear-gradient(180deg, rgba(16, 40, 33, 0.7) 0%, rgba(10, 13, 15, 0.96) 55%);
  box-shadow:
    inset 0 1px 0 rgba(var(--em2-rgb), 0.25),
    0 30px 80px -40px rgba(var(--em-rgb), 0.55);
}
.tier-featured::before {
  background: linear-gradient(170deg, rgba(var(--em2-rgb), 0.7), rgba(var(--em-rgb), 0.18) 40%, rgba(var(--cy-rgb), 0.25) 100%);
}
@media (hover: hover) and (pointer: fine) {
  .tier-featured.spot:hover {
    background:
      radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--em-rgb), 0.1), transparent 60%),
      linear-gradient(180deg, rgba(16, 40, 33, 0.7) 0%, rgba(10, 13, 15, 0.96) 55%);
  }
}
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier-code { font-size: 0.75rem; font-weight: 600; color: var(--em-2); letter-spacing: 0.04em; }
.tier-tag {
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6875rem; font-weight: 600; color: var(--text-2);
  white-space: nowrap;
}
.tier-tag-featured { color: #A7F3D0; border-color: rgba(var(--em-rgb), 0.45); background: rgba(var(--em-rgb), 0.14); }
.tier h3 { margin-top: 20px; font-size: 1.3125rem; line-height: 1.25; }
.tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; }
.price-main { font-size: 2.25rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.price-sub { font-size: 0.875rem; color: var(--text-3); }
.tier-time {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
}
.tier-time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--em-2); box-shadow: 0 0 8px rgba(var(--em2-rgb), 0.7); }
.tier-desc { margin-top: 14px; font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.tier-list { display: grid; gap: 11px; margin: 20px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.tier-list li { position: relative; padding-left: 26px; font-size: 0.9rem; line-height: 1.5; color: #D1D5DB; }
.tier-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.2 2.9 2.9 6-6.2' fill='none' stroke='%2334D399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.pricing-note { margin-top: 24px; font-size: 0.8125rem; color: var(--text-3); text-align: center; }

/* ---------- About ---------- */
.about {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 32px 24px;
}
@media (min-width: 640px) { .about { padding: 44px; } }
@media (min-width: 1024px) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding: 56px; align-items: center; } }
.about-watermark {
  position: absolute;
  right: -80px; top: -60px;
  width: 420px; height: 420px;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}
.about-quote {
  margin-top: 16px;
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem);
  line-height: 1.25;
}
.about-bio { margin-top: 18px; font-size: 1rem; line-height: 1.75; color: var(--text-2); }
.about-facts { display: grid; gap: 10px; }
.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.fact dt { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.fact dd { font-size: 0.875rem; font-weight: 600; color: #fff; text-align: right; }
.link-signal { color: var(--em-2); transition: color 0.2s; overflow-wrap: anywhere; }
.link-signal:hover { color: #6EE7B7; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Closing CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: 96px 0 104px; border-top: 1px solid var(--line); isolation: isolate; }
.cta-glow {
  position: absolute; left: 50%; top: 100%;
  width: 1100px; height: 700px; margin-left: -550px; margin-top: -360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--em-rgb), 0.2), rgba(var(--cy-rgb), 0.05) 55%, transparent 75%);
  z-index: -1;
  animation: drift-1 20s var(--ease-io) infinite alternate;
  will-change: transform;
}
.cta-inner { text-align: center; max-width: 52rem; }
.cta-title { margin-top: 16px; font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.75rem); line-height: 1.16; }
.cta-sub { margin-top: 16px; color: var(--text-2); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-actions .mono { font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050608; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand .brand-emblem { width: 30px; height: 30px; }
.footer-copy { margin-top: 6px; font-size: 0.8125rem; color: var(--text-3); max-width: 38rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.8125rem; color: var(--text-3); }
.footer-links a:hover { color: #fff; }

/* =====================================================================
   MODAL
   ===================================================================== */
.modal {
  position: fixed; inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(2, 3, 5, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: auto;
  padding: 26px 22px 22px;
  background: linear-gradient(180deg, rgba(22, 25, 33, 0.97) 0%, rgba(11, 12, 16, 0.99) 100%);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 1), 0 0 100px -40px rgba(var(--em-rgb), 0.4);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
@media (min-width: 640px) { .modal-panel { padding: 32px 30px 28px; } }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.modal-close svg { width: 16px; height: 16px; }
.modal-brand { font-size: 0.6875rem; color: var(--em-2); letter-spacing: 0.08em; }
.modal-head h3 { margin-top: 6px; font-size: 1.375rem; padding-right: 36px; }
.modal-head p { margin-top: 6px; font-size: 0.875rem; color: var(--text-2); }
.modal-steps { display: flex; gap: 8px; margin-top: 18px; }
.modal-steps li {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--line-2);
  font-size: 0.75rem; font-weight: 600; color: var(--text-3);
  transition: border-color 0.4s, color 0.4s;
}
.modal-steps li .mono {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 0.6875rem;
}
.modal-steps li.is-active, .modal-steps li.is-done { border-top-color: var(--em-2); color: #fff; }
.modal-steps li.is-active .mono, .modal-steps li.is-done .mono { border-color: var(--em-2); color: var(--em-2); }

.modal-form, .modal-success { margin-top: 22px; display: grid; gap: 14px; }
.modal-success:not([hidden]), .modal-form:not([hidden]) { animation: fade-up 0.45s var(--ease); }
.field label { display: block; margin-bottom: 6px; font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 500 0.9375rem/1.4 var(--f-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { resize: vertical; min-height: 84px; }
.input::placeholder { color: #5B616C; }
.input:focus { outline: none; border-color: rgba(var(--em-rgb), 0.7); box-shadow: 0 0 0 3px rgba(var(--em-rgb), 0.15); }
.input-readonly { color: var(--em-2); font-weight: 600; font-size: 0.8125rem; background: rgba(var(--em-rgb), 0.05); border-color: rgba(var(--em-rgb), 0.25); }
.modal-ready {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(var(--em-rgb), 0.3);
  background: rgba(var(--em-rgb), 0.08);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #D1FAE5;
}
.modal-ready:focus { outline: none; }
.preview-label { font-size: 0.75rem; font-weight: 600; color: var(--text-3); margin-bottom: -6px; }
.modal-preview {
  margin: 0;
  max-height: 200px;
  overflow: auto;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  font-family: var(--f-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #D1D5DB;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.modal-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .modal-actions { grid-template-columns: 1fr 1fr; } }
.modal-direct { font-size: 0.8125rem; color: var(--text-2); text-align: center; }
.modal-copy-status { min-height: 1.2em; font-size: 0.75rem; color: var(--em-2); text-align: center; }
.modal-back { justify-self: center; font-size: 0.8125rem; font-weight: 600; color: var(--text-3); padding: 6px 10px; border-radius: 8px; }
.modal-back:hover { color: #fff; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .aurora, .defense-field, .cta-glow, .scan-beam, .arch-svg .wall-beam, .arch-svg .wall-beam-h { animation: none !important; }
  .scan-beam { display: none; }
  /* Static packet positions so the diagram still reads as "traffic stopped at the wall" */
  .arch-svg .pkt { animation: none !important; stroke-dasharray: 6 200; stroke-dashoffset: -80; }
  .arch-svg .impact { animation: none !important; opacity: 0.85; transform: none; }
  .live-dot::after, .sev-dot, .caret { animation: none !important; }
  .doc-tilt { transform: none !important; }
}
