/* eleMusic marketing site. Built pages come from site/ (site/README.md); the player (play.html) does not use this file. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin.woff2?v=8e38e3fbd7) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Georgia scaled to Source Serif 4's measured text width (regular 107.2%, semibold against Georgia Bold
   93.5%), so the page does not re-wrap and shift when the web font arrives. */
@font-face { font-family: "SS4 Fallback"; font-weight: 400; src: local("Georgia"); size-adjust: 107.2%; }
@font-face { font-family: "SS4 Fallback"; font-weight: 600 700; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 93.5%; }
:root {
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --ink: #1f2a3a;
  --ink-2: #2b3a50;
  --muted: #5a6470;
  --line: #e2ddd2;
  --line-2: #d4cdbf;
  --accent: #e8c36b;
  --accent-ink: #7a5a12;
  --tint: #ece8de;
  --max: 1080px;
  --prose: 70ch;
  --gutter: 16px;
  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(--ink);
  font-family: "Source Serif 4", "SS4 Fallback", Georgia, "Times New Roman", serif;
  font-size: 17px; line-height: 1.6; font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  overflow-wrap: break-word;   /* a quoted URL or a long word must wrap, never widen a phone screen */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--ink); 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(--ink); color: #fff; 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: 600; letter-spacing: -0.012em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 56px); max-width: 18ch; }
h2 { font-size: clamp(26px, 3.6vw, 36px); max-width: 26ch; }
h3 { font-size: 21px; }
p { max-width: 62ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; max-width: 50ch; margin-top: 20px; }
.audience-note { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--accent); font-size: 16px; max-width: 48ch; }
.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: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

/* Header */
.site-header { padding: 14px 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: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-main { display: none; gap: 24px; 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(--ink); }
.nav-main a[aria-current="page"], .menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent-ink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-actions .signin { font-size: 15px; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
.menu { position: relative; }
.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: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; box-shadow: 0 10px 30px rgba(31, 42, 58, .12); }
.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: 600; font-size: 17px; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trial-note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 56ch; }

/* Sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.hero { padding: 48px 0 64px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero-art { display: none; }
.hero h1 { font-size: clamp(28px, 4.6vw, 46px); max-width: 22ch; }   /* four lines on a desktop, 28px on a phone: the trial button stays on the first screen at 1280x720 and 390x844 */
.grid { display: grid; gap: 16px; margin-top: 28px; }
.two { display: grid; gap: 32px; align-items: start; }
.list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.list li { padding-left: 22px; position: relative; max-width: 60ch; }
.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: 16px; margin-top: 24px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 20px 64px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 600; display: grid; place-items: center; font-size: 15px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card .hint { font-size: 13px; line-height: 1.4; letter-spacing: 0.08em; 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 .sample { margin-top: auto; }
.card .sample + .more { margin-top: 6px; }
.card-link { text-decoration: none; display: block; }
.card-link:hover .card { border-color: var(--line-2); }

/* Sample player (site.js upgrades the native control into one round button) */
.sample { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 6px 0 4px; }
.sample audio { width: 100%; height: 44px; }
.sample-btn { display: none; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; position: relative; padding: 0; }
.sample-btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.sample-btn svg { position: absolute; inset: 0; width: 48px; height: 48px; }
.sample-btn .ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.sample-btn .ico-pause { display: none; }
.sample-btn[aria-pressed="true"] .ico-play { display: none; }
.sample-btn[aria-pressed="true"] .ico-pause { display: block; }
.sample-label { font-size: 15px; color: var(--ink); line-height: 1.35; }
.head-sample { margin-top: 18px; }
.js .sample-btn { display: inline-block; }
.js .sample audio { display: none; }

/* Plans */
.plans { display: grid; gap: 16px; margin-top: 28px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.plan p { max-width: none; }
.plan .name { font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0; max-width: none; }
.plan .tag { position: absolute; top: -12px; right: 16px; font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: var(--ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.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: 46px; font-weight: 600; 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: 20px 0 24px; display: grid; gap: 8px; font-size: 16px; }
.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; }

/* Prose (guides, legal-adjacent pages) */
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); max-width: 24ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.reviewed { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose { max-width: var(--prose); padding: 8px 0 56px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-size: clamp(24px, 3vw, 30px); }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { padding-left: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* Components inside prose keep their own geometry. */
.prose .steps, .prose .list { padding-left: 0; }
.prose .steps h3, .prose .card h3 { margin-top: 0; }
.contents { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.contents .eyebrow { margin-bottom: 8px; }
.contents .list { margin-top: 0; gap: 6px; font-size: 16px; }
.prose li { max-width: 64ch; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink-2); }
.prose blockquote cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--muted); }
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 20px; }
.answer p { max-width: none; }
.note { background: var(--tint); border-radius: 10px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.note p { max-width: none; }
.note p + p { margin-top: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
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(--ink); word-break: break-word; }

/* FAQ */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; 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(--ink); border-bottom: 1.5px solid var(--ink); 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 20px; max-width: 66ch; }
.faq details > div > * + * { margin-top: 10px; }

/* Call to action band */
.cta-band { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 24px; margin: 8px 0 56px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); }
.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(--ink); }
.site-footer .brand { font-size: 18px; justify-self: start; }
.site-footer .brand svg { width: 24px; height: 24px; }
.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: 600; margin-bottom: 6px; }
.foot-cols ul { list-style: none; }
.foot-cols li a { display: inline-flex; align-items: center; min-height: 36px; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding: 88px 0; }
  .hero { padding: 80px 0 96px; }
  .grid.two-up { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .grid .card .hint { min-height: 2.8em; }
  .grid.three-up { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .two { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta-band { padding: 44px 48px; }
  .page-head { padding-top: 40px; }
}
@media (min-width: 960px) {
  .nav-main { display: flex; }
  .menu { display: none; }
  .hero .wrap { grid-template-columns: 1.2fr 0.8fr; }
  .hero-art { display: block; justify-self: end; width: 100%; max-width: 340px; }
  .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; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .head-actions { gap: 6px; }
  .head-actions .btn { padding: 0 12px; font-size: 14px; }
  .site-header .brand span { font-size: 19px; }
}
@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; }
}

/* Tables: a wide table may use the full page width on a desktop; on a phone a table with long cells
   becomes a stack of labeled cards, and the others scroll sideways with the row header kept in view.
   site/build.py (enhance_tables) decides which and writes the labels. */
@media (min-width: 960px) {
  .prose .table-wrap.wide, .prose .grid.three-up, .prose .grid.four-up { width: min(calc(var(--max) - 2 * var(--gutter)), calc(100vw - 2 * var(--gutter))); }
}
@media (min-width: 720px) and (max-width: 959px) {
  .plan { padding: 24px 18px; }
  .plan .btn { padding: 0 12px; font-size: 16px; }
}
@media (max-width: 719px) {
  .site-header { padding: 8px 0; }
  .table-wrap.stack { border: 0; background: none; overflow: visible; }
  .table-wrap.stack table { display: flex; flex-direction: column; }
  .table-wrap.stack caption { order: 2; display: block; padding: 4px 2px 0; }
  .table-wrap.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap.stack tbody, .table-wrap.stack tr, .table-wrap.stack tbody th, .table-wrap.stack td { display: block; }
  .table-wrap.stack tbody tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; padding: 6px 0; }
  .table-wrap.stack tbody th { font-size: 17px; padding: 10px 14px 4px; border: 0; }
  .table-wrap.stack td { border: 0; padding: 6px 14px; }
  .table-wrap.stack td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .table-wrap.rowhead:not(.stack) tbody th { position: sticky; left: 0; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .table-wrap.rowhead:not(.stack) thead th:first-child { position: sticky; left: 0; background: var(--bg); box-shadow: 1px 0 0 var(--line); }
  /* The home page's eight station cards: two across, names and play buttons only. */
  #stations .grid.four-up { grid-template-columns: 1fr 1fr; gap: 10px; }
  #stations .card { padding: 14px; gap: 4px; }
  #stations .card > p:not(.hint) { display: none; }
  #stations .card .sample-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #stations .card .hint { font-size: 12px; letter-spacing: 0.06em; min-height: 2.8em; }
  #stations .card h3 { font-size: 18px; }
}

/* Accessibility and responsive fixes from the 2026-10-11 go-to-market audit (each verified by injection
   against the live pages before it was written here). */
/* The phone menu scrolls inside the viewport on short screens (landscape phones, 200% zoom). */
.menu nav { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
/* The header keeps its menu button under the WCAG 1.4.12 text-spacing overrides. */
.menu { flex: none; }
.head-actions { min-width: 0; }
@media (max-width: 420px) {
  .head-actions .signin { display: none; }   /* the menu's second entry and the hero still link sign-in */
}
/* Small inline links reach 24 px tall (WCAG 2.2 target size) without changing their look. */
.crumbs a, .contents .list a, .sources a { display: inline-block; padding: 3px 0; }
.crumbs ol { gap: 6px 10px; }
@media (max-width: 719px) {
  /* A sideways-scrolling table keeps its caption in view while it scrolls. */
  .table-wrap:not(.stack) caption { position: sticky; left: 0; width: calc(100vw - 2 * var(--gutter) - 2px); box-sizing: border-box; }
  /* Stacked cards show the column label once; screen readers already announce the real header. */
  .table-wrap.stack td::before { content: attr(data-label) / ""; }
}
/* Print: no chrome, no buttons, source URLs printed; site.js opens the FAQ answers before printing. */
@media print {
  .skip, .head-actions, details.menu, .actions, .cta-band, .sample { display: none; }
  .site-header { position: static; border: 0; }
  .sources a[href^="http"]::after { content: " (" attr(href) ")"; word-break: break-all; }
  .table-wrap { overflow: visible; border: 0; }
  body { font-size: 12pt; }
}

/* WCAG 1.4.12: under text-spacing overrides the header keeps its menu button on screen from 360 to 430 px;
   the wordmark truncates instead (UXA-2, verified by injection 2026-10-12). */
@media (max-width: 959px) {   /* phones and tablets only: the desktop header keeps its layout */
  .site-header .wrap { flex-wrap: nowrap; }
  .brand { min-width: 0; flex: 0 1 auto; }   /* shrinks to truncate, never grows: blank header space is not a home link */
  .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .head-actions { flex: none; }
}
@media (min-width: 960px) and (max-width: 1099px) { .nav-main { gap: 16px; } }   /* seven links on one line at small desktop widths */

/* Product screenshots (/how-it-works): the player's own screens at tablet width, drawn by
   qa/site-screenshots.cjs. The width and height attributes keep each image's ratio while it loads, on the
   player's dark ground; from 1100 px the figures may run wider than the text column, close to their size in
   the player. */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.shot { margin: 0; min-width: 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 12px; background: #0b0d12; }
.shot figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
@media (min-width: 1100px) { .prose .shots { width: 760px; } }
