/* OpenVoice marketing site — minimal, dark, type-led. */

:root {
  --bg: #0c0e12;
  --bg-elevated: #161922;
  --bg-elevated-2: #1d2230;
  --text: #e6e8ec;
  --text-dim: #98a0b3;
  --text-faint: #5b6577;
  --border: #232839;
  --accent: #7ab8ff;
  --accent-warm: #ffd27a;
  --tag-basic: #6f7689;
  --tag-pro: #ffd27a;
  --tag-custom: #b78aff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

main { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* Header / nav */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
nav {
  max-width: 1080px; margin: 0 auto;
  padding: 18px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-spacer { flex: 1; }
.nav-link {
  font-size: 14px;
  color: var(--text-dim);
}

/* Hero */
.hero { padding: 96px 0 64px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  font-weight: 700;
}
.hero .accent { color: var(--accent); }
.lede {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0;
}

/* Section headers */
section h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}
.section-lede {
  color: var(--text-dim);
  margin: 0 0 40px;
  font-size: 18px;
}

/* Tiers */
.tiers { padding: 64px 0; border-top: 1px solid var(--border); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.tier.featured {
  background: var(--bg-elevated-2);
  border-color: rgba(255, 210, 122, 0.35);
}
.tier header { padding: 0; border: none; position: static; background: none; }
.tier header h3 { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.tier .tagline { margin: 0; color: var(--text-dim); font-size: 14px; }
.tier .desc { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6; flex: 1; }

.tier-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  color: var(--bg);
}
.tag-basic { background: var(--tag-basic); color: var(--bg); }
.tag-pro { background: var(--tag-pro); color: var(--bg); }
.tag-custom { background: var(--tag-custom); color: var(--bg); }

.tier audio {
  width: 100%;
  margin-top: 4px;
  filter: invert(0.85) hue-rotate(180deg); /* tame the default player chrome on dark */
}

/* How it works */
.how { padding: 64px 0; border-top: 1px solid var(--border); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 24px 0 24px 56px;
  border-top: 1px solid var(--border);
  position: relative;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}
.steps li:first-child { border-top: none; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
}
.steps strong { color: var(--text); font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 32px 28px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
}
.muted { color: var(--text-faint); }

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  section h2 { font-size: 26px; }
  .tier { padding: 22px; }
}
