/* ═══════════════════════════════════════════════════════
   simple.css — Shared design system for the Halo Digital
   plain-language site (all simple-*.html pages)
═══════════════════════════════════════════════════════ */

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

:root {
  --gold:    #C4A35A;
  --gold-dk: #9E7E38;
  --gold-lt: rgba(196,163,90,0.09);
  --text:    #1A1815;
  --sub:     #3A4048;
  --muted:   #6B7280;
  --border:  rgba(180,170,155,0.35);
  --bg:      #F8F9FA;
  --white:   #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── BACK BAR (slim strip; the floating Go Back pill is the loud one) ── */
.back-bar {
  background: rgba(243,246,249,0.92);
  border-bottom: 1px solid var(--border);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.back-bar a {
  color: var(--gold-dk);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.back-bar a:hover { color: var(--text); }
.back-bar .bar-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── GO BACK — always-visible escape pill ───── */
.go-back {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(26,24,21,0.28);
  transition: background 0.15s, transform 0.1s;
}
.go-back:hover { background: #000; transform: translateY(-1px); }

/* ── SITE HEADER + NAV ──────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.wordmark .o {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  background: var(--text);
  border-radius: 50%;
  vertical-align: 0.01em;
  color: transparent;
  overflow: hidden;
  margin-left: 0.04em;
}
.header-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2px;
}
.simple-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}
.simple-nav a {
  text-decoration: none;
  color: var(--sub);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.simple-nav a:hover { color: var(--text); }
.simple-nav a.active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* ── LAYOUT ─────────────────────────────────── */
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── PAGE HERO (subpages) ───────────────────── */
.page-hero {
  padding: 64px 40px 56px;
  max-width: 820px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.page-hero h1 {
  font-weight: 500;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.page-hero > p {
  font-size: 1.03rem;
  color: var(--sub);
  line-height: 1.82;
  max-width: 560px;
}

/* ── SECTION BASE ───────────────────────────── */
.section {
  padding: 72px 40px;
  max-width: 820px;
  margin: 0 auto;
}
.section + .section { border-top: 1px solid var(--border); }

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section > h2 {
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section > .section-lead {
  font-size: 1rem;
  color: var(--sub);
  max-width: 560px;
  margin-bottom: 44px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 22px 52px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-gold:hover { background: var(--gold-dk); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--sub);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 22px 52px;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── STEPS (shared across pages) ───────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 4px;
}
.step-body h3 {
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.step-body p {
  font-size: 1rem;
  color: var(--sub);
  line-height: 1.8;
  max-width: 520px;
}

/* ── DARK CTA ────────────────────────────────── */
.cta-dark {
  background: var(--text);
  padding: 80px 40px;
}
.cta-dark-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.cta-dark .page-eyebrow { color: var(--gold); justify-content: center; }
.cta-dark .page-eyebrow::before { display: none; }
.cta-dark h2 {
  font-weight: 220;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
  color: #fff;
}
.cta-dark p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 44px;
}
.cta-dark .note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.cta-dark .note a { color: rgba(255,255,255,0.48); text-decoration: none; }
.cta-dark .note a:hover { color: #fff; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: #141210;
  padding: 26px 40px;
}
.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.53rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.footer-inner a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-inner a:hover { color: #fff; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 680px) {
  .back-bar { padding: 10px 20px; }
  .go-back { bottom: 14px; left: 14px; padding: 12px 18px; }
  .site-header { height: auto; padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  .header-tagline { display: none; }
  .simple-nav { gap: 14px; }
  .simple-nav a { font-size: 0.8rem; }
  .page-hero { padding: 48px 20px 44px; }
  .section { padding: 56px 20px; }
  .cta-dark { padding: 60px 20px; }
  footer { padding: 22px 20px; }
  .step { gap: 18px; }
  .step-num { width: 42px; height: 42px; font-size: 0.85rem; }
}
