/* Listn DJ — the site wears the same clothes as the app: Qobuz grays,
   Poppins everywhere, pill buttons, no borders. */

@font-face { font-family: Poppins; src: url('../fonts/poppins-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url('../fonts/poppins-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url('../fonts/poppins-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('../fonts/poppins-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --dark: #000000;
  --page: #141414;
  --panel: #1b1b1b;
  --panel-2: #232323;
  --text: #ffffff;
  --text-2: #b3b3b3;
  --dim: #7d7d7d;
  --a: #35d0a1;
  --b: #3fa7ff;
  --line: rgba(255, 255, 255, 0.08);
  --wrap: 1080px;
  --wide: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--dark); color: var(--text);
  font: 400 16px/1.6 Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 17px; }
p { margin: 0 0 14px; color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: var(--wide); }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--panel-2); padding: 8px 14px; border-radius: 999px; }

/* ------------------------------------------------------------- top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20, 20, 20, 0%); backdrop-filter: blur(12px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand img { width: 85px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav a:hover, .nav a.on { color: var(--text); }
.navtoggle, .burger { display: none; }

.btn {
  display: inline-block; background: var(--text); color: #121212;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: transform 80ms, background 120ms;
}
.btn:hover { background: #e9e9e9; }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* --------------------------------------------------------------- hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 0; text-align: center; }
.hero-in { max-width: 860px; }
.eyebrow { color: var(--a); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.lede { font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; margin: 0 auto 26px; }
.lede.mid { margin-bottom: 40px; }
.lede p { color: var(--text-2); }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }
.hero-note { color: var(--dim); font-size: 13.5px; }
.shot-wrap { margin-top: clamp(28px, 4vw, 52px); }
.shot {
  width: 100%; border-radius: 14px; background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}

/* -------------------------------------------------------------- bands */
.band { padding: clamp(52px, 7vw, 96px) 0; }
.band h2 { text-align: inherit; }
.band .wrap > h2 { text-align: center; }
.cta-band { background: var(--panel); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--panel); border-radius: 14px; padding: 26px 24px; }
.card h3 { color: var(--text); }
.card p { margin: 0; font-size: 15px; }

.showcase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.showcase.flip .showcase-text { order: 2; }
.showcase-text h2 { margin-bottom: 16px; }
.showcase-text p { font-size: 16.5px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-2); font-size: 15.5px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--a);
}
.showcase.flip .ticks li::before { background: var(--b); }

.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.gear-brand { background: var(--panel); border-radius: 14px; padding: 22px 24px; }
.gear-brand h3 { color: var(--a); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.gear-brand ul { list-style: none; margin: 0; padding: 0; }
.gear-brand li { color: var(--text-2); font-size: 15px; padding: 3px 0; }
.note { color: var(--dim); font-size: 14px; }
.note.mid { text-align: center; margin-top: 26px; }

.specs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; margin: 0; }
.specs dt { color: var(--text); font-weight: 600; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dd { color: var(--text-2); padding: 14px 0; border-top: 1px solid var(--line); margin: 0; font-size: 15px; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding-bottom: 16px; margin: 0; }

/* --------------------------------------------------------------- form */
.formcard {
  background: var(--panel); border-radius: 16px; padding: 30px 28px;
  max-width: 520px; margin: 0 auto; text-align: left;
}
.formcard.done { text-align: center; }
.formcard label { display: block; margin-bottom: 16px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.formcard input[type="text"], .formcard input[type="email"], .formcard select, .formcard textarea {
  display: block; width: 100%; margin-top: 7px; background: var(--panel-2); color: var(--text);
  border: 0; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px;
}
.formcard textarea { resize: vertical; }
.formcard input:focus, .formcard select:focus, .formcard textarea:focus { outline: 2px solid var(--a); outline-offset: 1px; }
.formcard .btn { width: 100%; margin-top: 6px; }
.formcard .fine { margin: 14px 0 0; text-align: center; }
.formcard .err { background: rgba(255, 96, 96, 0.12); color: #ff8585; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.fine { color: var(--dim); font-size: 13px; }

/* ------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 20px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-mark { opacity: 0.75; margin-bottom: 10px; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--text-2); font-size: 14.5px; }
.foot-nav a:hover { color: var(--text); }
.copy { margin-top: 28px; }

/* -------------------------------------------------------------- small */
@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase.flip .showcase-text { order: 0; }
  .specs { grid-template-columns: 1fr; }
  .specs dd { border-top: 0; padding-top: 0; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; }
  .burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
  .nav {
    position: fixed; inset: 68px 0 auto; background: var(--panel); flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px 20px 22px; display: none; border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 14px 0; font-size: 17px; }
  .nav .btn { margin-top: 12px; text-align: center; }
  .navtoggle:checked ~ .nav { display: flex; }
}

/* ------------------------------------------- hero with a background photo */
/* The photo sits behind the heading, runs up under the see-through top bar
   and fades into the page. Set it per page in the admin (Hero → Background). */
.hero.has-bg { margin-top: -68px; padding-top: 0; }
.hero-top { position: relative; isolation: isolate; }
.hero.has-bg .hero-top { padding: calc(68px + clamp(64px, 10vw, 140px)) 0 clamp(48px, 7vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, var(--darken, .55)) 0%, rgba(0, 0, 0, var(--darken, .55)) 60%, var(--dark) 100%);
}
.hero.has-bg .shot-wrap { margin-top: 0; }
.hero.has-bg h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero.has-bg .lede p { color: #d6d6d6; }
.hero.has-bg .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------- downloads */
.dl-band { padding-top: clamp(20px, 3vw, 36px); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.dl-card { background: var(--panel); border-radius: 16px; padding: 34px 30px 26px; text-align: center; position: relative; }
.dl-card.mine { background: var(--panel-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.dl-for { display: none; position: absolute; top: 14px; left: 0; right: 0; margin: 0; color: var(--a); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.dl-card.mine .dl-for { display: block; }
.dl-ico { width: 52px; height: 52px; margin: 14px auto 12px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dl-card h3 { font-size: 24px; margin-bottom: 4px; }
.dl-req { color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.dl-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.btn.off { background: var(--panel-2); color: var(--dim); cursor: default; }
.dl-meta { color: var(--dim); font-size: 13px; margin-bottom: 18px; min-height: 1.6em; }
.dl-help { text-align: left; border-top: 1px solid var(--line); }
.dl-help summary { cursor: pointer; padding: 12px 0; font-size: 14px; color: var(--text-2); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.dl-help summary::-webkit-details-marker { display: none; }
.dl-help summary::after { content: '+'; color: var(--dim); }
.dl-help[open] summary::after { content: '−'; }
.dl-help p { font-size: 14px; margin: 0 0 14px; }
.dl-sums { max-width: 900px; margin: 22px auto 0; color: var(--dim); font-size: 13px; }
.dl-sums summary { cursor: pointer; text-align: center; }
.dl-sums dl { margin: 12px 0 0; }
.dl-sums dt { color: var(--text-2); margin-top: 10px; }
.dl-sums dd { margin: 2px 0 0; }
.dl-sums code { font-size: 12px; word-break: break-all; color: var(--dim); }

/* The menu's button keeps dark text (the menu link colour was winning). */
.nav a.btn, .nav a.btn:hover { color: #121212; }

/* ------------------------------------------------- edited in the admin */
/* Button colours can be changed under Settings → Look. */
.btn { background: var(--btn-bg, var(--text)); color: var(--btn-text, #121212); }
.btn:hover { background: var(--btn-bg, #e9e9e9); filter: brightness(.94); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); filter: none; }
.btn.off, .btn.off:hover { background: var(--panel-2); color: var(--dim); filter: none; }
.nav a.btn, .nav a.btn:hover { color: var(--btn-text, #121212); }
.block-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.block-btns.center { justify-content: center; }
.cta-band .block-btns { margin: 0 0 14px; }

/* "Edit this page", only while you are signed in to the admin. */
.edit-page {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: var(--a); color: #06140f; font-size: 13.5px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.edit-page:hover { filter: brightness(1.08); }
/* Above a block hidden from visitors, only while you are signed in. */
.hidden-block-note { margin-top: 28px; padding: 10px 16px; border-radius: 10px; background: #3a3320; color: #f5d17a; font-size: 13px; font-weight: 500; text-align: center; }

/* ------------------------------------------------ Pro page blocks */
/* A section a button can jump to stops below the sticky top bar. */
section[id] { scroll-margin-top: 76px; }
.block-head-c { text-align: center; }
.block-head-c h2 { margin-bottom: 14px; }
.block-head-c .lede.mid { margin-bottom: 36px; }

/* Video */
.video-band { padding-top: clamp(28px, 4vw, 52px); }
.video-frame {
  max-width: 1120px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: none; }
.steps li { background: var(--panel); border-radius: 14px; padding: 26px 24px 22px; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--panel-2); color: var(--text); font-weight: 600; font-size: 15px; margin-bottom: 14px;
}
.steps h3 { font-size: 17px; }
.steps p { margin: 0; font-size: 15px; }
.steps-shot { max-width: 900px; margin: 34px auto 0; }

/* Comparison table */
.compare-wrap { background: var(--panel); border-radius: 16px; padding: 8px 22px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 10px; text-align: center; border-top: 1px solid var(--line); vertical-align: middle; }
.compare thead th { border-top: 0; color: var(--text); font-weight: 600; font-size: 14px; padding-top: 18px; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--text-2); padding-left: 0; }
.compare td { width: 24%; color: var(--text); }
.compare .pick { background: rgba(255, 255, 255, 0.035); }
.compare thead .pick { border-radius: 10px 10px 0 0; }
.tick { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--a); align-items: center; justify-content: center; }
.tick svg { width: 14px; height: 14px; fill: none; stroke: #06140f; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dash { color: var(--dim); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Price card */
.price-card { max-width: 460px; margin: 0 auto; background: var(--panel); border-radius: 18px; padding: 34px 32px 28px; text-align: center; }
.price-name { color: var(--a); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.price-amount { margin: 0 0 14px; color: var(--text-2); font-size: 16px; }
.price-amount strong { font-size: clamp(40px, 5vw, 54px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price-about p { font-size: 15.5px; }
.price-card .ticks { text-align: left; margin: 20px 0 6px; }
.price-btn { margin: 22px 0 12px; }
.price-btn .btn { width: 100%; }
.price-card .note { margin: 0; }

@media (max-width: 560px) {
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare-wrap { padding: 4px 12px; }
  .price-card { padding: 28px 22px 24px; }
}
.video-frame { position: relative; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transition: transform 120ms;
}
.video-play:hover { transform: scale(1.06); }
.video-play svg { width: 34px; height: 34px; fill: #121212; margin-left: 4px; }
.video-frame.playing .video-play { display: none; }
@media (max-width: 560px) { .video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-play svg { width: 26px; height: 26px; } }
.video-play[hidden] { display: none; }
.dl-band .lede.mid { text-align: center; }
