/* Soundtracked website */

:root {
  --ink: #0b0a07;
  --ink-2: #14120c;
  --card: #1b1911;
  --card-2: #242116;
  --line: rgba(255, 244, 200, 0.12);
  --text: #f7f3e6;
  --soft: rgba(247, 243, 230, 0.72);
  --faint: rgba(247, 243, 230, 0.5);
  --yellow: #ffd60a;
  --yellow-deep: #e0b800;
  --pink: #ff5c8a;
  --radius: 20px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--yellow);
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 10, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-size: 15px;
  font-weight: 600;
}

.nav a { color: var(--soft); text-decoration: none; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 88px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 214, 10, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(44px, 7.4vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--ink);
  background: var(--yellow);
  padding: 0 0.12em;
  border-radius: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero .lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--soft);
  max-width: 34em;
  margin: 0 0 30px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: #000;
  border-radius: 999px;
  padding: 13px 22px 13px 16px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.store-pill svg { width: 26px; height: 26px; flex: none; }
.store-pill small { display: block; font-weight: 600; font-size: 12px; opacity: 0.7; }

.text-link { color: var(--text); font-weight: 700; }

/* Phone mockup (built in HTML so it stays sharp) */

.phone {
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(145deg, #3a3628, #15130d);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(3deg);
}

.screen {
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.screen-top {
  background: var(--yellow);
  color: #000;
  padding: 34px 16px 12px;
}

.screen-top .row { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 800; font-size: 19px; }
.screen-top .row img { width: 22px; height: 22px; border-radius: 6px; }
.screen-top nav { display: flex; justify-content: space-between; margin-top: 9px; font-weight: 700; font-size: 10.5px; opacity: 0.75; }

.screen-body { padding: 14px 12px; display: grid; gap: 10px; }
.screen-label { font-family: var(--display); font-weight: 800; color: var(--yellow); font-size: 15px; margin: 4px 2px 0; }

.mini-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  background: #1d1d1d;
  border-radius: 14px;
  padding: 9px;
}

.cover {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--c, linear-gradient(135deg, #ff9f0a, #ff375f));
  position: relative;
  overflow: hidden;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.35);
}

.mini-card .who { color: rgba(255, 255, 255, 0.6); font-size: 10px; }
.mini-card .title { font-weight: 800; font-size: 13px; line-height: 1.2; }
.mini-card .artist { color: rgba(255, 255, 255, 0.6); font-size: 10.5px; }
.stars { color: var(--yellow); letter-spacing: 1px; font-size: 12px; }
.stars .heart { color: var(--pink); margin-left: 3px; }

.tile-row { display: flex; gap: 9px; }
.tile { flex: 1; }
.tile .cover { width: 100%; height: auto; aspect-ratio: 1; }
.tile p { margin: 5px 0 0; font-size: 9.5px; line-height: 1.25; color: rgba(255, 255, 255, 0.65); }
.tile b { color: #fff; display: block; font-size: 10px; }

/* ---------- Home: sections ---------- */

.section { padding-block: 84px; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 40px; }

.section h2 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-head p { color: var(--soft); margin: 0; font-size: 18px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 10, 0.12);
  color: var(--yellow);
}
.feature .icon svg { width: 22px; height: 22px; }

.feature h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.25; }
.feature p { margin: 0; color: var(--soft); font-size: 15.5px; }

.feature .sample {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  border-top: 1px dashed var(--line);
}
.feature .sample .stars { font-size: 14px; }

/* Rating scale strip */

.scale {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.scale div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.scale div b { display: block; color: var(--yellow); font-family: var(--body); font-size: 15px; }

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promise div {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 18px;
}
.promise h3 { margin: 0 0 6px; font-size: 18px; }
.promise p { margin: 0; color: var(--soft); font-size: 15.5px; }

.closing {
  text-align: center;
  background: var(--yellow);
  color: #000;
  border-radius: 28px;
  padding: 56px 24px;
}
.closing h2 { color: #000; margin-bottom: 10px; }
.closing p { margin: 0 auto 26px; max-width: 30em; font-size: 18px; }
.closing .store-pill { background: #000; color: var(--yellow); }

/* ---------- Document pages ---------- */

.doc-hero {
  padding-block: 56px 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.doc-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.doc-hero p { color: var(--soft); margin: 0; max-width: 40em; }

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding-block: 44px 88px;
}

.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 14px;
}
.toc p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--yellow); }

.doc { max-width: 700px; }
.faq-group, .contact-card { scroll-margin-top: 84px; }

.doc h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 44px 0 10px;
  scroll-margin-top: 90px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { color: rgba(247, 243, 230, 0.86); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }

.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 8px;
}
.summary h2 { margin: 0 0 10px !important; font-size: 18px !important; }
.summary ul { margin: 0; }

.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }

/* ---------- Support ---------- */

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--yellow);
  color: #000;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 40px;
}
.contact-card h2 { margin: 0 0 4px !important; font-size: 21px !important; color: #000; }
.contact-card p { margin: 0; color: rgba(0, 0, 0, 0.75); }
.contact-card .email { font-weight: 800; font-size: 19px; color: #000; word-break: break-all; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: 700 15px var(--body);
  cursor: pointer;
  text-decoration: none;
}
.btn-dark { background: #000; color: var(--yellow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.faq-group { margin-bottom: 34px; }
.faq-group > h2 { margin-bottom: 14px !important; }

details {
  scroll-margin-top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0;
}
details[open] { background: var(--card-2); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  font-weight: 700;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--yellow);
  font-weight: 400;
}
details[open] summary::after { content: "–"; }
details .answer { padding: 0 18px 16px; }
details .answer p { margin: 0 0 10px; }
details .answer ol, details .answer ul { margin: 0 0 10px; padding-left: 22px; }
.path { font-family: var(--mono); font-size: 14px; color: var(--yellow); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--text);
  color: #000;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- 404 ---------- */

.lost {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.lost .record {
  width: 120px;
  height: 120px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #1a1a1a 0 3px, #0e0e0e 3px 6px);
  position: relative;
  animation: spin 6s linear infinite;
}
.lost .record::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: var(--yellow);
}
@keyframes spin { to { transform: rotate(360deg); } }
.lost h1 { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: clamp(34px, 6vw, 52px); margin: 0 0 10px; line-height: 1.05; }
.lost p { color: var(--soft); margin: 0 0 24px; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  color: var(--faint);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

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

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .phone { transform: none; width: min(300px, 100%); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
  .scale { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-block: 48px 64px; }
  .features { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .nav { gap: 2px 14px; font-size: 14px; }
  .brand span { display: none; }
  .closing { padding: 44px 20px; }
}
