/* FaderRoom site, v2: a dark, product-page look. The previous design is in v1/style.css. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #0b0b0c;          /* alternate sections */
  --tile: #161617;          /* cards; close to the screenshots' own backdrop */
  --tile-2: #1d1d1f;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --text-dim: #a1a1a6;
  --text-faint: #6e6e73;
  --accent: #ff6a4d;        /* the fader cap's red line, lifted for dark backgrounds */
  --accent-deep: #e5482d;   /* the logo's own red */
  --maxw: 1120px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--tile-2); padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 820px; }

/* ---------- top bar: translucent, sticky ---------- */
header.top {
  position: sticky; top: 0; z-index: 20; height: 52px;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top nav { display: flex; gap: 28px; }
header.top nav a { color: var(--text-dim); text-decoration: none; font-size: 13px; transition: color .2s; }
header.top nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.brand img { display: block; border-radius: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 980px;
  background: var(--text); color: #000; font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: #fff; transform: scale(1.02); }
.btn.small { padding: 6px 14px; font-size: 13px; }
.link { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
h1, h2, h3 { font-weight: 700; color: var(--text); }
h1 {
  font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: -.045em;
  margin: 0 auto 22px; max-width: 13ch;
  background: linear-gradient(180deg, #fff 30%, #b9b9be);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 18px; }
.lede { color: var(--text-dim); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; letter-spacing: -.02em; max-width: 36ch; margin: 0 auto 34px; }
.sub { color: var(--text-dim); font-size: clamp(17px, 2vw, 21px); line-height: 1.45; max-width: 46ch; margin: 0 auto; }
.fine { color: var(--text-faint); font-size: 14px; margin: 22px auto 0; max-width: 52ch; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 112px 0 0; text-align: center; overflow: hidden; }
.hero::before { /* a soft glow behind the console */
  content: ''; position: absolute; left: 50%; top: 52%; width: 1300px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 106, 77, .16), rgba(255, 106, 77, .05) 45%, transparent 75%);
  pointer-events: none;
}
.app-icon { display: block; margin: 0 auto 26px; border-radius: 23%; box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
.shot { position: relative; max-width: 1360px; margin: 72px auto 0; padding: 0 22px; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .7);
}

/* ---------- sections ---------- */
section { padding: 128px 0; }
section.alt { background: var(--bg-2); }
.head { text-align: center; margin: 0 auto 64px; max-width: 900px; }

/* ---------- features: one tile each, copy above a large picture ---------- */
.feature {
  background: var(--tile); border-radius: var(--radius); overflow: hidden;
  padding: 64px 64px 0; margin: 0 0 28px; text-align: center;
}
.feature .copy { max-width: 720px; margin: 0 auto; }
.feature h3 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 18px; line-height: 1.55; }
.feature .eyebrow { color: var(--accent); font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.feature p strong { color: var(--text); font-weight: 600; }
.feature figure { margin: 48px auto 0; padding-bottom: 56px; }
.feature img {
  display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(0, 0, 0, .5);
}
.feature img.tall { max-width: 380px; }
.feature img.half { max-width: 700px; }
/* composites with their own window shadows on a transparent canvas: no frame of their own */
.shot img.float, .feature img.float { box-shadow: none; border-radius: 0; }

/* ---------- Audio Effects: windows over the console, then every effect by name ---------- */
.fx-shot { margin-top: 0; }
.fx-title { text-align: center; font-size: 24px; letter-spacing: -.02em; margin: 80px 0 22px; }
.fx-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fx-list li { font-size: 14px; padding: 6px 14px; border-radius: 980px; background: var(--tile-2); color: var(--text-dim); }

/* ---------- the small things: tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid > div { background: var(--tile); border-radius: 22px; padding: 30px 28px 32px; }
.grid h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 10px; }
.grid h3::before { content: ''; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 18px; }
.grid p { margin: 0; color: var(--text-dim); font-size: 16px; }

/* ---------- audio effects list note ---------- */
.partly { color: var(--text-dim); max-width: 70ch; margin: 24px auto 0; text-align: center; }

/* ---------- how ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0 auto; list-style: none; max-width: 980px; }
.steps li { counter-increment: s; background: var(--tile); border-radius: 22px; padding: 30px 28px 32px; }
.steps li::before {
  content: counter(s); display: block; margin-bottom: 18px;
  font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--accent);
}
.steps h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--text-dim); font-size: 16px; }

/* ---------- price ---------- */
.price-card {
  max-width: 560px; margin: 0 auto; text-align: center; padding: 56px 40px 52px; border-radius: var(--radius);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 106, 77, .14), transparent 60%), var(--tile);
  box-shadow: 0 0 0 1px var(--line);
}
.price-card > img { display: block; margin: 0 auto 18px; border-radius: 23%; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
.price-card h2 { font-size: 28px; letter-spacing: -.025em; margin: 0 0 6px; }
.price { font-size: clamp(56px, 8vw, 80px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin: 6px 0 16px; }
.price-card .sub { font-size: 17px; }
.price-card .offer { color: var(--accent); font-weight: 600; font-size: 17px; margin: -6px 0 14px; }

/* ---------- download ---------- */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; border-radius: 22px; background: var(--tile); color: var(--text); text-decoration: none; transition: background .2s; }
.dl:hover { background: var(--tile-2); }
.dl .os { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.dl .os::after { content: ' ↓'; color: var(--accent); }
.dl .what { color: var(--text-dim); font-size: 15px; }
.includes { list-style: none; padding: 0; margin: 28px auto 34px; display: inline-grid; gap: 10px; text-align: left; color: var(--text); }
.includes li { position: relative; padding-left: 28px; }
.includes li::before { content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%); mask: radial-gradient(circle, #000 60%, transparent 61%); }
.includes li::after { content: ''; position: absolute; left: 5px; top: .48em; width: 5px; height: 3px; border: solid #000; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: clamp(18px, 2vw, 21px); font-weight: 600; letter-spacing: -.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tile-2); color: var(--text-dim); font-weight: 400; font-size: 20px; line-height: 1;
  transition: transform .3s var(--ease), color .2s;
}
details[open] summary::after { transform: rotate(45deg); color: var(--text); }
summary:hover::after { color: var(--text); }
details p { margin: -6px 0 26px; color: var(--text-dim); max-width: 64ch; font-size: 17px; }

/* ---------- closing ---------- */
.cta { text-align: center; padding: 140px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; left: 50%; top: 10%; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 106, 77, .13), transparent 70%); pointer-events: none;
}
.cta .wrap { position: relative; }
.cta .lede { margin-bottom: 34px; }

footer { padding: 40px 0 56px; color: var(--text-faint); font-size: 12.5px; border-top: 1px solid var(--line); }
footer .brand { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
footer p { margin: 0 0 8px; max-width: 90ch; }
footer a { color: var(--text-dim); }

/* ---------- motion: fade up once (only with JS, so nothing stays hidden without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .grid, .steps, .downloads { grid-template-columns: 1fr; }
  header.top nav { display: none; }
  section { padding: 84px 0; }
  .hero { padding-top: 56px; }
  .feature { padding: 40px 22px 0; border-radius: 22px; }
  .feature p { font-size: 17px; }
  .head { margin-bottom: 40px; }
  .feature figure { padding-bottom: 32px; }
  .price-card { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
