:root {
    color-scheme: dark;
    --black: #0a0a0a;
    --ink: #111111;
    --panel: #181818;
    --panel-2: #202020;
    --line: #343434;
    --line-light: #d7d7d2;
    --muted: #9b9b96;
    --paper: #f1f1ed;
    --paper-2: #e6e6e1;
    --white: #ffffff;
    --danger: #b95b5b;
    --success: #7b9a7a;
    --font: Inter, "Segoe UI", Arial, sans-serif;
    --display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
    --shell: min(1180px, calc(100vw - 40px));
    --shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body:has(.global-player:not([hidden])) { padding-bottom: 96px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
:focus-visible { outline: 3px solid #767676; outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px; background: var(--white); color: var(--black); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 620; line-height: .98; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
p { margin: 0 0 1rem; }
.eyebrow { margin: 0 0 18px; color: #777772; font-size: .72rem; font-weight: 750; letter-spacing: .18em; }
.section-dark .eyebrow, .account-head .eyebrow { color: #8d8d88; }
.lead { max-width: 650px; font-size: clamp(1.08rem, 1.8vw, 1.38rem); color: #b9b9b4; }
.lead-narrow { max-width: 720px; font-size: 1.2rem; color: #555550; }
.section { padding-block: 92px; }
.section-muted { background: var(--paper-2); }
.section-dark { background: var(--black); color: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading.compact { align-items: center; margin-bottom: 18px; }
.section-heading.compact h2 { font: 650 1.35rem/1.2 var(--font); letter-spacing: -.02em; }
.text-link, .results-line a { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

.button, .secondary-button, .button-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    padding: 0 22px;
    background: var(--ink);
    color: var(--white);
    font-weight: 720;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { background: #303030; transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 16px; }
.button-full { width: 100%; }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button-danger { background: #6c2828; border-color: #6c2828; }
.secondary-button { background: transparent; color: var(--ink); }
.secondary-button:hover { background: var(--ink); color: var(--white); }
.button-link { min-height: 0; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; }
.danger-link { color: #8e3030 !important; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); }
.icon-button svg, .play-button svg, .detail-play svg { width: 22px; height: 22px; fill: currentColor; }

.site-header { position: sticky; z-index: 80; top: 0; background: rgba(10,10,10,.97); color: var(--paper); border-bottom: 1px solid #252525; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: .92rem; font-weight: 820; letter-spacing: .22em; text-decoration: none; }
.wordmark-mark { width: 27px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.wordmark-mark i { display: block; width: 2px; background: currentColor; }
.wordmark-mark i:nth-child(1) { height: 8px; }
.wordmark-mark i:nth-child(2) { height: 19px; }
.wordmark-mark i:nth-child(3) { height: 13px; }
.wordmark-mark i:nth-child(4) { height: 22px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { color: #c7c7c2; font-size: .91rem; text-decoration: none; }
.site-nav > a:hover { color: var(--white); }
.site-nav .button { color: var(--black); background: var(--paper); border-color: var(--paper); }
.nav-account { padding-left: 24px; border-left: 1px solid #404040; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--white); }

.messages { position: fixed; z-index: 100; top: 88px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.message { max-width: 620px; margin-left: auto; padding: 14px 18px; background: var(--white); color: var(--ink); border-left: 5px solid #595959; box-shadow: var(--shadow); pointer-events: auto; }
.message-success { border-color: var(--success); }
.message-error { border-color: var(--danger); }

.home-intro { min-height: 650px; padding-block: 90px 72px; }
.home-intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(45px, 8vw, 120px); }
.home-copy h1 { max-width: 820px; margin-bottom: 34px; }
.home-copy .lead { margin-bottom: 38px; }
.hero-search { display: flex; max-width: 630px; border-bottom: 1px solid #5d5d59; }
.hero-search input { flex: 1; min-width: 0; padding: 17px 3px; background: transparent; color: var(--white); border: 0; outline: 0; }
.hero-search input::placeholder { color: #767672; }
.hero-search button { padding: 0 4px 0 24px; background: transparent; color: var(--white); border: 0; font-weight: 700; }
.sound-visual { min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background: #171717; border-left: 1px solid #3d3d3d; border-radius: 0 90px 0 0; }
.visual-index { color: #777; font-size: .75rem; letter-spacing: .12em; }
.wave-lines { height: 180px; display: flex; align-items: center; justify-content: center; gap: clamp(7px, 1vw, 13px); }
.wave-lines i { width: 3px; background: #b9b9b4; border-radius: 2px; }
.wave-lines i:nth-child(1), .wave-lines i:nth-child(12) { height: 25%; }
.wave-lines i:nth-child(2), .wave-lines i:nth-child(11) { height: 43%; }
.wave-lines i:nth-child(3), .wave-lines i:nth-child(9) { height: 72%; }
.wave-lines i:nth-child(4), .wave-lines i:nth-child(8) { height: 48%; }
.wave-lines i:nth-child(5), .wave-lines i:nth-child(10) { height: 88%; }
.wave-lines i:nth-child(6) { height: 58%; }
.wave-lines i:nth-child(7) { height: 100%; }
.visual-caption { color: #8f8f8a; font-size: .83rem; text-transform: uppercase; letter-spacing: .1em; }

.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.purpose-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #c6c6c0; text-decoration: none; transition: background .2s ease, color .2s ease; }
.purpose-card + .purpose-card { border-left: 0; }
.purpose-card:nth-child(2) { border-radius: 0 70px 0 0; }
.purpose-card:hover { background: var(--ink); color: var(--paper); }
.purpose-number { margin-bottom: auto; color: #878782; font-size: .72rem; }
.purpose-card h3 { margin-bottom: 16px; font-size: clamp(2rem, 3vw, 3.2rem); }
.purpose-card p { color: #65655f; }
.purpose-card:hover p { color: #bdbdb7; }
.purpose-card .text-link { align-self: flex-start; margin-top: 20px; font-size: .88rem; }

.sound-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sound-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sound-card { min-width: 0; background: var(--paper); border: 1px solid #cecec8; }
.sound-card-cover { position: relative; height: 210px; overflow: hidden; background: #bebeba; }
.sound-card-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cover-placeholder { position: relative; overflow: hidden; background: #c8c8c3; }
.cover-placeholder::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; top: -28%; right: -20%; border: 1px solid rgba(0,0,0,.28); border-radius: 50%; }
.cover-placeholder::after { content: ""; position: absolute; width: 55%; height: 1px; left: 10%; bottom: 29%; background: rgba(0,0,0,.34); box-shadow: 0 -22px rgba(0,0,0,.12), 0 22px rgba(0,0,0,.16); transform: rotate(-8deg); }
.cover-gorod-i-pomescheniya { background: #9d9d98; }
.cover-transport { background: #b3b3ae; }
.cover-fonovyy-shum { background: #d3d3ce; }
.sound-duration, .access-label { position: absolute; z-index: 2; bottom: 13px; padding: 5px 8px; background: rgba(12,12,12,.86); color: var(--white); font-size: .72rem; }
.sound-duration { left: 13px; }
.access-label { right: 13px; letter-spacing: .06em; }
.sound-card-body { padding: 20px; }
.sound-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.sound-title { display: block; font-size: 1.14rem; font-weight: 760; text-decoration: none; }
.sound-card-heading p { margin: 4px 0 0; color: #71716c; font-size: .79rem; }
.play-button { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); text-decoration: none; }
.play-button:hover { background: #393939; }
.play-button-locked { background: #555; }
.sound-card-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #d3d3cd; color: #777772; font-size: .75rem; }
.sound-card-footer a { color: var(--ink); font-weight: 700; }

.split-feature { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 10vw; }
.split-feature h2 { margin-bottom: 28px; }
.split-feature p:not(.eyebrow) { max-width: 520px; color: #5d5d58; }
.split-feature .button { margin-top: 17px; }
.mixer-preview { padding: 36px; background: var(--ink); color: var(--paper); border-radius: 72px 0 0 0; }
.mixer-preview > div { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 18px; padding-block: 22px; border-bottom: 1px solid #353535; }
.mixer-preview i { position: relative; display: block; max-width: 100%; height: 3px; background: #d2d2cc; }
.mixer-preview i::after { content: ""; position: absolute; top: 50%; right: 0; width: 13px; height: 13px; border-radius: 50%; background: #d2d2cc; transform: translate(50%, -50%); }
.mixer-preview b { color: #8f8f8a; font-size: .75rem; }
.category-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #bcbcb6; }
.category-list a { display: flex; justify-content: space-between; padding: 24px 8px; border-bottom: 1px solid #bcbcb6; text-decoration: none; }
.category-list a:nth-child(odd) { margin-right: 35px; }
.category-list a:hover span { transform: translateX(5px); }
.category-list span { font-size: 1.15rem; font-weight: 680; transition: transform .18s ease; }
.category-list small { color: #777772; }

.page-head { padding-block: 76px 55px; }
.page-head h1 { margin-bottom: 25px; font-size: clamp(3.4rem, 7vw, 6.3rem); }
.page-head > p:not(.eyebrow) { max-width: 700px; color: #5f5f5a; font-size: 1.12rem; }
.page-head-wide { padding-bottom: 80px; }
.page-head-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; color: #72726d; font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-bottom: 90px; }
.filters { align-self: start; padding: 25px; background: var(--ink); color: var(--paper); }
.filters .field label { color: #a3a39e; }
.filters .field input, .filters .field select { border-color: #454545; background: #1e1e1e; color: var(--paper); }
.filters .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filters .button-link { display: flex; margin: 18px auto 0; color: #b5b5b0; }
.results-line { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: #666661; font-size: .86rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 42px; }
.pagination a { font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 60px 30px; text-align: center; border: 1px solid #cacac4; }
.empty-state h2 { margin-bottom: 15px; font-size: 2rem; }
.empty-state .button { margin-top: 12px; }

.detail-page { padding-block: 45px 90px; }
.detail-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.detail-art { min-height: 590px; background: #b4b4af; border-radius: 0 120px 0 0; }
.detail-art img { width: 100%; height: 590px; object-fit: cover; filter: grayscale(1); }
.detail-wave { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center; gap: 15px; }
.detail-wave i { width: 4px; background: rgba(15,15,15,.62); }
.detail-wave i:nth-child(1), .detail-wave i:nth-child(9) { height: 12%; }
.detail-wave i:nth-child(2), .detail-wave i:nth-child(8) { height: 22%; }
.detail-wave i:nth-child(3), .detail-wave i:nth-child(7) { height: 35%; }
.detail-wave i:nth-child(4), .detail-wave i:nth-child(6) { height: 48%; }
.detail-wave i:nth-child(5) { height: 60%; }
.detail-labels { display: flex; gap: 10px; margin-bottom: 20px; }
.detail-labels > * { padding: 5px 9px; background: #d7d7d1; font-size: .72rem; text-decoration: none; }
.detail-copy h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 5.4vw, 5.6rem); }
.detail-description { color: #555550; font-size: 1.04rem; }
.detail-play { min-width: 160px; margin-top: 18px; }
.detail-play svg { width: 18px; }
.inline-form { display: inline-flex; margin-left: 8px; }
.inline-favorite { margin-left: 8px; }
.sound-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 34px 0; border-top: 1px solid #c5c5bf; }
.sound-meta div { padding: 14px 5px; border-bottom: 1px solid #c5c5bf; }
.sound-meta dt { color: #777772; font-size: .72rem; }
.sound-meta dd { margin: 3px 0 0; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 10px; border: 1px solid #bfbfb9; border-radius: 40px; font-size: .76rem; text-decoration: none; }
.locked-panel { margin-top: 24px; padding: 22px; border: 1px solid #bdbdb7; }
.locked-panel p { color: #666; }
.locked-panel .button { margin-top: 5px; }
.prose, .legal-page, .narrow-copy { max-width: 820px; }
.prose h2, .legal-page h2, .narrow-copy h2 { margin: 35px 0 18px; font-size: 2.4rem; }
.prose p, .legal-page p, .narrow-copy p { color: #4e4e49; }

.form-page, .auth-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 9vw, 120px); align-items: start; padding-block: 80px 100px; }
.form-intro h1, .auth-copy h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 6vw, 5.7rem); }
.form-intro > p:not(.eyebrow), .auth-copy > p:not(.eyebrow) { color: #5f5f5a; font-size: 1.08rem; }
.form-intro ul { margin: 30px 0; padding-left: 20px; color: #5f5f5a; }
.panel { background: var(--white); border: 1px solid #d0d0ca; box-shadow: var(--shadow); }
.form-panel, .auth-form { padding: clamp(25px, 4vw, 45px); }
.form-panel h2 { margin: 24px 0; font: 720 1.2rem/1.2 var(--font); letter-spacing: -.02em; }
.field { margin-bottom: 22px; }
.field > label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 720; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .price-card textarea, .mix-save input {
    width: 100%; min-height: 48px; padding: 11px 13px; background: #f8f8f5; color: var(--ink); border: 1px solid #bdbdb7; border-radius: 0; outline: 0;
}
.field textarea { resize: vertical; }
.field input[type=file] { padding: 10px; border: 1px dashed #aaa; }
.field ul { margin: 7px 0 0; padding: 0; list-style: none; }
.field ul li { margin: 7px 0; }
.field ul label { display: flex; align-items: center; gap: 8px; }
.field input[type=checkbox], .field input[type=radio] { width: 18px; height: 18px; accent-color: var(--ink); }
.field small { display: block; margin-top: 6px; color: #777; font-size: .75rem; }
.field small ul { padding-left: 17px; list-style: disc; }
.field-error input, .field-error select, .field-error textarea { border-color: #9d3c3c !important; }
.error-text { display: block; margin-top: 6px; color: #903b3b; font-size: .78rem; }
.form-errors { margin-bottom: 20px; padding: 12px 14px; border-left: 4px solid var(--danger); background: #f1dddd; }
.form-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.auth-page { max-width: 1000px; grid-template-columns: 1fr 1fr; }
.auth-form > .button { margin-top: 8px; }
.auth-form > p { margin: 20px 0 0; color: #666; font-size: .84rem; text-align: center; }

.upload-list { border-top: 1px solid #bbb; }
.upload-row { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 27px 5px; border-bottom: 1px solid #bbb; }
.upload-row h2 { margin: 10px 0 5px; font: 720 1.25rem/1.2 var(--font); letter-spacing: -.02em; }
.upload-row p { margin: 0; color: #70706b; font-size: .82rem; }
.status { display: inline-flex; padding: 4px 7px; border: 1px solid #aaa; color: #5f5f5a; font-size: .68rem; font-weight: 750; }
.status-published { border-color: #789178; color: #496849; }
.status-rejected { border-color: #a56767; color: #8e3f3f; }
.status-pending { border-color: #948461; color: #776536; }
.row-actions { display: flex; align-items: center; gap: 18px; }
.row-actions a, .row-actions button { padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: .8rem; text-decoration: underline; }
.moderation-note { max-width: 650px; margin-top: 14px; padding: 12px 15px; background: #eadfdf; border-left: 3px solid #a75f5f; }
.moderation-note strong { font-size: .76rem; }
.confirm-panel { padding: 40px; }
.confirm-panel h1 { margin-bottom: 20px; font-size: 3rem; }
.confirm-panel form { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.narrow-page { max-width: 760px; padding-block: 100px; }

.mixer-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; padding-bottom: 100px; }
.mixer-library, .mixer-desk { min-height: 600px; border: 1px solid #c3c3bd; background: var(--paper-2); }
.mixer-toolbar { padding: 24px; border-bottom: 1px solid #c3c3bd; }
.mixer-toolbar h2 { margin-bottom: 18px; font: 720 1.1rem/1.2 var(--font); letter-spacing: -.01em; }
.mixer-toolbar input { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #999; background: transparent; outline: 0; }
.mixer-sounds { max-height: 540px; overflow: auto; }
.mixer-sound { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: transparent; border: 0; border-bottom: 1px solid #c8c8c2; color: var(--ink); text-align: left; }
.mixer-sound:hover { background: #dadad4; }
.mixer-sound span, .mixer-sound strong, .mixer-sound small { display: block; }
.mixer-sound small { color: #777; }
.mixer-sound b { font-size: .75rem; }
.mixer-desk { padding: 28px; background: var(--ink); color: var(--paper); }
.mixer-desk-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid #373737; }
.mixer-desk-head h2 { font-size: 2.5rem; }
.mixer-desk .secondary-button { border-color: #888; color: var(--paper); }
.mixer-tracks { min-height: 290px; }
.mixer-empty { display: grid; min-height: 290px; place-items: center; color: #777; text-align: center; }
.mixer-track { display: grid; grid-template-columns: 1fr 180px auto; gap: 22px; align-items: center; padding: 21px 0; border-bottom: 1px solid #353535; }
.mixer-track strong, .mixer-track small { display: block; }
.mixer-track small { color: #858580; }
.mixer-track label span { display: block; color: #858580; font-size: .7rem; }
.mixer-track input { width: 100%; accent-color: var(--paper); }
.mixer-track button { padding: 0; border: 0; background: transparent; color: #b3b3ad; text-decoration: underline; }
.mixer-status { min-height: 30px; padding-block: 10px; color: #aaa; font-size: .8rem; }
.mix-save { margin-top: 14px; padding-top: 24px; border-top: 1px solid #373737; }
.mix-save > label { display: block; margin-bottom: 7px; color: #aaa; font-size: .76rem; }
.mix-save > div { display: flex; }
.mix-save input { border-color: #555; background: #1e1e1e; color: var(--paper); }
.premium-note { margin-top: 20px; padding: 18px; border: 1px solid #3c3c3c; }
.premium-note p { color: #999; }
.premium-note a { font-weight: 700; }
.saved-mix { padding-bottom: 100px; }
.saved-mix > .button { margin-bottom: 28px; }
.saved-mix-list { border-top: 1px solid #bbb; }
.saved-track { display: grid; grid-template-columns: 1fr 300px; gap: 30px; padding: 22px 5px; border-bottom: 1px solid #bbb; }
.saved-track strong, .saved-track span { display: block; }
.saved-track span { color: #777; font-size: .8rem; }
.saved-track label { display: flex; gap: 15px; align-items: center; font-size: .78rem; }
.saved-track input { flex: 1; accent-color: var(--ink); }

.account-head { padding-block: 75px; }
.account-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.account-head h1 { font-size: clamp(3.3rem, 6vw, 5.5rem); }
.account-head p:not(.eyebrow) { margin-top: 15px; color: #999; }
.plan-badge { min-width: 230px; padding: 22px; border: 1px solid #444; }
.plan-badge span, .plan-badge strong, .plan-badge a { display: block; }
.plan-badge span { color: #888; font-size: .75rem; }
.plan-badge strong { margin: 3px 0 12px; font-size: 1.5rem; }
.plan-badge a { color: #bbb; font-size: .78rem; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 45px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #c6c6c0; }
.stats-grid > div { padding: 25px; border-right: 1px solid #c6c6c0; }
.stats-grid > div:last-child { border: 0; }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { font: 650 2.6rem/1 var(--display); letter-spacing: -.04em; }
.stats-grid span { margin-top: 7px; color: #777; font-size: .78rem; }
.account-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 65px; }
.compact-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 3px; border-top: 1px solid #c3c3bd; text-decoration: none; }
.compact-row strong, .compact-row small { display: block; }
.compact-row small { color: #777; }

.pricing-head { text-align: center; }
.pricing-head > p { margin-inline: auto; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 970px; padding-bottom: 70px; }
.price-card { min-height: 560px; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 52px); border: 1px solid #bdbdb7; background: var(--paper-2); }
.price-card-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); border-radius: 0 75px 0 0; }
.price-card > div > * { display: block; }
.price-card > div > span { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-card > div > strong { margin-top: 25px; font: 650 4rem/1 var(--display); letter-spacing: -.05em; }
.price-card > div > small { color: #777; }
.price-card ul { flex: 1; margin: 45px 0; padding: 0; list-style: none; }
.price-card li { padding: 13px 0 13px 22px; border-bottom: 1px solid currentColor; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.price-card textarea { margin: 8px 0 12px; background: #222; color: var(--paper); border-color: #555; resize: vertical; }
.price-card label { font-size: .75rem; color: #aaa; }
.current-plan { align-self: flex-start; padding: 10px 14px; border: 1px solid currentColor; font-size: .8rem; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.editorial-grid h2 { margin-bottom: 25px; font-size: 3rem; }
.editorial-grid p { color: #555; }
.principles { margin: 0; }
.principles div { padding: 17px 0; border-top: 1px solid #bdbdb7; }
.principles dt { font-weight: 750; }
.principles dd { margin: 5px 0 0; color: #666; }
.faq-list { max-width: 900px; padding-bottom: 100px; }
.faq-list details { border-top: 1px solid #bdbdb7; }
.faq-list details:last-child { border-bottom: 1px solid #bdbdb7; }
.faq-list summary { padding: 25px 4px; font-weight: 750; cursor: pointer; }
.faq-list details p { max-width: 760px; padding: 0 30px 25px 4px; color: #575752; }
.contact-details { margin-top: 35px; }
.contact-details div { padding: 14px 0; border-top: 1px solid #bbb; }
.contact-details dt { color: #777; font-size: .75rem; }
.contact-details dd { margin: 3px 0; font-weight: 700; }
.legal-page { padding-block: 80px 110px; }
.legal-page h1 { margin-bottom: 12px; font-size: clamp(3rem, 6vw, 5.8rem); }
.document-date { margin-bottom: 50px !important; color: #777 !important; font-size: .85rem; }
.error-page { min-height: 650px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.error-page > span { color: #aaa; font: 700 1rem var(--font); letter-spacing: .2em; }
.error-page h1 { max-width: 800px; margin: 18px 0; }
.error-page p { color: #666; }
.error-page .button { margin-top: 18px; }

.global-player { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; min-height: 88px; background: #101010; color: var(--paper); border-top: 1px solid #424242; box-shadow: 0 -10px 35px rgba(0,0,0,.2); }
.global-player[hidden] { display: none; }
.player-main { min-height: 88px; display: grid; grid-template-columns: 42px 170px 1fr 150px 130px 42px; align-items: center; gap: 20px; }
.player-track strong, .player-track span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-track span { color: #8c8c87; font-size: .75rem; }
.player-progress, .volume-control input { width: 100%; accent-color: var(--paper); }
.volume-control span, .timer-control span { display: block; color: #8c8c87; font-size: .65rem; }
.timer-control select { width: 100%; padding: 6px; border: 1px solid #444; background: #202020; color: var(--paper); }

.site-footer { padding-top: 70px; background: var(--black); color: #aaa; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding-bottom: 60px; }
.footer-name { margin-bottom: 12px; color: var(--white); font-size: 1.1rem; font-weight: 800; letter-spacing: .16em; }
.site-footer h2 { margin-bottom: 16px; color: #777; font: 700 .7rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; margin-block: 9px; color: #bdbdb7; font-size: .84rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid #2d2d2d; color: #676762; font-size: .72rem; }

@media (max-width: 980px) {
    :root { --shell: min(100% - 30px, 900px); }
    .menu-toggle { display: block; }
    .site-nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 15px 28px; background: var(--black); border-bottom: 1px solid #333; }
    .site-nav.is-open { display: flex; }
    .site-nav > a { padding: 14px; border-bottom: 1px solid #292929; }
    .site-nav .button { margin-top: 10px; border: 0; }
    .nav-account { border-left: 0; }
    .home-intro-grid, .detail-grid { grid-template-columns: 1fr; }
    .sound-visual { min-height: 300px; }
    .sound-grid { grid-template-columns: repeat(2, 1fr); }
    .split-feature { grid-template-columns: 1fr; }
    .catalog-layout { grid-template-columns: 220px 1fr; gap: 25px; }
    .sound-grid-2 { grid-template-columns: 1fr; }
    .detail-art { min-height: 430px; }
    .detail-art img { height: 430px; }
    .form-page { grid-template-columns: 1fr; }
    .mixer-layout { grid-template-columns: 1fr; }
    .mixer-library { min-height: auto; }
    .mixer-sounds { max-height: 370px; }
    .player-main { grid-template-columns: 42px 150px 1fr 42px; }
    .volume-control, .timer-control { display: none; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 700px) {
    :root { --shell: calc(100% - 24px); }
    body:has(.global-player:not([hidden])) { padding-bottom: 130px; }
    h1 { font-size: 3.3rem; }
    h2 { font-size: 2.6rem; }
    .section { padding-block: 65px; }
    .home-intro { min-height: auto; padding-block: 65px; }
    .home-copy h1 br { display: none; }
    .sound-visual { display: none; }
    .purpose-grid, .sound-grid, .category-list, .stats-grid, .account-columns, .pricing-grid, .editorial-grid, .auth-page { grid-template-columns: 1fr; }
    .purpose-card + .purpose-card { border-left: 1px solid #c6c6c0; border-top: 0; }
    .purpose-card { min-height: 250px; }
    .sound-card-cover { height: 190px; }
    .category-list a:nth-child(odd) { margin-right: 0; }
    .catalog-layout { display: block; }
    .filters { margin-bottom: 30px; }
    .page-head { padding-block: 58px 40px; }
    .page-head-actions, .account-head-grid { align-items: flex-start; flex-direction: column; }
    .detail-page { padding-top: 25px; }
    .detail-art { min-height: 330px; border-radius: 0 65px 0 0; }
    .detail-art img { height: 330px; }
    .inline-form, .inline-favorite { display: flex; margin: 10px 0 0; }
    .sound-meta { grid-template-columns: 1fr; }
    .upload-row { grid-template-columns: 1fr; }
    .row-actions { flex-wrap: wrap; }
    .mixer-track { grid-template-columns: 1fr; gap: 10px; }
    .mix-save > div { display: block; }
    .mix-save .button { width: 100%; margin-top: 8px; }
    .saved-track { grid-template-columns: 1fr; }
    .stats-grid > div { border-right: 0; border-bottom: 1px solid #c6c6c0; }
    .stats-grid > div:last-child { border-bottom: 0; }
    .price-card-dark { border-radius: 0 50px 0 0; }
    .player-main { min-height: 122px; grid-template-columns: 42px 1fr 42px; gap: 12px; padding-block: 12px; }
    .player-progress { grid-column: 1 / -1; grid-row: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
