:root {
  --bg: #0F1C2E;
  --surface: #162540;
  --surface-2: #1D3357;
  --accent: #D4A853;
  --accent-dim: #A07C34;
  --text: #F5EFE0;
  --text-muted: #8B9BB4;
  --text-dim: #5A7090;
  --border: rgba(212, 168, 83, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-app-link {
  margin-left: auto;
  padding: 0.45rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-app-link:hover { background: var(--accent-dim); }

/* Hero */
.hero {
  padding: 5rem 2.5rem 4rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-text {
  max-width: 780px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}
.hero-rule {
  max-width: 1100px;
  margin: 4rem auto 0;
  height: 1px;
  background: var(--border);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: inline-block;
}
.phone-mock {
  width: 220px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 16px 14px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.phone-screen {
  background: #0A1525;
  border-radius: 18px;
  padding: 20px 16px 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.staff-lines {
  position: relative;
  height: 50px;
  margin-bottom: 8px;
}
.staff-line {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: rgba(212, 168, 83, 0.35);
}
.staff-line:nth-child(1) { top: 0; }
.staff-line:nth-child(2) { top: 12px; }
.staff-line:nth-child(3) { top: 24px; }
.staff-line:nth-child(4) { top: 36px; }
.staff-line:nth-child(5) { top: 48px; }
.music-fragments {
  margin-top: 6px;
}
.note-cluster {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  padding-left: 8px;
}
.note {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 239, 224, 0.5);
}
.note.accent {
  background: var(--accent);
  width: 12px;
  height: 12px;
}
.phone-label {
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: auto;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(212,168,83,0.3);
}
.badge-hand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Sections */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

/* How it works */
.howitworks {
  padding: 5rem 0 4rem;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1rem;
  line-height: 1;
}
.step h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Features */
.features {
  padding: 5rem 0 4rem;
  border-top: 1px solid var(--border);
  background: rgba(22, 37, 64, 0.4);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 4rem;
}
.feature-card {
  padding: 2rem 2rem 2rem 0;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-quote {
  max-width: 680px;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.manifesto-sub {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.5rem 3rem; }
  .hero-headline { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .phone-mock { width: 180px; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .howitworks, .features, .manifesto { padding: 3rem 0; }
  .section-inner { padding: 0 1.5rem; }
  .manifesto { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav { padding: 1rem 1.5rem; }
}