/* Landing page — matches /app aesthetic for brand consistency */

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

:root {
  --bg: #0c0c0e;
  --surface: #151518;
  --surface-2: #1e1e23;
  --border: #2a2a32;
  --text: #e8e6e0;
  --muted: #7a7880;
  --accent: #e8a045;
  --accent-dim: rgba(232,160,69,0.12);
  --accent-hover: rgba(232,160,69,0.18);
  --danger: #e05c5c;
  --success: #5cb88a;
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3 { line-height: 1.15; }
h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

p { color: var(--muted); max-width: 520px; }

/* ── Layout ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-brand span { color: var(--muted); font-weight: 400; }

.btn-nav {
  display: inline-block;
  padding: 9px 22px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-nav:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ── */
.hero {
  padding: 64px 0 96px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,160,69,0.25);
  border-radius: 100px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }

.hero p { font-size: 1.05rem; margin-bottom: 40px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #0c0c0e;
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(232,160,69,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* ── Blueprint Preview ── */
.preview-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}
.preview-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  margin-top: 24px;
}
.preview-card h2 { font-size: 1.5rem; margin-bottom: 24px; color: var(--accent); }
.preview-card p { color: var(--text); font-size: 0.88rem; line-height: 1.8; margin-bottom: 16px; }
.preview-card strong { color: var(--text); }
.preview-section-list { margin-top: 8px; }
.preview-section-list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  list-style: none;
}
.preview-section-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}
.preview-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.preview-cta .btn-primary { font-size: 0.82rem; padding: 10px 20px; }
.preview-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-meta svg { width: 14px; height: 14px; color: var(--success); }

/* ── Features ── */
.features { padding: 0 0 80px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover { border-color: rgba(232,160,69,0.35); background: var(--surface-2); }
.feature-icon {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,160,69,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1rem;
}
.feature-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── How it Works ── */
.how { padding: 0 0 80px; }
.steps { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  flex-shrink: 0;
}
.step h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step p { font-size: 0.82rem; line-height: 1.55; }

/* ── CTA Band ── */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 64px 40px;
  text-align: center;
  margin-bottom: 80px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0 auto 32px; text-align: center; }
.cta-band .btn-primary { font-size: 1rem; padding: 15px 36px; }

/* ── Footer ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.footer-copy { font-size: 0.75rem; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero { padding: 40px 0 64px; }
  .preview-card { padding: 24px 20px; }
  .cta-band { padding: 40px 24px; }
  .steps { gap: 0; }
}