/* Tirar Cifra — a Brazilian rehearsal room. Loaded after page styles.
   Shared behavior selectors, hidden states and notation geometry are preserved. */
:root { --studio-blue: #2456c7; --studio-deep: #173f98; --studio-yellow: #ffdd69; }
.tc-site { font-size: 15px; }
.tc-site h1, .tc-site h2, .tc-site h3 { font-family: var(--font-display); }
.tc-site h1 { font-weight: 800; text-wrap: balance; }
.tc-site p { text-wrap: pretty; }
.tc-site main { min-width: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 999; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: var(--surface); }
.tc-site .page-shell::before { display: none; }
.tc-site .site-header { border-top: 4px solid var(--studio-blue); box-shadow: none; }
.tc-site .site-header__inner { min-height: 78px; gap: 22px; }
.tc-site .brand { gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.tc-site .brand-mark { width: 34px; height: 34px; }
.tc-site .site-nav { gap: 22px; }
.tc-site .site-nav a, .tc-site .nav-dropdown__trigger { font-size: 13px; font-weight: 600; }
.tc-site .nav-dropdown__title, .tc-site .eyebrow, .tc-site .seo-answer__label, .tc-site .account-section-title, .tc-site .footer__title { text-transform: none; letter-spacing: 0; font-size: 13px; }
.tc-site .eyebrow { font-weight: 700; }
.tc-site .theme-toggle { background: transparent; }
.tc-site .btn { border-radius: 10px; font-weight: 700; }
.tc-site .btn-primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 3px 0 var(--accent-strong); }
.tc-site .btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.tc-site .btn-secondary { border-color: var(--stroke-strong); }
.tc-site .btn-lg { min-height: 50px; padding-inline: 24px; }
.tc-site .hero { padding-top: 58px; padding-bottom: 48px; }
.tc-site .hero h1 { font-size: clamp(36px, 4.7vw, 62px); line-height: 1.07; letter-spacing: -.055em; }
.tc-site .hero h1 em { color: inherit; font-style: normal; }
.tc-site .hero__lede { font-size: 17px; max-width: 620px; }
.tc-site .hero--seo .hero__inner { max-width: 940px; }
.tc-site .hero--seo .seo-crumbs { margin-bottom: 26px; }
.tc-site .hero--seo .eyebrow { color: var(--ink-secondary); }
.tc-site .start { border: 1px solid var(--stroke-strong); padding: 10px; box-shadow: var(--shadow-sm); border-radius: 18px; }
.tc-site .start__file { background: var(--surface-2); border: 1px dashed var(--stroke-strong); border-radius: 12px; padding: 25px 18px; }
.tc-site .start.is-dragover .start__file { border-color: var(--accent); background: var(--accent-soft); }
.tc-site .start__rights { padding-inline: 8px; }
.tc-site .start__trust { padding: 12px 4px 4px; font-size: 12px; }
.tc-site .section-heading { font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.tc-site .section-head { max-width: 760px; }
.tc-site .section-head .eyebrow { margin-bottom: 8px; }
.tc-site .icon-circle { border-radius: 12px; }
/* The homepage opens as a rehearsal desk: upload on the left, a record and chart on the right. */
.tc-index .hero--home { padding-block: 60px 56px; }
.tc-index .hero--home .hero__inner { max-width: var(--container); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 54px; text-align: left; }
.hero__copy { min-width: 0; }
.tc-index .hero--home h1 { margin-top: 16px; font-size: clamp(42px, 4.6vw, 64px); max-width: 600px; }
.tc-index .hero--home .hero__lede { margin: 22px 0 0; max-width: 520px; font-size: 16px; line-height: 1.7; }
.tc-index .hero--home .start { margin: 28px 0 0; }
.tc-index .hero--home .start__file { flex-direction: row; text-align: left; gap: 16px; padding: 18px 14px; }
.tc-index .hero--home .start__file .btn { flex-shrink: 0; padding-inline: 17px; }
.tc-index .hero--home .start__formats { font-size: 11px; line-height: 1.6; }
.studio { margin: 0; position: relative; isolation: isolate; min-width: 0; height: 520px; padding: 26px; background: var(--studio-blue); border-radius: 130px 26px 26px 26px; color: white; overflow: hidden; }
.studio::before { content: ''; position: absolute; width: 320px; height: 320px; border: 26px solid #4776d7; border-radius: 50%; top: 85px; right: -105px; z-index: -1; }
.studio::after { content: ''; position: absolute; top: 96px; left: 50%; transform: translateX(-50%); width: 258px; height: 258px; border-radius: 50%; background: radial-gradient(circle, #ffdd69 0 5px, #2456c7 6px 31px, #ffdd69 32px 52px, #183a78 53px 64px, #24467f 65px 66px, #183a78 67px 76px, #24467f 77px 78px, #183a78 79px 88px, #24467f 89px 90px, #183a78 91px 100px, #24467f 101px 102px, #183a78 103px 112px, #24467f 113px 114px, #183a78 115px); box-shadow: 12px 16px 0 #173f98; z-index: -1; }
.studio__top { display: flex; justify-content: flex-end; gap: 20px; align-items: center; padding: 8px 0 0 45px; }
.studio__label { font-size: 13px; font-weight: 600; }
.studio__top .icon { color: var(--studio-yellow); }
.studio__sheet, .studio__beats { min-width: 0; }
.studio__sheet { position: relative; }
.studio__sheet, .studio__chords { display: grid; }
.studio__sheet { margin-top: 275px; }
/* Floating chart stays legible rather than imitating a working player. */
.studio__sheet { background: #fff; color: #172e58; border-radius: 16px; padding: 20px; }
.studio__chords { grid-template-columns: repeat(4, 1fr); }
.studio__sheet { transform: rotate(-4deg); box-shadow: 5px 8px 0 #173f98; }
.studio__sheet b { font-size: 29px; font-family: var(--font-chord); }
.studio__sheet span { font-size: 10px; }
.studio__chords > div { display: grid; gap: 4px; padding-left: 12px; border-left: 2px solid #d6e1ee; }
.studio__beats { display: flex; gap: 5px; margin-top: 18px; }
.studio__beats i { height: 5px; flex: 1; background: #d6e1ee; border-radius: 3px; }
.studio__beats i:nth-child(-n+4) { background: #2456c7; }
.studio figcaption { position: absolute; bottom: 17px; left: 16px; right: 16px; text-align: center; color: #e0ebff; font-size: 10px; }
.tc-index .example { padding-bottom: 64px; }
.tc-index .example__heading { max-width: none; margin-bottom: 18px; }
.tc-index .example__heading h2 { font-size: 23px; font-weight: 800; letter-spacing: -.035em; }
.tc-index .example__card { max-width: none; border-color: var(--stroke-strong); box-shadow: none; border-radius: 22px; }
.tc-index .example__head { padding: 20px 28px; background: var(--surface); }
.tc-index .example__body { padding: 26px 28px; gap: 40px; grid-template-columns: minmax(0,1fr) 310px; }
.tc-index .example__art { background: var(--studio-blue); border-radius: 50%; }
.tc-index .example__art::after { width: 20px; height: 20px; background: var(--studio-yellow); inset: 16px; border-radius: 50%; clip-path: none; }
.tc-index .example__foot { padding: 14px 28px; }
.tc-site .steps-section { background: var(--studio-deep); color: #fff; border: 0; }
.tc-site .steps-section .eyebrow { color: var(--studio-yellow); }
.tc-site .steps-section .section-subtitle { color: #d5e3ff; }
.tc-site .steps { gap: 32px; }
.tc-site .step { background: transparent; border: 0; border-top: 1px solid #5b7db9; border-radius: 0; padding: 26px 0 0; }
.tc-site .step__num { background: var(--studio-yellow); color: #172e58; width: 36px; height: 36px; }
.tc-site .step h3 { font-size: 20px; }
.tc-site .step p { color: #d5e3ff; font-size: 15px; }
.tc-site .step__icon { color: #afc9f8; }
.tc-site .features { gap: 38px 34px; }
.tc-site .feature h3 { font-size: 17px; }
.tc-site .feature p { font-size: 14px; }
.tc-site .pricing-section { background: var(--canvas-secondary); border-block: 0; }
.tc-site .price { border-color: var(--stroke-strong); box-shadow: none; padding: 32px; }
.tc-site .price--featured { background: var(--surface); border: 2px solid var(--accent); box-shadow: none; }
.tc-site .price__ribbon { color: #172e58; background: var(--studio-yellow); box-shadow: none; border-radius: 7px; }
.tc-site .price__name { font-size: 24px; }
.tc-site .price__now { font-weight: 800; }
.tc-site .faq { max-width: 850px; border-top: 0; display: grid; gap: 10px; }
.tc-site .faq details { padding: 0 20px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; }
.tc-site .faq summary { min-height: 66px; font-size: 15px; }
.tc-site .faq p { font-size: 14px; line-height: 1.8; }
.tc-site .seo-head h2 { font-size: clamp(27px, 3vw, 38px); font-weight: 800; letter-spacing: -.045em; }
.tc-site .seo-card { box-shadow: none; border-radius: 16px; }
.tc-site .seo-card:hover { transform: none; box-shadow: none; border-color: var(--stroke-strong); }
.tc-site .seo-facts { box-shadow: none; border-radius: 15px; }
.tc-site .seo-facts strong { color: var(--accent-strong); }
.tc-site .seo-terms div { border: 0; border-left: 3px solid var(--stroke-strong); border-radius: 0 14px 14px 0; }
.tc-site .seo-answer { background: var(--surface); border-color: var(--stroke); border-left: 4px solid var(--accent); }
.tc-site .seo-related a { border-radius: 14px; }
.tc-site .seo-cta { background: var(--studio-deep); color: white; box-shadow: none; border: 0; padding-block: 54px; }
.tc-site .seo-cta p { color: #d5e3ff; }
.tc-site .seo-cta .btn-primary { background: var(--studio-yellow); border-color: var(--studio-yellow); color: #172e58; box-shadow: none; }
.tc-site .seo-cta .btn-secondary { background: transparent; color: white; border-color: #7d9bd0; }
.tc-site .seo-cta .btn-secondary:hover { background: #2456c7; }
.tc-site .ci-tool, .tc-site .cpf-tool { box-shadow: var(--shadow-md); border-color: var(--stroke-strong); }
.tc-site .about-hero { padding-top: 64px; }
.tc-site .about-hero h1 { font-size: clamp(38px, 5vw, 66px); max-width: 800px; }
.tc-site .about-chart { box-shadow: none; border-radius: 20px; }
.tc-site .about-bar { padding: 28px; }
.tc-site .about-cta__box { background: var(--accent-soft); border: 0; }
.tc-site .legal-page { padding-top: 56px; }
.tc-site .legal { max-width: 850px; background: var(--surface); padding: 40px 48px; border: 1px solid var(--stroke); border-radius: 22px; }
.tc-site .legal__head { border-bottom: 3px solid var(--accent); }
.tc-site .legal__head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.045em; }
.tc-site .legal__toc { background: var(--surface-2); }
.tc-site .account { gap: 32px; padding-top: 44px; }
.tc-site .account-nav { background: var(--surface); padding: 12px; border: 1px solid var(--stroke); border-radius: 18px; }
.tc-site .account-nav__link { min-height: 48px; }
.tc-site .account-nav__link[aria-current='page'] { background: var(--accent); color: var(--accent-on); }
.tc-site .account-head h1, .tc-site .songs-head h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.tc-site .analyze-card { box-shadow: none; }
.tc-site .site-footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--stroke); }
.tc-site .footer__about p { max-width: 260px; }
.tc-site .footer__title { color: var(--ink); font-weight: 800; }
.tc-site .footer__legal { font-size: 11px; line-height: 1.7; }
@media (max-width: 1100px) {
  .tc-site .site-nav { gap: 14px; }
  .tc-site .brand { font-size: 19px; }
  .tc-index .hero--home .hero__inner { gap: 30px; }
  .tc-index .hero--home .start__file { flex-direction: column; text-align: center; }
  .studio { height: 540px; }
  .studio::after { width: 240px; height: 240px; top: 120px; }
  .studio__top { padding-left: 36px; gap: 10px; }
  .studio__label { font-size: 12px; }
  .studio__sheet { margin-top: 300px; }
}
@media (max-width: 900px) {
  .tc-index .hero--home .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tc-index .hero--home h1 { max-width: 650px; }
  .tc-index .hero--home .hero__lede { max-width: 620px; }
  .tc-index .hero--home .start { max-width: none; }
  .tc-index .hero--home .start__file { flex-direction: row; text-align: left; }
  .studio { height: 340px; border-radius: 70px 20px 20px 20px; padding: 24px; }
  .studio::after { left: 25%; top: 60px; width: 210px; height: 210px; }
  .studio::before { left: -110px; top: 50px; }
  .studio__sheet { position: absolute; width: 52%; right: 24px; top: 98px; margin-top: 0; }
  .tc-index .example__body { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .tc-site .site-header__inner { min-height: 66px; gap: 10px; }
  .tc-site .hero { padding-top: 36px; }
  .tc-index .hero--home { padding-block: 36px; }
  .tc-index .hero--home h1 { font-size: clamp(39px, 8vw, 56px); line-height: 1.09; }
  .tc-site .hero h1 { font-size: clamp(34px, 7.8vw, 52px); }
  .tc-site .hero__lede { font-size: 16px; }
  .tc-index .example__head, .tc-index .example__body { padding: 18px; }
  .tc-index .example__foot { padding: 12px 18px; }
  .tc-site .section { padding-block: 54px; }
  .tc-site .price { padding: 28px 20px 22px; }
  .tc-site .legal { padding: 26px 20px; border-radius: 16px; }
  .tc-site .account-nav { padding: 8px; }
  .tc-site .account { padding-top: 24px; }
  .tc-site .site-footer { margin-top: 28px; }
}
@media (max-width: 480px) {
  .tc-index .hero--home .start__file { flex-direction: column; }
  .tc-index .hero--home .start__file .btn { width: 100%; }
  .studio { height: 400px; border-top-left-radius: 76px; }
  .studio::after { top: 68px; left: 42%; width: 180px; height: 180px; }
  .studio__sheet { top: 220px; left: 22px; right: 22px; width: auto; padding: 16px; }
  .studio__sheet b { font-size: 25px; }
  .studio__top { padding-left: 22px; }
  .studio figcaption { font-size: 9px; bottom: 12px; }
  .tc-site .brand { font-size: 18px; }
  .tc-site .brand-mark { width: 30px; height: 30px; }
  .tc-site .header-actions { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tc-site *, .tc-site *::before, .tc-site *::after { animation: none !important; transition: none !important; }
}
@media print {
  .skip-link, .studio { display: none; }
  .tc-site .legal { border: 0; padding: 0; }
}
.studio__sheet-top { display: flex; justify-content: space-between; color: #465b78; margin-bottom: 16px; }
.tc-site .checkout-brand-panel { border-top: 5px solid var(--accent); box-shadow: none; }
.tc-site .checkout-price-card { background: var(--accent-soft); border-color: transparent; }
.tc-site .credits-table th { text-transform: none; letter-spacing: 0; font-size: 12px; }
.tc-site .credits-stats { border-radius: 14px; box-shadow: none; }
.tc-site .song-card { box-shadow: none; padding: 16px; }
.tc-site .song-card:hover { transform: none; border-color: var(--accent); }
.tc-site .song-card__thumb { border-radius: 10px; }
.tc-site .analyze-card { border-top: 0; }
.tc-site .analyze-head { text-align: left; margin-bottom: 28px; }
.tc-site .analyze-head h1 { font-size: clamp(32px, 4vw, 46px); }
.tc-site .analyze-lede { margin-inline: 0; }
