@font-face { font-family: Anton; src: url('assets/anton-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: DM; src: url('assets/dm-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: DM; src: url('assets/dm-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Mono; src: url('assets/space-mono-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Petaluma; src: url('assets/Petaluma.otf'); font-display: swap; }
:root {
  --dark: #111015; --cream: #f0eedf; --cyan: #36e3ef; --violet: #b49aff;
  --rose: #ff668e; --amber: #ffb300; --muted: #c7c0d0; --focus: #36e3ef;
  --pad: clamp(20px, 4.5vw, 64px); --side: max(var(--pad), calc((100vw - 1280px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; background: var(--dark); color: var(--cream); font: 400 17px/1.65 DM, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; min-height: 44px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1, h2 { font-family: Anton, sans-serif; font-weight: 400; line-height: 1.04; letter-spacing: -.018em; }
h3 { font-weight: 500; font-size: 28px; line-height: 1.18; letter-spacing: -.025em; }
small { font-size: 13px; line-height: 1.6; }
section[id], main[id] { scroll-margin-top: 104px; }
.skip { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 12px 20px; background: var(--cyan); color: var(--dark); font-weight: 500; border-radius: 4px; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 86px; display: flex; align-items: center; gap: 36px; padding: 14px var(--side); background: #111015f7; color: var(--cream); --focus: var(--cyan); border-bottom: 1px solid #ffffff1c; }
.brand { font: 500 29px/1 DM, sans-serif; letter-spacing: -.065em; white-space: nowrap; }
.brand span { color: var(--cyan); font-size: 14px; margin-left: 5px; vertical-align: top; }
.site-header nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a[aria-current] { color: var(--cyan); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.motion { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff50; border-radius: 50%; font-size: 19px; }
.motion:hover { background: #ffffff15; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 13px 22px; background: var(--cream); color: var(--dark); border-radius: 5px; font-weight: 500; line-height: 1.4; }
.button:hover { background: white; text-decoration: none; }
.button span { font-size: 22px; line-height: 1; }
.button.primary { background: var(--cyan); }
.button.primary:hover { background: #7ceff7; }
.button.small { min-height: 44px; padding: 10px 16px; font-size: 14px; gap: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; border-bottom: 1px solid currentColor; font-weight: 500; }
.text-link span { font-size: 22px; }
.eyebrow, .number { font: 12px/1.5 Mono, monospace; letter-spacing: .025em; }
.eyebrow { text-transform: uppercase; }
.platform, .device-name, .brand-case { text-transform: none; }
.pill { display: inline-block; font: 12px/1.5 Mono, monospace; padding: 7px 12px; border: 1px solid currentColor; border-radius: 30px; margin-bottom: 20px; }
.hero { padding: 54px var(--side) 0; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto auto; gap: 30px 7%; align-items: start; overflow: hidden; }
.hero-copy { grid-column: 1; grid-row: 1; padding-top: 12px; }
.hero-copy .eyebrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--cream); }
.hero .platform { color: var(--cyan); margin-left: auto; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero h1 { font-size: clamp(62px, 6.65vw, 100px); margin: 26px 0; line-height: 1.04; }
.hero h1 span { color: var(--cyan); }
.hero .lead { font-size: 21px; line-height: 1.5; max-width: 480px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 28px; }
.draft-label { margin-top: 20px; color: var(--muted); font-size: 13px; }
.native-hero { grid-column: 2; grid-row: 1 / span 2; position: relative; min-width: 0; }
.reader-capture { position: relative; z-index: 2; margin: 0 10px 15px; transform: rotate(2deg); border: 7px solid #302b35; border-radius: 14px; background: #16141c; box-shadow: 0 28px 75px #0008; overflow: hidden; }
.reader-capture img { width: 100%; height: auto; }
.reader-capture figcaption { padding: 10px 14px; font-size: 12px; text-align: center; color: #ded8e6; }
.halo { position: absolute; inset: 12% -10% 0; border-radius: 50%; background: radial-gradient(ellipse, #36e3ef20, #b49aff16 40%, transparent 70%); }
.hero-glow { position: absolute; bottom: -14px; left: 14%; right: 14%; display: flex; justify-content: center; align-items: end; height: 110px; gap: 10px; opacity: .45; }
.hero-glow span { flex: 1; height: 50%; border-radius: 50% 50% 0 0; background: linear-gradient(transparent, var(--cyan)); }
.hero-glow span:nth-child(3n) { height: 85%; background: linear-gradient(transparent, var(--violet)); }
.hero-glow span:nth-child(2n) { height: 65%; background: linear-gradient(transparent, var(--rose)); }
.hero-art .art-label { position: relative; text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.library-companion { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; margin-bottom: 20px; }
.library-companion-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px; }
.library-companion-heading .eyebrow { color: var(--muted); font-size: 12px; }
.library-companion-heading button { font-size: 13px; padding: 8px 0; }
.library-enlarge { display: block; width: 100%; text-align: left; padding: 0; border: 1px solid #817290; border-radius: 7px; overflow: hidden; background: #0b101b; transition: border-color .2s; }
.library-enlarge:hover { border-color: var(--cyan); }
.library-enlarge svg { display: block; width: 100%; height: auto; aspect-ratio: 1900 / 715; }
.library-enlarge-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #282230; font-size: 13px; }
.library-enlarge-label span { font-size: 22px; }
.hero-bottom { grid-column: 1 / -1; grid-row: 3; width: 100%; border-top: 1px solid #ffffff30; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 12px/1.5 Mono, monospace; }
.hero-bottom a { display: grid; place-items: center; height: 44px; width: 44px; font: 24px DM; color: var(--cyan); }
.section-pad { padding: 72px var(--side) 80px; }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid #ffffff35; }
.section-top .eyebrow + .eyebrow { text-align: right; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; align-items: end; margin-bottom: 38px; }
.section-heading h2, .smudge h2, .prepare h2, .keyglow h2, .closing h2 { font-size: clamp(46px, 5.1vw, 74px); }
.section-heading > p { max-width: 470px; font-size: 19px; line-height: 1.55; }
.section-lead { font-size: 23px; line-height: 1.45; }
.highlights { padding-top: 64px; }
.highlights h2 span { color: var(--cyan); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.highlight-card { position: relative; display: block; border-radius: 8px; padding: 26px; color: var(--dark); --focus: var(--dark); }
.highlight-card:hover { text-decoration: none; box-shadow: inset 0 0 0 2px currentColor; }
.highlight-card.cream { background: var(--cream); }
.highlight-card.violet { background: var(--violet); }
.highlight-card.dark { background: #27212f; color: var(--cream); --focus: var(--cyan); border: 1px solid #665575; }
.highlight-card h3 { margin-top: 22px; }
.highlight-card p { margin-top: 14px; font-size: 16px; padding-right: 10px; }
.card-arrow { display: block; margin-top: 20px; font-size: 28px; }
.index-art { margin-top: 22px; font-size: 12px; height: 102px; display: flex; flex-direction: column; justify-content: center; }
.index-art > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-bottom: 1px solid #11101520; }
.index-art .chosen { background: var(--cyan); border-radius: 3px; }
.mark-art { display: flex; align-items: center; gap: 14px; height: 102px; margin-top: 22px; }
.music-glyph { font: 58px/1.4 Petaluma; }
.mark-art .stamp-small { font-size: 35px; }
.mini-piano { position: relative; height: 102px; display: grid; grid-template-columns: repeat(7, 1fr); max-width: 250px; border: 3px solid #08070c; border-radius: 4px; margin-top: 22px; overflow: hidden; }
.mini-piano span { background: linear-gradient(#fffcf4 65%, var(--cyan)); border-right: 1px solid #655c70; }
.mini-piano span:nth-child(3n) { background: linear-gradient(#fffcf4 65%, var(--rose)); }
.mini-piano i { position: absolute; top: 0; left: calc(var(--boundary) * 100% / 7); width: 9%; height: 61%; transform: translateX(-50%); background: #121016; border-radius: 0 0 3px 3px; box-shadow: 0 4px 5px #0005; }
.songs, .everyday, .pricing { background: var(--cream); color: var(--dark); --focus: var(--dark); }
.songs .section-top, .everyday .section-top, .pricing .section-top { border-color: #11101535; }
.songs h2 span { color: #27666e; }
.song-browser { display: grid; grid-template-columns: .9fr 1fr; gap: 9%; align-items: center; margin: 36px 0 48px; }
.song-index > .eyebrow { margin-bottom: 18px; }
.song-index button { display: flex; align-items: center; text-align: left; gap: 18px; width: 100%; padding: 18px 16px; border-bottom: 1px solid #11101525; border-radius: 4px; transition: background .2s; }
.song-index button:hover, .song-index button[aria-pressed=true] { background: #d2e9df; }
.song-index button > span { font: 12px Mono; }
.song-index strong { font-weight: 500; font-size: 21px; line-height: 1.3; }
.song-index small { display: block; margin-top: 5px; color: #514c58; }
.song-index i { margin-left: auto; font-size: 24px; font-style: normal; }
.demo-note { font-size: 13px; color: #514b5d; line-height: 1.6; margin-top: 18px; }
.song-score { padding: 14px; background: white; border: 1px solid #11101520; border-radius: 4px; max-width: 450px; justify-self: center; box-shadow: 0 14px 30px #11101512; }
.song-score img { width: 100%; height: auto; }
.song-score figcaption { margin-top: 12px; font-size: 12px; color: #514b5d; }
.song-score .demo-note { margin-top: 8px; }
.smudge { background: var(--rose); color: var(--dark); --focus: var(--dark); }
.smudge .section-top { border-color: #11101535; }
.smudge h2 span { color: #62253d; }
.smudge-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; align-items: center; margin-bottom: 40px; }
.smudge .section-lead { margin: 22px 0 18px; }
.smudge-layout > div > p:not(.eyebrow) { max-width: 520px; }
.title-story { padding: 26px; border: 1px solid #11101555; border-radius: 8px; background: #ffffff18; }
.steps { list-style: none; padding: 0; margin: 20px 0 24px; }
.steps li { display: flex; align-items: center; gap: 14px; margin: 14px 0; font-weight: 500; }
.steps li span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #11101555; border-radius: 50%; font: 13px Mono; flex: none; }
.title-story .demo-note { color: #512138; }
.prepare { background: var(--cyan); color: var(--dark); --focus: var(--dark); }
.prepare .section-top { border-color: #11101540; }
.prepare h2 span { color: #224c5e; }
.prepare-copy { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.prepare-copy p { max-width: 370px; }
.rehearsal-illustration { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8%; align-items: center; margin-bottom: 42px; }
.score-paper { background: #fff; color: var(--dark); padding: 12px 16px 0; border: 1px solid #11101535; border-radius: 4px; box-shadow: 0 16px 30px #12494e20; }
.paper-caption { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; font: 12px Mono; }
.score-paper svg { display: block; width: 100%; height: auto; }
.yellow-mark { stroke: #ffe33f; stroke-width: 26; opacity: .45; stroke-linecap: round; }
.violet-ink { stroke: #7052b7; stroke-width: 3; fill: none; stroke-linecap: round; }
.rose-ink { stroke: #dc305b; stroke-width: 4; fill: none; }
.hand-note { fill: #6b4198; font: italic 30px DM; }
.stamp { font: 58px Petaluma; fill: #50336e; }
.score-paper figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border-top: 1px solid #11101525; font-size: 12px; }
.score-paper figcaption button { font-size: 13px; padding: 8px 0; white-space: nowrap; }
.hide-marks .rehearsal-marks { visibility: hidden; }
.rehearsal-caption p:not(.eyebrow) { font-size: 21px; line-height: 1.5; margin: 18px 0; }
.rehearsal-caption small { display: block; }
.prepare-grid, .practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.prepare-grid article, .practice-grid article { border-top: 1px solid #11101570; padding-top: 24px; }
.detail-icon { height: 54px; display: flex; align-items: center; font-size: 44px; }
.stamp-icon { font-family: Petaluma; font-size: 55px; }
.prepare-grid h3, .practice-grid h3 { margin: 18px 0 14px; }
.prepare-grid p, .practice-grid p { font-size: 16px; }
.set-order-study { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; margin-top: 45px; padding-top: 32px; border-top: 1px solid #11101555; }
.set-order-study h3 { margin: 18px 0; font-size: 31px; }
.set-order-study .button { margin-top: 18px; background: var(--dark); color: var(--cream); font-size: 15px; }
.set-order-study ol { padding: 0; list-style-position: inside; }
.set-order-study li { padding: 12px 16px; background: #1110150c; border-bottom: 1px solid #11101525; font-size: 18px; }
.pit { background: #251e2d; }
.pit h2 span { color: var(--rose); }
.pit-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pit-flow article { padding: 24px; background: #33283d; border-top: 2px solid var(--violet); border-radius: 0 0 6px 6px; }
.pit-flow h3 { margin: 20px 0 15px; }
.pit-flow p { font-size: 16px; color: #e2dbe8; }
.part-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.part-tags span { padding: 6px 10px; background: var(--violet); color: var(--dark); border-radius: 3px; font: 12px Mono; }
.passage-lines { color: var(--cyan); font: 13px/2 Mono; margin-top: 20px; }
.passage-lines span { display: block; }
.pit-note { color: var(--muted); font-size: 13px; margin-top: 20px; }
.workflow { display: grid; grid-template-columns: .9fr 1.2fr; gap: 8%; margin-bottom: 45px; }
.workflow-tabs { display: flex; flex-direction: column; }
.workflow-tabs button { display: flex; align-items: center; gap: 20px; padding: 20px 16px; text-align: left; border-bottom: 1px solid #11101530; border-radius: 4px; font: 12px Mono; }
.workflow-tabs button span { font: 500 22px/1.3 DM; }
.workflow-tabs button i { margin-left: auto; font-style: normal; font-size: 24px; }
.workflow-tabs button[aria-selected=true] { background: var(--dark); color: var(--cream); --focus: var(--dark); }
.workflow-panels { background: #fff8; border: 1px solid #11101525; border-radius: 8px; padding: 30px; min-height: 385px; }
.panel-symbol { display: block; color: #5b3f92; font-size: 48px; line-height: 1; margin-bottom: 20px; }
.workflow-panels h3 { font-size: 32px; margin-bottom: 18px; }
.workflow-panels p { font-size: 17px; }
.workflow-panels ul { padding-left: 20px; font-size: 15px; }
.workflow-panels li { margin: 7px 0; }
.workflow-panels .text-link { margin-top: 15px; font-size: 15px; }
.import-options, .keyglow-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 36px 0; }
.import-options article { border-top: 2px solid #5b3f92; padding: 24px; background: #fff8; border-radius: 0 0 6px 6px; }
.import-options h3 { margin: 20px 0 16px; }
.import-options p { font-size: 16px; }
.import-options small { display: block; margin-top: 18px; color: #514b5d; }
.folder-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.folder-examples article { border: 1px solid #11101535; border-radius: 6px; padding: 26px; }
.folder-examples h3 { margin: 18px 0 16px; }
.folder-examples p { font-size: 16px; }
.folder-examples pre { font: 13px/1.8 Mono; white-space: pre-wrap; background: #fff9; padding: 18px; margin: 22px 0 0; }
.folder-examples small { display: block; margin-top: 18px; }
.practice { background: var(--cyan); color: var(--dark); --focus: var(--dark); }
.practice .section-top { border-color: #11101540; }
.practice h2 span { color: #224c5e; }
.practice-evidence { font-size: 15px; max-width: 880px; margin-top: 32px; padding-left: 18px; border-left: 2px solid #224c5e; }
.practice-evidence a { display: inline-block; text-decoration: underline; text-underline-offset: 4px; }
.keyglow { background: radial-gradient(ellipse at top right, #412344, #1c1723 55%); overflow: hidden; }
.keyglow h2 span { color: var(--cyan); }
.keyglow-copy { position: relative; max-width: 730px; }
.keyglow-copy > p { font-size: 20px; max-width: 580px; margin: 24px 0 0; }
.keyglow-copy .keyglow-price { font: 13px Mono; color: var(--cyan); }
.keyboard-art { position: relative; max-width: 1000px; margin: 35px auto 16px; padding-top: 26px; }
.keyboard { position: relative; --white-key-count: 28; display: grid; grid-template-columns: repeat(var(--white-key-count), minmax(0, 1fr)); height: clamp(95px, 13vw, 165px); border: 6px solid #0b090e; border-radius: 6px; isolation: isolate; box-shadow: 0 0 60px #b49aff22; }
.piano-key--white { grid-row: 1; min-width: 0; border-right: 1px solid #42364a80; background: linear-gradient(#fffcf4 55%, var(--violet)); border-radius: 0 0 3px 3px; animation: key-color 4s ease-in-out infinite alternate; }
.piano-key--white:nth-child(4n) { background: linear-gradient(#fffcf4 55%, var(--cyan)); animation-delay: -2s; }
.piano-key--white:nth-child(4n + 1) { background: linear-gradient(#fffcf4 55%, var(--rose)); animation-delay: -1s; }
.piano-key--white:nth-child(4n + 2) { background: linear-gradient(#fffcf4 55%, var(--amber)); animation-delay: -3s; }
.piano-key--black { position: absolute; top: 0; left: var(--key-position); width: calc(64% / var(--white-key-count)); height: 61%; transform: translateX(-50%); z-index: 2; background: linear-gradient(#08070c, #28212f); border-radius: 0 0 3px 3px; box-shadow: 0 7px 9px #0009; }
.light-rays { position: absolute; inset: -65px -30px 0; background: radial-gradient(ellipse at bottom, #36e3ef25, transparent 60%); pointer-events: none; }
.keyglow > .art-label { text-align: center; color: var(--muted); font-size: 13px; }
.keyglow-features article { border-top: 1px solid #8a709b; padding: 22px 0; }
.keyglow-features .eyebrow { color: var(--cyan); }
.keyglow-features h3 { margin: 18px 0 14px; }
.keyglow-features p:not(.eyebrow) { color: #ded7e5; font-size: 16px; }
.glow-paused .piano-key, .motion-off .piano-key { animation-play-state: paused; }
@keyframes key-color { to { filter: brightness(.8) saturate(.7); } }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pricing h2 span { color: #6042a1; }
.price-card { padding: 32px; background: var(--dark); color: var(--cream); border-radius: 8px; --focus: var(--cyan); }
.price-card--addon { background: var(--violet); color: var(--dark); --focus: var(--dark); }
.price-card h3 { margin-top: 24px; font-size: 29px; }
.price-amount { font: 500 clamp(64px, 6vw, 88px)/1.15 DM; letter-spacing: -.07em; margin-top: 24px; }
.price-amount > span { font-size: 23px; vertical-align: top; display: inline-block; margin: 13px 8px 0 0; letter-spacing: -.025em; }
.price-term { margin: 5px 0 22px; font-size: 15px; }
.price-card > p:not(.eyebrow):not(.price-amount):not(.price-term) { font-size: 16px; }
.price-included { display: inline-block; padding: 6px 10px; background: var(--cyan); color: var(--dark); border-radius: 3px; font: 12px Mono; margin-top: 26px; }
.price-preview-link { display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid currentColor; min-height: 44px; margin-top: 20px; font-size: 15px; }
.pricing-note { max-width: 850px; font-size: 15px; color: #514b5d; margin-top: 26px; }
.closing { border-bottom: 1px solid #ffffff30; }
.closing h2 span { color: var(--cyan); }
.closing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; align-items: center; margin: 30px 0 36px; }
.closing-grid > div > p { font-size: 23px; margin-bottom: 24px; }
.closing-grid small { display: block; margin-top: 18px; color: var(--muted); }
.closing-facts { display: flex; flex-wrap: wrap; gap: 15px 30px; font: 12px Mono; color: var(--cyan); border-top: 1px solid #ffffff30; padding-top: 24px; }
.closing-sync { max-width: 900px; font-size: 16px; margin-top: 20px; color: var(--muted); }
.site-footer { display: flex; flex-wrap: wrap; align-items: start; gap: 28px 40px; padding: 32px var(--side); font-size: 14px; background: var(--dark); color: var(--cream); }
.site-footer p { margin-left: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.library-dialog { position: fixed; inset: 0; margin: auto; width: min(94vw, 1100px); max-height: 92dvh; background: var(--dark); color: var(--cream); border: 1px solid #8a709b; border-radius: 10px; padding: 24px; overflow: auto; overscroll-behavior: contain; --focus: var(--cyan); }
.library-dialog::backdrop { background: #08060bd9; }
html:has(dialog[open]) { overflow: hidden; }
.library-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.library-dialog-heading h2 { font-size: 38px; margin-top: 12px; }
.library-dialog-heading .eyebrow { color: var(--muted); }
.library-close { display: flex; align-items: center; gap: 20px; padding: 10px 16px; border: 1px solid #ffffff55; border-radius: 5px; font-size: 14px; background: #282230; }
.library-close span { font-size: 25px; line-height: 1; }
.library-dialog-note { font-size: 14px; color: var(--muted); margin: 20px 0; }
.library-pan-hint { display: none; font-size: 13px; margin-bottom: 10px; color: var(--cyan); }
.library-detail-view { background: #0b101b; border: 1px solid #817290; border-radius: 4px; overflow: auto; }
.library-detail-view svg { display: block; width: 100%; height: auto; }
.library-full-image { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 18px; border-bottom: 1px solid var(--cyan); color: var(--cyan); font-size: 14px; }
/* Complete secondary pages share the launch site's typography and navigation. */
.policy-page { background: var(--cream); color: var(--dark); --focus: var(--dark); }
.policy-page .site-header, .policy-page .site-footer { --focus: var(--cyan); }
.article { max-width: 940px; margin: 0 auto; padding: 56px var(--pad) 76px; }
.article-header { margin-bottom: 30px; }
.article-header h1 { font-size: clamp(52px, 8vw, 88px); margin-top: 20px; }
.article-header .eyebrow { color: #6042a1; }
.article p { margin: 18px 0; }
.article a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.article h2 { font: 500 29px/1.25 DM; margin: 42px 0 18px; letter-spacing: -.025em; scroll-margin-top: 108px; }
.article h3 { font-size: 23px; margin: 28px 0 14px; }
.article ul, .article ol { padding-left: 25px; }
.article li { margin: 10px 0; }
.article .muted { color: #514b5d; font-size: 15px; }
.article-note { background: #dcece1; border-left: 3px solid #27666e; padding: 10px 18px; font-size: 14px; border-radius: 0 4px 4px 0; }
.article-toc { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 26px 0 35px; padding: 20px 0; border-block: 1px solid #11101530; font-size: 14px; }
.article-toc a { display: inline-flex; align-items: center; min-height: 36px; }
.article pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 Mono; padding: 18px; background: #fff8; border-radius: 4px; }
.article section { border: 0; padding: 0; }
@media (min-width: 1800px) { .hero h1 { font-size: 104px; } }
@media (max-width: 1100px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 18px; }
  .header-actions { gap: 10px; }
  .hero { gap: 24px 5%; }
  .hero .platform { margin-left: 0; }
  .hero h1 { font-size: 7.2vw; }
  .hero .lead { font-size: 19px; }
  .hero-links { gap: 12px 20px; }
  .hero-links .button { font-size: 15px; }
  .hero-links .text-link { font-size: 15px; }
  .highlight-card { padding: 22px; }
  .highlight-card h3 { font-size: 25px; }
  .highlight-card p { font-size: 15px; }
  .mark-art { gap: 8px; }
  .mark-art .music-glyph { font-size: 46px; }
  .mark-art .stamp-small { font-size: 29px; }
  .library-companion-heading { flex-wrap: wrap; gap: 0 12px; }
  .prepare-grid h3, .pit-flow h3, .import-options h3, .practice-grid h3 { font-size: 25px; }
  .pit-flow article, .import-options article { padding: 20px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 0; }
  section[id], main[id], .article h2 { scroll-margin-top: 140px; }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding-block: 12px 6px; }
  .site-header .brand { font-size: 26px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 14px; margin: 0; width: 100%; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .page-header nav { grid-row: 2; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
  .hero-copy { grid-row: 1; grid-column: 1; padding-top: 0; }
  .hero h1 { font-size: clamp(60px, 13.5vw, 90px); margin: 22px 0; }
  .hero .lead { font-size: 20px; }
  .hero .platform { margin-left: auto; }
  .hero-links { gap: 14px 22px; }
  .draft-label { margin-top: 14px; }
  .native-hero { grid-row: 2; grid-column: 1; width: min(100%, 400px); justify-self: center; }
  .reader-capture { transform: rotate(1.5deg); margin: 5px 12px 12px; border-width: 5px; }
  .hero-art .art-label { margin-top: 18px; }
  .library-companion { grid-row: 3; grid-column: 1; margin-bottom: 0; max-width: 620px; justify-self: center; }
  .hero-bottom { grid-row: 4; font-size: 12px; padding: 10px 0; gap: 14px; }
  .hero-bottom span:last-child { display: none; }
  .section-pad { padding-block: 50px 56px; }
  .section-top { margin-bottom: 24px; padding-bottom: 18px; gap: 12px; }
  .section-top .eyebrow + .eyebrow { display: none; }
  .section-heading, .prepare-copy, .closing-grid { display: block; margin-bottom: 30px; }
  .section-heading h2, .smudge h2, .prepare h2, .keyglow h2, .closing h2 { font-size: clamp(44px, 9.6vw, 66px); }
  .section-heading > p, .prepare-copy > p { margin-top: 22px; font-size: 18px; max-width: 560px; }
  .highlight-grid { grid-template-columns: 1fr; gap: 16px; }
  .highlight-card { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .highlight-card > .number { grid-column: 1 / -1; }
  .highlight-card > div { grid-column: 1; grid-row: 2 / span 3; align-self: center; margin-block: 20px 0; }
  .highlight-card h3 { margin-top: 20px; }
  .highlight-card p { font-size: 16px; }
  .card-arrow { grid-column: 2; margin-top: 12px; }
  .song-browser, .smudge-layout, .rehearsal-illustration, .workflow, .set-order-study { grid-template-columns: 1fr; gap: 28px; }
  .song-browser { margin: 25px 0 32px; }
  .song-score { max-width: 370px; }
  .smudge-layout { margin-bottom: 30px; }
  .title-story { padding: 22px; }
  .rehearsal-illustration { margin-bottom: 30px; }
  .prepare-grid, .practice-grid, .pit-flow, .import-options { grid-template-columns: 1fr; gap: 24px; }
  .prepare-grid article, .practice-grid article { padding-top: 20px; }
  .detail-icon { height: 45px; }
  .prepare-grid h3, .practice-grid h3, .pit-flow h3, .import-options h3 { font-size: 28px; }
  .set-order-study { margin-top: 32px; padding-top: 26px; }
  .set-order-study h3 { font-size: 29px; }
  .workflow-panels { min-height: 0; padding: 25px; }
  .workflow-tabs button { padding: 16px 14px; }
  .workflow-tabs button span { font-size: 21px; }
  .folder-examples, .price-grid { grid-template-columns: 1fr; gap: 18px; }
  .folder-examples article { padding: 24px; }
  .keyglow .section-top { flex-wrap: wrap; }
  .keyglow .section-top .text-link { font-size: 13px; }
  .keyglow-copy > p { font-size: 18px; }
  .keyboard { border-width: 4px; }
  .keyboard-art { margin-top: 26px; }
  .keyglow-features { grid-template-columns: 1fr 1fr; gap: 20px; }
  .keyglow-features h3 { font-size: 25px; }
  .keyglow-features p:not(.eyebrow) { font-size: 15px; }
  .price-card { padding: 28px; }
  .closing-grid > div { margin-top: 28px; }
  .closing-grid > div > p { font-size: 21px; }
  .closing-sync { font-size: 15px; }
  .site-footer { gap: 22px; }
  .site-footer p { margin-left: 0; }
  .site-footer nav { flex-basis: 100%; }
  .library-dialog { padding: 20px 16px; }
  .library-dialog-heading h2 { font-size: 29px; }
  .library-close { gap: 12px; }
  .library-pan-hint { display: block; }
  .library-detail-view svg { width: 680px; max-width: none; }
  .library-detail-view { max-height: 58dvh; }
  .article { padding-top: 38px; }
}
@media (max-width: 440px) {
  .site-header .brand { font-size: 23px; }
  .site-header nav { font-size: 13px; gap: 10px; }
  .header-actions { gap: 9px; }
  .button.small { padding-inline: 12px; gap: 9px; font-size: 13px; }
  .hero-copy .eyebrow { font-size: 12px; }
  .hero .platform { margin-left: 0; }
  .hero h1 { font-size: 15.2vw; }
  .hero .lead { font-size: 18px; }
  .hero-links .button, .hero-links .text-link { font-size: 14px; }
  .hero-links .button { gap: 18px; padding-inline: 18px; }
  .highlight-card { display: block; }
  .highlight-card > div { max-width: 250px; height: 95px; margin-top: 18px; }
  .highlight-card h3 { margin-top: 22px; }
  .mark-art .music-glyph { font-size: 58px; }
  .mark-art .stamp-small { font-size: 35px; }
  .keyglow-features { grid-template-columns: 1fr; gap: 12px; }
  .score-paper figcaption { align-items: start; }
  .score-paper figcaption > span { max-width: 150px; }
  .paper-caption { font-size: 12px; }
  .library-companion-heading .eyebrow { font-size: 12px; }
  .library-companion-heading button { font-size: 12px; }
  .library-dialog-heading .eyebrow { font-size: 12px; }
  .article { font-size: 16px; }
  .article h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html.motion-off { scroll-behavior: auto; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }

.library-enlarge-static { overflow:hidden; border:1px solid #817290; border-radius:6px; }
.library-enlarge-static svg { width:100%; display:block; aspect-ratio:1900/715; }
.library-static figcaption { font-size:13px; margin-top:10px; }
