/* Generated by website/lib/brand.mjs from lib/brand/ and tools/brand/. Do not edit. */
:root {
  --seed-purple: #9458BB;
  --seed-blue: #5572BE;
  --seed-pink: #CE6C96;
  --seed-progress-pink: #DE7FAD;
  --seed-lavender: #D5CFEE;
  --seed-gold: #E3C58F;
  --seed-ink: #0B0D10;
  --surface-deep: #16121B;
  --surface-surface: #17131D;
  --surface-night: #21192A;
  --surface-dusk: #281E34;
  --surface-tile: #231C2B;
  --surface-page-glow: #281B2F;
  --surface-plum: #372646;
  --surface-tile-border: #352A40;
  --surface-callout: #492B61;
  --surface-nav-active-pill: #563374;
  --surface-artwork-fallback: #583971;
  --surface-hero-edge: #8046A8;
  --surface-action-outline: #8155A3;
  --surface-action-deep: #3C1E51;
  --surface-action-mid: #793FA5;
  --surface-stage-top: #3D2A4E;
  --surface-header-end: #2D1F3B;
  --surface-stage-bottom: #100D13;
  --surface-pylon: #473A56;
  --surface-far-ridge: #4E3359;
  --grammar-verb: #B1F2CD;
  --grammar-adverb: #AD8AB3;
  --grammar-adjective: #F1EBA6;
  --grammar-noun-masculine: #719DEC;
  --grammar-noun-feminine: #CF778E;
  --grammar-noun-neuter: #EDAF60;
  --grammar-noun: #C8BB9F;
  --grammar-pronoun: #77D5D1;
  --grammar-other-word-class: #ECE4FF;
  --grammar-unclassified: #E6E9F0;
  --grammar-missing: #A3A5AA;
  --glow-stops: #F6A06A 0%, #D4508C 38%, #5E2593 72%, #2A0F45 100%;
  --glow-0: #F6A06A;
  --glow-1: #D4508C;
  --glow-2: #5E2593;
  --glow-3: #2A0F45;
}
/* Lingua Musica website. Colours come from brand.css (generated from the
   app's lib/brand/); this file only names roles. */

/* Self-hosted fonts (P1-247, P1-410; tools/brand/bundle_web_fonts.py). Manrope
   covers Latin, Cyrillic and Greek; Noto Sans Arabic (Arabic, Persian) and Noto
   Sans KR (Korean) load only on pages with letters in their unicode-range. */
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("/fonts/NotoSansArabic-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Noto Sans Arabic"; src: url("/fonts/NotoSansArabic-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Noto Sans KR"; src: url("/fonts/NotoSansKR-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FF01-FF60; }
@font-face { font-family: "Noto Sans KR"; src: url("/fonts/NotoSansKR-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FF01-FF60; }

:root {
  --bg: var(--surface-deep);
  --bg-raised: var(--surface-night);
  --bg-band: var(--surface-tile);
  --line: var(--surface-tile-border);
  --text: #FFFFFF;
  --text-soft: color-mix(in srgb, var(--seed-lavender) 82%, transparent);
  --muted: color-mix(in srgb, var(--seed-lavender) 62%, transparent);
  --accent: var(--seed-gold);
  --accent-ink: var(--seed-ink);
  --link: var(--seed-lavender);

  --font: "Manrope", "Noto Sans Arabic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem);
  --step-3: clamp(1.75rem, 1.3rem + 2.2vw, 2.8rem);
  --wordmark-width: clamp(300px, min(60vw, 62vh), 640px); /* the name's part of the wordmark */

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-pill: 999px;
  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; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--step-0)/1.6 var(--font);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--radius-s); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }

/* ---------- header and footer */
.site-header {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; margin-inline-end: auto; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.site-header nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--text-soft); text-decoration: none; font-weight: 500; padding: 6px 0; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--text); }
.site-header .nav-cta { color: var(--accent-ink); background: var(--accent); padding: 8px 16px; border-radius: var(--radius-pill); }
.site-header .nav-cta:hover { color: var(--accent-ink); filter: brightness(1.06); }
@media (max-width: 520px) { .site-header nav a:not(.nav-cta) { display: none; } }

/* Language switch (P1-410): every site language in its own name. */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-weight: 500; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--text); }
.lang-switch .globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 15rem; max-height: min(70vh, 34rem); overflow-y: auto; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 12px 32px rgb(0 0 0 / 40%); }
.lang-switch li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text-soft); text-decoration: none; }
.lang-switch li a:hover { background: var(--bg-band); color: var(--text); }
.lang-switch li a[aria-current] { color: var(--accent); font-weight: 600; }
.lang-note { font-size: var(--step--1); color: var(--text-soft); background: var(--bg-band); border-inline-start: 3px solid var(--accent); padding: 10px 14px; border-radius: 6px; }
/* Arabic script joins its letters: no tightened tracking. Korean breaks between words. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] body { line-height: 1.75; }
:lang(ko) { word-break: keep-all; }

.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0; }
.site-footer nav a { color: var(--text-soft); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; margin: 0; }
.footer-brand .logo-mark { width: 26px; height: 26px; }
.footer-note { font-size: var(--step--1); margin: 0; }
.footer-legal { font-size: 0.75rem; color: var(--muted); margin: 0; max-width: 70ch; }

/* ---------- buttons */
[hidden] { display: none !important; } /* .button's display must not show a hidden "Open in the app" */
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; line-height: 1.2;
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }

/* ---------- the way in: "Open the web app", then the official store badges
   (docs/landing_page.md). The badges are shown as supplied: same visible
   height (44px; Apple's minimum is 40), Apple's clear space is a quarter of
   its height, Google's PNG carries its own. "Coming soon" is text beside the
   artwork, never on it. */
.get-app { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 1.4rem 0 0; }
.get-app-large .web-app { min-height: 56px; padding: 0 32px; font-size: 1.1rem; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 8px; }
.get-app-note { margin: 0; font-size: var(--step--1); color: var(--muted); max-width: 46ch; }
.badge { display: flex; flex-direction: column; align-items: center; }
.badge a { display: block; line-height: 0; }
.badge-img { display: block; width: auto; max-width: none; }
.badge-apple .badge-img { height: 44px; margin: 11px; }
.badge-play .badge-img { height: calc(44px * 250 / 168); }
.badge-soon { font-size: var(--step--1); color: var(--muted); margin-top: -6px; }

/* ---------- hero: the way to the app (owner, 2026-10-26), with the
   MB1 wordmark from the opening screen over the mountain scene (owner, 2026-11-02) */
.hero {
  position: relative; overflow: hidden; text-align: center;
  display: flex; flex-direction: column;
  min-height: calc(100svh - 64px);
  padding: clamp(16px, 4vh, 56px) var(--gutter) 0;
  background:
    radial-gradient(ellipse 95% 70% at 50% 100%, var(--glow-0) 0%, var(--glow-1) 26%, var(--glow-2) 52%, transparent 78%),
    linear-gradient(to bottom, var(--bg) 0%, var(--surface-night) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 60rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
/* Full bleed: the staff-line range runs edge to edge; the middle (the name)
   is --wordmark-width wide and the sides crop on narrow screens. */
.hero .wordmark { margin: 0 calc(50% - 50vw) clamp(14px, 3vh, 28px); width: 100vw; }
.wordmark-art { display: block; width: 100%; height: calc(var(--wordmark-width) * 150 / 326); }
.hero .tagline { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; }
.hero .lede { margin: 0 auto; color: var(--text-soft); max-width: 34ch; }
.hero .get-app { align-items: center; margin-top: 24px; }
.hero .badges, .get-wrap .badges { justify-content: center; }
.hero-note { color: var(--muted); font-size: var(--step--1); margin: 12px 0 0; }
.panorama {
  display: block; flex: 1 0 auto; width: calc(100% + 2 * var(--gutter)); max-width: none;
  margin: clamp(12px, 3vh, 40px) calc(-1 * var(--gutter)) 0;
  height: auto; min-height: clamp(200px, 24vw, 360px);
}
.range-far { fill: color-mix(in srgb, var(--seed-lavender) 26%, transparent); }
.range-mid { fill: color-mix(in srgb, var(--seed-lavender) 70%, var(--surface-plum)); }
.range-snow { fill: #FFFFFF; }
.range-near { fill: #FFFFFF; }
.panorama path { animation: rise 900ms cubic-bezier(.2,.7,.2,1) both; }
.panorama .range-mid, .panorama .range-snow { animation-delay: 140ms; }
.panorama .range-near { animation-delay: 280ms; }
@keyframes rise { from { transform: translateY(26px); opacity: 0.25; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .panorama path { animation: none; } }
body.home .nav-cta { display: none; }


/* ---------- lyric demo */
.demo-wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .demo-wrap { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.demo-copy p { color: var(--text-soft); font-size: var(--step-1); line-height: 1.45; }
.points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 10px; color: var(--text-soft); }
.points strong { color: var(--text); font-weight: 600; }
.demo { margin: 0; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-m); background: var(--surface-night); border: 1px solid var(--line); min-width: 0; }
.demo .lyric-line { margin-bottom: 1rem; }
.demo .sung { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.demo .tr { color: var(--text-soft); margin: 0.3rem 0 0; }
.demo figcaption { margin-top: 1.2rem; }
.demo .source { color: var(--muted); font-size: var(--step--1); margin: 0.6rem 0 0; }

.colour-key { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--step--1); color: var(--text-soft); }
.colour-key li { display: inline-flex; align-items: center; gap: 7px; }
.colour-key .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- bands */
.band { padding: clamp(48px, 8vw, 96px) 0; }
.band + .band { border-top: 1px solid var(--line); }
.albums { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.album-tile { display: block; text-decoration: none; color: var(--text); }
.album-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); background: var(--bg-band); }
.album-tile:hover img { outline: 2px solid var(--seed-lavender); outline-offset: 3px; }
.album-title { display: block; font-weight: 600; margin-top: 10px; line-height: 1.25; }
.album-tr { display: block; color: var(--muted); font-size: var(--step--1); }

.band-get { background: var(--surface-night); }
.get-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.get-wrap .get-app { align-items: center; }
.ridge { display: block; width: 180px; height: auto; fill: color-mix(in srgb, var(--seed-lavender) 70%, var(--surface-plum)); margin-bottom: 18px; }

/* ---------- song and album pages */
.share { max-width: 860px; margin: 0 auto; padding: clamp(20px, 5vw, 56px) var(--gutter) 72px; }
.share-head { display: grid; gap: 22px; align-items: end; }
@media (min-width: 680px) { .share-head { grid-template-columns: 260px 1fr; gap: 32px; } }
.cover { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); background: var(--bg-band); }
.cover-empty { background: linear-gradient(160deg, var(--glow-1), var(--glow-3)); }
.kind { color: var(--muted); margin: 0 0 4px; font-weight: 500; }
.share-title h1 { font-size: var(--step-3); margin-bottom: 0.2em; }
.subtitle { color: var(--text-soft); font-size: var(--step-1); margin: 0 0 0.4rem; }
.meta { color: var(--muted); margin: 0; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 28px 0; }
.share-actions .get-app { margin: 0; }
.share-actions .open-app:not([hidden]) ~ .get-app .web-app { background: transparent; color: var(--text); border: 1px solid var(--seed-lavender); }
.clip-block { margin: 0 0 32px; }
.label { color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.clip { width: 100%; max-width: 520px; display: block; }
.clip-soon { color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-s); padding: 14px 16px; max-width: 520px; }
.teaser { margin-top: 12px; }
.teaser .lyric-line { margin-bottom: 18px; }
.teaser .sung { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.teaser .tr { color: var(--text-soft); margin: 4px 0 0; }
.teaser .colour-key { margin: 22px 0 18px; }
.more { color: var(--muted); }
.album-description { color: var(--text-soft); max-width: 40rem; }
.tracks { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.tracks li { border-bottom: 1px solid var(--line); padding: 4px 0; }
.tracks a { display: flex; gap: 16px; align-items: baseline; padding: 12px 4px; color: var(--text); text-decoration: none; }
.tracks a:hover .t { text-decoration: underline; }
.tracks .n { color: var(--muted); width: 1.6em; text-align: end; flex: none; font-variant-numeric: tabular-nums; }
.tracks .clip { margin: 0 0 10px calc(1.6em + 20px); max-width: calc(100% - 1.6em - 20px); }
.share-fallback, .not-found { padding-top: 64px; padding-bottom: 96px; }

/* ---------- blog */
.blog-index { padding-top: clamp(24px, 5vw, 56px); padding-bottom: 72px; }
.posts { list-style: none; padding: 0; margin: 2rem 0 0; }
.posts li { padding: 22px 0; border-top: 1px solid var(--line); }
.posts h2 { font-size: var(--step-1); margin: 0 0 4px; }
.posts a { color: var(--text); text-decoration: none; }
.posts a:hover h2 { text-decoration: underline; }
.posts p { color: var(--text-soft); margin: 0; }
.post-meta { color: var(--muted); font-size: var(--step--1); }
.posts .post-meta { margin: 0 0 6px; color: var(--muted); }
.draft { border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius-pill); padding: 1px 9px; margin-inline-start: 6px; font-size: 0.8rem; }
.post { padding-top: clamp(24px, 5vw, 56px); padding-bottom: 72px; }
.post-cta { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--text-soft); }

/* ---------- prose (blog posts and app-safe pages) */
.prose { line-height: 1.65; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { font-size: var(--step-1); margin-top: 2.2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose blockquote { margin: 1.4em 0; padding-inline-start: 1em; border-inline-start: 3px solid var(--accent); color: var(--text-soft); }
.prose code { font-size: 0.92em; background: var(--bg-band); padding: 1px 5px; border-radius: 5px; }
.app-safe main { max-width: 48rem; margin: 0 auto; padding: 24px var(--gutter) 72px; }
.app-safe .brand { margin-inline-end: auto; }
.app-safe table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.app-safe th, .app-safe td { border: 1px solid var(--line); padding: 6px 8px; text-align: start; vertical-align: top; }
.todo { background: color-mix(in srgb, var(--seed-gold) 18%, transparent); border: 1px dashed var(--seed-gold); padding: 0 4px; border-radius: 4px; }
.app-safe .meta { margin-bottom: 1rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Language pages (lib/language-pages.mjs, 2026-11-16) */
.lang-page { padding-block: 2.5rem 3rem; max-width: 64rem; }
.lang-page h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; margin: .25rem 0 .5rem; }
.lang-native { color: var(--muted); font-style: italic; margin: 0 0 1.25rem; }
.lang-page .crumbs { font-size: .9rem; color: var(--muted); }
.lang-page .crumbs a, .more-songs a, .lang-others a { color: inherit; }
.lang-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.25rem 0; }
.lang-facts li { overflow-wrap: anywhere; }
.lang-jump { display: flex; gap: .5rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.lang-jump a { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: inherit; }
.lang-level { margin-top: 2.5rem; }
.lang-level h2 { font-size: 1.4rem; }
.lang-albums { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.lang-album { border: 1px solid var(--line); border-radius: 14px; padding: .9rem; }
.lang-album-head { display: flex; gap: .75rem; align-items: center; text-decoration: none; color: inherit; }
.lang-album-head img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.lang-album-head .album-title, .lang-album-head .album-tr { display: block; }
.lang-album-head .album-tr { color: var(--muted); font-size: .9rem; }
.lang-songs { margin: .75rem 0 0; padding-inline-start: 1.1rem; font-size: .95rem; line-height: 1.6; }
.lang-songs a { color: inherit; }
.lang-how, .lang-faq { margin-top: 3rem; max-width: 44rem; }
.lang-faq h3 { font-size: 1.05rem; margin: 1.25rem 0 .25rem; }
.lang-others { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; }
.lang-others p { margin: 0; width: 100%; color: var(--muted); }
.lang-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; }
.lang-card { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; }
.lang-card:hover, .lang-album-head:hover .album-title { text-decoration: underline; }
.lang-card-name { font-weight: 600; font-size: 1.1rem; }
.more-songs { margin-top: 2rem; }

/* The Founder's Pact (lib/founder.mjs, 2026-11-16) */
.founder-banner { padding: clamp(28px, 5vw, 56px) 0; background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 22%, var(--bg-raised)), var(--bg-raised) 70%); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); text-align: center; }
.founder-banner[hidden] { display: none; }
.founder-banner-wrap { max-width: 46rem; }
.founder-kicker { margin: 0 0 .5rem; color: var(--accent); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.founder-banner h2 { font-size: var(--step-2); line-height: 1.2; margin: 0 0 .75rem; }
.founder-banner h2 span { display: block; color: var(--accent); }
.founder-banner-offer { color: var(--text-soft); margin: 0 0 1.25rem; }
.founder { max-width: 46rem; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 64px; }
.founder-hero { position: relative; text-align: center; padding-top: clamp(24px, 6vw, 72px); }
.founder-year { position: absolute; inset: 0 0 auto; margin: 0; font-size: clamp(5rem, 22vw, 12rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: color-mix(in srgb, var(--accent) 10%, transparent); pointer-events: none; user-select: none; }
.founder-hero > :not(.founder-year) { position: relative; }
.founder-hero h1 { font-size: var(--step-3); line-height: 1.1; margin: 0 0 1rem; }
.founder-lede { font-size: var(--step-1); color: var(--text-soft); line-height: 1.5; }
.founder-offer { margin-top: 3rem; padding: clamp(20px, 4vw, 36px); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 18px; background: var(--bg-raised); }
.founder-offer h2 { margin-top: 0; font-size: var(--step-2); }
.founder-price { font-size: var(--step-2); margin: 0 0 1rem; }
.founder-price strong { color: var(--accent); }
.founder-price span { font-size: var(--step-0); color: var(--text-soft); }
.founder-oath { padding-inline-start: 1.2rem; line-height: 1.7; margin-bottom: 1.5rem; }
.founder-opens { color: var(--text-soft); }
.founder-buy { display: inline-block; font-size: var(--step-1); }
.founder-vow { margin-top: 3rem; padding-inline-start: 1.25rem; border-inline-start: 3px solid var(--accent); font-size: var(--step-1); line-height: 1.55; }
.founder-vow strong { color: var(--accent); }
.founder-seal { font-size: var(--step-0); color: var(--muted); font-style: italic; }
.founder-small { margin-top: 3rem; font-size: .95rem; color: var(--text-soft); }
.founder-small h2 { font-size: var(--step-1); color: var(--text); }
.founder-hero-small { padding-top: 0; }
.founder-step { margin-top: 2rem; padding: clamp(20px, 4vw, 36px); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 18px; background: var(--bg-raised); }
.founder-step[hidden] { display: none; }
.founder-step h2 { margin-top: 0; font-size: var(--step-1); }
.founder-email { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0; }
.founder-email input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.founder-email .button, .founder-pay { min-height: 48px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.founder-email .button[disabled], .founder-pay[disabled] { cursor: default; opacity: 0.6; }
.founder-pay { font-size: var(--step-1); margin: .5rem 0 1rem; padding: 0 24px; }
.founder-note { font-size: var(--step--1); color: var(--text-soft); }
.founder-link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.founder-status { margin: 1rem 0 0; min-height: 1.4em; }
.founder-status.is-ok { color: var(--accent); }
.founder-status.is-error { color: var(--text); font-weight: 600; }

/* YouTube thumbnail links (lib/pages.mjs youtubeLink, 2026-11-16) */
.yt-link { display: block; text-decoration: none; color: inherit; }
.yt-link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.yt-link span { display: block; margin-top: .4rem; font-size: .95rem; }
.yt-link:hover span { text-decoration: underline; }
.yt-block { margin-top: 2rem; max-width: 30rem; }
.lang-watch { margin-top: 2.5rem; }
.yt-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.facts dl { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .5rem 1.25rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--text-soft); }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; } .facts dd { margin-bottom: .5rem; } }

/* Blog and content page section headings (Markdown ## → h3), 2026-11-16 */
.post.prose h3 { font-size: var(--step-1); line-height: 1.25; margin: 2.2rem 0 .6rem; }

/* Free song worksheets (P1-322, lib/worksheets.mjs). */
.ws-page, .ws-index { padding-top: clamp(24px, 5vw, 56px); padding-bottom: 72px; }
.ws-page .crumbs { font-size: .9rem; color: var(--muted); }
.ws-page .crumbs a { color: inherit; }
.ws-page h1 { font-size: var(--step-2, 1.6rem); line-height: 1.2; }
.ws-main { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; }
@media (min-width: 720px) { .ws-main { grid-template-columns: 280px minmax(0, 1fr); } }
.ws-preview img { width: 100%; height: auto; border-radius: var(--radius-s); display: block; }
.ws-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1rem; }
.button-quiet { background: transparent; color: var(--text); border: 1px solid var(--seed-lavender); }
.ws-album { margin: 0 0 1rem; }
.ws-album-title { font-weight: 600; margin: 0 0 .3rem; }
.ws-licence { margin-top: 2rem; font-size: .85rem; color: var(--muted); }
.ws-side h2 { font-size: var(--step-1); margin: 1.2rem 0 .4rem; }
.founder-waiver { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: var(--step--1); }
.founder-waiver input { margin-top: 4px; min-width: 20px; min-height: 20px; }
