@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --c-primary: #8000ff;
  --c-secondary: #ff00ff;
  --c-ink: #0d0d0d;
  --c-bg: #0d0d0d;
  --c-bg-2: #111118;
  --c-bg-3: #16161e;
  --c-surface: rgba(128, 0, 255, 0.07);
  --c-surface-2: rgba(255, 0, 255, 0.06);
  --c-text: #e8e0ff;
  --c-text-muted: #9a90b8;
  --c-text-dim: #6a5f88;
  --c-border: rgba(128, 0, 255, 0.28);
  --c-border-2: rgba(255, 0, 255, 0.18);
  --c-glow-primary: 0 0 12px rgba(128, 0, 255, 0.7), 0 0 32px rgba(128, 0, 255, 0.35);
  --c-glow-secondary: 0 0 12px rgba(255, 0, 255, 0.7), 0 0 32px rgba(255, 0, 255, 0.3);
  --c-glow-text: 0 0 8px rgba(128, 0, 255, 0.9);

  --font-main: 'Be Vietnam Pro', 'Noto Sans', system-ui, sans-serif;
  --font-mono: 'Courier New', 'Lucida Console', monospace;

  --radius-card: 18px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  --header-h: 64px;
  --announce-h: 36px;
  --anchor-h: 44px;

  --max-w: 1180px;
  --col-main: 720px;
  --col-side: 280px;
  --gap: 2rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--c-bg);
  color: var(--c-text);
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scanline overlay — cyberpunk effect */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: underline; }
a:hover { color: var(--c-primary); text-shadow: var(--c-glow-text); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   ANNOUNCE STRIP
   ============================================================ */
.announce-strip {
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 1rem;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 200;
}
.announce-text { line-height: 1.2; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: var(--announce-h);
  z-index: 150;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  text-decoration: none;
  border: 1.5px solid var(--c-primary);
  border-radius: 10px;
  color: var(--c-primary);
  font-size: 1.2rem;
  transition: box-shadow 0.2s;
}
.brand-mark:hover { box-shadow: var(--c-glow-primary); }
.brand-icon { font-size: 1.3rem; line-height: 1; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--c-primary); }
.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
.primary-nav {
  flex: 1;
  overflow: hidden;
}
.nav-dl {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-dl::-webkit-scrollbar { display: none; }
.nav-dl dt { display: none; }
.nav-dl dd { flex-shrink: 0; }
.nav-dl dd a {
  display: block;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dl dd a:hover {
  color: var(--c-text);
  background: var(--c-surface);
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.cta:hover { transform: translateY(-1px); }

.cta-signup {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  border: none;
}
.cta-signup:hover {
  box-shadow: var(--c-glow-primary);
  color: #fff;
}

.cta-login {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.cta-login:hover {
  box-shadow: var(--c-glow-primary);
  color: var(--c-primary);
}

/* ============================================================
   ANCHOR STRIP
   ============================================================ */
.anchor-strip {
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
  height: var(--anchor-h);
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h));
  z-index: 100;
}
.anchor-strip::-webkit-scrollbar { display: none; }
.anchor-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  flex-wrap: nowrap;
}
.anchor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-text-muted);
  text-decoration: none;
  border: 1px solid var(--c-border);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.anchor-pill:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 0 8px rgba(128,0,255,0.3);
}

/* ============================================================
   LAYOUT: wrap / sidebar
   ============================================================ */
main {
  padding: 2rem 0 4rem;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: var(--col-side) 1fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + var(--anchor-h) + 1rem);
}

.main-column {
  min-width: 0;
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass-card {
  background: rgba(128, 0, 255, 0.06);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem 1.25rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.glass-card:hover {
  border-color: rgba(128, 0, 255, 0.5);
  box-shadow: 0 0 24px rgba(128,0,255,0.15);
}

/* ============================================================
   SIDEBAR COMPONENTS
   ============================================================ */
.sidebar-card h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  text-shadow: var(--c-glow-text);
  margin-bottom: 0.25rem;
}
.sidebar-card p.subtitle {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sidebar-links li a {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  min-height: 36px;
  line-height: 1.3;
}
.sidebar-links li a:hover {
  color: var(--c-secondary);
  border-left-color: var(--c-secondary);
  background: var(--c-surface-2);
}
.sidebar-rg { background: rgba(255,0,255,0.04); }
.rg-text {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--c-text-dim);
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero-section {
  padding: 4rem 0 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(128,0,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255,0,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-article {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.75rem;
}
.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 40px rgba(128,0,255,0.5);
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.slant-divider {
  position: absolute;
  bottom: -2px;
  left: -5%;
  right: -5%;
  height: 60px;
  background: var(--c-bg-2);
  transform: skewY(-2deg);
  transform-origin: bottom left;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  border: none;
}
.btn-primary:hover {
  box-shadow: var(--c-glow-primary);
  transform: translateY(-2px);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-secondary:hover {
  box-shadow: var(--c-glow-primary);
  transform: translateY(-2px);
  color: var(--c-primary);
}

/* ============================================================
   FEATURE / GUIDE / FAQ / ABOUT / PRIVACY HEADERS
   ============================================================ */
.feature-header-section,
.guide-header-section,
.faq-header-section,
.about-header-section,
.privacy-header-section {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0;
  position: relative;
}

.feature-eyebrow, .guide-eyebrow,
.faq-eyebrow, .about-eyebrow, .privacy-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.5rem;
}

.feature-h1, .guide-h1, .faq-h1, .about-h1, .privacy-h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 24px rgba(128,0,255,0.35);
  margin-bottom: 0.75rem;
}

.feature-lead, .guide-lead, .faq-lead, .about-lead, .privacy-lead {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* Byline */
.byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
}
.byline-by { font-weight: 600; color: var(--c-text); }
.byline-sep { color: var(--c-text-dim); }
.byline-updated time { color: var(--c-primary); }
.byline-stage {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stage-awareness { color: #00e5ff; border-color: rgba(0,229,255,0.3); }
.stage-consideration { color: #ff6b00; border-color: rgba(255,107,0,0.3); }
.stage-decision { color: #00ff88; border-color: rgba(0,255,136,0.3); }

/* ============================================================
   CHILD PAGES (HOME)
   ============================================================ */
.child-pages-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.child-pages-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.child-pages-section p.subtitle {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}
.child-dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.child-dl dt {
  margin-bottom: 0.1rem;
}
.child-dl dt a {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  padding: 0.75rem 1rem 0.25rem;
  border: 1px solid var(--c-border);
  border-bottom: none;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--c-surface);
  transition: color 0.2s, background 0.2s;
}
.child-dl dt a:hover { color: var(--c-secondary); background: var(--c-surface-2); }
.child-dl dd {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  padding: 0.25rem 1rem 0.75rem;
  border: 1px solid var(--c-border);
  border-top: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: var(--c-surface);
  line-height: 1.5;
}
.child-dl dd time {
  display: block;
  font-size: 0.72rem;
  color: var(--c-text-dim);
  margin-top: 0.25rem;
  font-family: var(--font-mono);
}

/* ============================================================
   GUIDE FOOTER CTA
   ============================================================ */
.guide-footer-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.guide-footer-cta h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  flex-basis: 100%;
  margin-bottom: 0.1rem;
}
.guide-footer-cta p.subtitle {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  flex-basis: 100%;
  margin-bottom: 0.25rem;
}

/* ============================================================
   ABOUT — AUTHOR SECTION
   ============================================================ */
.author-section {
  margin-top: 2rem;
  padding: 1.75rem;
}
.author-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: var(--c-glow-text);
  margin-bottom: 0.2rem;
}
.author-section p.subtitle {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}
.author-profile { display: flex; flex-direction: column; gap: 0.5rem; }
.author-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.author-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.author-credentials {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.author-bio {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ============================================================
   PROSE (body content)
   ============================================================ */
.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
}
.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.3rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 18px rgba(128,0,255,0.25);
}
.prose h2 + p.subtitle,
.prose h2 + p.subheading,
.prose h2 + p.lead,
.prose h2 + p.desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-primary);
  margin: 1.5rem 0 0.35rem;
}
.prose h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-secondary);
  margin: 1.25rem 0 0.25rem;
}
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; line-height: 1.65; }
.prose a {
  color: var(--c-secondary);
  text-decoration: underline;
}
.prose a:hover { color: var(--c-primary); }
.prose strong { font-weight: 700; color: #fff; }
.prose em { color: var(--c-secondary); font-style: italic; }
.prose blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--c-surface);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--c-text-muted);
  font-style: italic;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(128,0,255,0.12);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--c-secondary);
}
.prose pre {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.prose pre code { background: none; padding: 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.prose th {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}
.prose td {
  border: 1px solid rgba(128,0,255,0.15);
  padding: 0.6rem 0.75rem;
  color: var(--c-text);
}
.prose tr:nth-child(even) td { background: rgba(128,0,255,0.04); }
.prose hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2rem 0;
}
.prose img {
  border-radius: var(--radius-card);
  margin: 1rem 0;
}

/* ============================================================
   FAQ BODY
   ============================================================ */
.faq-body details {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: var(--c-surface);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-body details[open] { border-color: var(--c-primary); }
.faq-body summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-body summary::-webkit-details-marker { display: none; }
.faq-body summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--c-primary);
  font-weight: 300;
  flex-shrink: 0;
}
.faq-body details[open] summary::after { content: '−'; }
.faq-body details > *:not(summary) {
  padding: 0 1.25rem 1rem;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding-top: 3rem;
}

.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-col-brand .footer-brand {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  text-decoration: none;
  text-shadow: var(--c-glow-text);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}
.footer-address a {
  color: var(--c-text-muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
}
.footer-address a:hover { color: var(--c-primary); }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 0.75rem;
}

/* Footer nav DL */
.footer-nav-dl dt,
.footer-nav-dl dd { display: block; }
.footer-nav-dl dt {
  margin-bottom: 0;
}
.footer-nav-dl dt a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-nav-dl dt a:hover { color: var(--c-primary); }
.footer-nav-dl dd {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  padding-bottom: 0.5rem;
  line-height: 1.4;
}

/* Footer trust links */
.footer-trust-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-trust-links li a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-trust-links li a:hover { color: var(--c-secondary); }

/* Subscribe form */
.footer-subscribe-desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subscribe-form input[type="email"] {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: var(--c-text);
  width: 100%;
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 8px rgba(128,0,255,0.3);
}
.subscribe-form input::placeholder { color: var(--c-text-dim); }
.btn-subscribe {
  min-height: 44px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.btn-subscribe:hover { box-shadow: var(--c-glow-primary); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--c-border);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1rem;
}
.footer-rg {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,0,255,0.04);
  border: 1px solid var(--c-border-2);
  border-radius: 8px;
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy { font-size: 0.78rem; color: var(--c-text-dim); }
.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-links li a {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-bottom-links li a:hover { color: var(--c-primary); }

/* ============================================================
   GLITCH ANIMATION
   ============================================================ */
@keyframes glitch-skew {
  0%, 100% { transform: skew(0deg); }
  20% { transform: skew(-1.5deg); }
  40% { transform: skew(1deg); }
  60% { transform: skew(-0.5deg); }
  80% { transform: skew(0.8deg); }
}
@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(128,0,255,0.7); }
  50% { text-shadow: 0 0 20px rgba(255,0,255,0.9), 0 0 40px rgba(128,0,255,0.5); }
}
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-h1 { animation: glow-pulse 3s ease-in-out infinite; }
.hero-article > * {
  animation: stagger-in 0.5s ease both;
}
.hero-article > *:nth-child(1) { animation-delay: 0.05s; }
.hero-article > *:nth-child(2) { animation-delay: 0.12s; }
.hero-article > *:nth-child(3) { animation-delay: 0.2s; }
.hero-article > *:nth-child(4) { animation-delay: 0.28s; }
.hero-article > *:nth-child(5) { animation-delay: 0.36s; }

.glass-card {
  animation: stagger-in 0.4s ease both;
}

/* ============================================================
   HERO IMAGE
   ============================================================ */
.guide-hero-img-wrap {
  margin-top: 1.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.guide-hero-img { width: 100%; height: auto; }

/* ============================================================
   RESPONSIVE — TABLET ≤900px
   ============================================================ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .content-with-sidebar {
    grid-template-columns: 220px 1fr;
  }
  --col-side: 220px;
}

/* ============================================================
   RESPONSIVE — MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: calc(var(--announce-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 140;
    padding: 1.5rem 1rem;
  }
  .primary-nav.nav-open {
    transform: translateX(0);
  }
  .nav-dl {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-dl dt { display: none; }
  .nav-dl dd { width: 100%; }
  .nav-dl dd a {
    font-size: 1rem;
    padding: 0.85rem 1rem;
    min-height: 44px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    color: var(--c-text);
    white-space: normal;
  }

  .header-ctas {
    margin-left: auto;
  }
  .cta {
    padding: 0 0.7rem;
    font-size: 0.75rem;
    min-height: 40px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: 1;
  }
  .main-column { order: 0; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section { min-height: auto; padding: 2rem 0 1rem; }
  .hero-h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .child-dl { grid-template-columns: 1fr; }

  .anchor-strip {
    top: calc(var(--announce-h) + var(--header-h));
  }

  .guide-footer-cta {
    flex-direction: column;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .announce-strip { font-size: 0.7rem; }
  .cta { font-size: 0.7rem; padding: 0 0.55rem; }
  .prose h2 { font-size: 1.2rem; }
  .prose h3 { font-size: 1rem; }
  .prose table { font-size: 0.78rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}