/* =====================
   GHOST — Y2K ZINE AESTHETIC
   ===================== */

:root {
  --bg: #F5F0E8;
  --ink: #0D0D0D;
  --accent: #C8F525;
  --accent-dim: #A8D420;
  --mid: #8C8C8C;
  --border: #0D0D0D;
  --terminal-bg: #111111;
  --terminal-green: #C8F525;
  --terminal-dim: #666666;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Mono', monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.nav-links a:hover { text-decoration: underline; }

/* ── SECTION HELPERS ── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

.section-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--mid);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

/* ── HERO ── */
.hero {
  padding: 4rem 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-label {
  margin-bottom: 1.5rem;
}

.label-tag {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 0.3rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content {
  margin-bottom: 3rem;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-item {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  padding: 0.25rem 0.6rem;
}

.detail-sep {
  color: var(--mid);
  font-size: 0.75rem;
}

/* ── TERMINAL BLOCK ── */
.hero-visual {
  margin-bottom: 3rem;
}

.terminal-block {
  background: var(--terminal-bg);
  border: 2px solid var(--ink);
  max-width: 540px;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #222;
  background: #1a1a1a;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  display: block;
}

.dot:first-child { background: #ff5f57; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #28ca41; }

.terminal-label {
  margin-left: 0.5rem;
  color: #555;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.terminal-line { font-size: 0.78rem; line-height: 1.5; }
.t-dim { color: #555; }
.t-accent { color: var(--terminal-green); font-style: italic; }
.t-output { color: #f0f0f0; font-style: italic; }
.t-success { color: var(--terminal-green); font-weight: 700; }

.ghost-label {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.ghost-accent { color: var(--accent-dim); }

/* ── HERO BOTTOM RULE ── */
.hero-bottom-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 2px solid var(--ink);
  margin-top: 1rem;
}

.rule-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mid);
  white-space: nowrap;
  text-transform: uppercase;
}

.rule-line {
  flex: 1;
  height: 1px;
  background: var(--ink);
  opacity: 0.15;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid rgba(13,13,13,0.12);
  border-bottom: 1px solid rgba(13,13,13,0.12);
}

.step:nth-child(even) { border-right: none; }
.step:nth-last-child(-n+2) { border-bottom: none; }

.step--offset { padding-left: 2rem; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--mid);
  display: block;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

/* ── FEATURES ── */
.features {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--bg);
}

.features .section-header { border-color: var(--bg); }
.features .section-num { color: #666; }
.features .section-title { color: var(--bg); }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature-block {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid rgba(245,240,232,0.1);
  border-bottom: 1px solid rgba(245,240,232,0.1);
}

.feature-block:nth-child(even) { border-right: none; }
.feature-block:nth-last-child(-n+2) { border-bottom: none; }

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--bg);
}

.feature-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.65;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.manifesto-left {
  padding-right: 2rem;
}

.manifesto-lead {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.manifesto-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.manifesto-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.m-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--mid);
  display: block;
  margin-top: 0.2rem;
  min-width: 1.5rem;
}

.manifesto-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
}

/* ── CLOSING ── */
.closing {
  border-top: 2px solid var(--ink);
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.closing-inner { max-width: 800px; }

.closing-statement {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.closing-detail {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(13,13,13,0.15);
  padding-top: 2rem;
}

.detail-col { display: flex; flex-direction: column; gap: 0.4rem; }

.detail-key {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 700;
}

.detail-val {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: 2.5rem 2rem;
  background: var(--ink);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg);
}

.footer-rule {
  height: 1px;
  background: rgba(245,240,232,0.15);
}

.footer-sub {
  font-size: 0.8rem;
  color: #888;
}

.footer-legal {
  font-size: 0.7rem;
  color: #444;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  
  .hero { padding: 2rem 1.25rem 0; }
  
  .steps-grid,
  .features-layout,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  
  .step,
  .feature-block {
    border-right: none;
    padding-right: 0;
  }
  
  .step--offset { padding-left: 0; }
  
  .manifesto-left { padding-right: 0; }
  
  .closing-detail { gap: 1.5rem; flex-wrap: wrap; }
  
  .how, .features, .manifesto, .closing {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.75rem; }
  .closing-statement { font-size: 1.75rem; }
  .feature-block, .step { padding: 1.5rem 0; }
  .features-layout,
  .steps-grid { border-bottom: 1px solid rgba(13,13,13,0.12); }
}