/* =============================================================
   NAVIS ARCA — Maritime Cyber Defence
   Shared stylesheet · v2 (official brand kit)
   ============================================================= */

/* ─── Design tokens ─────────────────────────────────────────── */
/* All values aligned with the official Navis Arca brand kit:
   brand-navy #232463, brand-aqua #7EE8F0, plus elite extensions. */
:root {
  /* ── Brand core (from kit) ── */
  --brand-navy:     #232463;   /* logo ground */
  --brand-aqua:     #7EE8F0;   /* logo mark */
  --brand-ink:      #0B0E2A;   /* deepest navy — max contrast text */
  --elite-deep:     #0B1A3A;   /* dramatic dark sections */
  --elite-gold:     #D4AF37;   /* premium accent — used sparingly */
  --elite-charcoal: #1A1F2E;
  --elite-cream:    #F4ECD8;

  /* ── Aqua scale (from kit) ── */
  --aqua-50:  #F2FDFE; --aqua-100: #DCF8FB; --aqua-200: #BCF1F6;
  --aqua-300: #9CEAF1; --aqua-400: #7EE8F0; --aqua-500: #5DD3DC;
  --aqua-600: #3FB6C2; --aqua-700: #2A8C99; --aqua-800: #1B6470;
  --aqua-900: #0F424B;

  /* ── Navy scale (from kit) ── */
  --navy-50:  #ECECF7; --navy-100: #C9CAE7; --navy-200: #9495C9;
  --navy-300: #5F61AB; --navy-400: #3A3C8B; --navy-500: #232463;
  --navy-600: #1C1D52; --navy-700: #151641; --navy-800: #0E0F30;
  --navy-900: #07081C;

  /* ── Legacy aliases (so existing rules just keep working) ── */
  --abyss:     var(--brand-ink);   /* footer / darkest */
  --deep:      var(--navy-700);    /* page headers, deep bands */
  --hull:      var(--brand-navy);  /* core brand navy */
  --steel:     var(--navy-400);    /* lighter navy / hovers */
  --cyan:      var(--aqua-600);    /* darker aqua — accents on light bg */
  --cyan-soft: var(--brand-aqua);  /* brand aqua */
  --teal:      var(--aqua-600);    /* used as eyebrow accent */
  --teal-soft: var(--aqua-200);
  --aqua:      var(--brand-aqua);
  --foam:      var(--aqua-100);    /* aqua-tinted soft bg */
  --paper:     #F7F8FA;            /* main page bg */
  --ink:       var(--brand-ink);   /* body text */
  --muted:     #5F6776;
  --line:      #DCE0E8;
  --success:   #2E9E5C;
  --warn:      #E0A100;
  --danger:    #D92D20;

  /* ── Shadows — based on the brand-ink (deeper navy than v1) ── */
  --shadow-sm:    0 1px 3px rgba(11, 14, 42, 0.10), 0 1px 2px rgba(11, 14, 42, 0.05);
  --shadow-md:    0 4px 12px rgba(11, 14, 42, 0.10), 0 2px 4px rgba(11, 14, 42, 0.05);
  --shadow-lg:    0 12px 32px rgba(11, 14, 42, 0.14), 0 4px 8px rgba(11, 14, 42, 0.06);
  --shadow-glow:  0 0 0 4px rgba(126, 232, 240, 0.28);

  /* ── Gradients — all navy, with proper kit aqua for the sweeps ── */
  --grad-hero:    linear-gradient(135deg, var(--brand-ink) 0%, var(--brand-navy) 55%, var(--navy-400) 110%);
  --grad-cyan:    linear-gradient(135deg, var(--brand-aqua) 0%, var(--aqua-600) 100%);
  --grad-teal:    linear-gradient(135deg, var(--aqua-600) 0%, var(--brand-aqua) 100%);
  --grad-deep:    linear-gradient(135deg, var(--navy-700) 0%, var(--brand-navy) 100%);
  --grad-soft:    linear-gradient(180deg, var(--paper) 0%, #ECECF7 100%);
  --grad-accent:  linear-gradient(135deg, var(--navy-400) 0%, var(--aqua-500) 100%);

  /* Typography scale */
  --t-xs:   12px;
  --t-sm:   13.5px;
  --t-base: 15px;
  --t-md:   17px;
  --t-lg:   19px;
  --t-xl:   24px;
  --t-2xl:  32px;
  --t-3xl:  44px;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.mono    { font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace; }
.display { font-family: 'Oswald', 'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section   { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* ─── Typography ──────────────────────────────────────────────
   The brand display face is Oswald — used uppercase for h1/h2,
   gives the site its industrial-maritime weight. Body stays Inter. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Oswald', 'Bebas Neue', 'Impact', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 28px; height: 3px;
  background: var(--brand-aqua); border-radius: 2px;
}
h1, h2 {
  font-family: 'Oswald', 'Bebas Neue', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.005em; line-height: 1.05;
  font-weight: 700;
}
h3, h4 { letter-spacing: -0.015em; line-height: 1.2; }
h1 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; color: var(--ink); line-height: 1.1; }
h3 { font-size: var(--t-xl); font-weight: 700; margin: 0 0 10px; }
h4 { font-size: var(--t-md); font-weight: 700; margin: 0 0 8px; }
.section-sub {
  font-size: var(--t-md); color: var(--muted);
  max-width: 680px; margin: 0 0 56px;
}
.accent {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: var(--t-base);
  border: 1px solid transparent;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease),
              background .15s var(--ease), color .15s var(--ease);
  cursor: pointer; white-space: nowrap;
}
/* Primary CTA per official spec — navy field with aqua text */
.btn-primary {
  background: var(--brand-navy); color: var(--brand-aqua);
  box-shadow: 0 8px 24px -10px rgba(11, 14, 42, 0.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--navy-600);
  box-shadow: 0 12px 28px -10px rgba(11, 14, 42, 0.55), var(--shadow-glow);
}
.btn-ghost {
  background: rgba(255,255,255,0.06); color: white;
  border-color: rgba(255,255,255,0.20);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(126,232,240,0.4); }
.btn-outline {
  background: white; color: var(--brand-navy); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand-aqua); color: var(--brand-navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 16px; font-size: var(--t-sm); border-radius: 10px; }

/* ─── Site header / nav ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 42, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: white;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Oswald', 'Bebas Neue', sans-serif;
  font-weight: 700; font-size: 22px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: white;
}
/* The brand-mark is now a transparent slot — the aqua-logo PNG lives
   directly on the navy navbar. No white container, on-brand. */
.brand-mark {
  width: 68px; height: 68px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { line-height: 1.05; }
.brand-text small {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--brand-aqua); margin-top: 5px; opacity: 0.85;
}

/* Footer brand sits with more presence — bigger mark + heading */
.footer-brand .brand { font-size: 26px; gap: 16px; }
.footer-brand .brand-mark { width: 88px; height: 88px; }
.footer-brand .brand-text small { font-size: 11px; margin-top: 6px; }

.nav-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,0.07); color: white; }
.nav-links a.active { background: rgba(158,226,226,0.12); color: var(--cyan-soft); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.18);
  color: white; padding: 8px 10px; border-radius: 8px;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grad-hero); color: white;
  padding: 84px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 320px at 85% 20%, rgba(158, 226, 226, 0.18), transparent 60%),
    radial-gradient(600px 280px at 15% 80%, rgba(108, 198, 198, 0.20), transparent 55%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  opacity: 0.55;
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(158, 226, 226, 0.12);
  border: 1px solid rgba(158, 226, 226, 0.30);
  color: var(--cyan-soft);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 560px; margin: 0 0 32px;
}
.hero-cta { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Page-header (used for sub-pages instead of full hero) */
.page-header {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: white;
  padding: 72px 0 64px;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 280px at 85% 20%, rgba(158, 226, 226, 0.15), transparent 60%),
    radial-gradient(500px 220px at 15% 80%, rgba(108, 198, 198, 0.18), transparent 55%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 48px); margin: 0 0 14px;
}
.page-header p {
  font-size: var(--t-md); color: rgba(255,255,255,0.78);
  max-width: 680px; margin: 0;
}
.crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.crumbs a { color: var(--cyan-soft); }
.crumbs span { color: rgba(255,255,255,0.35); }

/* Hero preview card (mock dashboard) */
.preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  transform: rotate(0.3deg);
}
.preview-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.preview-title { font-weight: 700; font-size: 13px; color: rgba(255,255,255,0.92); }
.preview-tag {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-soft); font-weight: 600;
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat {
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 14px;
}
.stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat .crit { color: #ff8398; }
.stat .high { color: #ffc066; }
.stat .ok   { color: #b8e8e8; }            /* paler aqua — soft confirm */
.stat .info { color: var(--cyan-soft); }   /* brand aqua — primary value */
.preview-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 10px 14px;
  border-radius: 10px;
  background: rgba(158, 226, 226, 0.06);
  border: 1px solid rgba(158, 226, 226, 0.20);
  font-size: 12px;
}
.preview-bar .ok-text { color: var(--aqua); font-weight: 600; }

/* ─── Cards / value props ───────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(158,226,226,0.4); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: white;
}
/* Card icons — kept dark enough for the white SVG strokes inside */
.icon.cyan { background: var(--grad-accent); }
.icon.teal { background: var(--grad-deep); }
.icon.deep { background: linear-gradient(135deg, #0e1438 0%, #1f2a6f 100%); }
.icon.aqua { background: linear-gradient(135deg, #6cc6c6 0%, #2c3a8e 100%); }
.icon svg  { width: 22px; height: 22px; }
.card h3   { font-size: 17px; font-weight: 700; }
.card p    { font-size: var(--t-sm); color: var(--muted); margin: 0; line-height: 1.6; }
.card::after {
  content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
  background: var(--grad-cyan); border-radius: 999px 999px 0 0;
  opacity: 0; transition: opacity .2s var(--ease);
}
.card:hover::after { opacity: 1; }

/* Capability tile (smaller card) */
.tile {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.tile:hover { border-color: var(--cyan); transform: translateY(-2px); }
.tile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tile-pill {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--foam); color: var(--deep);
  flex-shrink: 0;
}
.tile-pill svg { width: 18px; height: 18px; }
.tile h4 { margin: 0; font-size: 15px; font-weight: 700; }
.tile p  { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ─── Bands ─────────────────────────────────────────────────── */
.band-soft { background: var(--grad-soft); }
.band-deep { background: var(--grad-deep); color: white; }
.band-deep h2 { color: white; }
.band-deep .section-sub { color: rgba(255,255,255,0.7); }
.band-hero { background: var(--grad-hero); color: white; position: relative; overflow: hidden; }
.band-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 70% 50%, rgba(158,226,226,0.18), transparent 60%);
}

/* Compliance band */
.compliance-band {
  background: var(--grad-deep); color: white; border-radius: 18px;
  padding: 36px;
  position: relative; overflow: hidden;
}
.compliance-band::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(158,226,226,0.18), transparent 70%);
}
.compliance-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.compliance-band h3 { font-size: 24px; margin: 0; }
.compliance-band .sub { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 520px; }
.frameworks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  position: relative; z-index: 1;
}
.fw {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
}
.fw-id { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan-soft); margin-bottom: 6px; letter-spacing: 0.04em; }
.fw-name { font-weight: 700; font-size: 14.5px; line-height: 1.3; margin-bottom: 4px; }
.fw-auth { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ─── Coverage matrix (used on compliance page) ─────────────── */
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 760px) { .matrix { grid-template-columns: 1fr; } }
.matrix-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.matrix-card:hover {
  border-color: var(--brand-aqua);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.matrix-card .mc-eyebrow {
  font-family: 'Oswald', 'Bebas Neue', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aqua-700);
  display: inline-block;
  padding: 4px 10px; border-radius: 4px;
  background: var(--aqua-100);
  margin-bottom: 12px;
}
.matrix-card .mc-eyebrow.headline { background: var(--brand-navy); color: var(--brand-aqua); }
.matrix-card .mc-eyebrow.industry { background: #fef3c7; color: #92400e; }
.matrix-card .mc-eyebrow.regulatory { background: #fee2e2; color: #991b1b; }
.matrix-card .mc-eyebrow.standards { background: #e0e7ff; color: #3730a3; }
.matrix-card .mc-eyebrow.insurance { background: #f0fdf4; color: #166534; }
.matrix-card h4 {
  margin: 0 0 6px;
  font-size: 17px; font-weight: 700;
  color: var(--ink);
}
.matrix-card .mc-sub {
  font-size: 13px; color: var(--muted);
  margin: 0 0 14px; line-height: 1.55;
}
.matrix-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.matrix-list li {
  font-size: 13.5px; line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink);
}
.matrix-list li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-aqua);
  margin-top: 8px;
}
.matrix-list li small {
  display: block;
  color: var(--muted); font-size: 12px;
  margin-top: 2px;
}
.coverage-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  margin-left: 6px;
}
.coverage-badge.live  { background: rgba(46,158,92,0.12); color: #166534; }
.coverage-badge.ready { background: rgba(126,232,240,0.18); color: var(--aqua-800); }
.coverage-badge.align { background: rgba(36,40,99,0.08);   color: var(--brand-navy); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: white;
  border-radius: 16px; padding: 28px 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  position: absolute; top: 22px; right: 22px;
  font-size: 32px; font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.step-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--foam); color: var(--deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-icon svg { width: 20px; height: 20px; }
.step h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.step:not(:last-child)::after {
  content: ''; position: absolute; right: -14px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: translate(0, -50%) rotate(45deg);
}

/* Comparison table */
.compare-card {
  background: white; border-radius: 18px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  background: var(--grad-deep); color: white;
  text-align: left; padding: 18px 22px;
  font-weight: 700; font-size: 14px;
}
.compare-table thead th.us {
  background: var(--grad-cyan); color: var(--abyss); position: relative;
}
.compare-table thead th.us::after {
  content: '★ recommended';
  position: absolute; top: 6px; right: 14px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.10); padding: 2px 8px; border-radius: 999px;
}
.compare-table thead th.cap-col { width: 32%; background: white; color: var(--ink); border-bottom: 1px solid var(--line); }
.compare-table tbody td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: #fafcfd; }
.compare-table tbody td.cap { font-weight: 700; color: var(--ink); width: 32%; }
.compare-table tbody td.cap small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; font-size: 12.5px; }
.compare-table .yes, .compare-table .no, .compare-table .partial {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 13.5px;
}
.compare-table .yes::before {
  content: '✓'; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #2c3a8e 0%, #1f2a6f 100%); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.compare-table .no::before {
  content: '✕'; width: 18px; height: 18px; border-radius: 50%;
  background: #fee2e2; color: #b91c1c;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.compare-table .partial::before {
  content: '~'; width: 18px; height: 18px; border-radius: 50%;
  background: #fef3c7; color: #b45309;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.compare-table td.us-col { background: rgba(158, 226, 226, 0.04); }
.compare-table td.them-col { color: var(--muted); }

/* Stats strip */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 1; text-align: center;
}
.ks-num {
  font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad-cyan);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ks-label {
  margin-top: 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); font-weight: 600;
}

/* CTA block */
.cta-block {
  background: var(--grad-cyan); color: var(--abyss);
  border-radius: 22px; padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow-lg);
}
.cta-block h3 { font-size: 28px; margin: 0 0 6px; color: var(--brand-ink); }
.cta-block p { margin: 0; color: rgba(11,14,42,0.78); font-size: 15px; max-width: 560px; }
.cta-block .btn {
  background: var(--brand-navy); color: var(--brand-aqua);
  box-shadow: 0 10px 24px -10px rgba(11,14,42,0.55);
}
.cta-block .btn:hover { transform: translateY(-1px); background: var(--navy-700); }

/* Inline pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 500;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}

/* Two-column content sections */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.split-img {
  background: var(--grad-deep);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  color: white; padding: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 80% 30%, rgba(158,226,226,0.25), transparent 60%);
}
.split-img > * { position: relative; z-index: 1; }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel);
}
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  background: white;
  box-shadow: 0 0 0 4px rgba(158,226,226,0.12);
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
  margin: 8px 0 18px;
}
.consent input { margin-top: 3px; }

/* Cloudflare Turnstile slot — keeps the widget tidy inside the form */
.turnstile-wrap {
  margin: 4px 0 18px;
  min-height: 65px;
  display: flex;
  justify-content: center;
}
.turnstile-wrap .cf-turnstile { width: 100%; max-width: 320px; }
.form-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 12.5px; color: var(--muted);
}

/* Contact info card */
.contact-card {
  background: var(--grad-deep); color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-card::before {
  content: ''; position: absolute; right: -100px; bottom: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(158,226,226,0.18), transparent 70%);
}
.contact-card h3 { color: white; }
.contact-block {
  display: flex; gap: 14px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.contact-block:first-of-type { border-top: none; padding-top: 4px; }
.contact-block .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(158,226,226,0.12); color: var(--cyan-soft);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-block .ico svg { width: 18px; height: 18px; }
.contact-block .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55); margin-bottom: 3px;
}
.contact-block .val { font-size: 15px; font-weight: 600; color: white; }
.contact-block .val a { color: var(--cyan-soft); }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.faq-tabs button {
  padding: 8px 16px; border-radius: 999px;
  background: white; color: var(--ink);
  border: 1px solid var(--line); font-weight: 600; font-size: 13px;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.faq-tabs button.active,
.faq-tabs button:hover { background: var(--deep); color: white; border-color: var(--deep); }
.faq-cat { margin-bottom: 28px; }
.faq-cat h3 { font-size: 18px; margin-bottom: 14px; color: var(--deep); }

details.faq {
  background: white; border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
details.faq[open] { border-color: rgba(158,226,226,0.4); box-shadow: var(--shadow-md); }
details.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; font-family: 'JetBrains Mono', monospace; font-weight: 700;
  font-size: 22px; color: var(--cyan); transition: transform .2s var(--ease);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer {
  padding: 0 22px 20px;
  color: var(--muted); font-size: 14.5px; line-height: 1.65;
}
details.faq .answer p { margin: 0 0 10px; }
details.faq .answer p:last-child { margin: 0; }
details.faq .answer ul { margin: 0; padding-left: 18px; }
details.faq .answer li { margin-bottom: 4px; }

/* ─── Legal page typography ─────────────────────────────────── */
.legal-doc { background: white; }
.legal-content {
  max-width: 820px; margin: 0 auto;
  font-size: 15.5px; color: var(--ink); line-height: 1.7;
}
.legal-content h2 {
  font-size: 22px; margin: 36px 0 12px; color: var(--deep);
}
.legal-content h3 { font-size: 17px; margin: 22px 0 8px; color: var(--steel); }
.legal-content p { margin: 0 0 14px; color: #334155; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; color: #334155; }
.legal-content li { margin-bottom: 6px; }
.legal-content .updated {
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
}
.legal-toc {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 14px;
}
.legal-toc h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc a { color: var(--deep); }
.legal-toc a:hover { color: var(--cyan); text-decoration: underline; }

/* ─── Footer ────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--abyss); color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  position: relative; overflow: hidden;
}
footer.site-footer::before {
  content: ''; position: absolute; left: 50%; top: -180px;
  transform: translateX(-50%);
  width: 560px; height: 560px;
  background: url('logo-aqua.png') center/contain no-repeat;
  opacity: 0.035; pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  position: relative; z-index: 1;
  margin-bottom: 40px;
}
.footer-brand .brand-text { color: white; }
.footer-brand p {
  margin: 14px 0 0; font-size: 13.5px; line-height: 1.65;
  color: rgba(255,255,255,0.55); max-width: 320px;
}
/* "Powered by Necurity" lockup — small parent-company endorsement */
.powered-by {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 14px; max-width: 320px;
}
.powered-by-label {
  font-family: 'Oswald', 'Bebas Neue', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); white-space: nowrap;
  line-height: 1.3;
}
.powered-by a { display: inline-block; flex-shrink: 0; }
.powered-by img {
  height: 38px; width: auto; display: block;
  opacity: 0.95; transition: opacity .15s var(--ease);
}
.powered-by a:hover img { opacity: 1; }
@media (max-width: 560px) {
  .powered-by { gap: 12px; }
  .powered-by img { height: 32px; }
}
.footer-col h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.78); font-size: 14px;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--cyan-soft); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
}
.footer-bar .meta { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.footer-bar .legal-links { display: flex; gap: 18px; }
.footer-bar .legal-links a { color: rgba(255,255,255,0.65); }
.footer-bar .legal-links a:hover { color: var(--cyan-soft); }

/* ─── Utility ───────────────────────────────────────────────── */
.center { text-align: center; }
.mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; } .mb-24 { margin-bottom: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.divider {
  height: 1px; background: var(--line); margin: 24px 0;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--foam); color: var(--deep);
  font-size: 12px; font-weight: 600;
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .6s var(--ease) both; }
.reveal.d1 { animation-delay: .05s; } .reveal.d2 { animation-delay: .12s; }
.reveal.d3 { animation-delay: .20s; } .reveal.d4 { animation-delay: .28s; }

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(158,226,226,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(158,226,226,0); }
}
.pill-dot { animation: pulseDot 2s var(--ease) infinite; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .frameworks { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { height: 84px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand { font-size: 20px; }
  .nav-links { display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: rgba(11, 14, 42, 0.96);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img { height: 280px; }
  .grid-2 { grid-template-columns: 1fr; }
  .compliance-band { padding: 28px; }
  .step:not(:last-child)::after { display: none; }
  .cta-block { flex-direction: column; align-items: flex-start; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-mark { width: 76px; height: 76px; }
  .footer-brand .brand { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav { height: 76px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand { font-size: 18px; gap: 10px; }
  .footer-brand .brand-mark { width: 64px; height: 64px; }
  .footer-brand .brand { font-size: 20px; }
  .grid-4, .grid-3, .frameworks, .steps, .stats-row { grid-template-columns: 1fr; }
  .nav-links .nav-cta a.btn { width: 100%; justify-content: center; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .compare-table thead th, .compare-table tbody td { padding: 14px 14px; font-size: 13px; }
  .compare-table thead th.us::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar { justify-content: center; text-align: center; }
}
