:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --night: #0b1715;
  --ink: #142621;
  --paper: #f5f6ef;
  --mint: #b5f5cb;
  --deep-mint: #135b45;
  --rule: #cad2c8;
  --nav-height: 68px;
  --gutter: clamp(20px, 6vw, 108px);
  --screen-ratio: 1206 / 2622;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #138561; outline-offset: 5px; }
.hero a:focus-visible, .site-header a:focus-visible, .downloads a:focus-visible, .getting-started a:focus-visible, footer a:focus-visible { outline-color: var(--mint); }
.wrap { width: min(1320px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 10px 18px; z-index: 10; background: white; color: var(--ink); }
.skip-link:focus { top: 8px; }

.site-header {
  height: var(--nav-height); position: sticky; top: 0; z-index: 5;
  background: rgb(10 21 19 / .96); color: #f3f8f5; border-bottom: 1px solid rgb(214 245 223 / .12);
  backdrop-filter: blur(14px);
}
.site-nav, .nav-links, .wordmark { display: flex; align-items: center; }
.site-nav { height: 100%; justify-content: space-between; gap: 20px; }
.wordmark { gap: 9px; width: max-content; font-size: 1.4rem; font-weight: 730; letter-spacing: -.055em; line-height: 1; }
.wordmark img { border-radius: 24%; }
.nav-links { gap: clamp(12px, 2vw, 32px); margin-inline-start: auto; font-size: .925rem; font-weight: 600; }
.nav-section { display: grid; min-height: 44px; align-items: center; color: #d1dad6; }
.nav-section:hover { color: white; }
.nav-download { display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; min-height: 44px; padding: 0 19px; color: var(--mint); border: 1px solid #698777; border-radius: 30px; }
.nav-download:hover { background: #213e32; }

.hero { position: relative; isolation: isolate; overflow: clip; color: #f6f8f0; background: #101f1b; }
.hero-photo, .hero::after { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 56%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgb(5 16 14 / .83) 0%, rgb(5 16 14 / .43) 36%, transparent 67%),
    linear-gradient(0deg, rgb(4 14 12 / .84), transparent 33%);
}
.hero-inner { position: relative; min-height: clamp(570px, 79svh, 830px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy { padding: clamp(62px, 8vh, 115px) 0 clamp(128px, 16vh, 174px); }
.section-label { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: .92rem; letter-spacing: -.025em; line-height: 1.4; }
.section-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(3.5rem, 6.25vw, 6.65rem); line-height: 1.12; font-weight: 770; letter-spacing: -.075em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-description { margin-top: 24px; max-width: 35em; color: #e3ebe4; font-size: clamp(1rem, 1.27vw, 1.23rem); line-height: 1.78; letter-spacing: -.022em; }
.hero-actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 48px; padding: 0 23px; font-size: 1rem; font-weight: 670; border-radius: 40px; transition: background .16s ease, border-color .16s ease; }
.primary { background: var(--mint); color: #102e23; }
.primary:hover { background: #d7ffe1; }
.secondary { border: 1px solid rgb(230 246 235 / .52); color: white; background: rgb(7 20 16 / .3); }
.secondary:hover { background: rgb(231 255 236 / .13); border-color: #effff3; }
.hero-track { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 90px; padding-block: 14px; border-top: 1px solid rgb(229 248 225 / .28); }
.track-play { display: inline-flex; align-items: center; gap: 15px; min-height: 48px; }
.play-disc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #8eaa9a; color: var(--mint); transition: background .18s ease; }
.track-play:hover .play-disc { background: #2f5142; }
.play-disc::after, .play-mark { content: ""; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; margin-left: 3px; }
.track-text { display: grid; line-height: 1.5; }
.track-kind { font-size: .8rem; color: #d6e3d8; font-weight: 600; }
.track-text strong { font-size: 1.08rem; letter-spacing: -.025em; font-weight: 650; }
.waveform { width: clamp(120px, 12.7vw, 205px); height: 29px; margin-left: 12px; opacity: .8; object-fit: fill; }
.track-credit { color: #dce4dc; font-size: .87rem; }
.track-credit span:first-child { padding: 0 .6em; opacity: .5; }

.downloads { padding-block: clamp(46px, 6.4vw, 96px); color: #f2f5ed; background: #112820; }
.downloads h2 { font-size: clamp(2.2rem, 4.25vw, 4.25rem); }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(22px, 3.1vw, 36px); }
.platform-group { padding: clamp(17px, 2.6vw, 32px); border: 1px solid #456258; background: #1a352c; border-radius: 18px; }
.platform-group h3 { font-size: clamp(1.22rem, 2.15vw, 1.6rem); letter-spacing: -.03em; }
.platform-group p { color: #c9dbd0; margin-top: 4px; }
.platform-list { margin: 18px 0 0; padding: 0; list-style: none; }
.platform-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 68px; padding-block: 9px; border-top: 1px solid #496359; }
.platform-list small { display: block; font-size: .85rem; color: #bacec3; }
.platform-action { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding-inline: 14px; font-size: .9rem; font-weight: 700; color: #102e23; background: var(--mint); border-radius: 8px; }
.platform-action:hover { background: #d7ffe1; }
.platform-status { flex-shrink: 0; color: #d1ded6; font-size: .9rem; }
.platform-group .download-note { padding-top: 10px; font-size: .875rem; }

.features { padding: clamp(66px, 7.1vw, 120px) 0 clamp(40px, 6vw, 108px); }
.tour-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(32px, 4vw, 65px); border-bottom: 1px solid var(--rule); }
.section-label { color: var(--deep-mint); }
.section-label span { color: #97a79d; }
h2 { font-size: clamp(2.38rem, 4.6vw, 5.1rem); line-height: 1.12; letter-spacing: -.065em; font-weight: 740; }
.tour-heading h2, .start-copy h2 { margin-top: 20px; }
.tour-summary { margin: 0 clamp(0px, 1.6vw, 30px) 3px 0; font-size: 1rem; line-height: 1.75; color: #485b52; }
.feature-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.feature-nav a { display: grid; align-items: center; min-height: 40px; padding: 3px .95rem; border: 1px solid #bfcac0; border-radius: 24px; font-size: .9rem; font-weight: 650; color: var(--ink); }
.feature-nav a:hover { border-color: var(--deep-mint); background: #e3eddf; }
.feature-nav a[aria-current] { border-color: var(--deep-mint); }
.stage-column { display: none; }
.chapter { padding-block: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 78px); border-bottom: 1px solid var(--rule); }
.chapter-copy { padding-block: 1rem; }
.chapter h3 { margin-top: 18px; font-size: clamp(2rem, 3.75vw, 4.25rem); line-height: 1.18; letter-spacing: -.065em; font-weight: 740; }
.chapter-copy > p:not(.section-label) { max-width: 26em; margin-top: 23px; color: #3e5248; line-height: 1.82; font-size: clamp(1rem, 1.22vw, 1.2rem); }
.chapter-copy > p.detail { color: #55655a; margin-top: 14px; font-size: 1rem; }
.text-action { display: inline-flex; align-items: center; gap: 9px; color: var(--deep-mint); font-weight: 700; min-height: 44px; margin-top: 15px; }
.text-action:hover { text-decoration: underline; text-underline-offset: .27em; }
.inline-shot { display: grid; justify-items: center; min-width: 0; padding: 22px 10px; border-radius: 24px; background: #d5e8dc; cursor: zoom-in; }
#chords .inline-shot { background: #e8daba; }
#fingering .inline-shot { background: #e4dcca; }
#pitch .inline-shot { background: #d7e1e6; }
.inline-shot img { width: auto; height: auto; max-height: 490px; max-width: 95%; aspect-ratio: var(--screen-ratio); border-radius: 28px; box-shadow: 0 14px 28px rgb(17 38 31 / .16), 0 0 0 3px #24332d; }
.zoom-label, .stage-zoom { font-size: .82rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.zoom-label { margin-top: 16px; }

@media (min-width: 820px) and (min-height: 540px) {
  .has-tour .tour { display: grid; align-items: start; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: clamp(30px, 4vw, 82px); }
  .has-tour .chapter { display: flex; min-height: clamp(500px, 79svh, 790px); padding: clamp(44px, 4vw, 70px) 0; }
  .has-tour .chapter:last-child { border-bottom: 0; }
  .has-tour .inline-shot { display: none; }
  .has-tour .stage-column { display: block; position: sticky; align-self: start; top: calc(var(--nav-height) + max(14px, 3svh)); margin: max(14px, 3svh) 0; }
  .stage {
    --surface: #c4e1d1; --edge: #a1c3b6;
    position: relative; display: grid; justify-items: center; align-content: center; isolation: isolate; overflow: hidden; border-radius: 28px;
    height: clamp(420px, 73svh, 730px); max-height: calc(100svh - var(--nav-height) - 40px); padding: 20px 18px 50px; background: var(--surface);
    transition: background .55s ease;
  }
  .stage[data-active="chords"] { --surface: #e9dbbb; --edge: #c0a97f; }
  .stage[data-active="fingering"] { --surface: #ded7c3; --edge: #b7ad98; }
  .stage[data-active="pitch"] { --surface: #d1dfe5; --edge: #a2b7c0; }
  .stage-art { position: absolute; z-index: -1; inset: 0; color: var(--edge); transition: color .55s ease; }
  .stage-art::before {
    position: absolute; content: ""; inset: -24%; opacity: .7;
    background: repeating-radial-gradient(ellipse at 75% 65%, transparent 0 32px, currentColor 32px 33px, transparent 33px 38px);
    mask-image: linear-gradient(135deg, transparent 5%, #000 75%);
  }
  .screen-stack {
    display: block; position: relative; height: min(62svh, 570px); max-height: 100%; aspect-ratio: var(--screen-ratio);
    overflow: hidden; border-radius: 11% / 5.1%; outline: 2px solid #32423c; background: #f5faf9;
    box-shadow: 0 0 0 4px #9caaa3, 4px 6px 0 3px rgb(24 37 31 / .45), 9px 22px 34px -8px rgb(20 33 27 / .36);
    cursor: zoom-in;
  }
  .screen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .28s ease; }
  .screen-stack img.active { opacity: 1; }
  .stage figcaption { position: absolute; left: 24px; right: 24px; bottom: 14px; display: flex; justify-content: space-between; gap: 10px; color: #2d493d; font-size: .82rem; font-weight: 650; }
  .stage-caption { font-variant-numeric: tabular-nums; }
}
.getting-started { padding-block: clamp(64px, 7vw, 118px); background: #112a23; color: #f2f5ed; }
.start-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 148px); }
.start-copy .section-label { color: var(--mint); }
.start-copy .button { margin-top: 32px; }
.steps { list-style: decimal-leading-zero; counter-reset: step; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 35px 1fr; gap: 6px 19px; padding-block: 20px; border-top: 1px solid #476054; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; padding-top: .25em; font-family: ui-monospace, SFMono-Regular, monospace; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--mint); }
.steps h3 { font-size: clamp(1.2rem, 1.59vw, 1.55rem); letter-spacing: -.045em; line-height: 1.45; }
.steps p { grid-column: 2; color: #c5d2ca; line-height: 1.8; }
footer { padding-block: 26px; color: #dce7df; background: var(--night); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer-inner .wordmark { font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: .23em; }
.footer-inner p { font-size: .85rem; color: #becac2; }
.footer-inner p a { margin-left: .45em; text-decoration: underline; text-underline-offset: .23em; }

.media-dialog { padding: 0; border: 1px solid #385049; background: #12241e; color: #edf6ed; border-radius: 17px; box-shadow: 0 22px 90px rgb(0 0 0 / .5); max-width: calc(100vw - 24px); max-height: calc(100svh - 18px); }
.media-dialog::backdrop { background: rgb(4 13 10 / .84); }
.media-dialog[open] { display: block; }
.dialog-card { min-width: min(370px, calc(100vw - 28px)); padding: 10px 14px 15px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 7px; }
.dialog-heading h2 { font-size: 1rem; letter-spacing: -.025em; }
.close { border: 1px solid #6c8074; border-radius: 50%; color: white; background: transparent; font-size: 1.4rem; width: 38px; height: 38px; cursor: pointer; display: grid; place-content: center; }
.dialog-media { display: grid; justify-items: center; }
.dialog-media img, .dialog-media video { display: block; max-width: min(800px, calc(100vw - 64px)); max-height: calc(100svh - 100px); width: auto; height: auto; border-radius: 7px; }
.dialog-media video { background: #081410; }
.dialog-open { overflow: hidden; }

@media (max-width: 819px) {
  :root { --nav-height: 62px; }
  .tour-heading { align-items: flex-start; }
  .chapter { min-height: 450px; }
  .chapter h3 { font-size: clamp(2.15rem, 5vw, 3.15rem); }
  .start-grid { grid-template-columns: .82fr 1.18fr; gap: 20px; }
}
@media (max-width: 850px) {
  .nav-section { display: none; }
}
@media (max-width: 650px) {
  :root { --gutter: clamp(18px, 5.4vw, 34px); --nav-height: 58px; }
  .wordmark { font-size: 1.19rem; gap: 6px; }
  .site-nav .wordmark img { width: 31px; height: 31px; }
  .nav-links { gap: 15px; font-size: .85rem; }
  .nav-download { padding-inline: 15px; }
  .platform-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: 620px; min-height: clamp(590px, 85svh, 735px); justify-content: flex-end; }
  .hero-photo img { object-position: 63% 28%; }
  .hero::after {
    background: linear-gradient(0deg, #0a1714 0%, rgb(8 21 17 / .93) 21%, rgb(8 21 17 / .76) 43%, rgb(7 18 16 / .11) 82%),
      linear-gradient(90deg, rgb(8 19 17 / .3), transparent 92%);
  }
  .hero-copy { padding: 180px 0 113px; }
  .hero h1 { font-size: clamp(3rem, 9.5vw, 4.05rem); }
  .hero-description { margin-top: 18px; font-size: 1rem; line-height: 1.65; max-width: 29em; }
  .hero-actions { margin-top: 22px; }
  .button { padding-inline: 17px; min-height: 45px; font-size: .94rem; }
  .hero-track { min-height: 76px; }
  .track-play { width: 100%; gap: 11px; }
  .waveform { width: min(26vw, 104px); height: 23px; margin-inline-start: auto; }
  .track-credit { display: none; }
  .track-text strong { font-size: 1rem; }
  .tour-heading { display: grid; gap: 20px; }
  .tour-heading h2 { margin-top: 13px; }
  .tour-summary { margin: 0; }
  .feature-nav { margin-top: 13px; }
  .chapter { grid-template-columns: 1fr; gap: 19px; min-height: auto; padding: 38px 0; }
  .chapter:last-child { border: 0; padding-bottom: 0; }
  .chapter-copy { padding: 0; }
  .chapter h3 { margin-top: 10px; }
  .chapter-copy > p:not(.section-label) { margin-top: 14px; }
  .chapter-copy > p.detail { margin-top: 8px; }
  .inline-shot { padding-block: 24px; border-radius: 18px; }
  .inline-shot img { max-height: min(56svh, 445px); border-radius: 21px; }
  .start-grid { grid-template-columns: 1fr; gap: 32px; }
  .start-copy h2 { margin-top: 14px; }
  .start-copy .button { margin-top: 22px; }
  .steps li { padding-block: 18px; gap: 5px 8px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { line-height: 1.8; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { transform: translateY(var(--drift, 0px)) scale(1.035); }
  .has-tour .chapter-copy { transition: transform .5s ease; }
  @media (min-width: 820px) and (min-height: 540px) {
    .has-tour .chapter:not(.in-view) .chapter-copy { transform: translateY(14px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}

.theme-switch { display: inline-flex; flex-shrink: 0; white-space: nowrap; gap: 2px; border: 1px solid #52695d; border-radius: 30px; padding: 2px; }
.theme-switch[hidden] { display: none; }
.theme-switch button { border: 0; border-radius: 25px; padding: 4px 10px; min-height: 30px; color: #ccd7ce; font-size: .82rem; font-weight: 650; background: transparent; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: #d7eedb; color: #183326; }
.theme-switch button:focus-visible { outline: 2px solid white; outline-offset: 1px; }
:root[data-theme="dark"] { color-scheme: dark; --paper: #121e1a; --ink: #e5f3e8; --deep-mint: #adebc8; --rule: #394c40; }
[data-theme="dark"] .tour-summary, [data-theme="dark"] .chapter-copy > p:not(.section-label) { color: #c6d6ca; }
[data-theme="dark"] .chapter-copy > p.detail { color: #a6bcae; }
[data-theme="dark"] .feature-nav a { border-color: #5a7162; }
[data-theme="dark"] .feature-nav a:hover { background: #2d4436; }
[data-theme="dark"] .inline-shot, [data-theme="dark"] .stage { --surface: #214137; --edge: #3d6054; background-color: var(--surface); }
[data-theme="dark"] #chords .inline-shot, [data-theme="dark"] .stage[data-active="chords"] { --surface: #423c2c; --edge: #65583c; background-color: var(--surface); }
[data-theme="dark"] #fingering .inline-shot, [data-theme="dark"] .stage[data-active="fingering"] { --surface: #393b31; --edge: #595c46; background-color: var(--surface); }
[data-theme="dark"] #pitch .inline-shot, [data-theme="dark"] .stage[data-active="pitch"] { --surface: #293a42; --edge: #425d68; background-color: var(--surface); }
[data-theme="dark"] .stage figcaption { color: #d2dfd6; }
@media (max-width: 650px) {
  .nav-links { gap: 8px; }
  .theme-switch button { padding: 3px 7px; min-height: 31px; font-size: .78rem; }
  .nav-download { padding-inline: 11px; }
}
@media (max-width: 369px) {
  :root { --gutter: 13px; }
  .site-nav { gap: 6px; }
  .site-nav .wordmark { font-size: 1.03rem; }
  .site-nav .wordmark img { width: 25px; height: 25px; }
  .nav-links { gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 819px) {
  .has-tour .inline-shot img { transform: translateY(var(--shot-lift, 0px)) scale(var(--shot-scale, 1)); }
}

