@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Orbitron:wght@700;900&display=swap');

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:        #0D0D0D;
  --green:     #39FF14;
  --magenta:   #FF00C8;
  --surface:   #111111;
  --surface2:  #1A1A1A;
  --muted:     #555555;
  --text:      #E8E8E8;
  --text-dim:  #AAAAAA;
  --border:    #1F1F1F;
  --radius:    18px;
  --font-hud:  'Orbitron', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --nav-h:     64px;
  --max-w:     1200px;
  --col-w:     680px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: underline; }
a:hover { color: var(--magenta); }
ul, ol, menu { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-hud); line-height: 1.2; }
h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--green); }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); color: var(--magenta); }
h3 { font-size: 1.1rem; color: var(--green); }
p { margin-bottom: 1rem; }
hr {
  border: none;
  border-top: 1px solid var(--green);
  margin: 0.6rem 0 1.2rem;
  opacity: 0.4;
}

/* ─── SITE WRAPPER ───────────────────────────────────── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--nav-h);
}

/* ─── BOTTOM NAV ─────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.96);
  border-top: 1px solid var(--green);
  height: var(--nav-h);
  backdrop-filter: blur(8px);
}
.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
  gap: 0.5rem;
}
.nav-brand {
  font-family: var(--font-hud);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex: 0 0 auto;
  text-transform: uppercase;
}
.nav-brand:hover { color: var(--magenta); }

/* Nav details/summary structure */
.nav-details { position: relative; flex: 0 0 auto; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  font-family: var(--font-hud);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--green);
  background: transparent;
  list-style: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::marker { display: none; }
.nav-toggle:hover { background: var(--green); color: var(--bg); }

.nav-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--green);
  min-width: 280px;
  padding: 0.5rem 0;
  z-index: 1100;
}
.nav-menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.nav-menu li:last-child a { border-bottom: none; }
.nav-menu li a:hover { background: var(--green); color: var(--bg); }

/* CTA buttons in nav */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.9rem;
  font-family: var(--font-hud);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cta-signup {
  background: var(--green);
  color: var(--bg);
  border: 2px solid var(--green);
}
.cta-signup:hover { background: var(--magenta); border-color: var(--magenta); color: var(--bg); }
.cta-login {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.cta-login:hover { background: var(--green); color: var(--bg); }

/* ─── PARALLAX ROOT ──────────────────────────────────── */
.parallax-root {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.parallax-layer {
  will-change: transform;
}

/* ─── PAGE EYEBROW ───────────────────────────────────── */
.page-eyebrow {
  padding: 3rem 1rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.eyebrow-label {
  font-family: var(--font-hud);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--magenta);
  text-transform: uppercase;
  border-left: 3px solid var(--magenta);
  padding-left: 0.6rem;
}

/* ─── HERO (HOME) ────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem 2.5rem;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-img-wrap {
  position: absolute;
  overflow: hidden;
}
.hero-img-wrap-1 {
  top: 0; left: 0;
  width: 58%;
  height: 100%;
}
.hero-img-wrap-2 {
  bottom: 0; right: 0;
  width: 46%;
  height: 75%;
  outline: 2px solid var(--green);
  outline-offset: -4px;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-wrap-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.7) 0%, transparent 100%);
}
.hero-badge {
  position: absolute;
  font-family: var(--font-hud);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  z-index: 2;
}
.badge-1 {
  top: 1rem; left: 1rem;
  background: var(--green);
  color: var(--bg);
}
.badge-2 {
  bottom: 1.5rem; right: 1rem;
  background: var(--magenta);
  color: var(--bg);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: left;
}
.hero-h1 {
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(57,255,20,0.4);
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* ─── INNER MAIN / CONTENT GRID ─────────────────────── */
.inner-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  width: 100%;
}
.home-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  width: 100%;
}
.inner-article, .home-article, .faq-article, .article-article,
.about-article, .privacy-article {
  width: 100%;
}
.inner-header, .article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-h1 {
  margin-bottom: 0.6rem;
}

/* Content + Aside layout */
.inner-body, .home-intro, .faq-body, .article-body,
.about-body, .privacy-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.content-body {
  min-width: 0;
}

/* ─── CONTENT BODY TYPOGRAPHY ────────────────────────── */
.content-body h2 { margin-top: 2rem; margin-bottom: 0.3rem; }
.content-body h3 { margin-top: 1.5rem; margin-bottom: 0.3rem; }
.content-body p { margin-bottom: 1rem; }
.content-body ul, .content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li { margin-bottom: 0.4rem; line-height: 1.7; }
.content-body a { color: var(--green); text-decoration: underline; }
.content-body a:hover { color: var(--magenta); }
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
.content-body table th {
  background: var(--surface2);
  color: var(--green);
  font-family: var(--font-hud);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--green);
}
.content-body table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.content-body table tr:hover td { background: var(--surface2); }
.content-body blockquote {
  border-left: 3px solid var(--magenta);
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  color: var(--text-dim);
  font-style: italic;
}
.content-body hr {
  opacity: 0.25;
  margin: 1.5rem 0;
}

/* ─── BYLINE ─────────────────────────────────────────── */
.byline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}
.author-name { color: var(--magenta); }
.byline time { color: var(--green); }

/* ─── ASIDE ──────────────────────────────────────────── */
.inner-aside, .home-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}
.aside-heading {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.3rem;
}
.aside-heading-sm { margin-top: 1.2rem; }
.aside-list li { margin-bottom: 0.3rem; }
.aside-list li a {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
  display: block;
  padding: 0.2rem 0;
}
.aside-list li a:hover { color: var(--green); }
.aside-home {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-hud);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border: 1px solid var(--green);
  padding: 0.4rem 0.75rem;
  transition: background 0.15s, color 0.15s;
}
.aside-home:hover { background: var(--green); color: var(--bg); }

/* ─── HOME CARDS ─────────────────────────────────────── */
.home-guides { margin-top: 3rem; }
.section-heading { margin-bottom: 0.3rem; }
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.home-card {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(57,255,20,0.15);
}
.home-card h3 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.home-card h3 a { color: var(--green); text-decoration: none; }
.home-card h3 a:hover { color: var(--magenta); }
.card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.card-articles {
  margin-bottom: 0.75rem;
  padding-left: 0;
  counter-reset: card-counter;
}
.card-articles li {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  counter-increment: card-counter;
}
.card-articles li::before {
  content: counter(card-counter, decimal-leading-zero) " ";
  font-family: var(--font-hud);
  color: var(--magenta);
  font-size: 0.65rem;
  margin-right: 0.3rem;
}
.card-articles li a {
  color: var(--text-dim);
  text-decoration: none;
}
.card-articles li a:hover { color: var(--green); }
.card-articles li small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  padding-left: 1.4rem;
}
.card-cta {
  display: inline-block;
  font-family: var(--font-hud);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: background 0.15s;
}
.card-cta:hover { background: var(--magenta); }

/* ─── FAQ CHILDREN LIST ──────────────────────────────── */
.faq-children { margin-top: 2.5rem; }
.children-list { padding: 0; }
.children-list li {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: child-counter;
}
.children-list {
  counter-reset: child-counter;
}
.children-list li a {
  font-family: var(--font-hud);
  font-size: 0.85rem;
  color: var(--green);
  text-decoration: none;
}
.children-list li a:hover { color: var(--magenta); }
.children-list li small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ─── ARTICLE HERO ───────────────────────────────────── */
.article-hero-wrap {
  overflow: hidden;
  max-height: 300px;
  width: 100%;
}
.article-hero-img {
  width: 100%;
  object-fit: cover;
  max-height: 300px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.breadcrumb-link {
  font-family: var(--font-hud);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}
.breadcrumb-link:hover { color: var(--green); border-color: var(--green); }
.stage-label {
  font-family: var(--font-hud);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
}
.stage-awareness  { background: #001a00; color: var(--green); }
.stage-consideration { background: #1a0012; color: var(--magenta); }
.stage-decision   { background: #1a1100; color: #ffcc00; }

/* ─── ABOUT / AUTHOR ─────────────────────────────────── */
.author-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border-left: 3px solid var(--magenta);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.author-name-heading { color: var(--green); margin-bottom: 0.3rem; }
.author-credentials {
  font-family: var(--font-hud);
  font-size: 0.72rem;
  color: var(--magenta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.author-bio { font-size: 0.9rem; color: var(--text-dim); }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 2rem;
  row-gap: 0.6rem;
  align-items: start;
  margin-bottom: var(--nav-h);
}
.footer-rg {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  line-height: 1.5;
  margin: 0;
}
.footer-links {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  margin: 0;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
}
.footer-links a:hover { color: var(--green); }
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  display: block;
}

/* ─── HERO PARALLAX NO-IMG FALLBACK ─────────────────── */
.hero-img-wrap:empty { display: none; }

/* ─── SCROLL-TRIGGERED ENTRANCE ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .inner-body, .home-intro, .faq-body, .article-body,
  .about-body, .privacy-body {
    grid-template-columns: 1fr;
  }
  .inner-aside, .home-aside {
    position: static;
    margin-top: 1.5rem;
  }
  .home-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 40vh;
    padding: 1.5rem 1rem 2rem;
  }
  .hero-img-wrap-2 { display: none; }
  .hero-img-wrap-1 { width: 100%; }
  .home-cards { grid-template-columns: 1fr; }
  .bottom-nav-inner { padding: 0 0.5rem; }
  .nav-brand {
    font-size: 0.6rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cta { padding: 0 0.6rem; font-size: 0.55rem; }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-copy { text-align: left; }
  .nav-menu { min-width: 220px; }
}

@media (max-width: 375px) {
  body { font-size: 16px; }
  h1 { font-size: 1.45rem; }
}

/* ─── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .parallax-layer { will-change: auto !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .home-card { transition: none; }
  html { scroll-behavior: auto; }
}

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