/* VolumeMixer — studio console aesthetic */
:root {
  --bg: #0b0c0e;
  --panel: #141619;
  --panel-2: #1a1d21;
  --line: #26292e;
  --text: #e8e6e1;
  --muted: #8b8f96;
  --amber: #f5a623;
  --amber-dim: #b97c15;
  --green: #4ade80;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* fine grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- header ---------- */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
header.site .brand:hover { text-decoration: none; }
header.site .brand img { width: 28px; height: 28px; border-radius: 6px; }
header.site nav { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
header.site nav a { color: var(--muted); margin-left: 20px; text-transform: uppercase; }
header.site nav a:hover { color: var(--amber); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 72px;
}
.hero .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero .kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero p.sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 42ch;
  margin-bottom: 32px;
}
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #0b0c0e;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px -6px rgba(245, 166, 35, 0.5);
}
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- mixer illustration ---------- */
.mixer {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px 20px;
  display: flex;
  justify-content: space-around;
  gap: 8px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
.channel { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.channel .track {
  position: relative;
  width: 4px;
  height: 150px;
  background: #26292e;
  border-radius: 2px;
}
.channel .track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--level, 60%);
  background: linear-gradient(180deg, var(--amber), var(--amber-dim));
  border-radius: 2px;
}
.channel .thumb {
  position: absolute;
  left: 50%;
  bottom: var(--level, 60%);
  transform: translate(-50%, 50%);
  width: 26px;
  height: 14px;
  background: linear-gradient(180deg, #3a3e44, #202329);
  border: 1px solid #45494f;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
}
.channel .thumb::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; top: 50%;
  height: 1.5px;
  background: var(--amber);
  transform: translateY(-50%);
}
.channel label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.channel:nth-child(1) .track { animation: fade1 5.2s ease-in-out infinite; }
.channel:nth-child(2) .track { animation: fade2 6.4s ease-in-out infinite; }
.channel:nth-child(3) .track { animation: fade3 4.6s ease-in-out infinite; }
.channel:nth-child(4) .track { animation: fade4 7.1s ease-in-out infinite; }
@keyframes fade1 { 0%,100% { --level: 62%; } 50% { --level: 38%; } }
@keyframes fade2 { 0%,100% { --level: 45%; } 50% { --level: 78%; } }
@keyframes fade3 { 0%,100% { --level: 70%; } 50% { --level: 52%; } }
@keyframes fade4 { 0%,100% { --level: 30%; } 50% { --level: 58%; } }
@property --level { syntax: "<percentage>"; inherits: true; initial-value: 60%; }

/* ---------- sections ---------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.feature h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 14px; }

.specs { list-style: none; font-family: var(--mono); font-size: 13px; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.specs li span:first-child { color: var(--muted); }

/* ---------- support ---------- */
.support-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.support-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.support-card p { color: var(--muted); font-size: 14px; max-width: 48ch; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
footer.site a { color: var(--muted); margin-left: 18px; }
footer.site a:hover { color: var(--amber); }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 80px; max-width: 720px; }
.legal h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal .updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  color: var(--text);
  text-transform: none;
  font-family: var(--display);
}
.legal p, .legal li { color: #b9bcc2; font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal strong { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 48px; }
  .mixer { max-width: 360px; }
  .features { grid-template-columns: 1fr; }
  header.site nav a { margin-left: 14px; }
}
