html { scroll-behavior: smooth; scroll-padding-top: 84px; }

.home-page {
  --home-ink: #0a1512;
  --home-panel: #10201a;
  --home-panel-hi: #16291f;
  --home-brass: #c6a15b;
  --home-champ: #eadfc6;
  --home-sage: #9aa99f;
  --home-paper: #f2eee2;
  --home-paper-hi: #fbf8ef;
  --home-graphite: #17231e;
  --home-alert: #c2734a;
  min-width: 320px;
  background: var(--home-ink);
  color: var(--home-champ);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin: 0; }
.home-page h1, .home-page h2, .home-page .home-brand strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.home-page a, .home-page button, .home-page select { -webkit-tap-highlight-color: transparent; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-page select:focus-visible, .home-page .home-drop-zone:focus-within { outline: 2px solid var(--home-brass); outline-offset: 4px; }

.home-grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .025; background-color: #eadfc6; mix-blend-mode: soft-light; }
.home-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.home-eyebrow { color: var(--home-brass); font-family: "Cascadia Mono", Consolas, monospace; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.home-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(234, 223, 198, .13); background: rgba(10, 21, 18, .95); }
.home-header-inner { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.home-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--home-champ); text-decoration: none; }
.home-brand img { flex: none; width: 36px; height: 36px; filter: sepia(.36) saturate(.82); }
.home-brand span { display: grid; gap: 1px; }
.home-brand strong { font-size: 1.38rem; line-height: 1; white-space: nowrap; }
.home-brand small { color: var(--home-sage); font-family: "Cascadia Mono", Consolas, monospace; font-size: .55rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.home-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.home-nav a, .home-footer nav a { color: var(--home-sage); font-family: "Cascadia Mono", Consolas, monospace; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.home-nav a:hover, .home-footer nav a:hover { color: var(--home-champ); }
.home-language { position: relative; display: flex; align-items: center; height: 34px; border: 1px solid rgba(234, 223, 198, .2); padding: 0 7px; }
.home-language select { border: 0; padding: 0 14px 0 2px; appearance: none; background: transparent; color: var(--home-champ); cursor: pointer; font-family: "Cascadia Mono", Consolas, monospace; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.home-language select option { background: var(--home-paper); color: var(--home-ink); }
.home-language::after { position: absolute; right: 9px; width: 5px; height: 5px; border-right: 1px solid var(--home-sage); border-bottom: 1px solid var(--home-sage); content: ""; pointer-events: none; transform: rotate(45deg) translateY(-2px); }

.home-hero { position: relative; isolation: isolate; min-height: 525px; overflow: hidden; }
.home-hero-image { position: absolute; z-index: -2; inset: 0 0 0 32%; background: url("/static/hero-studio.png") 76% center / cover no-repeat; filter: saturate(.78) contrast(1.05) brightness(.84); }
.home-hero-veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--home-ink) 0%, var(--home-ink) 28%, rgba(10, 21, 18, .94) 42%, rgba(10, 21, 18, .62) 68%, rgba(10, 21, 18, .48) 100%); }
.home-hero-content { max-width: min(1240px, calc(100% - 48px)); padding: 88px 0 78px; }
.home-hero-content > * { max-width: 650px; }
.home-hero h1 { margin-top: 22px; color: var(--home-champ); font-size: clamp(3.1rem, 6vw, 5.3rem); letter-spacing: 0; line-height: .95; }
.home-rule { display: block; width: 54px; height: 2px; margin: 29px 0 20px; background: var(--home-brass); }
.home-hero-copy { color: #d3dcd5; font-size: 1.05rem; line-height: 1.65; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 27px; margin-top: 30px; }
.home-primary-link, .home-primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--home-brass); padding: 0 23px; background: var(--home-brass); color: var(--home-ink); cursor: pointer; font-family: "Cascadia Mono", Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: background-color .16s ease, transform .16s ease; }
.home-primary-link:hover, .home-primary-button:hover { border-color: #dfbd78; background: #dfbd78; transform: translateY(-1px); }
.home-text-link { border-bottom: 1px solid #8e7135; padding-bottom: 3px; color: var(--home-champ); font-family: "Cascadia Mono", Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.home-text-link:hover { border-color: var(--home-brass); color: var(--home-brass); }

.home-feature-strip { border-top: 1px solid rgba(234, 223, 198, .12); border-bottom: 1px solid rgba(234, 223, 198, .12); background: #0d1b16; }
.home-feature-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-feature-list article { display: flex; min-height: 122px; gap: 14px; padding: 25px 20px; border-right: 1px solid rgba(234, 223, 198, .12); }
.home-feature-list article:first-child { border-left: 1px solid rgba(234, 223, 198, .12); }
.home-feature-icon { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; color: var(--home-brass); }
.home-feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.home-feature-list strong { display: block; color: var(--home-champ); font-size: .93rem; }
.home-feature-list p { margin-top: 5px; color: var(--home-sage); font-size: .8rem; line-height: 1.45; }

.home-section { padding: 94px 0; }
.home-how, .home-guide { background: var(--home-paper); color: var(--home-graphite); }
.home-section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 48px; align-items: end; margin-bottom: 46px; }
.home-section-heading h2 { margin-top: 13px; font-size: clamp(2.15rem, 4.2vw, 3.35rem); letter-spacing: 0; line-height: 1.02; }
.home-section-heading h2 em { color: #8e7135; font-style: italic; }
.home-section-heading > p { max-width: 510px; color: #536159; font-size: .99rem; line-height: 1.7; }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #cfc8b8; }
.home-steps li { overflow: hidden; border-right: 1px solid #cfc8b8; background: var(--home-paper-hi); }
.home-steps li + li { border-left: 0; }
.home-steps li:last-child { border-right: 0; }
.home-steps li > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-step-copy { padding: 22px 26px 27px; }
.home-steps h3, .home-guide-grid h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; line-height: 1.1; }
.home-steps p, .home-guide-grid p { margin-top: 13px; color: #58655e; font-size: .91rem; line-height: 1.65; }

.home-tool-section { padding: 94px 0; background: var(--home-panel); }
.home-tool-heading { margin-bottom: 38px; }
.home-tool-heading h2 { color: var(--home-champ); }
.home-tool-heading > p { color: #b4c0b7; }
.home-tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 38px; align-items: start; }
.home-workbench { display: grid; gap: 16px; }
.home-notice { display: flex; gap: 10px; align-items: flex-start; border-left: 2px solid var(--home-brass); padding: 12px 14px; background: #3b3522; color: #f0dfac; font-size: .89rem; line-height: 1.48; }
.home-notice > span:first-child { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .69rem; font-weight: 700; }
.home-quota-note { margin: 0; color: #b4c0b7; font-family: "Cascadia Mono", Consolas, monospace; font-size: .7rem; letter-spacing: .04em; line-height: 1.5; }
.home-upload-panel, .home-status, .home-error, .home-results { border: 1px solid rgba(234, 223, 198, .18); background: var(--home-panel-hi); }
.home-upload-panel { padding: 15px; }
.home-drop-zone { display: flex; min-height: 276px; align-items: center; justify-content: center; gap: 9px; padding: 25px; border: 1px dashed rgba(234, 223, 198, .35); background: rgba(10, 21, 18, .4); color: var(--home-champ); cursor: pointer; text-align: center; transition: border-color .15s ease, background-color .15s ease; }
.home-drop-zone:hover, .home-drop-zone.drag-over { border-color: var(--home-brass); background: rgba(198, 161, 91, .08); }
.home-drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.home-drop-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--home-brass); border-radius: 50%; color: var(--home-brass); font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 400; line-height: 1; }
.home-drop-title { margin-top: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.home-drop-meta, .home-limit { color: var(--home-sage); font-size: .89rem; }
.home-file-types { margin-top: 3px; color: var(--home-brass); font-family: "Cascadia Mono", Consolas, monospace; font-size: .66rem; font-weight: 700; letter-spacing: .11em; }
.home-upload-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; }
.home-primary-button { min-width: 182px; min-height: 52px; }
.home-primary-button:disabled { cursor: wait; opacity: .58; transform: none; }
.home-status, .home-error { padding: 14px; }
.home-status > div:first-child { display: flex; justify-content: space-between; gap: 14px; color: var(--home-champ); font-family: "Cascadia Mono", Consolas, monospace; font-size: .72rem; }
.home-progress-track { height: 5px; margin-top: 12px; overflow: hidden; background: rgba(234, 223, 198, .15); }
.home-progress-bar { width: 0; height: 100%; background: var(--home-brass); transition: width .26s ease; }
.home-error { border-color: rgba(194, 115, 74, .65); color: #f2b99f; }
.home-side-rail { display: grid; gap: 30px; }
.home-ad-slot { display: grid; min-height: 250px; place-items: center; border-top: 1px solid rgba(234, 223, 198, .18); border-bottom: 1px solid rgba(234, 223, 198, .18); color: var(--home-sage); font-family: "Cascadia Mono", Consolas, monospace; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.home-side-note { border-top: 2px solid var(--home-alert); padding-top: 16px; }
.home-side-note > p:last-child { margin-top: 11px; color: #b4c0b7; font-size: .92rem; line-height: 1.65; }

.home-results { display: grid; gap: 16px; padding: 22px; }
.home-result-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.home-result-header h2 { margin-top: 9px; color: var(--home-champ); font-size: 2.15rem; }
.home-transpose-status { color: var(--home-sage); font-family: "Cascadia Mono", Consolas, monospace; font-size: .72rem; text-align: right; }
.home-chord-tools, .home-downloads, .home-export-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-chord-tools button, .home-downloads a, .home-share-button { min-height: 36px; border: 1px solid rgba(234, 223, 198, .25); padding: 0 12px; background: transparent; color: var(--home-champ); cursor: pointer; font-family: "Cascadia Mono", Consolas, monospace; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.home-chord-tools button:hover, .home-downloads a:hover, .home-share-button:hover { border-color: var(--home-brass); color: var(--home-brass); }
.home-chord-tools button.is-active { border-color: var(--home-brass); background: var(--home-brass); color: var(--home-ink); }
.home-result-block { display: grid; gap: 10px; padding: 17px; border: 1px solid rgba(234, 223, 198, .16); background: rgba(10, 21, 18, .35); }
.home-result-block h3 { color: var(--home-champ); font-family: "Cascadia Mono", Consolas, monospace; font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; }
.home-result-block pre { min-height: 145px; max-height: 450px; overflow: auto; margin: 0; padding: 13px; border: 1px solid rgba(234, 223, 198, .16); background: #0a1512; color: #edf2ec; font-family: "Cascadia Mono", Consolas, monospace; font-size: .87rem; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.home-score-block pre { min-height: 260px; font-size: .94rem; }
.home-result-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; }
.home-export-row { justify-content: space-between; padding-top: 2px; }
.home-downloads a { border-color: var(--home-brass); color: var(--home-brass); }
.home-share-button { border-color: var(--home-alert); color: #f5c3ac; }

.home-guide { border-top: 1px solid #ddd5c3; }
.home-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-guide-grid article { min-height: 270px; overflow: hidden; border: 1px solid #d3cbb9; background: var(--home-paper-hi); }
.home-guide-grid article > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-guide-copy { padding: 24px 26px 27px; }
.home-guide-grid h3 { margin-top: 0; }
.home-faq { background: #0d1b16; }
.home-faq .home-section-heading h2 { color: var(--home-champ); }
.home-faq .home-section-heading > p { color: #b4c0b7; }
.home-faq-list { border-top: 1px solid rgba(234, 223, 198, .2); }
.home-faq-list details { border-bottom: 1px solid rgba(234, 223, 198, .2); padding: 0 0 16px; }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 0 4px; color: var(--home-champ); cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; list-style: none; }
.home-faq-list summary::after { color: var(--home-brass); content: "+"; font-family: Arial, sans-serif; font-size: 1.35rem; }
.home-faq-list details[open] summary::after { content: "-"; }
.home-faq-list p { max-width: 700px; color: #b4c0b7; font-size: .94rem; line-height: 1.65; }

.home-pricing { background: var(--home-paper); color: var(--home-graphite); }
.home-pricing .home-section-heading h2 { color: var(--home-graphite); }
.home-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #cfc8b8; border-left: 1px solid #cfc8b8; }
.home-plan { min-height: 312px; padding: 30px; border-right: 1px solid #cfc8b8; border-bottom: 1px solid #cfc8b8; background: var(--home-paper-hi); }
.home-plan-premium { background: #e5d6ad; }
.home-plan-name { margin: 0; color: #9b7933; font-family: "Cascadia Mono", Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-plan-price { margin: 16px 0 22px; color: var(--home-ink); font-family: Georgia, "Times New Roman", serif; font-size: 3.25rem; line-height: 1; }
.home-plan-price span { font-size: 1.45rem; vertical-align: top; }
.home-plan-price small { margin-left: 8px; color: #58655e; font-family: Arial, sans-serif; font-size: .87rem; }
.home-plan ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #34443c; font-size: .92rem; line-height: 1.45; }
.home-plan li { display: flex; gap: 9px; }
.home-plan li::before { color: #9b7933; content: "•"; }
.home-plan-status { display: inline-block; margin: 24px 0 0; border: 1px solid #7d6530; padding: 8px 10px; color: var(--home-ink); font-family: "Cascadia Mono", Consolas, monospace; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.home-pricing-grid { gap: 14px; align-items: stretch; border: 0; }
.home-plan { position: relative; display: flex; min-height: 280px; flex-direction: column; padding: 34px 36px 32px; border: 1px solid #cfc8b8; border-radius: 4px; background: var(--home-paper-hi); box-shadow: 0 10px 24px rgba(23, 35, 30, .07); }
.home-plan::before { width: 38px; height: 2px; margin-bottom: 22px; background: var(--home-brass); content: ""; }
.home-plan-premium { border-color: #c6aa68; background: #e5d6ad; box-shadow: 0 12px 28px rgba(104, 79, 25, .12); }
.home-plan-price { margin: 14px 0 24px; font-size: 3.5rem; }
.home-plan ul { gap: 12px; padding: 19px 0 0; border-top: 1px solid rgba(74, 86, 77, .22); }
.home-plan li { align-items: baseline; gap: 10px; }
.home-plan li::before { content: "•"; }
.home-plan-status { align-self: flex-start; margin: 22px 0 0; }

.home-footer { border-top: 1px solid rgba(234, 223, 198, .13); background: var(--home-ink); }
.home-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 116px; }
.home-footer .home-brand img { width: 32px; height: 32px; }
.home-footer .home-brand strong { font-size: 1.16rem; }
.home-footer p { color: var(--home-sage); font-family: "Cascadia Mono", Consolas, monospace; font-size: .68rem; letter-spacing: .08em; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 15px; }

.home-page .consent-banner { z-index: 70; border: 1px solid rgba(234, 223, 198, .2); border-radius: 0; background: var(--home-panel-hi); color: var(--home-champ); box-shadow: 0 18px 45px rgba(0, 0, 0, .35); }
.home-page .consent-banner .consent-secondary { border-color: rgba(234, 223, 198, .25); border-radius: 0; background: transparent; color: var(--home-champ); }
.home-page .consent-banner button:not(.consent-secondary) { border-color: var(--home-brass); border-radius: 0; background: var(--home-brass); color: var(--home-ink); }

@media (max-width: 920px) {
  .home-nav { gap: 14px; }
  .home-tool-grid { grid-template-columns: 1fr; }
  .home-side-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-ad-slot { min-height: 110px; }
}

@media (max-width: 720px) {
  .home-wrap { width: min(100% - 28px, 1240px); }
  .home-header-inner { min-height: 62px; gap: 13px; }
  .home-brand img { width: 31px; height: 31px; }
  .home-brand strong { font-size: 1.18rem; }
  .home-brand small { display: none; }
  .home-nav { display: none; }
  .home-language { margin-left: auto; }
  .home-hero { min-height: 515px; }
  .home-hero-image { left: 0; background-position: 67% center; }
  .home-hero-veil { background: rgba(10, 21, 18, .72); }
  .home-hero-content { max-width: min(100% - 28px, 1240px); padding: 76px 0 54px; }
  .home-hero h1 { font-size: 3rem; }
  .home-feature-list { grid-template-columns: 1fr 1fr; }
  .home-feature-list article:nth-child(odd) { border-left: 1px solid rgba(234, 223, 198, .12); }
  .home-feature-list article { min-height: 130px; padding: 18px 14px; }
  .home-section, .home-tool-section { padding: 62px 0; }
  .home-section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .home-steps, .home-guide-grid { grid-template-columns: 1fr; }
  .home-pricing-grid { grid-template-columns: 1fr; }
  .home-plan { min-height: 0; padding: 28px 24px; }
  .home-steps li, .home-steps li + li { min-height: 0; padding: 0; border-right: 0; border-bottom: 1px solid #cfc8b8; }
  .home-steps h3, .home-guide-grid h3 { margin-top: 0; }
  .home-side-rail, .home-result-grid { grid-template-columns: 1fr; }
  .home-side-rail { gap: 20px; }
  .home-upload-footer, .home-result-header, .home-export-row, .home-footer-inner { align-items: stretch; flex-direction: column; }
  .home-primary-button { width: 100%; }
  .home-drop-zone { min-height: 235px; }
  .home-result-header h2 { font-size: 1.8rem; }
  .home-transpose-status { text-align: left; }
  .home-score-block pre { min-height: 220px; }
  .home-guide-grid article { min-height: 0; }
  .home-footer-inner { justify-content: center; padding: 28px 0; }
  .home-footer nav { gap: 11px; }
}

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