/* bgnoises.com. Built pages come from web/site (web/README.md); the web player under /play/ does not use this file.
   Colors are the Background Noises app's (bgnoises repo mobile/src/ui/theme.ts): dark by default, light when the
   visitor's system asks for it. System fonts only: nothing is fetched from another host. */
:root {
  --bg: #0b1120;
  --panel: #0f172a;
  --panel-2: #131c31;
  --fg: #f1f5f9;
  --muted: #a3b0c2;
  --line: #1e293b;
  --line-2: #334155;
  --accent: #a78bfa;
  --accent-2: #5eead4;
  --on-accent: #0b1120;
  --tint: rgba(167, 139, 250, 0.10);
  --held: #fbbf24;
  --max: 1100px;
  --prose: 70ch;
  --gutter: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f3ff;
    --panel: #ffffff;
    --panel-2: #faf8ff;
    --fg: #1e1b4b;
    --muted: #4b5563;
    --line: #e4e0f5;
    --line-2: #cfc8ec;
    --accent: #6d28d9;
    --accent-2: #0f766e;
    --on-accent: #ffffff;
    --tint: rgba(109, 40, 217, 0.07);
    --held: #92400e;
    color-scheme: light;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(32px, 5.6vw, 54px); max-width: 20ch; }
h2 { font-size: clamp(24px, 3.4vw, 34px); max-width: 28ch; }
h3 { font-size: 20px; }
p { max-width: 64ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; max-width: 52ch; margin-top: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 32px; }

/* Header */
.site-header { padding: 12px 0; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--fg); min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-main { display: none; gap: 22px; font-size: 16px; margin-left: 12px; }
.nav-main a { text-decoration: none; color: var(--muted); }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--fg); }
.nav-main a[aria-current="page"], .menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.menu { position: relative; flex: none; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line-2); border-radius: 50%; }
.menu summary svg { width: 18px; height: 18px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; display: grid; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.menu nav a { padding: 10px 12px; text-decoration: none; border-radius: 8px; }
.menu nav a:hover { background: var(--tint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid var(--accent); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--tint); color: var(--fg); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trial-note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 60ch; }

/* Sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.hero { padding: 44px 0 60px; background: radial-gradient(1000px 420px at 85% -10%, rgba(167, 139, 250, .22), transparent 60%), radial-gradient(800px 360px at 0% 110%, rgba(94, 234, 212, .12), transparent 60%); }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero-art { display: none; }
.hero-art img { width: 100%; height: auto; border-radius: 28%; box-shadow: 0 30px 80px rgba(124, 58, 237, .35); }
.grid { display: grid; gap: 16px; margin-top: 26px; }
.two { display: grid; gap: 32px; align-items: start; }
.list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.list li { padding-left: 22px; position: relative; max-width: 62ch; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }
.steps { counter-reset: step; list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 18px 62px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps h3 { font-size: 18px; margin-bottom: 4px; }

/* Cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card .hint { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: 16px; color: var(--muted); }
.card .more { margin-top: auto; font-size: 15px; }
.card-link { text-decoration: none; display: block; height: 100%; }
.card-link .card { height: 100%; }
.card-link:hover .card { border-color: var(--line-2); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); align-self: flex-start; }
.status.live { color: var(--accent-2); border-color: currentColor; }
.status.held { color: var(--held); border-color: currentColor; }

/* Plans */
.plans { display: grid; gap: 16px; margin-top: 26px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; position: relative; }
.plan p { max-width: none; }
.plan .name { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0; max-width: none; }
.plan.featured { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price .amt { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price .per { color: var(--muted); }
.plan .annual { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }
.plan .btn { margin-top: auto; }

/* Store badges: same height, App Store first, clear space more than a quarter of the height (badges/SOURCES.md). */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.badges a { display: block; line-height: 0; border-radius: 8px; }
.badges img { height: 48px; width: auto; }

/* Prose */
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); max-width: 26ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); display: inline-block; padding: 3px 0; }
.reviewed { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose { max-width: var(--prose); padding: 8px 0 56px; }
.prose.wide { max-width: none; }
.prose.wide > p, .prose.wide > .answer, .prose.wide > .note, .prose.wide > ul { max-width: var(--prose); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-size: clamp(22px, 3vw, 28px); }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { padding-left: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* A clause list whose items other text names by letter (Terms 24.2: "item (g)"): (a), (b), (c) with a hanging
   indent, as the eleMusic Terms letter theirs (elemusic origin/main web/legal.css:115-122). */
.prose ol.alpha { list-style: none; padding-left: 2.4em; counter-reset: clause-item; }
.prose ol.alpha > li { position: relative; counter-increment: clause-item; }
.prose ol.alpha > li::before { content: "(" counter(clause-item, lower-alpha) ")"; position: absolute; left: -2.4em; width: 2.2em; }
.prose .steps, .prose .list { padding-left: 0; }
.prose .steps h3, .prose .card h3 { margin-top: 0; }
.prose li { max-width: 64ch; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.prose blockquote cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--muted); }
.answer { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; }
.answer p { max-width: none; }
.note { background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 15px; line-height: 1.55; }
.note p { max-width: none; }
.note p + p { margin-top: 8px; }
.note.held { border-left: 4px solid var(--held); }
.contents { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.contents .eyebrow { margin-bottom: 8px; }
.contents .list { margin-top: 0; gap: 6px; font-size: 16px; }
.contents .list a { display: inline-block; padding: 3px 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
caption { caption-side: bottom; text-align: left; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sources h2 { font-size: 18px; margin: 0 0 10px; }
.sources ol { padding-left: 20px; display: grid; gap: 6px; }
.sources a { color: var(--fg); word-break: break-word; display: inline-block; padding: 3px 0; }

/* FAQ */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 17px; position: relative; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 0 18px; max-width: 66ch; }
.faq details > div > * + * { margin-top: 10px; }

/* Draft legal documents */
.draft-banner { background: rgba(251, 191, 36, .14); border: 2px solid var(--held); border-radius: 12px; padding: 16px 18px; }
.draft-banner strong { color: var(--held); letter-spacing: 0.08em; }
.draft-note { border: 1px dashed var(--held); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.draft-note::before { content: "Draft note: "; font-weight: 700; color: var(--held); }
.legal h2 { scroll-margin-top: 84px; }
.legal .caps { text-transform: none; font-weight: 600; }

/* Call to action band */
.cta-band { background: linear-gradient(135deg, rgba(167, 139, 250, .16), rgba(94, 234, 212, .08)); border: 1px solid var(--line-2); border-radius: 18px; padding: 30px 22px; margin: 8px 0 56px; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); }
.cta-band p { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer .wrap { display: grid; gap: 22px; }
.site-footer a { color: var(--fg); }
.site-footer .brand { font-size: 17px; justify-self: start; }
.site-footer .brand img { width: 28px; height: 28px; }
.foot-cols { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-cols h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.foot-cols ul { list-style: none; }
.foot-cols li a { display: inline-flex; align-items: center; min-height: 36px; }
.foot-legal p { max-width: 90ch; }
.foot-legal p + p { margin-top: 8px; }
.powered { font-size: 13px; }
.powered a { color: var(--muted); }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding: 84px 0; }
  .hero { padding: 76px 0 92px; }
  .grid.two-up { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid.three-up { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta-band { padding: 42px 46px; }
  .page-head { padding-top: 40px; }
}
@media (min-width: 960px) {
  .nav-main { display: flex; }
  .menu { display: none; }
  .hero .wrap { grid-template-columns: 1.25fr 0.75fr; }
  .hero-art { display: block; justify-self: end; width: 100%; max-width: 300px; }
  .grid.four-up { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) and (max-width: 959px) {
  .grid.four-up { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
/* Below 480 px the header keeps the whole brand and the menu: the menu's first entry, the home hero and each sound
   page's Play button open the player (SITE-12 of the fix plan of 2026-10-21, after SITE-01). */
@media (max-width: 479px) {
  .head-actions .btn { display: none; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .head-actions { gap: 6px; }
  .brand { font-size: 17px; }
}
@media (max-width: 359px) {
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
@media print {
  .skip, .head-actions, details.menu, .actions, .cta-band, .badges { display: none; }
  .site-header { position: static; border: 0; }
  body { font-size: 12pt; background: #fff; color: #000; }
}
