/* ============================================================
   ForensicsGuard — institutional forensic-dossier design system
   Palette : deep navy command-console, electric blue, signal cyan
   Type    : Sora (display) / Inter (body) / JetBrains Mono (data)
   ============================================================ */

:root {
  /* Surfaces */
  --bg:            #040b15;
  --bg-2:          #061320;
  --panel:         #0a1929;
  --panel-2:       #0c1e32;
  --panel-line:    rgba(86, 170, 240, 0.16);
  --panel-line-2:  rgba(86, 170, 240, 0.30);

  /* Ink */
  --text:          #eaf3fb;
  --text-soft:     #b6cbe0;
  --muted:         #84a0bd;
  --muted-2:       #5d7794;

  /* Brand */
  --blue:          #1f9dff;
  --blue-bright:   #45b6ff;
  --cyan:          #36d4e6;
  --teal:          #4fe0c4;
  --amber:         #ffc14d;

  /* Effects */
  --shadow:        0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-sm:     0 12px 32px rgba(0, 0, 0, 0.35);
  --ring:          0 0 0 4px rgba(31, 157, 255, 0.16);

  /* Geometry */
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 9px;
  --container: 1200px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Sora", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient grid + glow, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(31, 157, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(54, 212, 230, 0.08), transparent 60%),
    linear-gradient(180deg, #040b15 0%, #05101c 50%, #040a13 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 190, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px; top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #021018;
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- Classification band ---------- */
.class-band {
  background: #02080f;
  border-bottom: 1px solid rgba(86, 170, 240, 0.12);
}
.class-band-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.class-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 2.6s ease-in-out infinite;
}
.class-sep { color: var(--muted-2); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 11, 21, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--panel-line);
}
.nav-shell {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(86,170,240,0.25), 0 6px 18px rgba(0,0,0,0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links > a {
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--text-soft);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links > a:hover { color: var(--text); background: rgba(86, 170, 240, 0.08); }
.nav-links > a[aria-current="true"] { color: var(--blue-bright); }
.nav-cta {
  margin-left: 6px;
  padding: 10px 18px !important;
  color: #02101c !important;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 157, 255, 0.28);
}
.nav-cta:hover { background: linear-gradient(135deg, var(--blue-bright), var(--cyan)) !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.eyebrow.centered { justify-content: center; }
.eyebrow-ref {
  padding: 3px 8px;
  border: 1px solid var(--panel-line-2);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(54, 212, 230, 0.07);
  letter-spacing: 0.08em;
}

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; font-weight: 700; }
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -0.025em;
}
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); letter-spacing: -0.015em; }
p { margin: 14px 0 0; color: var(--text-soft); }

.section { padding: 92px 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-sub { font-size: 1.06rem; color: var(--muted); margin-top: 16px; }
.lead-text { font-size: 1.12rem; color: var(--text-soft); }
.muted-note { color: var(--muted); font-size: 0.92rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible { outline: none; box-shadow: var(--ring); }
.button.primary {
  color: #02101c;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 40px rgba(31, 157, 255, 0.26);
}
.button.primary:hover { box-shadow: 0 20px 48px rgba(31, 157, 255, 0.36); }
.button.ghost {
  color: var(--text);
  background: rgba(10, 25, 41, 0.7);
  border-color: var(--panel-line-2);
}
.button.ghost:hover { border-color: var(--blue); background: rgba(31, 157, 255, 0.1); }
.button.full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}
.hero-copy { max-width: 640px; }
.hero-lead {
  margin-top: 22px;
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px;
  margin: 42px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--panel-line);
}
.hero-stats div { min-width: 0; }
.hero-stats dt {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats dd {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--panel-line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(12, 30, 50, 0.92), rgba(6, 14, 24, 0.8));
  box-shadow: var(--shadow);
}
.hero-visual img { border-radius: 14px; width: 100%; height: auto; }
.hero-visual figcaption {
  margin-top: 14px;
  padding: 0 6px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* Radar signature element */
.hero-radar {
  position: absolute;
  top: -120px; right: -160px;
  width: 620px; height: 620px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}
.radar-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(54, 212, 230, 0.22);
  border-radius: 50%;
}
.radar-ring.r1 { width: 100%; height: 100%; }
.radar-ring.r2 { width: 66%; height: 66%; }
.radar-ring.r3 { width: 33%; height: 33%; }
.radar-sweep {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, rgba(54, 212, 230, 0.28) 355deg, transparent 360deg);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* ---------- Audience strip ---------- */
.audience-strip {
  border-block: 1px solid var(--panel-line);
  background: rgba(6, 16, 28, 0.6);
}
.audience-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding: 24px 0;
}
.audience-label {
  margin: 0;
  font-size: 0.82rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-left: auto;
}
.audience-list li {
  position: relative;
  padding-left: 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-soft);
}
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

/* ============================================================
   MISSION PROFILES
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mission-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--panel), rgba(6, 16, 28, 0.7));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mission-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-line-2);
  box-shadow: var(--shadow-sm);
}
.mission-top { margin-bottom: 16px; }
.mission-ref {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.mission-card h3 { color: var(--text); }
.mission-card > p { color: var(--muted); font-size: 0.97rem; }
.ticks { margin: 20px 0; display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.inline-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-bright);
  transition: gap 0.2s ease;
}
.inline-link::after { content: " →"; }
.inline-link:hover { color: var(--cyan); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform { background: rgba(5, 13, 23, 0.5); border-block: 1px solid var(--panel-line); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: prod;
}
.product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--panel), rgba(6, 14, 24, 0.7));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--panel-line-2); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #0a1c30, #03080f);
  border: 1px solid var(--panel-line);
  display: grid;
  place-items: center;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product-body { min-width: 0; }
.product-body h3 { color: var(--text); margin-top: 4px; }
.product-body p { font-size: 0.93rem; color: var(--muted); margin-top: 10px; }
.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #02101c;
}
.tag.free { background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.tag.pro { background: linear-gradient(135deg, var(--blue), var(--cyan)); }

/* ============================================================
   SPLIT SECTIONS (gov / journalists / intelligence / about)
   ============================================================ */
.split-section.alt { background: rgba(5, 13, 23, 0.5); border-block: 1px solid var(--panel-line); }
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 48px;
  align-items: start;
}
.split-grid.reverse { grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr); }
.split-copy { max-width: 620px; }

/* Program / workflow cards (the "case file" device) */
.program-card, .workflow-card, .about-card {
  border: 1px solid var(--panel-line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--panel-2), rgba(5, 13, 23, 0.8));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.program-head {
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--panel-line);
  background: rgba(31, 157, 255, 0.05);
}
.program-ref {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.program-head h3 { color: var(--text); }
.program-steps { padding: 14px 26px 26px; display: grid; gap: 2px; }
.program-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed var(--panel-line);
}
.program-steps li:last-child { border-bottom: 0; }
.program-steps span {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--blue-bright);
  background: rgba(31, 157, 255, 0.1);
  border: 1px solid var(--panel-line-2);
}
.program-steps p { margin: 0; font-size: 0.94rem; color: var(--text-soft); }

.about-card { padding: 28px; }
.about-card .program-ref { display: block; }
.about-card p { color: var(--text-soft); }
.about-card strong { color: var(--text); }

/* ---------- App section ---------- */
.app-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.app-image {
  margin: 0;
  justify-self: center;
  max-width: 320px;
  padding: 16px;
  border: 1px solid var(--panel-line-2);
  border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 30%, rgba(31,157,255,0.12), rgba(5,13,23,0.85));
  box-shadow: var(--shadow);
}
.app-image img { border-radius: 14px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.feature-grid li {
  position: relative;
  padding: 14px 16px 14px 38px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  background: rgba(10, 25, 41, 0.55);
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 500;
}
.feature-grid li::before {
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 11px; height: 6px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
}

/* ---------- Principles ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.principles-grid li {
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  background: rgba(10, 25, 41, 0.55);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Responsible use ---------- */
.responsible-box {
  max-width: 880px;
  margin-inline: auto;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--panel-line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 224, 196, 0.1), transparent 60%),
    linear-gradient(160deg, var(--panel-2), rgba(5, 13, 23, 0.85));
  box-shadow: var(--shadow-sm);
}
.responsible-box > p { max-width: 680px; margin-inline: auto; color: var(--text-soft); }
.commitments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.commitments li {
  padding: 9px 15px;
  border: 1px solid rgba(79, 224, 196, 0.28);
  border-radius: 999px;
  background: rgba(79, 224, 196, 0.06);
  color: #d3fff4;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: rgba(5, 13, 23, 0.4); border-top: 1px solid var(--panel-line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}
.contact-meta { margin-top: 28px; display: grid; gap: 1px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--panel-line); }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 16px 18px;
  background: rgba(10, 25, 41, 0.5);
}
.contact-key {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 110px;
}
.contact-val { color: var(--text-soft); font-weight: 500; }
a.contact-val:hover { color: var(--blue-bright); }

.contact-form {
  padding: 30px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--panel), rgba(6, 14, 24, 0.78));
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--panel-line-2);
  background: rgba(3, 10, 19, 0.7);
  color: var(--text);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2384a0bd' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 56px 0 26px;
  background: #02080f;
  border-top: 1px solid var(--panel-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--panel-line);
}
.footer-brand-col { max-width: 440px; }
.footer-brand-col .brand { margin-bottom: 18px; }
.footer-note { color: var(--muted); font-size: 0.9rem; }
.footer-links { display: grid; gap: 11px; align-content: start; }
.footer-links-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.footer-links a { color: var(--text-soft); font-size: 0.94rem; transition: color 0.16s ease; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-tag { font-family: var(--mono); letter-spacing: 0.06em; color: var(--muted-2); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Reveal animation — only active when JS is present (progressive enhancement).
   Without JS, all content is fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(4, 11, 21, 0.98);
    border: 1px solid var(--panel-line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-radar { opacity: 0.3; top: -80px; right: -200px; }
  .split-grid, .split-grid.reverse, .app-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-grid.reverse .workflow-card { order: 2; }
  .platform-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .audience-list { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .section { padding: 66px 0; }
  .hero { padding: 54px 0 64px; }
  .brand-text small { display: none; }
  .class-band-inner { font-size: 0.62rem; gap: 8px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats div { display: flex; align-items: baseline; gap: 14px; }
  .hero-stats dt { font-size: 1.7rem; }
  .hero-stats dd { margin: 0; }
  .feature-grid, .principles-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-media { max-width: 200px; aspect-ratio: 16/10; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .responsible-box { padding: 34px 22px; }
  .contact-form { padding: 22px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  h1 { font-size: clamp(2.1rem, 11vw, 2.8rem); }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .radar-sweep, .class-dot { animation: none; }
}
