/* ==========================================================================
   Anchor Point Cyber Security — stylesheet
   ========================================================================== */

:root {
  /* Surfaces: darkest to lightest, all at one hue (~252°) to match the video and SVG */
  --navy-950: #0a0716;  /* header, footer, hero top */
  --navy-900: #100b22;  /* page background */
  --navy-800: #181233;  /* raised sections */
  --navy-700: #221a47;  /* note boxes */
  --navy-600: #33266a;

  /* Accent */
  --purple-600: #6c4ff0;  /* solid fills only (hover backgrounds); no alpha */
  --purple-500: #a98cff;  /* brand accent, links, kickers */
  --purple-400: #9078f7;  /* button hover */
  --purple-100: #e4dcff;  /* light tint */

  /* Text */
  --paper: #f4f1f8;
  --paper-dim: #e8e3ef;
  --text-muted: #c9c5e6;  /* new: replaces var(--line) where it's used as text */
  --ink: #11161d;
  --ink-soft: #a29fcb;

  /* Lines */
  --line: rgba(169, 140, 255, 0.18);
  --line-dark: #2b2250;

  --white: #ffffff;
  --ok: #2f6f4f;          /* on light backgrounds */
  --ok-bright: #3ecf8e;   /* on dark backgrounds */


  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(17, 22, 29, 0.06), 0 8px 24px -12px rgba(17, 22, 29, 0.18);
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--white); color: var(--navy-900);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 14px; z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---- Type scale ------------------------------------------------------ */
h1, .h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
h3, .h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 650; }
.lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--text-muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--purple-500); font-weight: 500;
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 16px; height: 1px; background: var(--purple-500);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--purple-400); }
.btn-secondary { background: transparent; color: var(--purple-500); border-color: var(--line-dark); }
.btn-secondary:hover { background: var(--purple-600); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  margin-right: auto;
}
.brand img { width: 172px; height: 40px; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.94rem; font-weight: 500; color: var(--paper);
}
.nav-link:hover { background: var(--purple-600); }
.nav-link[aria-current="page"] { color: var(--paper); }

.has-dropdown { position: relative; }
.has-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.chevron { width: 10px; height: 10px; transition: transform .15s ease; }
.has-dropdown:hover .chevron, .has-dropdown:focus-within .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 320px; background: var(--navy-900); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500;
}
.dropdown a:hover { background: var(--purple-400); }
.dropdown-foot {
  border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px;
}
.dropdown-foot a { color: var(--paper); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); width: 42px; height: 42px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy-900);
  position: relative; transition: transform .15s ease, opacity .15s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .primary-nav { position: fixed; inset: 76px 0 0 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; padding: 16px; z-index: 90;
    transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; padding-left: 8px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-800) 55%, var(--navy-900));
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 85% -10%, rgba(201,162,39,0.28), transparent 15%);
  pointer-events: none;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-background video {
  width: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-copy {display: flex; flex-direction: column; align-items: center; text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 22px;
}
.chip img { width: 16px; height: 16px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lede { color: rgba(255,255,255,0.78); max-width: 46ch; margin-bottom: 30px; }

.support-line {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 34px; font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.support-line .logos-inline { display: flex; align-items: center; gap: 14px; }
.support-line img { height: 18px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.85; }

/* Hero illustration card */
.hero-diagram {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-diagram-head { display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.55);
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.flow-track { display: flex; flex-direction: column; gap: 10px; }
.flow-node {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 14px 16px;
}
.flow-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.flow-node.monitored .flow-dot { background: #5b9bd5; }
.flow-node.filtered .flow-dot { background: rgba(255,255,255,0.35); }
.flow-node.escalated .flow-dot { background: var(--purple-500); box-shadow: 0 0 0 4px rgba(201,162,39,0.18); }
.flow-node strong { display: block; font-size: 0.92rem; }
.flow-node span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.flow-arrow { align-self: center; color: rgba(255,255,255,0.3); font-size: 0.9rem; }
.flow-foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.16);
  font-size: 0.8rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 8px; }
.flow-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-bright); }

/* ---- Logo strip --------------------------------------------------------- */
.logo-strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logo-strip .eyebrow {
  text-align: center; font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 26px; font-family: var(--font-mono);
}
.logo-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; opacity: 0.72; }
.logo-row img { height: 26px; }
@media (max-width: 720px) { .logo-row { gap: 32px; } .logo-row img { height: 20px; } }

/* ---- Problem cards -------------------------------------------------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--navy-950); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.problem-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.problem-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.problem-card .body { padding: 22px 24px 26px; }
.problem-card .tag { font-family: var(--font-mono); font-size: 0.74rem; color: var(--purple-500); margin-bottom: 10px; display: block; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Steps ------------------------------------------------------------ */
.steps-rail-wrap { position: relative; }
.steps-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px;
  gap: 20px; overflow-x: auto; padding: 6px 6px 18px;
  scroll-snap-type: x proximity;
}
.steps-rail::-webkit-scrollbar { height: 6px; }
.steps-rail::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 3px; }
.step-card {
  scroll-snap-align: start;
  background: var(--navy-950); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.step-card .step-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--navy-900); display: flex; align-items: center; justify-content: center;
}
.step-card .step-icon img { width: 22px; height: 22px; filter: invert(46%) sepia(85%) saturate(3020%) hue-rotate(216deg) brightness(99%) contrast(91%); }
.step-card .step-index { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); }
.step-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Services --------------------------------------------------------- */
.services-showcase { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); }
@media (max-width: 900px) { .services-showcase { grid-template-columns: 1fr; } }
.services-showcase .feature-img { position: relative; overflow: hidden; min-height: 220px; }
.services-showcase .feature-img img { width: 100%; height: 100%; object-fit: cover; }
.services-list { padding: 8px; display: flex; flex-direction: column; }
.service-row {
  padding: 22px 20px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: background-color .15s ease;
}
@media (hover: hover) {
  .service-row:hover {
    background: rgba(169, 140, 255, 0.08);
  }
}
.service-row:focus-within {
  background: rgba(169, 140, 255, 0.08);
}
.service-row .learn::after {
  content: "";
  position: absolute;
  inset: 0;
}
.service-row:last-child { border-bottom: none; }
.service-row .learn {
  font-size: 0.88rem; font-weight: 600; color: var(--purple-500);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; width: fit-content;
}
.service-row p { color: var(--ink-soft); font-size: 0.93rem; }

/* Services index grid */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--navy-900);
  overflow: hidden; display: flex; flex-direction: column;
  position: relative;
  transition: background-color .15s ease, border-color .15s ease;
}
.svc-card .learn::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  .svc-card:hover {
    background: var(--navy-800);
    border-color: rgba(169, 140, 255, 0.4);
  }
}

.svc-card:focus-within {
  background: var(--navy-800);
  border-color: rgba(169, 140, 255, 0.4);
}
.svc-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card p { color: var(--paper); font-size: 0.94rem; }
.svc-card .learn { color: var(--purple-500); font-weight: 600; font-size: 0.9rem; margin-top: auto; }

/* ---- Approach strip ----------------------------------------------------- */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-item { padding-top: 18px; border-top: 2px solid var(--purple-500); }
.approach-item p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 6px; }

/* ---- Packages ----------------------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative;
}
.pkg-card.featured { border-color: var(--purple-500); box-shadow: var(--shadow-card); }
.pkg-badge {
  position: absolute; top: -13px; left: 24px; background: var(--purple-500); color: var(--navy-950);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.pkg-card .price { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-soft); }
.pkg-card ul { display: flex; flex-direction: column; gap: 10px; }
.pkg-card li { display: flex; gap: 10px; font-size: 0.93rem; align-items: flex-start; }
.pkg-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--purple-500); }

/* ---- Testimonials marquee ----------------------------------------------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.quote-card {
  width: 320px; flex-shrink: 0; background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
}
.quote-person { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900); color: var(--purple-400);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.quote-person strong { display: block; font-size: 0.92rem; }
.quote-person span { display: block; font-size: 0.8rem; color: #5b5790; }
.quote-card p { font-size: 0.94rem; }

/* ---- Pilot band ---------------------------------------------------------- */
.pilot-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .pilot-band { grid-template-columns: 1fr; padding: 36px 26px; } }
.pilot-band h2 { color: var(--white); }
.pilot-band p { color: rgba(255,255,255,0.75); }
.pilot-band ul { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 26px; }
.pilot-band li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.pilot-band li svg { color: var(--purple-500); flex-shrink: 0; margin-top: 3px; }
.pilot-visual {
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-md);
  padding: 28px; background: rgba(255,255,255,0.04); text-align: center;
}
.pilot-visual .num { font-size: 3rem; font-weight: 700; color: var(--purple-500); font-family: var(--font-mono); }
.pilot-visual .label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 6px; }

/* ---- FAQ ------------------------------------------------------------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-size: 1.02rem; font-weight: 600;
}
.faq-q .plus { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--purple-600); transition: transform .2s ease, opacity .2s ease;
}
.faq-q .plus::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-q .plus::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq-item[data-open="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.faq-a-inner { padding: 0 4px 22px; color: var(--text-muted); font-size: 0.96rem; max-width: 62ch; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 52px; text-align: center;
}
.cta-band .section-head { margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 72px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.footer-brand img { width: 172px; height: 40px; }
.footer-about p { font-size: 0.9rem; max-width: 32ch; margin-bottom: 16px; }
.footer-about a { color: var(--purple-400); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.83rem; flex-wrap: wrap; gap: 10px; }
.footer-tag { font-family: var(--font-mono); }
.social-icon img { display: block; filter: brightness(0) invert(1); }

/* ---- Inner page hero (non-home) ----------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-800));
  color: var(--white); padding: 60px 0 72px;
}
.page-hero .kicker { color: var(--purple-400); }
.page-hero .kicker::before { background: var(--purple-400); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lede { color: rgba(255,255,255,0.78); max-width: 60ch; }
.page-hero .btn-row { margin-top: 28px; }
.badge-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 999px;
}

/* ---- Generic content blocks ---------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }

.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .card-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; } }

.info-card { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.info-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.info-card p { color: var(--ink-soft); font-size: 0.92rem; }

.list-check { display: flex; flex-direction: column; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; }
.list-check li svg { color: var(--purple-500); flex-shrink: 0; margin-top: 3px; }

.note-box {
  background: var(--navy-700); border-left: 3px solid var(--purple-400);
  border-radius: var(--radius-sm); padding: 18px 20px; font-size: 0.93rem; color: var(--paper-dim);
}

.env-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.env-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--purple-500);
  border: 1px solid var(--purple-500); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
}
.env-pill img { height: 16px; width: auto; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; position: relative; transition: background-color .15s ease, border-color .15s ease; }
.related-card h3 { font-size: 1rem; margin-bottom: 8px; }
.related-card p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 12px; }
.related-card .learn { color: var(--purple-500); font-weight: 600; font-size: 0.88rem; }
.related-card .learn::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  .related-card:hover {
    background: var(--navy-800);
    border-color: rgba(169, 140, 255, 0.4);
  }
}

.related-card:focus-within {
  background: var(--navy-800);
  border-color: rgba(169, 140, 255, 0.4);
}

/* ---- About page specifics ------------------------------------------------ */
.mission-strip {
  background: var(--navy-950); color: var(--white); border-radius: var(--radius-lg);
  padding: 40px; margin-top: 30px; display: flex; align-items: center; gap: 20px;
}
.mission-strip p { font-size: 1.1rem; line-height: 1.4; }

.principle-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--navy-900); }
.principle-card .num { font-family: var(--font-mono); color: var(--purple-500); font-size: 0.85rem; margin-bottom: 10px; display: block; }

.approach-block {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center;
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px;
}
@media (max-width: 720px) { .approach-block { grid-template-columns: 1fr; } }
.approach-avatar {
  aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-900);
}
.approach-avatar img { width: 100%; height: 100%; object-fit: cover; filter: invert(36%) sepia(97%) saturate(4528%) hue-rotate(242deg) brightness(96%) contrast(91%);}

/* ---- Contact / Pilot forms ------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

.next-steps { display: flex; flex-direction: column; gap: 22px; margin: 26px 0 30px; }
.next-step { display: flex; gap: 16px; }
.next-step .idx {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: var(--purple-400);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono);
  font-size: 0.8rem; flex-shrink: 0;
}
.next-step h3 { font-size: 0.98rem; margin-bottom: 4px; }
.next-step p { font-size: 0.9rem; color: var(--ink-soft); }

.prefer-email {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px;
  background: var(--ink); font-size: 0.92rem; margin-bottom: 18px;
}
.prefer-email a { color: var(--purple-500); font-weight: 600; }

.provider-note {
  border: 1px dashed var(--line-dark); border-radius: var(--radius-md); padding: 16px 18px;
  font-size: 0.88rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 22px;
}
.provider-note .pill { font-family: var(--font-mono); font-size: 0.72rem; background: var(--paper-dim); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.checklist {
  border: 1px dashed var(--line-dark); border-radius: var(--radius-md); padding: 16px 18px;
  font-size: 0.88rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 10px; align-items: left; margin-bottom: 22px;
}
.form-panel {
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px;
}
.form-panel > p.muted { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 26px; }
.form-section-label {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--purple-500);
  display: flex; align-items: center; gap: 8px; margin: 30px 0 16px;
}
.form-section-label:first-of-type { margin-top: 0; }
.form-section-label .idx {
  width: 22px; height: 22px; border-radius: 50%; background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--ink);
}
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin: -8px 0 16px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 11px 13px; background: var(--navy-950); font-size: 0.94rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple-500); }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-flex; padding: 9px 16px; border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: 0.88rem; font-weight: 500;
}
.radio-pill input:checked + span { background: var(--purple-500); color: var(--white); border-color: var(--navy-900); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--purple-500); outline-offset: 2px; }

.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: 0.86rem; color: var(--ink-soft); }
.consent-row a { color: var(--purple-500); font-weight: 600; }
.consent-row input { margin-top: 3px; }

.form-foot-note { text-align: center; font-size: 0.86rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eaf3ee; color: var(--ok); border: 1px solid #bfe0cd; }
.form-status.err { background: #fbeaea; color: #a13636; border: 1px solid #f0c6c6; }

/* ---- Legal pages --------------------------------------------------------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 10px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-body ul li { margin-bottom: 6px; }
.legal-meta { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 4px; }
.draft-flag {
  display: inline-block; background: var(--purple-400); color: var(--paper); border: 1px solid var(--purple-400);
  font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* Utility */
.mt-lg { margin-top: 40px; }
.center-text { text-align: center; }
.highlight a { color: var(--purple-400); }
.highlight a:hover { color: var(--white); }
.highlight-inverted a { color: var(--white); }
.highlight-inverted a:hover { color: var(--purple-400); }
