/* RetroSound website. Tokens follow the app theme "MusicBuddy Lime". */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/IBMPlexSans-var-latin.woff2) 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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/IBMPlexSans-var-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/IBMPlexMono-400-latin.woff2) 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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/IBMPlexMono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/IBMPlexMono-500-latin.woff2) 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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/IBMPlexMono-600-latin.woff2) 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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/IBMPlexMono-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0C0C0D;
  --chrome: #131315;
  --chrome-2: #1A1A1D;
  --line-soft: #26262A;
  --line: #3A3A41;
  --ink: #F2F2F0;
  --ink-dim: #A3A39E;
  --ink-mute: #8A8A86;
  --accent: #C8F751;
  --accent-dim: #9BC23A;
  --accent-ink: #14180A;
  --radius: 8px;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-y: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'IBM Plex Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
summary::-webkit-details-marker { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.skip { position: absolute; left: 12px; top: -100px; z-index: 20; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.mono { font-family: var(--mono); }
.overline { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.overline--mute { color: var(--ink-mute); }
.h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.page-h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--chrome); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 7px; flex: none; }
.brand span { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); flex-wrap: wrap; }
.nav-link { font-size: 15px; font-weight: 500; padding: 6px 0; color: var(--ink-dim); border-bottom: 2px solid transparent; }
.nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.lang a { padding: 6px 10px; color: var(--ink-dim); }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.lang a:focus-visible { outline-offset: -2px; border-radius: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 18px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; }
.footer-nav a { color: var(--ink-dim); }
.footer-nav a:hover { color: var(--ink); }
.footer-nav .mono { font-size: 13px; }
.copyright { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.tm { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-mute); }

/* Sections */
.section { border-top: 1px solid var(--line-soft); }
.section--alt { background: var(--chrome); }
.section > .wrap { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }

/* Buttons and badges */
.btn { display: flex; flex: none; white-space: nowrap; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: var(--radius); font-size: 16px; }
.btn--secondary { background: var(--chrome-2); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.btn--primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { color: var(--accent-ink); background: var(--ink); }
.btn--secondary:hover { color: var(--ink); border-color: var(--ink-mute); }
.badge-link { display: block; flex: none; border-radius: var(--radius); }
.badge-link img { height: 54px; width: auto; }
.badge-link--lg img { height: 60px; }
.badge-link--ms img { height: 48px; }

/* Home: hero */
.hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: var(--pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.hero-sub { margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--ink-dim); line-height: 1.4; }
.lcd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; background: var(--accent-ink); color: var(--accent); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 16px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; max-width: 520px; }
.lcd .dim { color: var(--accent-dim); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.price-lines { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.phone-wrap { display: flex; justify-content: center; }
.phone { width: min(320px, 100%); padding: 10px; border-radius: 40px; background: var(--chrome); border: 1px solid var(--line); }
.phone img { width: 100%; height: auto; aspect-ratio: 1080 / 2400; border-radius: 30px; background: var(--chrome-2); }

/* Home: features */
.features { display: flex; flex-direction: column; gap: 40px; }
.features-head { max-width: 640px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.feature-n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.feature h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-dim); text-wrap: pretty; }
.feature .note { font-size: 14px; line-height: 1.5; color: var(--ink-mute); }
.win-badge { font-family: var(--mono); font-size: 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink); background: var(--chrome-2); border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; }
.themes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.themes-label { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.themes ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-dim); border: 1px solid var(--line-soft); border-radius: 99px; padding: 4px 10px 4px 6px; }
.dot { width: 12px; height: 12px; border-radius: 99px; flex: none; }

/* Home: pairing */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.pair-copy { display: flex; flex-direction: column; gap: 28px; }
.lead { margin: 0; font-size: 17px; color: var(--ink-dim); line-height: 1.5; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.steps .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); padding-top: 3px; }
.steps .txt { display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-weight: 600; font-size: 17px; }
.steps .txt span { color: var(--ink-dim); font-size: 15px; line-height: 1.5; }
.window { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.window-bar { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 0 0 14px; background: var(--chrome-2); border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.window-bar .ctl { display: flex; }
.window-bar .ctl span { width: 40px; text-align: center; }
.window img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; }

/* Home: privacy */
.privacy { display: flex; flex-direction: column; gap: 32px; }
.privacy h2 { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; max-width: 900px; }
.privacy-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.privacy-points p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.text-link { font-size: 15px; font-weight: 500; align-self: flex-start; }

/* Home: get */
.get { display: flex; flex-direction: column; gap: 32px; }
.get-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.get-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.get-card > p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.5; }
.get-card .badge-link, .get-card .btn { margin-top: auto; align-self: flex-start; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-head .platform { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--ink-mute); }
.card-head .price { font-family: var(--mono); font-size: 22px; font-weight: 600; }

/* Download */
.page { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 40px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; align-items: start; }
.dl-card { background: var(--chrome); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.dl-card .card-head h2 { margin: 0; font-size: 26px; font-weight: 600; }
.dl-card .card-head .price { font-size: 24px; color: var(--accent); }
.dl-card > p { margin: 0; font-size: 16px; color: var(--ink-dim); line-height: 1.5; }
.dl-buttons { display: flex; flex-direction: column; gap: 10px; }
.dl-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); font-size: 16px; }
.dl-btn .hint { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.dl-btn.btn--secondary .hint { color: var(--ink-mute); font-weight: 400; }
.ms-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.ms-row span { font-size: 14px; color: var(--ink-mute); }
.specs { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; font-size: 14px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.specs dt { font-family: var(--mono); color: var(--ink-mute); }
.specs dd { margin: 0; }
.specs .todo { font-family: var(--mono); color: var(--ink-dim); overflow-wrap: anywhere; }
.smartscreen { background: var(--chrome); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 40px; }
.smartscreen > div { display: flex; flex-direction: column; gap: 10px; }
.smartscreen h2 { margin: 0; font-size: 18px; font-weight: 600; }
.smartscreen h3 { margin: 0; font-size: 15px; font-weight: 600; }
.smartscreen p { margin: 0; font-size: 15px; color: var(--ink-dim); line-height: 1.55; text-wrap: pretty; }
.smartscreen .path { color: var(--ink); font-family: var(--mono); line-height: 1.5; }
.smartscreen .small { font-size: 14px; line-height: 1.5; }
.code { display: block; background: var(--accent-ink); color: var(--accent); border-radius: var(--radius); padding: 14px 16px; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }

/* Support */
.page--narrow { max-width: 880px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; }
.faq summary .plus { font-family: var(--mono); color: var(--accent); font-size: 18px; }
.faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink-dim); max-width: 680px; text-wrap: pretty; }
.contact { background: var(--chrome); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.contact-head { display: flex; flex-direction: column; gap: 6px; }
.contact h2 { margin: 0; font-size: 20px; font-weight: 600; }
.contact p { margin: 0; font-size: 15px; color: var(--ink-dim); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--chrome-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-mute); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-foot .btn:disabled { cursor: progress; opacity: 0.7; }
.contact .form-note { font-size: 14px; color: var(--ink-mute); }
.contact .form-status:empty { display: none; }
.contact .form-status { color: var(--ink); font-size: 15px; }
.contact .form-status[data-state="ok"] { color: var(--accent); }
.contact-mail { border-top: 1px solid var(--line-soft); padding-top: 20px; }
.contact-mail a { font-family: var(--mono); font-weight: 500; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Legal */
.legal { max-width: 760px; gap: 28px; }
.legal-note { margin: 0; font-size: 14px; color: var(--ink-dim); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 16px; }
.legal h1 { margin: 0; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.legal-body { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-body h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.legal-body h3 { margin: 28px 0 8px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.legal-body p { margin: 0 0 16px; overflow-wrap: break-word; }
.legal-body > :first-child { margin-top: 0; }
