/* ═══════════════════════════════════════════════════════════
   CENTRONIUM · SHARED STYLES
   Used by: index.html, launch-plan.html, phase-1-report.html
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:           #0b0f0e;
  --bg-elev:      #111715;
  --bg-elev-2:    #161e1b;
  --line:         #1f2926;
  --line-bright:  #2d3b36;
  --text:         #e7efea;
  --text-dim:     #8a978f;
  --text-faint:   #4d5a54;
  --accent:       #6ee7a7;
  --accent-dim:   #2dd47a;
  --accent-glow:  rgba(110, 231, 167, 0.14);
  --warn:         #f0b94a;
  --crit:         #ef6b6b;
  --gold:         #d4a574;

  /* Whitepaper palette (used on launch-plan.html) */
  --paper:        #f4ede0;
  --paper-elev:   #ebe2d0;
  --paper-line:   #d8ccb4;
  --paper-line-2: #b8a988;
  --ink:          #1a1614;
  --ink-dim:      #4a4138;
  --ink-faint:    #7a6d5e;
  --ink-accent:   #2d5d3f;
  --ink-rule:     #1a1614;

  --serif:        'Fraunces', ui-serif, Georgia, serif;
  --mono:         'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(110, 231, 167, 0.04), transparent),
    linear-gradient(180deg, #0b0f0e 0%, #080b0a 100%);
  background-attachment: fixed;
}

::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }

/* ═══ Top banner / nav (dark pages) ═══ */
.banner {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 14, 0.85);
}
.banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.banner-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 600;
}
.banner-brand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.banner-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.banner-nav a {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.banner-nav a:hover { color: var(--text); }
.banner-nav a.active {
  color: var(--accent);
}
.banner-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 1px;
  background: var(--accent);
}

/* ═══ Layout container ═══ */
.doc {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══ Footer ═══ */
footer.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
footer.site-footer span { color: var(--accent); }
footer.site-footer .footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
footer.site-footer .footer-links a {
  color: var(--text-faint);
  transition: color 0.2s;
}
footer.site-footer .footer-links a:hover { color: var(--accent); }

/* ═══ Hero ═══ */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.5;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-bright);
  max-width: 200px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 760px;
  letter-spacing: -0.01em;
}

/* ═══ Section primitives ═══ */
section.chapter {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.chapter-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.chapter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 900px;
}
.chapter-title em {
  font-style: italic;
  color: var(--accent);
}
.chapter-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ═══ Responsive ═══ */
@media (max-width: 800px) {
  .banner-nav { gap: 16px; }
  .banner-nav a { font-size: 10px; letter-spacing: 0.12em; }
}
@media (max-width: 600px) {
  .doc { padding: 0 20px; }
  .banner-nav { display: none; }
  section.chapter { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
