/* =========================================================
   CloudSeif — design tokens
========================================================= */
:root {
  --bg-void: #05070d;
  --bg-void-2: #080c18;
  --bg-panel: #0c1224;
  --bg-panel-2: #111a33;
  --bg-light: #f5f7fb;
  --bg-light-2: #eef1f8;
  --card-light: #ffffff;

  --text-dark: #e9edf9;
  --text-dark-muted: #93a0c2;
  --text-light: #0f1729;
  --text-light-muted: #4c5875;

  --cyan: #24e3d6;
  --cyan-2: #38bdf8;
  --violet: #8b5cf6;
  --amber: #f5b942;
  --red: #ef4a63;
  --green: #34e197;

  --border-dark: rgba(255, 255, 255, 0.09);
  --border-light: rgba(15, 23, 42, 0.09);

  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "SFMono-Regular", monospace;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   Reset & base
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--cyan); color: #04121a; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; z-index: 999; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Section shells (dark / light rhythm)
========================================================= */
.section {
  position: relative;
  padding: clamp(64px, 9vw, 128px) 0;
  overflow: hidden;
}
.section--dark {
  background: var(--bg-void);
  color: var(--text-dark);
}
.section--panel {
  background: var(--bg-panel);
  color: var(--text-dark);
}
.section--light {
  background: var(--bg-light);
  color: var(--text-light);
}
.section--light-alt {
  background: var(--bg-light-2);
  color: var(--text-light);
}
.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.section--light .eyebrow, .section--light-alt .eyebrow { color: #0891a8; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lede {
  font-size: 1.1rem;
  color: var(--text-dark-muted);
  max-width: 62ch;
}
.section--light .lede, .section--light-alt .lede { color: var(--text-light-muted); }

/* background glow blobs for dark sections */
.glow-field { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow-field span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
}
.glow-field .g1 { width: 420px; height: 420px; top: -120px; left: -80px; background: var(--cyan); }
.glow-field .g2 { width: 480px; height: 480px; bottom: -160px; right: -100px; background: var(--violet); }
.section > .container { position: relative; z-index: 1; }

.grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* =========================================================
   Cursor glow (dark sections only)
========================================================= */
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(36,227,214,0.18), rgba(139,92,246,0.10) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s ease;
  will-change: transform;
}
body[data-theme="dark"] #cursor-glow { opacity: 1; }

/* =========================================================
   Scroll progress + decrypt badge
========================================================= */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  z-index: 1000; transition: width 0.08s linear;
}
#progress-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 500;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  background: rgba(5,7,13,0.75); color: var(--cyan);
  border: 1px solid var(--border-dark); border-radius: 999px;
  padding: 8px 14px; opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
#progress-badge.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Header / nav
========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(5,7,13,0.72);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.35s ease, border-color 0.35s ease;
}
body[data-theme="light"] .site-header {
  background: rgba(245,247,251,0.82);
  border-bottom-color: var(--border-light);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.brand img { height: 30px; width: auto; object-fit: contain; }
.brand-logo--light { display: none; }
body[data-theme="light"] .brand-logo--dark { display: none; }
body[data-theme="light"] .brand-logo--light { display: block; }
.brand-text { color: var(--text-dark); font-size: 1.05rem; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-dark-muted); text-transform: uppercase; }
body[data-theme="light"] .brand-text { color: var(--text-light); }
body[data-theme="light"] .brand-text small { color: var(--text-light-muted); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.92rem; color: var(--text-dark-muted); font-weight: 500;
  position: relative; padding: 4px 0; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--cyan); border-radius: 2px;
}
body[data-theme="light"] .nav-links a { color: var(--text-light-muted); }
body[data-theme="light"] .nav-links a:hover, body[data-theme="light"] .nav-links a[aria-current="page"] { color: #0891a8; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-dark); border-radius: 8px;
  width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--text-dark);
  cursor: pointer;
}
body[data-theme="light"] .nav-toggle { color: var(--text-light); border-color: var(--border-light); }

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--cyan-2));
  color: #04121a;
  box-shadow: 0 10px 30px -10px rgba(36,227,214,0.55);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(36,227,214,0.7); }
.btn-ghost {
  background: transparent; color: var(--text-dark); border-color: var(--border-dark);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
body[data-theme="light"] .btn-ghost { color: var(--text-light); border-color: var(--border-light); }
body[data-theme="light"] .btn-ghost:hover { color: #0891a8; border-color: #0891a8; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; }

/* =========================================================
   Breadcrumb
========================================================= */
.breadcrumb {
  padding: 18px 0 0;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dark-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--cyan); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--border-dark); }
.section--light .breadcrumb, .section--light-alt .breadcrumb { color: var(--text-light-muted); }

/* =========================================================
   Hero
========================================================= */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: clamp(48px, 10vh, 110px);
  padding-bottom: 64px;
}
.hero-inner { display: grid; gap: 32px; max-width: 900px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
.hero h1 .line { display: block; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 1.18rem; max-width: 60ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.chip {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em; font-weight: 600;
  border: 1px solid rgba(36,227,214,0.4); color: #eafffb;
  padding: 8px 15px; border-radius: 999px; background: rgba(5,7,13,0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px -4px rgba(0,0,0,0.5);
}
.section--light .chip, .section--light-alt .chip {
  border-color: rgba(8,145,168,0.4); color: #075463;
  background: rgba(255,255,255,0.82); box-shadow: 0 2px 10px -4px rgba(15,23,42,0.15);
}

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dark-muted);
}
.scroll-cue svg { animation: bob 1.8s ease-in-out infinite; width: 18px; height: 18px; color: var(--cyan); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* =========================================================
   Stat strip
========================================================= */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
  padding: 40px 0;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--cyan);
}
.stat .label { font-size: 0.85rem; color: var(--text-dark-muted); margin-top: 6px; }

/* =========================================================
   Vignette / incident cards
========================================================= */
.vignette-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.vignette {
  background: var(--bg-panel); border: 1px solid var(--border-dark); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.vignette .icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(239,74,99,0.12); color: var(--red); margin-bottom: 18px;
}
.vignette .icon svg { width: 22px; height: 22px; }
.vignette h3 { font-size: 1.05rem; margin-bottom: 8px; }
.vignette p { color: var(--text-dark-muted); font-size: 0.95rem; margin: 0; }
.closing-line {
  margin-top: 36px; font-size: 1.05rem; color: var(--text-dark-muted); max-width: 68ch;
}
.closing-line strong { color: var(--text-dark); }

/* =========================================================
   Legal / GDPR article cards
========================================================= */
.law-grid { display: grid; gap: 18px; }
.law-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px;
  background: var(--bg-panel); border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  padding: 22px 24px; align-items: start;
}
.law-tag {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--amber);
  border: 1px dashed rgba(245,185,66,0.5); border-radius: 8px; padding: 8px 10px; text-align: center;
  height: fit-content;
}
.law-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.law-card p { margin: 0; color: var(--text-dark-muted); font-size: 0.95rem; }
.callout {
  margin-top: 28px; border: 1px solid rgba(245,185,66,0.35); background: rgba(245,185,66,0.07);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.callout p { margin: 0; color: var(--text-dark); }
.callout strong { color: var(--amber); }
.fine-print {
  font-size: 0.82rem; color: var(--text-dark-muted); margin-top: 18px; max-width: 70ch;
}
.section--light .fine-print, .section--light-alt .fine-print { color: var(--text-light-muted); }

/* =========================================================
   Brand reveal (transitional section)
========================================================= */
.section--transition {
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-panel) 45%, var(--bg-light) 100%);
  color: var(--text-dark);
  text-align: center;
}
.brand-reveal { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.brand-reveal img { height: 76px; width: auto; filter: drop-shadow(0 0 40px rgba(36,227,214,0.35)); }
.brand-reveal h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.brand-reveal .lede { text-align: center; margin: 0 auto; }
.family-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--text-dark); background: rgba(5, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.family-badge a { color: var(--cyan); }

/* =========================================================
   How-it-works steps
========================================================= */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  background: var(--card-light); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 26px 28px; align-items: start;
}
.step .step-num {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(8,145,168,0.14), rgba(139,92,246,0.14)); color: #0891a8;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--text-light); }
.step p { margin: 0; color: var(--text-light-muted); }

.flow-card {
  background: var(--card-light); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
}
.flow-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.flow-card p:last-child { margin-bottom: 0; }
.flow-card ol { list-style: decimal; padding-left: 22px; color: var(--text-light-muted); }
.flow-card ol li { margin-bottom: 8px; }

/* =========================================================
   Lock toggle (interactive)
========================================================= */
.lock-toy {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: var(--card-light); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 40px; text-align: center; max-width: 420px; margin: 40px auto 0;
}
.lock-toy button {
  width: 96px; height: 96px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #0891a8, #7c3aed); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -14px rgba(124,58,237,0.55);
  transition: transform 0.35s var(--ease);
}
.lock-toy button:hover { transform: scale(1.06); }
.lock-toy button svg { width: 40px; height: 40px; transition: transform 0.4s var(--ease); }
.lock-toy button.is-unlocked svg { transform: rotate(-14deg) translateY(-2px); }
.lock-toy .lock-caption { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-light-muted); min-height: 1.4em; }
.lock-toy .lock-hint { font-size: 0.82rem; color: var(--text-light-muted); }

/* =========================================================
   Feature grid
========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; background: var(--card-light); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 28px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  background: radial-gradient(240px circle at var(--x) var(--y), rgba(8,145,168,0.14), transparent 65%);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(15,23,42,0.28); border-color: rgba(8,145,168,0.35); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(8,145,168,0.14), rgba(124,58,237,0.14)); color: #0891a8;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--text-light); }
.card p { margin: 0; color: var(--text-light-muted); font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: #0891a8; }
.card .card-link svg { width: 14px; height: 14px; }

.subsection { margin-bottom: 56px; }
.subsection:last-child { margin-bottom: 0; }
.subsection h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.subsection .lede { margin-bottom: 28px; }

/* =========================================================
   Terminal block
========================================================= */
.terminal {
  background: #050a14; border: 1px solid var(--border-dark); border-radius: var(--radius);
  padding: 24px 26px; font-family: var(--font-mono); font-size: 0.88rem; color: #9fe8d4;
  max-width: 780px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.terminal-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.terminal-bar span:nth-child(1) { background: #ef4a63; }
.terminal-bar span:nth-child(2) { background: #f5b942; }
.terminal-bar span:nth-child(3) { background: #34e197; }
.terminal-body { min-height: 210px; white-space: pre-wrap; word-break: break-word; }
.terminal-body .prompt { color: var(--cyan); }
.terminal-cursor { display: inline-block; width: 8px; height: 1em; background: var(--green); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   Spec badges
========================================================= */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 36px; }
.spec {
  background: var(--bg-panel); border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.spec .tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--bg-void);
  background: linear-gradient(120deg, var(--cyan), var(--cyan-2)); padding: 4px 10px; border-radius: 6px;
  margin-bottom: 10px; font-weight: 700;
}
.spec p { margin: 0; color: var(--text-dark-muted); font-size: 0.92rem; }

/* =========================================================
   Guarantee / dramatic statement
========================================================= */
.statement {
  text-align: center; max-width: 900px; margin: 0 auto;
}
.statement h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.statement .lede { margin: 0 auto; text-align: center; font-size: 1.1rem; }
.guarantee-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px;
}
@media (max-width: 900px) {
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}
.guarantee-card {
  border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 22px;
  background: rgba(255,255,255,0.02);
}
.guarantee-card.no {
  border-color: rgba(239,74,99,0.35); background: rgba(239,74,99,0.05);
}
.guarantee-card h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--text-dark); }
.guarantee-card p { margin: 0; font-size: 0.88rem; color: var(--text-dark-muted); }

/* =========================================================
   FAQ accordion
========================================================= */
.faq { border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text-light);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); color: #0891a8; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  color: var(--text-light-muted); font-size: 0.96rem;
}
.faq-a-inner { padding: 0 4px 22px; }
.faq-item.is-open .faq-a { max-height: 320px; }

/* =========================================================
   Related / internal links strip
========================================================= */
.related {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 20px;
}
.related a {
  display: block; background: var(--card-light); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 20px 22px; transition: border-color 0.25s ease, transform 0.25s ease;
}
.related a:hover { border-color: #0891a8; transform: translateY(-3px); }
.related .kicker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #0891a8; }
.related h4 { margin: 8px 0 6px; font-size: 1rem; }
.related p { margin: 0; font-size: 0.88rem; color: var(--text-light-muted); }

/* =========================================================
   CTA band
========================================================= */
.cta-band {
  background: radial-gradient(1200px 500px at 50% -20%, rgba(139,92,246,0.35), transparent),
              radial-gradient(900px 400px at 100% 120%, rgba(36,227,214,0.25), transparent),
              var(--bg-void);
  color: var(--text-dark); text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.cta-band .lede { margin: 0 auto 30px; text-align: center; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-secondary { margin-top: 18px; font-size: 0.9rem; color: var(--text-dark-muted); }
.cta-secondary a { color: var(--cyan); font-weight: 600; }

/* =========================================================
   Footer
========================================================= */
.site-footer {
  background: var(--bg-void-2); color: var(--text-dark-muted); border-top: 1px solid var(--border-dark);
  padding: 56px 0 28px; font-size: 0.9rem;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 26px; width: auto; object-fit: contain; }
.footer-brand span { font-family: var(--font-display); color: var(--text-dark); font-weight: 600; }
.footer-col h5 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; color: var(--text-dark); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem;
}
.footer-legal-note { max-width: 640px; }

/* =========================================================
   Reveal animation
========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.36s; }

/* =========================================================
   Scramble text
========================================================= */
[data-scramble] { display: inline-block; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .law-card { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 66px 0 auto 0; background: var(--bg-void); flex-direction: column;
    align-items: flex-start; padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid var(--border-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
  body[data-theme="light"] .nav-links { background: var(--bg-light); }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary-label { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}
