/* Music File Lab — musicfilelab.com
   Visual language of the Mac app: white pages, iOS grouped cards, glass capsules,
   Apple Music motion artwork, one rose accent. */

:root {
  --accent: #fa2e54;
  --accent-deep: #c71457;
  --plum: #45104f;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --page: #ffffff;
  --group: #f2f2f7;
  --surface: #ffffff;
  --hairline: rgba(0, 0, 0, 0.08);
  --field: rgba(0, 0, 0, 0.055);
  --green: #1f9d55;
  --radius: 16px;
  --radius-lg: 26px;
  --wrap: min(1160px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.022em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 10px; }

/* Language: content is authored in both languages and the inactive one is hidden. */
html[lang="pl"] [data-lang="en"], html[lang="en"] [data-lang="pl"] { display: none !important; }

/* ---------- Navigation (glass bar) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7.5px; box-shadow: 0 2px 6px rgba(250, 46, 84, .25); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; height: 30px; min-width: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--field); font-size: 12px; font-weight: 650; cursor: pointer; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), filter .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(.94); }
.btn-secondary { background: var(--field); color: var(--accent); }
.btn-secondary:hover { background: rgba(0, 0, 0, .08); }
.btn-ghost-light { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 .75px rgba(255, 255, 255, .3); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.display { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; font-weight: 750; letter-spacing: -0.035em; }
.headline { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; font-weight: 720; letter-spacing: -0.03em; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.section { padding: 110px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: grid; gap: 14px; }
.grouped { background: var(--group); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero .app-mark { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 19px; box-shadow: 0 10px 30px rgba(250, 46, 84, .3); }
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero .lead { max-width: 680px; margin: 22px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }
.hero-stage { position: relative; margin: 64px auto 0; width: min(1180px, calc(100vw - 32px)); }
.hero-stage::before { content: ""; position: absolute; inset: 12% 6% -4%; background: radial-gradient(60% 60% at 50% 40%, rgba(250, 46, 84, .28), rgba(124, 58, 237, .16) 50%, transparent 75%); filter: blur(40px); z-index: -1; }

/* ---------- Motion artwork (CSS port of MFLMotionArtwork) ---------- */
.motion { position: absolute; inset: 0; overflow: hidden; background: #29072a; isolation: isolate; }
.motion i { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .95; will-change: transform; }
.motion i:nth-child(1) { width: 75%; height: 120%; left: -18%; top: -30%; background: radial-gradient(closest-side, #fa2e54, rgba(250, 46, 84, .55) 55%, transparent); animation: drift1 19s ease-in-out infinite alternate; }
.motion i:nth-child(2) { width: 60%; height: 95%; left: 18%; top: 45%; background: radial-gradient(closest-side, #ff7a4d, rgba(255, 122, 77, .5) 55%, transparent); animation: drift2 23s ease-in-out infinite alternate; }
.motion i:nth-child(3) { width: 70%; height: 115%; left: 38%; top: -35%; background: radial-gradient(closest-side, #db249e, rgba(219, 36, 158, .55) 55%, transparent); animation: drift3 17s ease-in-out infinite alternate; }
.motion i:nth-child(4) { width: 80%; height: 130%; left: 55%; top: 15%; background: radial-gradient(closest-side, #7533e0, rgba(117, 51, 224, .55) 55%, transparent); animation: drift4 27s ease-in-out infinite alternate; }
.motion i:nth-child(5) { width: 42%; height: 70%; left: 62%; top: -28%; background: radial-gradient(closest-side, #ff6b9e, rgba(255, 107, 158, .45) 55%, transparent); animation: drift2 15s ease-in-out infinite alternate-reverse; }
.motion i:nth-child(6) { width: 55%; height: 85%; left: -12%; top: 55%; background: radial-gradient(closest-side, #b30f47, rgba(179, 15, 71, .5) 55%, transparent); animation: drift1 21s ease-in-out infinite alternate-reverse; }
.motion::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 45%, rgba(0, 0, 0, .1)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); pointer-events: none; }
@keyframes drift1 { to { transform: translate(14%, 18%) scale(1.12, .9); } }
@keyframes drift2 { to { transform: translate(-16%, -12%) scale(.9, 1.1); } }
@keyframes drift3 { to { transform: translate(-10%, 22%) scale(1.15, .92); } }
@keyframes drift4 { to { transform: translate(-14%, -16%) scale(.92, 1.12); } }

/* Hand-animated `waveform` silhouette (port of MFLSymbolWaveform). */
.wave { display: flex; align-items: center; gap: calc(var(--bar, 14px) * .85); height: var(--h, 140px); }
.wave span { width: var(--bar, 14px); border-radius: 999px; background: #fff; height: calc(var(--h, 140px) * var(--p)); animation: bar var(--s) ease-in-out infinite alternate; animation-delay: var(--d); transform-origin: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
@keyframes bar { 0% { transform: scaleY(.34); } 55% { transform: scaleY(.82); } 100% { transform: scaleY(1); } }

/* ---------- App window mock ---------- */
.mock-frame { position: relative; width: 100%; aspect-ratio: 1260 / 780; }
.mock { position: absolute; left: 0; top: 0; width: 1260px; height: 780px; transform-origin: 0 0; border-radius: 22px; background: #fff; box-shadow: 0 40px 100px rgba(40, 6, 30, .28), 0 0 0 .5px rgba(0, 0, 0, .18); overflow: hidden; text-align: left; font-size: 14px; }
.mock .lights { position: absolute; left: 18px; top: 18px; display: flex; gap: 8px; z-index: 5; }
.mock .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.mock .lights i:nth-child(2) { background: #febc2e; }
.mock .lights i:nth-child(3) { background: #28c840; }
.mock .top-chips { position: absolute; right: 22px; top: 18px; display: flex; gap: 8px; z-index: 5; }
.glass { background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); box-shadow: 0 6px 22px rgba(0, 0, 0, .1), inset 0 0 0 .75px rgba(255, 255, 255, .7), 0 0 0 .5px rgba(0, 0, 0, .08); }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.chip-round { width: 32px; padding: 0; justify-content: center; color: #ff9f0a; }
.mock-body { position: absolute; inset: 0; padding: 46px 32px 0; }
.mock h3 { font-size: 34px; font-weight: 750; letter-spacing: -0.03em; }
.mock .sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.composer { display: flex; gap: 12px; margin-top: 22px; }
.field { flex: 1; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(0, 0, 0, .045); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .06); color: var(--muted); font-size: 15px; }
.field .typed { color: var(--ink); white-space: nowrap; overflow: hidden; }
.field .caret { width: 1.5px; height: 20px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.field .paste { margin-left: auto; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(250, 46, 84, .1); color: var(--accent); font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.dl-btn { height: 50px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.segmented { position: relative; display: inline-flex; gap: 2px; margin-top: 14px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .045); }
.segmented span { position: relative; z-index: 1; width: 80px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: color .35s; }
.segmented span.on { color: #fff; }
.segmented .pill { position: absolute; top: 4px; left: 4px; width: 80px; height: 32px; border-radius: 999px; background: var(--accent); transition: transform .45s var(--ease); }
.hero-card { position: relative; height: 246px; margin-top: 20px; border-radius: 22px; overflow: hidden; color: #fff; }
.hero-card .copy { position: absolute; left: 34px; top: 46px; max-width: 520px; }
.hero-card .copy small { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.hero-card .copy strong { display: block; margin-top: 8px; font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; }
.hero-card .copy p { margin-top: 10px; font-size: 14px; opacity: .85; }
.hero-card .wave { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); --h: 130px; --bar: 13px; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; }
.shelf-head b { font-size: 21px; letter-spacing: -0.02em; }
.shelf-head > span { color: var(--accent); font-size: 13px; font-weight: 600; }
.shelf { display: flex; gap: 18px; margin-top: 12px; }
.cover { width: 168px; flex: none; }
.art { position: relative; width: 168px; height: 168px; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.cover b { display: block; margin-top: 8px; font-size: 13px; font-weight: 550; }
.cover em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.tabbar { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; z-index: 4; }
.tabbar > span { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 118px; padding: 7px 0; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--ink); }
.tabbar > span.on { background: rgba(250, 46, 84, .12); color: var(--accent); }
.tabbar svg { width: 20px; height: 20px; }
.mini { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); width: 470px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; z-index: 4; }
.mini .art { width: 40px; height: 40px; border-radius: 999px; box-shadow: none; }
.mini .meta { flex: 1; min-width: 0; }
.mini .meta b { display: block; font-size: 13px; }
.mini .meta em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.mini .bar { height: 4px; margin-top: 5px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.mini .bar i { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 999px; animation: progress 9s linear infinite; }
@keyframes progress { from { width: 6%; } to { width: 100%; } }
.fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(transparent, rgba(255, 255, 255, .9) 60%, #fff); z-index: 3; }

/* Fictional album art (pure CSS, no real releases). */
.art.a1 { background: radial-gradient(circle at 30% 30%, #ffd36e, transparent 45%), radial-gradient(circle at 75% 70%, #ff4f7b, transparent 55%), linear-gradient(135deg, #2b145e, #7a1d6b); }
.art.a2 { background: repeating-linear-gradient(115deg, #0f2a4a 0 14px, #12385f 14px 28px), #0f2a4a; }
.art.a2::after { content: ""; position: absolute; width: 58%; height: 58%; left: 21%; top: 21%; border-radius: 50%; background: radial-gradient(circle, #9ad7ff, #3d7bd9 60%, transparent 62%); }
.art.a3 { background: linear-gradient(160deg, #f4efe6 0 55%, #e64b2e 55% 70%, #1d1d1f 70%); }
.art.a4 { background: conic-gradient(from 200deg at 60% 40%, #00c2a8, #2d6cdf, #8a3ffc, #00c2a8); }
.art.a4::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, transparent 20%, rgba(0, 0, 0, .35) 75%); }
.art.a5 { background: radial-gradient(120% 90% at 50% 110%, #ff9a3c, #ff4e50 40%, #3b0a45 75%); }
.art.a5::after { content: ""; position: absolute; left: 22%; right: 22%; top: 30%; height: 40%; border-radius: 50% 50% 0 0; background: #ffd27a; opacity: .9; }
.art.a6 { background: linear-gradient(180deg, #111 0 50%, #f2f2f7 50%); }
.art.a6::after { content: ""; position: absolute; left: 14%; right: 14%; top: 18%; bottom: 18%; border: 6px solid #fa2e54; border-radius: 50%; }
.art.a7 { background: linear-gradient(135deg, #b6f0c8, #4fb3a8 50%, #1f4d6b); }
.art.a8 { background: radial-gradient(circle at 70% 30%, #fff 0 8%, transparent 9%), linear-gradient(200deg, #1b1f3b, #5a2d82 60%, #e05a8a); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 0 0 .5px var(--hairline); }
.grouped .step { box-shadow: none; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(250, 46, 84, .1); color: var(--accent); font-weight: 750; }
.step h3 { margin-top: 22px; font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Formats (dark motion section) ---------- */
.dark { position: relative; color: #fff; overflow: hidden; background: #1a0718; }
.dark .motion { opacity: .9; }
.dark .wrap { position: relative; z-index: 1; }
.dark .lead, .dark .muted { color: rgba(255, 255, 255, .78); }
.dark .eyebrow { color: #ffb3c4; }
.formats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.format { position: relative; min-height: 270px; padding: 22px; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(255, 255, 255, .1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 .75px rgba(255, 255, 255, .22); }
.format .tag { position: absolute; top: 20px; left: 22px; font-size: 32px; font-weight: 780; letter-spacing: -0.03em; }
.format .kind { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.format p { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.format::before { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -50px; border-radius: 50%; background: var(--glow); filter: blur(30px); opacity: .75; }
@media (max-width: 1000px) { .formats { grid-template-columns: repeat(2, 1fr); } .format:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } .format:last-child { grid-column: auto; } .format { min-height: 200px; } }

/* ---------- Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; min-height: 260px; }
.tile h3 { font-size: 24px; line-height: 1.15; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 460px; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .span-3, .span-2, .span-4 { grid-column: span 2; } }
.file-card { margin-top: 26px; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: var(--group); max-width: 420px; }
.file-card .art { width: 64px; height: 64px; border-radius: 8px; flex: none; }
.file-card b { display: block; font-size: 14.5px; }
.file-card em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(250, 46, 84, .1); color: var(--accent); font-size: 11.5px; font-weight: 650; }
.badge.gray { background: var(--field); color: var(--muted); }
.lyrics { margin-top: 24px; display: grid; gap: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lyrics span { color: rgba(0, 0, 0, .18); transition: color .5s; }
.lyrics span.on { color: var(--ink); }
.path { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: var(--group); font: 500 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.path b { color: var(--ink); font-weight: 600; }
.tile .stat, .stat { font-size: 64px; font-weight: 780; letter-spacing: -0.04em; line-height: 1; margin-top: 26px; background: linear-gradient(120deg, var(--accent), #8a3ffc); -webkit-background-clip: text; background-clip: text; color: transparent; }

.queue { margin-top: 22px; display: grid; gap: 10px; }
.queue > div { display: flex; align-items: center; gap: 12px; }
.queue .art { width: 40px; height: 40px; border-radius: 7px; flex: none; box-shadow: none; }
.queue span { flex: 1; min-width: 0; }
.queue b { display: block; font-size: 13.5px; font-weight: 600; }
.queue i { display: block; height: 4px; margin-top: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--w), var(--field) var(--w)); }
.queue em { font-style: normal; font-size: 12.5px; color: var(--muted); min-width: 34px; text-align: right; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); }
.plan.featured { box-shadow: 0 0 0 2px var(--accent), 0 20px 50px rgba(250, 46, 84, .15); }
.plan .ribbon { position: absolute; top: 22px; right: 22px; }
.plan h3 { font-size: 20px; }
.plan .price { margin-top: 18px; font-size: 44px; font-weight: 760; letter-spacing: -0.035em; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .was { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan .was s { margin-right: 6px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(250, 46, 84, .12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23fa2e54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.fine { margin-top: 22px; text-align: center; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 80px 32px; text-align: center; color: #fff; }
.cta .inner { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: center; }
.cta img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.cta .lead { color: rgba(255, 255, 255, .82); }

/* ---------- Grouped lists, cards, forms (account/download/support) ---------- */
.card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; }
.card + .card { margin-top: 16px; }
.list { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 18px; border-bottom: 1px solid var(--hairline); text-decoration: none; }
.row:last-child { border-bottom: 0; }
.row .icon { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--accent); }
.row .icon svg { width: 17px; height: 17px; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; font-weight: 550; font-size: 15.5px; }
.row .grow > span { display: block; font-size: 13.5px; color: var(--muted); }
.row .value { color: var(--muted); font-size: 14.5px; }
a.row:hover { background: rgba(0, 0, 0, .025); }
.group-label { margin: 28px 0 8px 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.form { display: grid; gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 .5px var(--hairline); }
.form label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--hairline); }
.form label:last-child { border-bottom: 0; }
.form label svg { width: 18px; height: 18px; flex: none; color: var(--faint); }
.form input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--field); }
.segment button { position: relative; z-index: 1; height: 34px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .3s; }
.segment button[aria-selected="true"] { color: #fff; }
.segment .pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--accent); transition: transform .4s var(--ease); }
.segment[data-index="1"] .pill { transform: translateX(100%); }
.message { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.message.error { background: rgba(255, 59, 48, .08); color: #c4271c; }
.message.ok { background: rgba(52, 199, 89, .1); color: #187a3d; }
.message.info { background: rgba(250, 46, 84, .07); color: var(--accent-deep); }
.message[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero for subpages ---------- */
.page-hero { padding: 76px 0 40px; text-align: center; }
.page-hero .app-mark { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 16px; box-shadow: 0 10px 26px rgba(250, 46, 84, .26); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; font-weight: 750; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 640px; margin: 16px auto 0; }

/* ---------- Footer ---------- */
.footer { padding: 46px 0 56px; background: var(--group); color: var(--muted); font-size: 13px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer .studio { display: inline-flex; align-items: center; gap: 10px; }
.footer .studio img { height: 22px; width: auto; }
.footer .legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 12px; line-height: 1.6; color: var(--faint); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  :root { --wrap: calc(100vw - 32px); }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 56px; }
  .tile, .plan, .card { padding: 24px; }
  .cta { padding: 60px 22px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Album flow ---------- */
.album-demo { display: grid; grid-template-columns: 300px 1fr; grid-template-rows: auto auto; gap: 0 34px; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 20px 60px rgba(30, 10, 40, .08); }
.album-cover { grid-row: span 2; }
.album-cover .art { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 18px 40px rgba(60, 10, 60, .25); }
.album-meta { margin-top: 18px; display: grid; gap: 3px; }
.album-meta small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.album-meta b { font-size: 24px; letter-spacing: -.02em; }
.album-meta > span { color: var(--muted); font-size: 15px; }
.album-meta .badge { justify-self: start; }
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li { display: grid; grid-template-columns: 34px 1fr auto 86px; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.tracklist .n { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.tracklist .d { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tracklist .s { justify-self: end; font-size: 12px; font-weight: 650; color: var(--faint); }
.tracklist li.busy .s { color: var(--accent); }
.tracklist li.busy .t { font-weight: 600; }
.tracklist li.done .s { color: var(--green); }
.album-status { align-self: end; margin-top: 18px; display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.album-status .bar { height: 6px; border-radius: 999px; background: var(--field); overflow: hidden; }
.album-status .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .6s var(--ease); }
@media (max-width: 820px) { .album-demo { grid-template-columns: 1fr; padding: 22px; } .album-cover { grid-row: auto; display: flex; gap: 18px; align-items: center; margin-bottom: 14px; } .album-cover .art { width: 110px; } .album-meta { margin-top: 0; } }

/* ---------- Tag inspector ---------- */
.inspector { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 .5px var(--hairline), 0 20px 60px rgba(30, 10, 40, .08); }
.inspector-art { position: relative; min-height: 420px; }
.inspector-art .art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.inspector-body { padding: 34px; }
.file-name { font: 600 13.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); margin-bottom: 14px; }
.tags { display: grid; grid-template-columns: 120px 1fr; margin: 0; border-radius: 14px; background: var(--group); padding: 6px 16px; }
.tags dt, .tags dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.tags dt { color: var(--muted); }
.tags dd { font-weight: 550; }
.tags dt:nth-last-of-type(1), .tags dd:last-of-type { border-bottom: 0; }
.lrc { margin-top: 18px; padding: 16px; border-radius: 14px; background: #1d1d1f; color: #fff; }
.lrc .file-name { color: rgba(255, 255, 255, .55); }
.lrc p { font-size: 15px; margin: 0; line-height: 1.9; }
.lrc em { font-style: normal; font: 500 12.5px ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, .45); margin-right: 6px; }
.lrc .lrc-line { color: rgba(255, 255, 255, .45); transition: color .4s; }
.lrc .lrc-line.on { color: #fff; font-weight: 600; }
@media (max-width: 820px) { .inspector { grid-template-columns: 1fr; } .inspector-art { min-height: 280px; } .inspector-body { padding: 24px; } }

/* ---------- Before / after ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.compare-card { min-width: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); }
.compare-card.bad { background: rgba(255, 255, 255, .6); }
.compare-card .eyebrow { margin-bottom: 14px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.file-row:last-child { border-bottom: 0; }
.file-row > div:not(.art) { flex: 1; min-width: 0; }
.file-row b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.file-row .art { width: 42px; height: 42px; border-radius: 7px; flex: none; box-shadow: none; }
.file-ico { width: 42px; height: 42px; flex: none; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: var(--faint); background: var(--field); }
.file-ico.lrc-ico { font-size: 11px; color: var(--accent); background: rgba(250, 46, 84, .1); }
.x-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); }
.x-list li { display: flex; gap: 10px; }
.x-list li::before { content: "×"; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 59, 48, .12); color: #e0352b; font-weight: 700; font-size: 13px; line-height: 1; }
.crumbs { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 860px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Library mock ---------- */
.library { border-radius: var(--radius-lg); background: var(--surface); padding: 26px; box-shadow: 0 0 0 .5px var(--hairline), 0 20px 60px rgba(30, 10, 40, .08); }
.library-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.library-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.library-filters > span { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--field); font-size: 13px; font-weight: 600; }
.library-filters > span.on { background: var(--accent); color: #fff; }
.library-filters .search { margin-left: auto; min-width: 200px; font-weight: 500; color: var(--faint); }
.lib-row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--hairline); }
.lib-row:last-child { border-bottom: 0; }
.lib-row .art { width: 46px; height: 46px; border-radius: 7px; flex: none; box-shadow: none; }
.lib-row .grow { flex: 1; min-width: 0; }
.lib-row b { display: block; font-size: 15px; font-weight: 600; }
.lib-row em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.row-bar { display: block; height: 4px; margin-top: 6px; max-width: 260px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--w), var(--field) var(--w)); }
.status { min-width: 84px; text-align: right; font-size: 12.5px; font-weight: 650; }
.status.done { color: var(--green); }
.status.busy { color: var(--accent); }
.status.wait { color: var(--faint); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.duo .tile { min-height: 0; background: var(--group); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .library { padding: 18px; } .library-filters .search { margin-left: 0; min-width: 0; } .lib-row .badge { display: none; } }

/* ---------- Specs ---------- */
.specs { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-radius: var(--radius-lg); background: var(--group); padding: 8px 26px; }
.specs dt, .specs dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 550; }
.specs dt:last-of-type, .specs dd:last-of-type { border-bottom: 0; }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 2px; } .specs dd { padding-top: 0; } }

/* ---------- Guides (articles) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 64px 0 100px; }
.article .crumbs a { color: var(--accent); text-decoration: none; }
.article h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.07; font-weight: 750; letter-spacing: -0.03em; margin-top: 14px; }
.article .lead { margin-top: 18px; }
.article .meta { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.article h2 { font-size: 28px; line-height: 1.2; margin: 52px 0 14px; letter-spacing: -0.02em; }
.article h3 { font-size: 20px; margin: 30px 0 8px; }
.article p, .article li { font-size: 17.5px; line-height: 1.65; color: #333336; }
.article p + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.article strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.article th, .article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.article th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.article .table-wrap { overflow-x: auto; }
.article .note { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: var(--group); font-size: 15.5px; }
.article .cta-box { margin-top: 56px; padding: 30px; border-radius: var(--radius-lg); background: var(--group); display: flex; gap: 20px; align-items: center; }
.article .cta-box img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.article .cta-box p { margin: 4px 0 14px; font-size: 15.5px; color: var(--muted); }
.article code { font: 500 0.92em ui-monospace, "SF Mono", Menlo, monospace; background: var(--field); padding: 2px 6px; border-radius: 6px; }
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30, 10, 40, .1); }
.guide-card h2 { font-size: 22px; line-height: 1.2; }
.guide-card p { color: var(--muted); font-size: 15px; }
.guide-card span { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 14.5px; }
@media (max-width: 900px) { .guide-list { grid-template-columns: 1fr; } .article .cta-box { flex-direction: column; align-items: flex-start; } }
