/* Valun launch site — dark editorial, no dependencies */

:root {
  --bg: #0a0a0f;
  --bg-soft: #101016;
  --bg-card: #14141c;
  --ink: #eceae4;
  --ink-dim: #a8a49b;
  --ink-faint: #6e6a61;
  --gold: #f5b942;
  --gold-deep: #c98f2b;
  --line: #23232c;
  --serif: Georgia, "Times New Roman", "Nimbus Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245,185,66,.5); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(245,185,66,0); }
}

.lede { color: var(--ink-dim); font-size: 19px; max-width: 62ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,15,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.wordmark { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-family: var(--serif); font-size: 21px; }
.wordmark:hover { text-decoration: none; }
.wordmark-mark { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--ink-dim); font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav .btn-ghost { margin-left: 0.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #14100a; }
.btn-primary:hover { background: #ffc95e; box-shadow: 0 6px 24px rgba(245,185,66,.25); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-dim); padding: 0.55rem 1rem; font-size: 14px; }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- hero ---------- */
.hero { padding: 6.5rem 1.5rem 5rem; border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.subline { color: var(--ink-dim); font-size: 19px; max-width: 46ch; }
.hero-figure { text-align: center; }
.hero-figure img {
  width: 100%; max-width: 380px; border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.hero-figure figcaption { margin-top: 0.9rem; color: var(--ink-faint); font-size: 14px; font-style: italic; }

/* ---------- sections ---------- */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }
section h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.2rem; }
.prose p { color: var(--ink-dim); margin-bottom: 1.2rem; font-size: 18px; }
.prose strong { color: var(--ink); }
.prose em { color: var(--gold); }

/* ---------- proof band ---------- */
.proof { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.notes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  margin-top: 2.6rem;
}
.note-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
}
.note-card.featured { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep), 0 18px 50px rgba(0,0,0,.35); }
.note-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.note-card h3 { font-size: 1.5rem; }
.tag {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-dim); border: 1px solid var(--line);
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.tag-gold { color: var(--gold); border-color: var(--gold-deep); }
.countdown {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-variant-numeric: tabular-nums;
}
.facts { display: grid; gap: 0.55rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; }
.facts dt { color: var(--ink-faint); font-size: 14px; }
.facts dd { color: var(--ink); font-size: 14.5px; text-align: right; }
.facts .mono { font-family: var(--mono); font-size: 13px; }
.proof-links { margin-top: 1.8rem; color: var(--ink-faint); font-size: 15px; display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.steps li {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.6rem;
}
.step-num { font-family: var(--mono); color: var(--gold); font-size: 13px; letter-spacing: 0.1em; }
.steps h3 { margin: 0.7rem 0 0.6rem; font-size: 1.35rem; }
.steps p { color: var(--ink-dim); font-size: 15px; }

/* ---------- builders ---------- */
.builders { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.five-mins { list-style: none; counter-reset: mins; margin-top: 2.4rem; display: grid; gap: 1rem; }
.five-mins li {
  counter-increment: mins;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.4rem 1.1rem 4.2rem;
  position: relative; font-size: 16.5px; color: var(--ink-dim);
}
.five-mins li::before {
  content: counter(mins);
  position: absolute; left: 1.3rem; top: 1rem;
  font-family: var(--serif); font-size: 1.3rem; color: var(--gold);
}
.five-mins strong { color: var(--ink); }
.spec-note {
  margin-top: 2.2rem; border-left: 2px solid var(--gold-deep);
  padding: 0.4rem 0 0.4rem 1.6rem;
}
.spec-note h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.spec-note p { color: var(--ink-dim); margin-bottom: 0.8rem; }
.api-line { font-size: 15.5px; }

/* ---------- timeline ---------- */
.timeline-list { list-style: none; margin-top: 2.4rem; display: grid; gap: 0; }
.timeline-list li {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.6rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.timeline-list li:last-child { border-bottom: none; }
.t-date { font-family: var(--mono); font-size: 13.5px; color: var(--gold); padding-top: 0.35rem; white-space: nowrap; }
.timeline-list h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.timeline-list p { color: var(--ink-dim); font-size: 15.5px; }
.timeline-list .gate h3 { color: var(--gold); }
.timeline-list .done { opacity: 0.62; }

/* ---------- honesty ---------- */
.honesty { background: #0d0d12; border-top: 1px solid var(--line); }
.honesty-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.honesty-list li {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.4rem; color: var(--ink-dim); font-size: 16px;
  background: var(--bg-card);
}
.honesty-list strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand .wordmark-mark { width: 40px; height: 40px; }
.footer-name { font-family: var(--serif); font-size: 19px; }
.footer-tag { color: var(--ink-faint); font-size: 14px; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 14.5px; }
.footer-fine { color: var(--ink-faint); font-size: 13.5px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 260px; }
  .notes-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 3.6rem 1.25rem; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .timeline-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .nav .btn-ghost { display: none; }
  body { font-size: 16px; }
}
