/* AudioBlend — audioblend.io
   Mostly black & white; coral (#FF6B6B) and teal (#4ECDC4) reserved for
   the crossfader motif and small accents. No build step, no dependencies. */

:root {
  --bg: #0a0a0b;
  --bg-raised: #131316;
  --text: #f4f4f5;
  --text-dim: #9b9ba3;
  --line: #26262b;
  --coral: #FF6B6B;
  --teal: #4ECDC4;
  --max: 1040px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); }
a:hover { opacity: 0.8; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header {
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark-img {
  height: 30px;
  width: auto;
  display: block;
}

.hero-logo {
  height: 120px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); opacity: 1; }

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 96px 0 72px;
}

.hero .hero-logo { margin-bottom: 34px; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto;
}

.hero .sub {
  color: var(--text-dim);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 46ch;
  margin: 22px auto 0;
}

.soon {
  display: inline-block;
  margin-top: 34px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.soon strong { color: var(--text); font-weight: 600; }

/* ---------- Crossfader graphic ---------- */

.fader {
  max-width: 560px;
  margin: 72px auto 0;
  padding: 0 12px;
}

.fader-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.fader-labels .l { color: var(--coral); }
.fader-labels .r { color: var(--teal); }

.fader-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--teal);
}

/* coral fills from the left up to the thumb; teal (the track) shows beyond it */
.fader-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: var(--coral);
  border-radius: 3px 0 0 3px;
  animation: fill 4s ease-in-out infinite alternate;
}

@keyframes fill {
  0%   { width: 14%; }
  45%  { width: 82%; }
  70%  { width: 40%; }
  100% { width: 62%; }
}

.fader-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  animation: slide 4s ease-in-out infinite alternate;
}

@keyframes slide {
  0%   { left: 14%; }
  45%  { left: 82%; }
  70%  { left: 40%; }
  100% { left: 62%; }
}

.fader-meters {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 24px;
}

.meter {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 26px;
}

.meter span {
  width: 5px;
  border-radius: 2px;
  animation: bounce 1.1s ease-in-out infinite alternate;
}
.meter.left span  { background: var(--coral); }
.meter.right span { background: var(--teal); }

.meter span:nth-child(1) { height: 40%; animation-delay: 0s; }
.meter span:nth-child(2) { height: 85%; animation-delay: 0.18s; }
.meter span:nth-child(3) { height: 60%; animation-delay: 0.36s; }
.meter span:nth-child(4) { height: 95%; animation-delay: 0.1s; }
.meter span:nth-child(5) { height: 50%; animation-delay: 0.28s; }

@keyframes bounce {
  from { transform: scaleY(0.45); }
  to   { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fader-thumb { animation: none; left: 40%; }
  .fader-fill { animation: none; width: 40%; }
  .meter span { animation: none; }
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

section h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 24ch;
}

section .lede {
  color: var(--text-dim);
  max-width: 58ch;
  margin-top: 16px;
  font-size: 1.08rem;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.step .num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* Use cases */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.98rem;
}

.card .mix {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.card .mix .bar {
  height: 4px;
  border-radius: 2px;
  flex: none;
}
.card .mix .bar.c { background: var(--coral); }
.card .mix .bar.t { background: var(--teal); }

/* Feature rows */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
  margin-top: 52px;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* Closing */

.closing {
  text-align: center;
}

.closing h2 { margin: 0 auto; }
.closing .lede { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  gap: 24px;
}

.foot a {
  color: var(--text-dim);
  text-decoration: none;
}
.foot a:hover { color: var(--text); opacity: 1; }

/* ---------- Legal / support pages ---------- */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page h1 {
  font-size: 2.1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.page .updated {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 40px;
}

.page h2 {
  font-size: 1.25rem;
  font-weight: 650;
  margin: 40px 0 12px;
}

.page p, .page li {
  color: var(--text-dim);
  margin-bottom: 12px;
}

.page ul { padding-left: 22px; margin-bottom: 12px; }

.page strong { color: var(--text); font-weight: 600; }

.page a { color: var(--teal); text-decoration: none; }
.page a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  section { padding: 64px 0; }
  .nav-links { gap: 18px; }
}
