/* ══════════════════════════════════════════════════════════════
   LAUNCHPAD APPS — shared design system
   Warm ink + gold/coral/teal. Fraunces (display) + Plus Jakarta Sans (body).
   ══════════════════════════════════════════════════════════════ */

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

:root {
  /* neutrals — warm ink, not pure black */
  --ink:        #100E0B;
  --surface:    #17140E;
  --surface-2:  #1E1A12;
  --surface-3:  #262019;
  --border:     rgba(245,241,232,0.09);
  --border-2:   rgba(245,241,232,0.16);

  /* text */
  --text:       #F5F1E6;
  --text-mut:   rgba(245,241,230,0.62);
  --text-dim:   rgba(245,241,230,0.36);

  /* brand accents */
  --gold:       #4F6BEB;
  --gold-br:    #7C93F5;
  --coral:      #E14B3B;
  --coral-br:   #F0715F;
  --teal:       #2FBFA0;
  --teal-br:    #5CD9BC;

  --shadow: 0 20px 60px -20px rgba(0,0,0,0.55);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── layout helpers ── */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 6vw; padding-right: 6vw; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--surface); }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-br); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.s-head { max-width: 640px; margin-bottom: 52px; }
.s-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; margin-bottom: 14px; }
.s-head p { font-size: 1.02rem; color: var(--text-mut); line-height: 1.75; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.92rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-br), var(--gold)); color: #241706; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(79,107,235,0.5); }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-br); }
.btn-ghost { background: rgba(245,241,230,0.05); color: var(--text-mut); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); }
.btn-soon { background: rgba(245,241,230,0.04) !important; border: 1px dashed var(--border-2) !important; color: var(--text-dim) !important; cursor: not-allowed !important; }
.btn-soon:hover { transform: none !important; box-shadow: none !important; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ── nav ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw; background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, padding .3s ease;
}
nav.site-nav.scrolled { background: rgba(16,14,11,0.86); backdrop-filter: blur(18px); border-bottom-color: var(--border); padding: 13px 6vw; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.logo-icon { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.logo-icon svg { width: 32px; height: 32px; display: block; }
.logo-word { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.logo-word .fade { color: var(--text-dim); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--text-mut); text-decoration: none; font-size: 0.87rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-back { font-size: 0.87rem; color: var(--text-mut); text-decoration: none; font-weight: 600; transition: color .2s; }
.nav-back:hover { color: var(--text); }

/* ── footer ── */
footer.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 60px 6vw 30px; }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.f-brand p { font-size: 0.87rem; color: var(--text-mut); margin-top: 14px; max-width: 280px; line-height: 1.75; }
.f-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a { font-size: 0.87rem; color: var(--text-mut); text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--text); }
.f-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.f-bottom p { font-size: 0.78rem; color: var(--text-dim); }
.f-links { display: flex; gap: 18px; flex-wrap: wrap; }
.f-links a { font-size: 0.78rem; color: var(--text-dim); text-decoration: none; }
.f-links a:hover { color: var(--text-mut); }

@media (max-width: 900px) {
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .f-top { grid-template-columns: 1fr; gap: 26px; }
  .f-brand { grid-column: 1; }
}

/* ── generic cards / chips ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 7px; font-size: 0.68rem; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.chip-gold { background: rgba(79,107,235,0.12); color: var(--gold-br); border: 1px solid rgba(79,107,235,0.25); }
.chip-teal { background: rgba(47,191,160,0.12); color: var(--teal-br); border: 1px solid rgba(47,191,160,0.25); }
.chip-dim  { background: rgba(245,241,230,0.05); color: var(--text-dim); border: 1px solid var(--border); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-mut); line-height: 1.6; }
.checklist .ck { color: var(--teal-br); flex-shrink: 0; margin-top: 2px; }

/* ── legal pages ── */
.legal-wrap { max-width: 740px; margin: 0 auto; padding: 128px 6vw 100px; }
.legal-title { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 10px; }
.legal-meta { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-body h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--text); margin: 38px 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); }
.legal-body p { font-size: 0.9rem; color: var(--text-mut); margin-bottom: 13px; line-height: 1.8; }
.legal-body ul { padding-left: 20px; margin-bottom: 13px; }
.legal-body li { font-size: 0.9rem; color: var(--text-mut); margin-bottom: 7px; line-height: 1.7; }
.legal-body a { color: var(--gold-br); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text); }
.highlight { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 20px 24px; margin: 22px 0; font-size: 0.88rem; color: var(--text-mut); line-height: 1.75; }
.highlight strong { color: var(--text); }
.badge-line { display: inline-flex; align-items: center; gap: 8px; background: rgba(47,191,160,0.08); border: 1px solid rgba(47,191,160,0.22); border-radius: var(--radius-sm); padding: 11px 16px; margin: 20px 0; font-size: 0.84rem; color: var(--teal-br); font-weight: 600; }

/* ── reveal-on-scroll ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.vis { opacity: 1; transform: none; }
