*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1f3d;
  --blue: #1a3a6b;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --light: #f8fafc;
  --grey: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #475569;
  --bg: #ffffff;
}

:root:has(#theme-toggle:checked) {
  --navy: #e2e8f0;
  --blue: #1a3a6b;
  --light: #1e293b;
  --border: #334155;
  --white: #0f172a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --bg: #0f172a;
}

/* DARK MODE TOGGLE */
.theme-checkbox { display: none; }
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.15s;
  user-select: none;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .icon-dark { display: inline; }
.theme-toggle .icon-light { display: none; }
:root:has(#theme-toggle:checked) .theme-toggle .icon-dark { display: none; }
:root:has(#theme-toggle:checked) .theme-toggle .icon-light { display: inline; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-light); text-decoration: none !important; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
p { color: #475569; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: #334155; max-width: 640px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 7rem 2rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; max-width: 760px; }
.hero .lead { color: #cbd5e1; margin-bottom: 2.5rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: 1rem;
}
.btn-outline:hover { border-color: var(--white); }

/* WHAT */
.what { background: var(--light); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.what-grid p { font-size: 1.05rem; }
.release-triggers {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.release-triggers h3 { margin-bottom: 1.5rem; }
.trigger-list { display: flex; flex-direction: column; gap: 1rem; }
.trigger-item { display: flex; gap: 1rem; align-items: flex-start; }
.trigger-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.trigger-item p { margin: 0; font-size: 0.9rem; }

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* WHO */
.who { background: var(--light); }
.personas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.persona {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

/* COMPLIANCE */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.compliance-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.compliance-card h3 { color: var(--accent); }
.compliance-card .subtitle {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

/* PRICING */
.pricing { background: var(--light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  position: relative;
}
.featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1rem 0 0.25rem;
}
.price span { font-size: 1rem; font-weight: 500; color: var(--grey); }
.price-contact {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1rem 0 0.25rem;
}
.pricing-desc { font-size: 0.9rem; }
.pricing-features {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
}
.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #475569;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: "- "; color: var(--accent); font-weight: 700; }
.btn-pricing {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--accent);
  color: var(--white);
}
.btn-pricing:hover { opacity: 0.9; text-decoration: none; }
.btn-pricing-outline {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-pricing-outline:hover { background: var(--light); text-decoration: none; }

/* SOVEREIGNTY */
.sovereignty { background: var(--navy); color: var(--white); }
.sovereignty h2 { color: var(--white); }
.sovereignty p { color: #cbd5e1; }
.sovereignty .section-label { color: #60a5fa; }
.sov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.sov-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
}
.sov-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.sov-card p { color: #94a3b8; margin: 0; font-size: 0.95rem; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.stats-card {
  background: var(--light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.stats-card h3 { margin-bottom: 1.5rem; }
.stats-list { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { color: #475569; font-size: 0.95rem; }

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  display: inline-block;
}
.btn-white:hover { opacity: 0.9; text-decoration: none; }
.cta-mailto { margin-top: 2rem; }

/* ABOUT */
.about-grid .btn-primary { margin-top: 0.5rem; }

/* FAQ PAGE */
.faq-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 2rem;
  color: var(--white);
}
.faq-hero h1 { color: var(--white); margin-bottom: 1rem; }
.faq-hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 600px; }
.faq-body { padding: 5rem 2rem; }
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.faq-nav { position: sticky; top: 84px; align-self: start; }
.faq-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.faq-nav a {
  color: #475569;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  display: block;
}
.faq-nav a:hover { background: var(--light); color: var(--accent); text-decoration: none; }
.faq-sections { display: flex; flex-direction: column; gap: 3.5rem; }
.faq-category h2 {
  font-size: 1.35rem;
  color: var(--navy);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.5rem;
}
.faq-item { margin-bottom: 1.75rem; }
.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.faq-item p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* PRIVACY PAGE */
.privacy-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 2rem;
  color: var(--white);
}
.privacy-hero h1 { color: var(--white); margin-bottom: 1rem; }
.privacy-hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 600px; }
.privacy-body { padding: 5rem 2rem; max-width: 760px; margin: 0 auto; }
.privacy-body h2 { font-size: 1.25rem; color: var(--navy); margin: 2.5rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); }
.privacy-body p, .privacy-body li { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--text); }
.privacy-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-body a { color: var(--accent); }
.privacy-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* BUILDING BADGE */
.badge-building {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
  font-weight: 600;
}

/* PRICING NOTICE */
.pricing-notice {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--light);
}

/* CURRENT STEP INDICATOR */
.step-current {
  background: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* FOOTER */
footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo span { color: var(--accent-light); }
.footer-tagline { color: #64748b; font-size: 0.875rem; margin-top: 0.5rem; }
.footer-right { text-align: right; }
.footer-right p { color: #64748b; font-size: 0.875rem; margin: 0 0 0.25rem; }
footer a { color: #94a3b8; }
footer a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .what-grid,
  .about-grid,
  .compliance-grid,
  .personas { grid-template-columns: 1fr; }
  .steps,
  .pricing-grid,
  .sov-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 1rem; display: block; text-align: center; }
  .footer-right { text-align: left; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { display: none; }
  .cta-mailto { display: block; text-align: center; }
}
