/* Public welcome page and the score reader for past subscribers. */
.header .home-about, .header .home-support { color: inherit; text-decoration: none; font-weight: 600; padding-block: .75rem; }
.header .home-about:hover, .header .home-support:hover { text-decoration: underline; text-underline-offset: .3em; }
body:has(#home-page:not([hidden])) { background: #fbf8f3; color: #30272b; }
body:has(#home-page:not([hidden])) .header { padding-inline: max(4.2%, calc((100% - 1340px)/2)); height: 76px; background: #fbf8f3; border-color: #e5ddd3; }
body:has(#home-page:not([hidden])) .header .brand { font-size: 2rem; }
body:has(#home-page:not([hidden])) .brand .pink { margin-left: -.32em; }
body:has(#home-page:not([hidden])) .header .account-button { background: transparent; border-color: #cfc4c0; }
body:has(#home-page:not([hidden])) #main-content { padding-top: 1.25rem; }
#main-content:has(#studio-page:not([hidden])) #home-details,
body:has(#studio-page:not([hidden])) .header .home-about,
body:has(#studio-page:not([hidden])) .header .home-support { display: none; }
#studio-heading { font: 750 clamp(1.875rem,3vw,2.625rem)/1.25 Manrope,sans-serif; letter-spacing: -.04em; margin: .75rem 0 .6rem; }
.home-hero { isolation: isolate; position: relative; display: grid; align-items: center; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); overflow: hidden; min-height: clamp(32rem, 46vw, 39rem); padding: clamp(1.7rem, 4.7vw, 5rem); gap: 1.5rem; border-radius: 1.35rem; background: #26181c; color: #fff8ed; }
.home-photo { position: absolute; inset: 0 0 0 auto; width: 81%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -3; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#25191d 2%,#25191df0 27%,#25191dad 44%,#25191d00 70%),linear-gradient(0deg,#22121665,transparent 48%); }
.home-copy { position: relative; align-self: center; min-width: 0; padding: 2rem 0; }
.home-kicker { display: flex; align-items: center; gap: .72rem; margin: 0 0 1.35rem; font-size: .78rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; color: #eacb9a; }
.home-kicker span { display: inline-block; width: 2.1rem; height: 2px; background: #d9ab71; }
#home-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.65rem,6.25vw,6.9rem); font-weight: 400; line-height: .98; letter-spacing: -.062em; margin: 0; text-wrap: balance; }
#home-title em { display: block; color: #f3c7c4; font-weight: 400; }
.home-description { max-width: 31rem; margin: 1.35rem 0 1.8rem; color: #f2e9e3; font-size: clamp(1rem,1.45vw,1.24rem); line-height: 1.6; }
.home-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .65rem; }
.home-actions button { min-height: 46px; border: 1px solid transparent; border-radius: .5rem; padding: .68rem 1.22rem; font-weight: 650; line-height: 1.35; }
.home-primary { color: #302126; background: #f4d6bb; }
.home-actions .home-secondary { background: #34282ddd; color: #fff9f3; border-color: #9b8685; }
.home-actions button:focus-visible { outline-color: #fcdd96; }
.home-offer { margin: 1rem 0 0; font-size: .84rem; line-height: 1.5; color: #e1cbc6; max-width: 30rem; }
.home-music { position: relative; justify-self: end; align-self: end; width: min(100%, 16.8rem); margin: 0; padding: 1.1rem 1.3rem .95rem; border: 1px solid #fffae6; border-radius: .65rem; background: #fff7e8; color: #34272b; box-shadow: 0 .9rem 2.5rem #120b0b55; transform: rotate(2deg); }
.home-chart-label { display: block; text-transform: uppercase; font-size: .75rem; letter-spacing: .11em; font-weight: 650; color: #705858; }
#home-chart-title { display: block; font: italic 1.62rem/1.2 Georgia,serif; letter-spacing: -.035em; margin: .2rem 0 .6rem; }
.home-fingerings { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid #d7c7ba; padding: .45rem 0 .6rem; }
.home-note { display: grid; justify-items: center; gap: .36rem; }
.home-note>span { font: 650 .78rem/1.35 var(--font); }
.home-keyset { display: grid; justify-items: center; gap: 2px; }
.home-keyset i { width: 7px; height: 7px; border: 1px solid #9a7166; border-radius: 50%; }
.home-keyset i.down { background: #54393c; border-color: #54393c; }
.home-keyset i:nth-child(1) { width: 5px; height: 8px; transform: skewY(23deg); border-color: #b97b80; border-radius: 1px 5px 0 2px; }
.home-keyset i:nth-child(3) { width: 3px; height: 3px; }
.home-keyset i:nth-child(n+6) { border-color: #527b80; }
.home-keyset i:nth-child(6) { margin-top: 2px; }
.home-chart-description { display: block; margin-top: .58rem; color: #705958; font-size: .78rem; line-height: 1.42; }
#home-page:not([hidden]) + #billing-bar { margin-top: 1rem; }
#home-details .seo-section { margin: 0 auto; border: 0; padding-top: clamp(2.5rem,5vw,4.6rem); }
#home-details .seo-section h2 { font: 500 clamp(1.8rem,3.4vw,3.2rem)/1.1 Georgia,serif; letter-spacing: -.045em; color: #392d30; text-wrap: balance; }
#home-details #about-title { scroll-margin-top: 2rem; }
#home-details .seo-intro { max-width: 48rem; color: #665b5b; }
#home-details .seo-features { gap: clamp(1rem,3vw,3rem); margin-block: 2rem 3.2rem; }
#home-details .seo-features article { padding: 1.1rem 0 0; border: 0; border-top: 2px solid #8f505d; background: transparent; border-radius: 0; }
#home-details .seo-features article:nth-child(2) { border-color: #b48b42; }
#home-details .seo-features article:nth-child(3) { border-color: #558486; }
#home-details .seo-features h3 { font-size: 1.22rem; font-weight: 650; color: #3d3033; }
#home-details .seo-features p, #home-details .seo-faq p { font-size: 1rem; color: #665b5b; }
#home-details .seo-faq { margin-block: 2rem; max-width: 52rem; }
#home-details .seo-faq h2 { font-size: clamp(1.6rem,2.5vw,2.3rem); }
#home-details .seo-faq details { border-color: #ded5cc; }
#reader-dialog { width: min(52rem,calc(100% - 1.5rem)); max-height: 88dvh; }
#reader-title, #reader-description { overflow-wrap: anywhere; }
#reader-meta { font-size: .9rem; color: #626473; }
#reader-score { align-items: start; margin-top: 1rem; }
#reader-score .note-card { cursor: default; }
@media (max-width: 850px) {
  .home-hero { padding: 2rem; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); }
  #home-title { font-size: clamp(3.25rem,7.7vw,4.5rem); }
  .home-hero::before { background: linear-gradient(90deg,#25191dfb 0%,#25191de8 33%,#25191d60 65%,transparent); }
  .home-music { padding: .85rem; }
}
@media (max-width: 660px) {
  body:has(#home-page:not([hidden])) .header { height: auto; min-height: 62px; padding: .55rem max(1rem,env(safe-area-inset-left)); display: flex; flex-wrap: nowrap; gap: .45rem; }
  body:has(#home-page:not([hidden])) .header .brand { font-size: 1.5rem; gap: 4px; }
  body:has(#home-page:not([hidden])) .header nav { display: none; }
  body:has(#home-page:not([hidden])) .header .language-switch { margin: 0 0 0 auto; }
  body:has(#home-page:not([hidden])) .header .header-actions { margin: 0; }
  body:has(#home-page:not([hidden])) #main-content { padding: .7rem .7rem 0; }
  .home-hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: .95rem; }
  .home-copy { align-self: stretch; padding: 2rem 1.45rem 1.35rem; }
  .home-kicker { margin-bottom: 1rem; }
  .home-photo { width: 100%; height: 65%; top: auto; bottom: 0; object-position: 65% 52%; }
  .home-hero::before { background: linear-gradient(180deg,#25191d 39%,#25191df2 53%,#25191d48 74%,#25191d0a); }
  #home-title { font-size: clamp(3.1rem,12vw,4.1rem); }
  .home-description { margin-block: 1rem 1.3rem; }
  .home-actions button { font-size: .95rem; padding-inline: .83rem; }
  .home-offer { margin-top: .75rem; }
  .home-music { align-self: end; width: min(54%,15rem); margin: 1.1rem 1.35rem 1.3rem; }
  #home-chart-title { font-size: 1.25rem; }
  .home-chart-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #home-details { padding-inline: .63rem; }
  #home-details .seo-section { padding-top: 2.4rem; }
  #home-details .seo-features { margin-block: 1.4rem 2.4rem; }
  #home-details .seo-faq { margin-block: 1.5rem; }
}
@media print { #home-page, #home-details { display: none; } }
.info-links .footer-manage { color: #625668; text-decoration: underline; text-underline-offset: 3px; background: transparent; border: 0; font: inherit; font-size: 14px; text-align: start; padding: .65rem 0; }
#main-content>footer { flex-wrap: wrap; gap: .6rem 2rem; }
