@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --paper: #f3f0e8;
  --paper-2: #e8e3d7;
  --ink: #152823;
  --muted: #58635f;
  --line: #c9c8bd;
  --acid: #d6ff4b;
  --coral: #ff6b50;
  --blue: #78d8d0;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(21, 40, 35, .12);
  --radius: 1.5rem;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 9vw, 8.6rem); font-weight: 400; letter-spacing: -.065em; line-height: .86; }
.display em { font-weight: 400; color: var(--coral); }
.section-title { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.lead { max-width: 690px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.32rem); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(21, 40, 35, .14); background: rgba(243, 240, 232, .88); backdrop-filter: blur(18px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-size: .8rem; font-weight: 850; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.site-header .brand > span:last-child:not(.brand-mark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.brand-mark { width: 40px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font-family: Georgia, serif; font-size: .72rem; letter-spacing: -.1em; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; font-size: .88rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a[href="/sobre/"] { display: none; }
.nav-links a:hover { opacity: .6; }
.nav-cta { padding: .75rem 1.05rem; border-radius: 100px; background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); font-weight: 800; }

.hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: grid; align-items: center; padding: 5rem 0 3rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 4rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 580px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.25rem; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--white); text-decoration: none; font-size: .86rem; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--coral); border-color: var(--coral); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: white; border-color: var(--ink); }
.tuning-object { position: relative; min-height: 540px; border-radius: 18rem 18rem 2rem 2rem; background: var(--blue); box-shadow: var(--shadow); overflow: hidden; }
.tuning-object::before { content: ""; position: absolute; width: 270px; height: 270px; left: 50%; top: 50%; border: 35px solid var(--paper); border-radius: 50%; transform: translate(-50%, -50%); }
.strings { position: absolute; inset: 0 18%; display: flex; justify-content: space-around; }
.strings i { width: 1px; height: 100%; background: var(--ink); opacity: .5; }
.strings i:nth-child(3), .strings i:nth-child(4) { width: 2px; }
.tuning-letters { position: absolute; inset: 1rem; display: flex; align-items: end; justify-content: space-between; }
.tuning-letters span { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font-family: Georgia, serif; font-size: 1.2rem; }
.scroll-note { position: absolute; top: 1.4rem; right: 1.4rem; writing-mode: vertical-rl; font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.pathways { padding: 7rem 0; background: var(--ink); color: var(--white); }
.pathways-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.pathways .eyebrow, .pathways .section-title { color: var(--white); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.path-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.25); text-decoration: none; transition: background .25s, color .25s; }
.path-card:first-child { border-left: 1px solid rgba(255,255,255,.25); }
.path-card:hover { background: var(--acid); color: var(--ink); }
.path-number { font-family: Georgia, serif; font-size: .9rem; opacity: .65; }
.path-card h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1; }
.path-card p { margin: .8rem 0 0; font-size: .86rem; opacity: .75; }
.arrow { font-size: 2rem; align-self: end; }

.sound-section { padding: 8rem 0; }
.sound-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.tuning-strip { margin-top: 2rem; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tuning-note { min-height: 120px; display: grid; place-items: center; border: 0; border-right: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tuning-note:last-child { border-right: 0; }
.tuning-note:hover, .tuning-note.is-playing { background: var(--acid); }
.tuning-note strong { font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; }
.tuning-note span { display: block; margin-top: -.8rem; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact-list { margin: 0; padding: 0; list-style: none; }
.fact-list li { display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.fact-list strong { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.fact-list p { margin: 0; color: var(--muted); }

.feature { padding: 7rem 0; background: var(--coral); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
.mini-chord-wall { min-height: 560px; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; align-content: center; transform: rotate(-3deg); }
.mini-chord { min-height: 170px; padding: 1rem; border: 1px solid rgba(21,40,35,.55); border-radius: 1rem; background: var(--paper); }
.mini-chord:nth-child(2n) { transform: translateY(2rem); }
.mini-chord b { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.diagram-lines { height: 95px; margin-top: .8rem; background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px); background-size: 100% 19px, 20% 100%; opacity: .55; }
.feature-copy .btn { margin-top: 1.5rem; }

.editorial { padding: 8rem 0; }
.editorial-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.article-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.article-card { min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.article-card:first-child { background: var(--blue); }
.article-card:hover .article-link { transform: translateX(.3rem); }
.article-tag { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 2rem 0 .8rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.05; }
.article-card p { color: var(--muted); font-size: .9rem; }
.article-link { font-weight: 800; transition: transform .2s; }

.teacher { padding: 8rem 0; background: var(--paper-2); }
.teacher-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.portrait-placeholder { position: relative; min-height: 600px; border-radius: 45% 45% 1rem 1rem; background: var(--ink); overflow: hidden; }
.portrait-placeholder::before { content: "FF"; position: absolute; left: 50%; top: 50%; color: var(--acid); font-family: Georgia, serif; font-size: 11rem; letter-spacing: -.15em; transform: translate(-50%, -50%); }
.portrait-placeholder::after { content: "Foto autoral a inserir"; position: absolute; left: 1.5rem; bottom: 1.5rem; color: var(--white); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.teacher-copy blockquote { margin: 2rem 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.teacher-copy p { color: var(--muted); }

.about-note { padding: 3.5rem 0; border-top: 1px solid var(--line); background: var(--white); color: var(--ink); }
.about-note-grid { display: grid; grid-template-columns: minmax(160px, .4fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.about-note .eyebrow { margin: .2rem 0 0; color: var(--blue); }
.about-note h2 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.about-note p:not(.eyebrow) { max-width: 720px; margin: .65rem 0; color: var(--muted); }
.about-note a { font-size: .86rem; font-weight: 700; }

.community { padding: 6rem 0; background: var(--acid); }
.community-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 3rem; align-items: end; }
.community .section-title { max-width: 900px; }

.page-hero { padding: 6rem 0 4rem; border-bottom: 1px solid var(--line); }
.page-hero .display { max-width: 1050px; font-size: clamp(3.4rem, 9vw, 8rem); }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: .75rem; }
.breadcrumbs ol { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; }
.content-section { padding: 6rem 0; }
.prose { font-size: 1.08rem; }
.prose h2 { margin: 4rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.prose h3 { margin: 2.5rem 0 .7rem; font-size: 1.25rem; }
.prose p, .prose li { color: #35433f; }
.prose a { font-weight: 750; }
.callout { margin: 2.5rem 0; padding: 1.5rem; border-left: 5px solid var(--coral); border-radius: 0 1rem 1rem 0; background: var(--white); }
.callout strong { display: block; margin-bottom: .3rem; }
.next-card { margin-top: 4rem; padding: 2rem; border-radius: var(--radius); background: var(--ink); color: var(--white); }

.dictionary { padding: 2rem 0 7rem; }
.dictionary-shell { display: grid; grid-template-columns: 330px 1fr; gap: 1rem; align-items: start; }
.dictionary-controls { position: sticky; top: 94px; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.control-group + .control-group { margin-top: 1.4rem; }
.control-label { display: block; margin-bottom: .5rem; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.search-wrap { position: relative; }
.search-input, .control-select { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); color: var(--ink); }
.filter-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-pill { padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--ink); font-size: .72rem; font-weight: 750; cursor: pointer; }
.filter-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.dictionary-tip { margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.results-panel { min-height: 600px; padding: 1.5rem; border-radius: var(--radius); background: var(--paper-2); }
.results-top { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.results-top h2 { margin: 0; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 400; }
.result-count { color: var(--muted); font-size: .78rem; }
.chord-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.chord-card { position: relative; min-width: 0; padding: 1rem; border: 1px solid transparent; border-radius: 1rem; background: var(--white); }
.chord-card:hover { border-color: var(--ink); }
.chord-head { display: flex; justify-content: space-between; gap: .7rem; align-items: start; }
.chord-name { margin: 0; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; }
.chord-type { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.play-chord { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.play-chord:hover { background: var(--acid); border-color: var(--ink); }
.chord-diagram { width: 100%; margin-top: .7rem; }
.empty-state { padding: 5rem 1rem; text-align: center; }
.empty-state strong { display: block; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }

.tuner-stage { margin-top: 3rem; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tuner-string { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.2rem .5rem; border: 0; border-right: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tuner-string:last-child { border: 0; }
.tuner-string:hover, .tuner-string.is-playing { background: var(--acid); }
.tuner-string b { font-family: Georgia, serif; font-size: 3.5rem; font-weight: 400; }
.string-line { height: 180px; width: 2px; background: var(--ink); opacity: .45; }
.tuner-string:nth-child(-n+2) .string-line { width: 4px; }
.tuner-meta { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.course-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.course-panel { padding: 2rem; border-radius: var(--radius); background: var(--ink); color: white; }
.course-panel .eyebrow { color: var(--acid); }
.module-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.module-list li { padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.module-list b { display: block; margin-bottom: .3rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.module-list span { color: rgba(255,255,255,.68); }
.faq details { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }

.site-footer { padding: 5rem 0 2rem; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 3rem; }
.footer-brand { max-width: 380px; }
.footer-brand .brand { display: inline-flex; }
.footer-brand p { color: rgba(255,255,255,.6); }
.footer-col h2 { margin: 0 0 1rem; color: var(--acid); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: .5rem 0; color: rgba(255,255,255,.78); text-decoration: none; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); font-size: .72rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; left: 1rem; right: 1rem; top: 84px; display: none; flex-direction: column; align-items: stretch; padding: 1.2rem; border-radius: 1rem; background: var(--ink); color: white; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-cta { background: var(--acid); color: var(--ink); text-align: center; }
  .hero { padding-top: 3rem; }
  .hero-grid, .sound-grid, .feature-grid, .teacher-grid, .community-grid, .course-intro { grid-template-columns: 1fr; gap: 3rem; }
  .tuning-object { min-height: 440px; max-width: 520px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card:first-child { grid-column: span 2; }
  .dictionary-shell { grid-template-columns: 1fr; }
  .dictionary-controls { position: static; }
  .chord-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-shell { min-height: 66px; }
  .display { font-size: clamp(3rem, 16vw, 5rem); }
  .hero .display em { display: inline-block; font-size: .78em; }
  .hero-grid { gap: 2.5rem; }
  .about-note-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tuning-object { min-height: 380px; }
  .tuning-letters span { width: 34px; font-size: 1rem; }
  .pathways, .sound-section, .feature, .editorial, .teacher, .content-section { padding-block: 5rem; }
  .pathways-head, .editorial-head, .results-top { align-items: start; flex-direction: column; }
  .path-grid, .article-grid, .chord-grid, .footer-grid { grid-template-columns: 1fr; }
  .path-card, .path-card:first-child { min-height: 230px; border-left: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
  .article-card:first-child { grid-column: auto; }
  .article-card { min-height: 330px; }
  .mini-chord-wall { min-height: 420px; }
  .mini-chord { min-height: 140px; }
  .portrait-placeholder { min-height: 420px; }
  .tuning-strip { grid-template-columns: repeat(3, 1fr); }
  .tuning-note { border-bottom: 1px solid var(--line); }
  .tuner-stage { grid-template-columns: repeat(3, 1fr); }
  .tuner-string { min-height: 230px; border-bottom: 1px solid var(--line); }
  .string-line { height: 95px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Felipe Figueroa visual system — shared site */
body:not(.course-page) {
  --brand-ink: #0b0b0b;
  --brand-panel: #131313;
  --brand-panel-2: #191919;
  --brand-paper: #f0eee7;
  --brand-muted: #a6a49d;
  --brand-line: rgba(255, 255, 255, .13);
  --brand-dark-line: rgba(11, 11, 11, .16);
  --brand-accent: #5f7cff;
  --brand-accent-hover: #7892ff;
  --brand-accent-light: #8299ff;
  --brand-accent-soft: rgba(95, 124, 255, .14);
  --brand-display: "Oswald", sans-serif;
  --brand-body: "Manrope", sans-serif;
  --brand-radius: 18px;
  --brand-shadow: 0 20px 70px rgba(0, 0, 0, .28);
  --max: 1180px;
  color: var(--brand-paper);
  background: var(--brand-ink);
  font-family: var(--brand-body);
}

body:not(.course-page)::before { opacity: .08; mix-blend-mode: soft-light; }
body:not(.course-page) :focus-visible { outline-color: var(--brand-accent-light); }
body:not(.course-page) .container { width: min(calc(100% - 3rem), var(--max)); }
body:not(.course-page) .narrow { width: min(calc(100% - 3rem), 880px); }
body:not(.course-page) .eyebrow,
body:not(.course-page) .breadcrumbs,
body:not(.course-page) .article-tag,
body:not(.course-page) .footer-col h2,
body:not(.course-page) .tuner-meta,
body:not(.course-page) .control-label {
  font-family: var(--brand-body);
  font-weight: 500;
  letter-spacing: .13em;
}

body:not(.course-page) .path-number {
  font-family: var(--brand-body);
  font-weight: 600;
  letter-spacing: .08em;
}

body:not(.course-page) .eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  color: var(--brand-accent-light);
}

body:not(.course-page) .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

body:not(.course-page) .display,
body:not(.course-page) .section-title,
body:not(.course-page) .prose h2,
body:not(.course-page) .path-card h3,
body:not(.course-page) .article-card h3,
body:not(.course-page) .fact-list strong,
body:not(.course-page) .tuning-note strong,
body:not(.course-page) .tuner-string b,
body:not(.course-page) .results-top h2,
body:not(.course-page) .chord-name,
body:not(.course-page) .next-card h2 {
  font-family: var(--brand-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .95;
  text-transform: uppercase;
}

body:not(.course-page) .display em {
  display: block;
  max-width: 100%;
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.4px var(--brand-accent-light);
}

body:not(.course-page) .lead,
body:not(.course-page) .muted { color: var(--brand-muted); }

body:not(.course-page) .site-header {
  border-bottom-color: var(--brand-line);
  background: rgba(11, 11, 11, .9);
  color: var(--brand-paper);
}

body:not(.course-page) .nav-shell { min-height: 78px; }
body:not(.course-page) .brand { gap: .9rem; font-family: var(--brand-body); font-size: .72rem; font-weight: 500; letter-spacing: .03em; }
body:not(.course-page) .brand-mark {
  width: 43px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--brand-accent-light);
  font-family: var(--brand-display);
  font-size: .74rem;
  font-weight: 600;
  line-height: .8;
}
body:not(.course-page) .nav-links { font-family: var(--brand-body); font-size: .78rem; font-weight: 600; letter-spacing: 0; }
body:not(.course-page) .nav-links a { opacity: .76; transition: color .2s, opacity .2s; }
body:not(.course-page) .nav-links a:hover { color: var(--brand-accent-light); opacity: 1; }
body:not(.course-page) .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.2rem;
  border: 1px solid var(--brand-accent);
  background: var(--brand-accent);
  color: white;
  opacity: 1 !important;
}
body:not(.course-page) .nav-cta:hover { background: var(--brand-accent-hover); color: white; }
body:not(.course-page) .menu-toggle { min-width: 44px; min-height: 44px; color: var(--brand-paper); font-family: var(--brand-body); font-size: .78rem; }

body:not(.course-page) .btn {
  min-width: 0;
  min-height: 52px;
  padding: .85rem 1.4rem;
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: white;
  font-family: var(--brand-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
}
body:not(.course-page) .btn:hover { border-color: var(--brand-accent-hover); background: var(--brand-accent-hover); color: white; }
body:not(.course-page) .btn.secondary { border-color: rgba(255, 255, 255, .3); background: transparent; color: var(--brand-paper); }
body:not(.course-page) .btn.secondary:hover { border-color: var(--brand-paper); background: var(--brand-paper); color: var(--brand-ink); }

body:not(.course-page) .hero {
  position: relative;
  min-height: calc(100svh - 78px);
  padding: 5.5rem 0 4rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgba(255,255,255,.045) calc(16.666% - 1px) 16.666%),
    var(--brand-ink);
}
body:not(.course-page) .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(3rem, 7vw, 6rem); }
body:not(.course-page) .hero .display { max-width: 790px; color: var(--brand-paper); font-size: clamp(4.5rem, 9vw, 8.2rem); }
body:not(.course-page) .hero .lead { font-size: clamp(1rem, 1.7vw, 1.2rem); }
body:not(.course-page) .tuning-object {
  min-height: 570px;
  border: 1px solid var(--brand-line);
  border-radius: 50% 50% 18px 18px;
  background: var(--brand-panel);
  box-shadow: var(--brand-shadow);
}
body:not(.course-page) .tuning-object::before { border-color: var(--brand-accent); opacity: .78; }
body:not(.course-page) .strings i { background: var(--brand-paper); opacity: .28; }
body:not(.course-page) .tuning-letters span {
  border: 1px solid var(--brand-accent-light);
  background: var(--brand-ink);
  color: var(--brand-accent-light);
  font-family: var(--brand-display);
  font-weight: 600;
}
body:not(.course-page) .scroll-note { color: var(--brand-muted); font-family: var(--brand-body); }

body:not(.course-page) .pathways { padding: 7.5rem 0; background: var(--brand-panel); }
body:not(.course-page) .path-grid { border-top-color: var(--brand-line); }
body:not(.course-page) .path-card,
body:not(.course-page) .path-card:first-child { border-color: var(--brand-line); }
body:not(.course-page) .path-card:hover { background: var(--brand-accent); color: white; }
body:not(.course-page) .path-card h3 { font-size: 2.25rem; }
body:not(.course-page) .path-card p { color: var(--brand-muted); }
body:not(.course-page) .path-card:hover p { color: rgba(255,255,255,.75); }

body:not(.course-page) .sound-section {
  padding: 8rem 0;
  background: var(--brand-paper);
  color: var(--brand-ink);
}
body:not(.course-page) .sound-section .eyebrow { color: var(--brand-accent); }
body:not(.course-page) .sound-section .lead,
body:not(.course-page) .sound-section .fact-list p { color: #5d5c57; }
body:not(.course-page) .sound-section .btn.secondary { border-color: var(--brand-ink); color: var(--brand-ink); }
body:not(.course-page) .sound-section .btn.secondary:hover { background: var(--brand-ink); color: var(--brand-paper); }
body:not(.course-page) .tuning-strip { border-color: var(--brand-dark-line); border-radius: var(--brand-radius); }
body:not(.course-page) .tuning-note { border-color: var(--brand-dark-line); background: transparent; color: var(--brand-ink); }
body:not(.course-page) .tuning-note:hover,
body:not(.course-page) .tuning-note.is-playing { background: var(--brand-accent); color: white; }
body:not(.course-page) .tuning-note span { font-family: var(--brand-body); }
body:not(.course-page) .fact-list li { border-top-color: var(--brand-dark-line); }
body:not(.course-page) .fact-list strong { color: var(--brand-accent); font-size: 2.2rem; }

body:not(.course-page) .feature { padding: 7.5rem 0; background: var(--brand-ink); color: var(--brand-paper); }
body:not(.course-page) .feature .lead { color: var(--brand-muted); }
body:not(.course-page) .mini-chord-wall { transform: rotate(-2deg); }
body:not(.course-page) .mini-chord {
  border-color: var(--brand-line);
  border-radius: 2px;
  background: var(--brand-panel);
}
body:not(.course-page) .mini-chord:nth-child(2n) { background: var(--brand-paper); color: var(--brand-ink); }
body:not(.course-page) .mini-chord b { font-family: var(--brand-display); font-weight: 500; text-transform: uppercase; }
body:not(.course-page) .diagram-lines { color: var(--brand-accent-light); background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); opacity: .45; }

body:not(.course-page) .editorial { padding: 8rem 0; background: var(--brand-panel); }
body:not(.course-page) .article-card {
  border-color: var(--brand-line);
  border-radius: var(--brand-radius);
  background: var(--brand-panel-2);
  color: var(--brand-paper);
}
body:not(.course-page) .article-card:first-child { background: var(--brand-accent); color: white; }
body:not(.course-page) .article-card p { color: var(--brand-muted); }
body:not(.course-page) .article-card:first-child p { color: rgba(255,255,255,.75); }

body:not(.course-page) .teacher { padding: 8rem 0; background: var(--brand-paper); color: var(--brand-ink); }
body:not(.course-page) .teacher .eyebrow { color: var(--brand-accent); }
body:not(.course-page) .portrait-placeholder { border-radius: 50% 50% 3px 3px; background: var(--brand-ink); }
body:not(.course-page) .portrait-placeholder::before { color: var(--brand-accent-light); font-family: var(--brand-display); }
body:not(.course-page) .portrait-placeholder::after { color: var(--brand-muted); font-family: var(--brand-body); }
body:not(.course-page) .teacher-copy blockquote { font-family: var(--brand-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
body:not(.course-page) .teacher-copy p { color: #5d5c57; }
body:not(.course-page) .teacher .btn.secondary { border-color: var(--brand-ink); color: var(--brand-ink); }
body:not(.course-page) .teacher .btn.secondary:hover { background: var(--brand-ink); color: var(--brand-paper); }

body:not(.course-page) .community { padding: 6rem 0; background: var(--brand-accent); color: white; }
body:not(.course-page) .community .eyebrow { color: white; }
body:not(.course-page) .community .btn { border-color: white; background: white; color: var(--brand-ink); }
body:not(.course-page) .community .btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: white; }

body:not(.course-page) .page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  border-bottom-color: var(--brand-line);
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgba(255,255,255,.045) calc(16.666% - 1px) 16.666%),
    var(--brand-ink);
}
body:not(.course-page) .page-hero::after {
  content: "D A D G A D";
  position: absolute;
  right: -4rem;
  bottom: -2rem;
  color: transparent;
  font-family: var(--brand-display);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  opacity: .16;
  pointer-events: none;
  -webkit-text-stroke: 1px var(--brand-accent-light);
}
body:not(.course-page) .page-hero .container { position: relative; z-index: 1; }
body:not(.course-page) .page-hero .display { color: var(--brand-paper); font-size: clamp(4rem, 9vw, 8rem); }
body:not(.course-page) .breadcrumbs { color: var(--brand-muted); }

body:not(.course-page) .content-section { background: var(--brand-paper); color: var(--brand-ink); }
body:not(.course-page) .content-section .eyebrow { color: var(--brand-accent); }
body:not(.course-page) .prose h2 { color: var(--brand-ink); }
body:not(.course-page) .prose p,
body:not(.course-page) .prose li { color: #5d5c57; }
body:not(.course-page) .callout {
  border-left-color: var(--brand-accent);
  border-radius: 0 var(--brand-radius) var(--brand-radius) 0;
  background: white;
}
body:not(.course-page) .next-card { border-radius: var(--brand-radius); background: var(--brand-ink); color: var(--brand-paper); }
body:not(.course-page) .next-card .eyebrow { color: var(--brand-accent-light); }
body:not(.course-page) .next-card h2 { color: var(--brand-paper); }

body:not(.course-page) .dictionary,
body:not(.course-page) main > .tuner-stage { background: var(--brand-paper); color: var(--brand-ink); }
body:not(.course-page) .dictionary-controls,
body:not(.course-page) .results-panel,
body:not(.course-page) .chord-card { border-color: var(--brand-dark-line); background: white; }
body:not(.course-page) .results-panel { background: #e5e2da; }
body:not(.course-page) .search-input,
body:not(.course-page) .control-select { border-color: var(--brand-dark-line); background: var(--brand-paper); }
body:not(.course-page) .filter-pill[aria-pressed="true"] { border-color: var(--brand-accent); background: var(--brand-accent); }
body:not(.course-page) .play-chord:hover { background: var(--brand-accent); color: white; }
body:not(.course-page) .tuner-stage { border-color: var(--brand-dark-line); }
body:not(.course-page) .tuner-string { border-color: var(--brand-dark-line); background: var(--brand-paper); }
body:not(.course-page) .tuner-string:hover,
body:not(.course-page) .tuner-string.is-playing { background: var(--brand-accent); color: white; }

body:not(.course-page) .site-footer { border-top: 1px solid var(--brand-line); background: var(--brand-ink); color: var(--brand-paper); }
body:not(.course-page) .footer-brand p,
body:not(.course-page) .footer-col a,
body:not(.course-page) .footer-bottom { color: var(--brand-muted); }
body:not(.course-page) .footer-col h2 { color: var(--brand-accent-light); }
body:not(.course-page) .footer-col a:hover { color: var(--brand-paper); }
body:not(.course-page) .footer-bottom { border-top-color: var(--brand-line); }

@media (max-width: 900px) {
  body:not(.course-page) .nav-links { background: var(--brand-panel); }
  body:not(.course-page) .nav-cta { justify-content: center; color: white; }
  body:not(.course-page) .hero-grid { grid-template-columns: minmax(0, 1fr); }
  body:not(.course-page) .hero-copy,
  body:not(.course-page) .tuning-object { min-width: 0; }
  body:not(.course-page) .tuning-object { max-width: 620px; }
}

@media (max-width: 680px) {
  body:not(.course-page) .container,
  body:not(.course-page) .narrow { width: min(calc(100% - 1.5rem), var(--max)); }
  body:not(.course-page) .nav-shell { min-height: 68px; }
  body:not(.course-page) .hero { min-height: auto; padding: 4rem 0 3rem; }
  body:not(.course-page) .hero .display { max-width: 100%; font-size: clamp(3.5rem, 16vw, 5.6rem); overflow-wrap: normal; }
  body:not(.course-page) .hero .display em { display: block; width: min(8.7ch, 100%); max-width: 100%; font-size: .88em; white-space: normal; }
  body:not(.course-page) .hero .lead { max-width: 100%; overflow-wrap: anywhere; }
  body:not(.course-page) .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  body:not(.course-page) .hero-actions .btn,
  body:not(.course-page) .community .btn,
  body:not(.course-page) .next-card .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
  body:not(.course-page) .tuning-object { min-height: 410px; }
  body:not(.course-page) .pathways,
  body:not(.course-page) .sound-section,
  body:not(.course-page) .feature,
  body:not(.course-page) .editorial,
  body:not(.course-page) .teacher,
  body:not(.course-page) .content-section { padding-block: 4.9rem; }
  body:not(.course-page) .section-title,
  body:not(.course-page) .prose h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  body:not(.course-page) .mini-chord-wall { transform: none; }
  body:not(.course-page) .mini-chord:nth-child(2n) { transform: none; }
  body:not(.course-page) .page-hero { padding: 4rem 0; }
  body:not(.course-page) .page-hero .display { font-size: clamp(3.7rem, 18vw, 6rem); }
}

/* Course landing page — visual language shared with Felipe Figueroa */
.course-page {
  --course-ink: #0b0b0b;
  --course-panel: #131313;
  --course-panel-2: #191919;
  --course-paper: #f0eee7;
  --course-muted: #a6a49d;
  --course-line: rgba(255, 255, 255, .13);
  --course-accent: #5f7cff;
  --course-accent-hover: #7892ff;
  --course-accent-light: #8299ff;
  --course-accent-soft: rgba(95, 124, 255, .14);
  --course-display: "Oswald", sans-serif;
  --course-body: "Manrope", sans-serif;
  --course-radius: 18px;
  --course-shadow: 0 20px 70px rgba(0, 0, 0, .28);
  --max: 1180px;
  color: var(--course-paper);
  background: var(--course-ink);
  font-family: var(--course-body);
}

.course-page::before {
  opacity: .09;
  mix-blend-mode: soft-light;
}

.course-page :focus-visible { outline-color: var(--course-accent-light); }
.course-page .container { width: min(calc(100% - 3rem), var(--max)); }
.course-page .narrow { width: min(calc(100% - 3rem), 920px); }
.course-page .eyebrow,
.course-page .breadcrumbs,
.course-page .footer-col h2 {
  font-family: var(--course-body);
  font-weight: 500;
  letter-spacing: .14em;
}

.course-page .eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  color: var(--course-accent-light);
}

.course-page .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.course-page .display,
.course-page .section-title,
.course-page .prose h2,
.course-page .next-card h2,
.course-page .module-list b {
  font-family: var(--course-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .94;
  text-transform: uppercase;
}

.course-page .site-header {
  position: sticky;
  border-bottom-color: var(--course-line);
  background: rgba(11, 11, 11, .9);
  color: var(--course-paper);
}

.course-page .nav-shell { min-height: 78px; }
.course-page .brand { gap: .9rem; font-family: var(--course-body); font-size: .72rem; font-weight: 500; letter-spacing: .03em; }
.course-page .brand-mark {
  width: 43px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--course-accent-light);
  font-family: var(--course-display);
  font-size: .74rem;
  font-weight: 600;
  line-height: .8;
}

.course-page .nav-links { font-family: var(--course-body); font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.course-page .nav-links a { position: relative; opacity: .76; transition: color .2s, opacity .2s; }
.course-page .nav-links a:hover { color: var(--course-accent-light); opacity: 1; }
.course-page .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.2rem;
  border: 1px solid var(--course-accent);
  background: var(--course-accent);
  color: white;
  opacity: 1 !important;
}
.course-page .nav-cta:hover { background: var(--course-accent-hover); color: white !important; }
.course-page .menu-toggle { min-width: 44px; min-height: 44px; color: var(--course-paper); font-family: var(--course-body); font-size: .78rem; }

.course-page .page-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0;
  border-bottom-color: var(--course-line);
  isolation: isolate;
}

.course-page .page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .6;
  background:
    linear-gradient(90deg, transparent 0 71%, rgba(95, 124, 255, .15) 71% 71.08%, transparent 71.08%),
    repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgba(255, 255, 255, .045) calc(16.666% - 1px) 16.666%);
}

.course-page .page-hero::after {
  content: "D A D G A D";
  position: absolute;
  z-index: -1;
  right: clamp(-3rem, -1vw, 0rem);
  top: 50%;
  width: min(36vw, 470px);
  padding: 6rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: transparent;
  font-family: var(--course-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px rgba(130, 153, 255, .72);
}

.course-page .page-hero .container { position: relative; min-width: 0; }
.course-page .page-hero .breadcrumbs { margin-bottom: clamp(2.5rem, 5vh, 4rem); color: var(--course-muted); }
.course-page .page-hero .eyebrow { margin-bottom: 1.4rem; }
.course-page .page-hero .display {
  max-width: 840px;
  color: var(--course-paper);
  font-size: clamp(4.4rem, 8.2vw, 7.7rem);
}

.course-page .page-hero .display em {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--course-accent-light);
}

.course-page .page-hero .lead {
  max-width: 670px;
  color: var(--course-muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.course-page .hero-actions { min-width: 0; margin-top: 2.2rem; }
.course-page .btn {
  min-width: 0;
  min-height: 52px;
  padding: .85rem 1.4rem;
  border-color: var(--course-accent);
  background: var(--course-accent);
  color: white;
  font-family: var(--course-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.course-page .btn:hover { border-color: var(--course-accent-hover); background: var(--course-accent-hover); color: white; }
.course-page .btn.secondary { border-color: rgba(255, 255, 255, .28); background: transparent; color: var(--course-paper); }
.course-page .btn.secondary:hover { border-color: var(--course-paper); background: var(--course-paper); color: var(--course-ink); }

.course-page .content-section { padding: 7.5rem 0; }
.course-page .course-intro { grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); gap: clamp(3rem, 8vw, 7rem); }
.course-page .prose { font-size: 1.02rem; }
.course-page .prose h2 {
  margin: 1rem 0 1.5rem;
  color: var(--course-paper);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}
.course-page .prose h2:not(:first-of-type) { margin-top: 6rem; }
.course-page .prose p,
.course-page .prose li { color: var(--course-muted); }
.course-page .prose a { color: var(--course-paper); text-decoration-color: var(--course-accent); }
.course-page .callout {
  margin-top: 3rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--course-line);
  border-left: 3px solid var(--course-accent);
  border-radius: 0 var(--course-radius) var(--course-radius) 0;
  background: var(--course-panel);
  color: var(--course-muted);
}
.course-page .callout strong { color: var(--course-paper); }

.course-page .course-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid var(--course-line);
  border-radius: var(--course-radius);
  background: var(--course-panel);
  box-shadow: var(--course-shadow);
}

.course-page .course-panel::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -6rem;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgba(95, 124, 255, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(95, 124, 255, .04), 0 0 0 72px rgba(95, 124, 255, .025);
  pointer-events: none;
}

.course-page .course-panel .section-title { max-width: 560px; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.course-page .module-list { position: relative; z-index: 1; margin-top: 2.5rem; counter-reset: course-module; }
.course-page .module-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(160px, 1.1fr);
  gap: 1.5rem;
  padding: 1.55rem 0;
  border-top-color: var(--course-line);
  counter-increment: course-module;
}
.course-page .module-list li::before {
  content: "0" counter(course-module);
  position: absolute;
  right: 0;
  top: .3rem;
  color: rgba(130, 153, 255, .16);
  font-family: var(--course-display);
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
}
.course-page .module-list b { position: relative; z-index: 1; font-size: 1.45rem; }
.course-page .module-list span { position: relative; z-index: 1; color: var(--course-muted); font-size: .88rem; }

.course-page .feature {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0;
  background: var(--course-paper);
  color: var(--course-ink);
}
.course-page .feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: linear-gradient(rgba(11, 11, 11, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 11, .08) 1px, transparent 1px);
  background-size: 72px 72px;
}
.course-page .feature-grid { position: relative; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(3rem, 8vw, 7rem); }
.course-page .feature .eyebrow { color: var(--course-accent); }
.course-page .feature .section-title { font-size: clamp(3rem, 6vw, 5.8rem); }
.course-page .feature .lead { color: #5d5c57; }
.course-page .mini-chord-wall { min-height: 530px; gap: .65rem; transform: rotate(-2deg); }
.course-page .mini-chord {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border-color: rgba(11, 11, 11, .25);
  border-radius: 2px;
  background: rgba(240, 238, 231, .9);
}
.course-page .mini-chord:nth-child(2n) { transform: translateY(1.4rem); background: var(--course-ink); color: var(--course-paper); }
.course-page .mini-chord b { font-family: var(--course-display); font-size: 1.7rem; font-weight: 500; text-transform: uppercase; }
.course-page .diagram-lines { background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); opacity: .32; }
.course-page .mini-chord:nth-child(2n) .diagram-lines { color: var(--course-accent-light); opacity: .58; }

.course-page main > .content-section:last-child {
  padding-top: 8rem;
  background: var(--course-panel);
}
.course-page main > .content-section:last-child .narrow { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); column-gap: clamp(3rem, 8vw, 7rem); }
.course-page main > .content-section:last-child .eyebrow,
.course-page main > .content-section:last-child > .narrow > h2:first-of-type,
.course-page main > .content-section:last-child > .narrow > p { grid-column: 1; }
.course-page main > .content-section:last-child > .narrow > h2:nth-of-type(2),
.course-page main > .content-section:last-child .faq { grid-column: 2; }
.course-page main > .content-section:last-child > .narrow > h2:nth-of-type(2) { grid-row: 1 / span 2; align-self: start; margin: 0 0 2rem; }
.course-page main > .content-section:last-child .faq { grid-row: 2 / span 4; }
.course-page .faq details { border-top-color: var(--course-line); }
.course-page .faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--course-paper);
  font-family: var(--course-body);
  font-size: .8rem;
  font-weight: 500;
  list-style: none;
}
.course-page .faq summary::-webkit-details-marker { display: none; }
.course-page .faq summary::after { content: "+"; color: var(--course-accent-light); font-size: 1.3rem; }
.course-page .faq details[open] summary::after { content: "−"; }
.course-page .faq p { margin-top: .5rem; }

.course-page .next-card {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 7rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(130, 153, 255, .32);
  border-radius: var(--course-radius);
  background: var(--course-accent-soft);
}
.course-page .next-card::after {
  content: "DADGAD";
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  color: transparent;
  font-family: var(--course-display);
  font-size: clamp(6rem, 16vw, 13rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .7;
  opacity: .16;
  pointer-events: none;
  -webkit-text-stroke: 1px var(--course-accent-light);
}
.course-page .next-card h2 { position: relative; z-index: 1; max-width: 680px; margin: .5rem 0 2rem; font-size: clamp(3rem, 6vw, 5.5rem); }
.course-page .next-card .btn { position: relative; z-index: 1; }

.course-page .site-footer { border-top: 1px solid var(--course-line); background: var(--course-ink); }
.course-page .footer-brand p,
.course-page .footer-col a,
.course-page .footer-bottom { color: var(--course-muted); }
.course-page .footer-col h2 { color: var(--course-accent-light); }
.course-page .footer-col a:hover { color: var(--course-paper); }
.course-page .footer-bottom { border-top-color: var(--course-line); }

@media (max-width: 900px) {
  .course-page .nav-links { background: var(--course-panel); }
  .course-page .nav-cta { justify-content: center; color: white; }
  .course-page .page-hero::after { right: -9rem; width: 410px; opacity: .45; }
  .course-page .course-intro,
  .course-page .feature-grid { grid-template-columns: 1fr; }
  .course-page .course-panel { max-width: 720px; }
  .course-page .feature-grid { gap: 2rem; }
  .course-page .mini-chord-wall { max-width: 720px; }
  .course-page main > .content-section:last-child .narrow { display: block; }
  .course-page main > .content-section:last-child > .narrow > h2:nth-of-type(2) { margin-top: 6rem; }
}

@media (max-width: 680px) {
  .course-page .container,
  .course-page .narrow { width: min(calc(100% - 1.5rem), var(--max)); }
  .course-page .nav-shell { min-height: 68px; }
  .course-page .page-hero { min-height: calc(100svh - 68px); padding: 3rem 0 4rem; }
  .course-page .page-hero::before { background: repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgba(255, 255, 255, .045) calc(16.666% - 1px) 16.666%); }
  .course-page .page-hero::after { right: -9rem; top: 62%; width: 330px; padding: 4rem 2rem; font-size: 3rem; opacity: .28; }
  .course-page .page-hero .breadcrumbs { margin-bottom: 4.5rem; }
  .course-page .page-hero .display { font-size: clamp(3.7rem, 18vw, 6rem); line-height: .9; }
  .course-page .page-hero .lead { max-width: 90%; }
  .course-page .page-hero .eyebrow { max-width: 100%; font-size: .66rem; }
  .course-page .page-hero .lead { max-width: 100%; overflow-wrap: anywhere; }
  .course-page .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .course-page .hero-actions .btn,
  .course-page .next-card .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
  .course-page .content-section,
  .course-page .feature,
  .course-page main > .content-section:last-child { padding-block: 4.9rem; }
  .course-page .prose h2,
  .course-page .course-panel .section-title,
  .course-page .feature .section-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .course-page .course-panel { padding: 1.5rem; }
  .course-page .module-list li { grid-template-columns: 1fr; gap: .4rem; padding-right: 2.5rem; }
  .course-page .module-list li::before { font-size: 3.5rem; }
  .course-page .mini-chord-wall { min-height: 430px; grid-template-columns: repeat(2, 1fr); transform: none; }
  .course-page .mini-chord { min-height: 130px; }
  .course-page .mini-chord:nth-child(2n) { transform: none; }
  .course-page main > .content-section:last-child > .narrow > h2:nth-of-type(2),
  .course-page .prose h2:not(:first-of-type) { margin-top: 4.5rem; }
  .course-page .next-card { margin-top: 5rem; padding: 2rem 1.3rem; }
  .course-page .next-card h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
}

/* Clean visual refinement */
body::before { display: none; }

body:not(.course-page) .display,
.course-page .display { letter-spacing: -.025em; }

body:not(.course-page) .section-title,
.course-page .section-title { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1; }

body:not(.course-page) .display em,
.course-page .display em {
  color: #7892ff;
  -webkit-text-stroke: 0;
}

body:not(.course-page) .site-header,
.course-page .site-header { box-shadow: none; }

body:not(.course-page) .btn,
.course-page .btn { box-shadow: none; transition: background .18s, border-color .18s, color .18s; }

body:not(.course-page) .btn:hover,
.course-page .btn:hover { transform: none; }

body:not(.course-page) .hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #0b0b0b;
}

body:not(.course-page) .hero .display { max-width: 720px; font-size: clamp(4rem, 6.8vw, 6.2rem); line-height: .94; }
body:not(.course-page) .tuning-object {
  min-height: 500px;
  border-radius: 24px;
  background: #111;
  box-shadow: none;
}
body:not(.course-page) .tuning-object::before { border-width: 22px; opacity: .72; }

body:not(.course-page) .pathways {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: #f0eee7;
  color: #0b0b0b;
}
body:not(.course-page) .pathways .eyebrow { color: #5f7cff; }
body:not(.course-page) .pathways .section-title { color: #0b0b0b; }
body:not(.course-page) .pathways .muted { color: #66645f; }
body:not(.course-page) .path-grid { border-top-color: rgba(11,11,11,.15); }
body:not(.course-page) .path-card,
body:not(.course-page) .path-card:first-child { min-height: 285px; border-color: rgba(11,11,11,.15); }
body:not(.course-page) .path-card p { color: #66645f; }

/* Shared editorial pathways */
body:not(.course-page) .pathways { padding-block: clamp(5.5rem, 9vw, 8.5rem); }
body:not(.course-page) .pathways-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
body:not(.course-page) .pathways-head .section-title { max-width: 720px; }
body:not(.course-page) .pathways-head .muted { max-width: 520px; margin: 0 0 .15rem; }
body:not(.course-page) .path-grid {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: var(--brand-ink);
}
body:not(.course-page) .path-card,
body:not(.course-page) .path-card:first-child {
  min-height: 330px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 0;
  border-right: 1px solid var(--brand-line);
  color: var(--brand-paper);
  transition: background .2s, box-shadow .2s;
}
body:not(.course-page) .path-card:last-child { border-right: 0; }
body:not(.course-page) .path-card:hover {
  background: var(--brand-panel-2);
  color: var(--brand-paper);
  box-shadow: inset 0 3px 0 var(--brand-accent);
}
body:not(.course-page) .path-number {
  color: var(--brand-accent-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: 1;
}
body:not(.course-page) .path-card h3 { max-width: 9ch; color: var(--brand-paper); font-size: clamp(2rem, 3vw, 2.65rem); }
body:not(.course-page) .path-card p,
body:not(.course-page) .path-card:hover p { max-width: 220px; color: var(--brand-muted); line-height: 1.55; opacity: 1; }
body:not(.course-page) .path-card .arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--brand-paper);
  font-size: 1.05rem;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
body:not(.course-page) .path-card:hover .arrow { border-color: var(--brand-accent); background: var(--brand-accent); color: white; transform: translate(.15rem, -.15rem); }

@media (max-width: 900px) {
  body:not(.course-page) .pathways-head { grid-template-columns: 1fr; gap: 1.5rem; }
  body:not(.course-page) .pathways-head .muted { margin: 0; }
  body:not(.course-page) .path-card,
  body:not(.course-page) .path-card:first-child { border-right: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); }
  body:not(.course-page) .path-card:nth-child(2n) { border-right: 0; }
  body:not(.course-page) .path-card:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 620px) {
  body:not(.course-page) .path-grid { grid-template-columns: 1fr; border-radius: 18px; }
  body:not(.course-page) .path-card,
  body:not(.course-page) .path-card:first-child,
  body:not(.course-page) .path-card:nth-child(2n),
  body:not(.course-page) .path-card:nth-last-child(-n+2) { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--brand-line); }
  body:not(.course-page) .path-card:last-child { border-bottom: 0; }
}

/* Song chord guide */
.print-only { display: none; }
.song-home-feature { padding: clamp(2rem, 5vw, 4.5rem) 0; background: #fff; color: var(--brand-ink); }
.song-home-feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 24px; background: var(--brand-paper); }
.song-home-feature .eyebrow { color: var(--brand-accent); }
.song-home-feature .section-title { max-width: 720px; margin-top: .75rem; }
.song-home-feature .lead { margin: 0 0 2rem; color: #55534e; }
.song-tool-page .song-tool-hero .display { max-width: 880px; }
.song-tool-page .song-tool-hero .lead { max-width: 760px; }
.song-builder { padding: clamp(2rem, 5vw, 5rem) 0; background: var(--brand-paper); color: var(--brand-ink); }
.song-builder-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 24px;
  background: var(--brand-ink);
  color: var(--brand-paper);
}
.song-builder-intro { align-self: center; }
.song-builder-intro .eyebrow { color: var(--brand-accent-light); }
.song-builder-intro h2 { margin: .75rem 0 1.25rem; font-family: var(--brand-display); font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 600; line-height: .98; text-transform: uppercase; }
.song-builder-intro p:last-child { max-width: 480px; color: var(--brand-muted); line-height: 1.7; }
.song-form { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 18px; background: #fff; color: var(--brand-ink); }
.song-fields-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.song-form label { display: grid; gap: .5rem; }
.song-form label > span { color: var(--brand-accent); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.song-form input,
.song-form textarea {
  width: 100%;
  border: 1px solid rgba(11,11,11,.18);
  border-radius: 10px;
  background: var(--brand-paper);
  color: var(--brand-ink);
  font: 500 .9rem/1.5 var(--brand-body);
}
.song-form input { min-height: 50px; padding: 0 .9rem; }
.song-form textarea { min-height: 118px; padding: .8rem .9rem; resize: vertical; }
.song-form input:focus,
.song-form textarea:focus { border-color: var(--brand-accent); outline: 2px solid rgba(95,124,255,.25); outline-offset: 2px; }
.song-mode-tabs { display: flex; gap: .35rem; margin: 1.35rem 0; padding: .3rem; border-radius: 12px; background: var(--brand-paper); }
.song-mode-tabs button { flex: 1; min-height: 42px; padding: .65rem .8rem; border: 0; border-radius: 9px; background: transparent; color: #66645f; font: 700 .72rem var(--brand-body); cursor: pointer; }
.song-mode-tabs button[aria-selected="true"] { background: var(--brand-ink); color: var(--brand-paper); }
.song-mode-panel { display: grid; gap: 1rem; }
.song-mode-panel[hidden] { display: none; }
.song-form-actions { display: flex; align-items: center; gap: 1rem; }
.song-form .btn { min-height: 46px; }
.song-form .text-button { border: 0; background: transparent; color: #5a5751; font: 700 .72rem var(--brand-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.song-privacy-note { margin: -.25rem 0 0; color: #77756f; font-size: .72rem; line-height: 1.55; }
.song-status { min-height: 1.4em; margin: 1rem 0 0; color: #66645f; font-size: .74rem; line-height: 1.5; }
.song-status[data-type="error"] { color: #a73535; }
.song-status[data-type="success"] { color: #2e7554; }

.song-output { padding: clamp(4rem, 7vw, 7rem) 0; background: var(--brand-ink); color: var(--brand-paper); }
.song-result-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--brand-line); }
.song-result-head .eyebrow { color: var(--brand-accent-light); }
.song-result-head h2 { margin: .65rem 0 .2rem; font-family: var(--brand-display); font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 600; line-height: .95; text-transform: uppercase; }
.song-result-head p:last-child { margin: 0; color: var(--brand-muted); font-size: 1rem; }
.song-source { margin-top: 1.25rem; color: var(--brand-muted); font-size: .72rem; }
.song-source a { color: var(--brand-accent-light); }
.song-exact-list { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start; margin: 2rem 0 4rem; }
.song-exact-list > span { padding-top: .4rem; color: var(--brand-muted); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.song-exact-list > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.song-exact-list > div span { min-width: 48px; padding: .45rem .7rem; border: 1px solid rgba(130,153,255,.3); border-radius: 999px; background: var(--brand-accent-soft); color: var(--brand-accent-light); font-size: .78rem; font-weight: 700; text-align: center; }
.song-chord-section + .song-chord-section { margin-top: 5rem; }
.song-section-head { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.3fr); column-gap: 2rem; margin-bottom: 1.5rem; }
.song-section-head .eyebrow { grid-column: 1 / -1; color: var(--brand-accent-light); }
.song-section-head h3 { margin: .6rem 0 0; font-family: var(--brand-display); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.song-section-head > p:last-child { align-self: end; margin: 0; color: var(--brand-muted); line-height: 1.6; }
.song-chord-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.song-chord-card { position: relative; min-width: 0; padding: 1.15rem; overflow: hidden; border: 1px solid transparent; border-radius: 14px; background: var(--brand-paper); color: var(--brand-ink); break-inside: avoid; }
.song-chord-card.is-main::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--brand-accent); content: ''; }
.song-chord-card-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.song-chord-card h4 { margin: .45rem 0 .1rem; font-family: var(--brand-display); font-size: 2rem; font-weight: 600; line-height: 1; text-transform: uppercase; }
.song-chord-card-head p { margin: 0; color: #77756f; font-size: .65rem; }
.song-chord-badge { display: inline-flex; padding: .25rem .45rem; border-radius: 999px; background: rgba(95,124,255,.13); color: #4e69e5; font-size: .53rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.song-card-tuning { margin-top: .8rem; padding: .55rem .65rem; border-radius: 8px; background: rgba(95,124,255,.09); color: #4e69e5; font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-align: center; }
.song-chord-diagram { display: block; width: 100%; max-width: 220px; margin: .8rem auto 0; }
.song-no-shape { min-height: 190px; display: grid; place-items: center; padding: 1.5rem; color: #77756f; font-size: .72rem; line-height: 1.6; text-align: center; }
.song-learning-note { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; margin-top: 4rem; padding: 1.25rem 0; border-block: 1px solid var(--brand-line); }
.song-learning-note strong { color: var(--brand-accent-light); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.song-learning-note p { max-width: 720px; margin: 0; color: var(--brand-muted); line-height: 1.65; }
.song-promo { margin-top: 5rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 20px; background: var(--brand-panel); }
.song-promo-head .eyebrow { color: var(--brand-accent-light); }
.song-promo-head h3 { max-width: 700px; margin: .65rem 0 2rem; font-family: var(--brand-display); font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 600; line-height: .98; text-transform: uppercase; }
.song-promo-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--brand-line); border-radius: 14px; }
.song-promo-grid article { display: flex; min-height: 280px; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 3vw, 2rem); }
.song-promo-grid article + article { border-left: 1px solid var(--brand-line); }
.song-promo-grid article > span { color: var(--brand-accent-light); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.song-promo-grid h4 { margin: .75rem 0; font-family: var(--brand-display); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.song-promo-grid p { max-width: 470px; margin: 0 0 1.5rem; color: var(--brand-muted); line-height: 1.6; }
.song-promo-grid .btn { margin-top: auto; }
.song-community-link { display: inline-flex; margin-top: 1.5rem; color: var(--brand-accent-light); font-size: .78rem; font-weight: 700; }

@media (max-width: 900px) {
  .song-home-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .song-builder-shell { grid-template-columns: minmax(0, 1fr); }
  .song-builder-intro p:last-child { max-width: 680px; }
}

@media (max-width: 680px) {
  .song-home-feature-grid { padding: 1.5rem; border-radius: 18px; }
  .song-builder { padding-block: 1rem 3rem; }
  .song-builder-shell { padding: 1rem; border-radius: 18px; }
  .song-fields-two,
  .song-section-head,
  .song-promo-grid { grid-template-columns: minmax(0, 1fr); }
  .song-mode-tabs { align-items: stretch; flex-direction: column; }
  .song-mode-tabs button { flex: none; }
  .song-form-actions,
  .song-result-head { align-items: stretch; flex-direction: column; }
  .song-exact-list,
  .song-learning-note { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .song-section-head > p:last-child { margin-top: .75rem; }
  .song-chord-grid { grid-template-columns: minmax(0, 1fr); }
  .song-promo-grid article + article { border-top: 1px solid var(--brand-line); border-left: 0; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.song-tool-page { background: #fff !important; color: #0b0b0b !important; font-family: Arial, sans-serif; }
  .song-tool-page .site-header,
  .song-tool-page .song-tool-hero,
  .song-tool-page .song-builder,
  .song-tool-page .site-footer,
  .song-tool-page .screen-only,
  .song-tool-page .song-source { display: none !important; }
  .song-tool-page .print-only { display: block; }
  .song-tool-page .song-output { display: block !important; padding: 0; background: #fff !important; color: #0b0b0b !important; }
  .song-tool-page .song-output > .container { width: 100%; max-width: none; padding: 0; }
  .print-brand-header { margin-bottom: 10mm; padding-bottom: 5mm; border-bottom: 1px solid #c9c7c0; }
  .print-brand-header > a { display: inline-flex; align-items: center; gap: 3mm; color: #0b0b0b; font-weight: 700; text-decoration: none; }
  .print-brand-header > span { float: right; padding-top: 3mm; color: #66645f; font-size: 8pt; text-transform: uppercase; }
  .print-logo { display: grid; width: 11mm; height: 11mm; place-items: center; border: 1px solid #0b0b0b; border-radius: 50%; color: #5f7cff; font: 700 8pt/6pt Arial, sans-serif; text-align: center; }
  .song-result-head { display: block; padding-bottom: 5mm; border-bottom-color: #c9c7c0; }
  .song-result-head .eyebrow,
  .song-section-head .eyebrow,
  .song-promo-head .eyebrow { color: #4e69e5; }
  .song-result-head h2 { margin-top: 2mm; color: #0b0b0b; font-size: 32pt; }
  .song-result-head p:last-child { color: #55534e; }
  .song-exact-list { grid-template-columns: 42mm 1fr; margin: 6mm 0 10mm; }
  .song-exact-list > span { color: #55534e; }
  .song-exact-list > div span { border-color: #bdc7f5; background: #edf0ff; color: #304fcf; }
  .song-chord-section + .song-chord-section { margin-top: 12mm; }
  .song-section-head { display: block; margin-bottom: 5mm; }
  .song-section-head h3 { margin-top: 2mm; color: #0b0b0b; font-size: 22pt; }
  .song-section-head > p:last-child { margin-top: 2mm; color: #55534e; font-size: 8pt; }
  .song-chord-grid { grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .song-chord-card { padding: 4mm; border: 1px solid #d7d4cb; border-radius: 4mm; background: #f6f5f1; }
  .song-chord-card.is-main::before { background: #5f7cff; }
  .song-chord-card h4 { font-size: 19pt; }
  .song-chord-card-head p { color: #55534e; }
  .song-chord-badge { background: #e8ecff; color: #304fcf; }
  .song-card-tuning { background: #e8ecff; color: #304fcf; }
  .song-chord-diagram { max-width: 42mm; }
  .song-learning-note { grid-template-columns: 42mm 1fr; margin-top: 10mm; border-color: #c9c7c0; }
  .song-learning-note strong { color: #304fcf; }
  .song-learning-note p { color: #55534e; font-size: 8pt; }
  .song-promo { margin-top: 12mm; padding: 7mm; border: 1px solid #0b0b0b; border-radius: 5mm; background: #0b0b0b; color: #f0eee7; break-inside: avoid; }
  .song-promo-head h3 { margin: 2mm 0 5mm; font-size: 23pt; }
  .song-promo-grid { grid-template-columns: 1fr 1fr; border-color: #3b3b3b; }
  .song-promo-grid article { min-height: 52mm; padding: 5mm; }
  .song-promo-grid article + article { border-top: 0; border-left-color: #3b3b3b; }
  .song-promo-grid h4 { color: #f0eee7; font-size: 16pt; }
  .song-promo-grid p { color: #b8b6af; font-size: 8pt; }
  .song-promo-grid .btn { display: inline-block !important; min-height: 0; padding: 3mm 4mm; border-color: #5f7cff; background: #5f7cff; color: #fff; font-size: 8pt; text-decoration: none; }
  .song-community-link { color: #8299ff; font-size: 8pt; }
}

body:not(.course-page) .sound-section { background: #fff; }

/* Home: editorial sound explainer */
body:not(.course-page) .sound-section { padding-block: clamp(5.5rem, 9vw, 8.5rem); }
body:not(.course-page) .sound-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}
body:not(.course-page) .sound-intro .section-title { max-width: 720px; }
body:not(.course-page) .sound-intro .lead { max-width: 520px; margin: 0 0 .15rem; }
body:not(.course-page) .sound-card {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  background: var(--brand-ink);
  color: var(--brand-paper);
}
body:not(.course-page) .sound-card-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
body:not(.course-page) .sound-card-top > div > span { color: var(--brand-accent-light); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body:not(.course-page) .sound-card-top p { margin: .25rem 0 0; color: var(--brand-muted); font-size: .85rem; }
body:not(.course-page) .sound-card .btn.secondary { flex: 0 0 auto; border-color: rgba(255,255,255,.35); color: var(--brand-paper); }
body:not(.course-page) .sound-card .btn.secondary:hover { border-color: var(--brand-paper); background: var(--brand-paper); color: var(--brand-ink); }
body:not(.course-page) .sound-card .tuning-strip {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  border: 0;
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  border-radius: 0;
}
body:not(.course-page) .sound-card .tuning-note {
  min-height: 170px;
  align-content: center;
  gap: .2rem;
  border-color: var(--brand-line);
  background: transparent;
  color: var(--brand-paper);
  cursor: default;
}
body:not(.course-page) .sound-card .tuning-note:hover { background: transparent; color: var(--brand-paper); }
body:not(.course-page) .sound-card .tuning-note strong { font-size: clamp(3.4rem, 6vw, 5.5rem); line-height: .85; }
body:not(.course-page) .sound-card .tuning-note span { margin: .65rem 0 0; color: var(--brand-muted); font-family: var(--brand-body); font-size: .67rem; font-weight: 600; letter-spacing: .04em; }
body:not(.course-page) .sound-card .tuning-note small { color: #74726c; font-size: .61rem; }
body:not(.course-page) .sound-card .tuning-note.is-lowered strong,
body:not(.course-page) .sound-card .tuning-note.is-lowered small { color: var(--brand-accent-light); }
body:not(.course-page) .sound-card .fact-list { display: grid; grid-template-columns: repeat(3, 1fr); }
body:not(.course-page) .sound-card .fact-list li {
  display: block;
  min-width: 0;
  padding: 2rem clamp(1rem, 2vw, 2rem) .25rem;
  border: 0;
  border-left: 1px solid var(--brand-line);
}
body:not(.course-page) .sound-card .fact-list li:first-child { padding-left: 0; border-left: 0; }
body:not(.course-page) .sound-card .fact-list strong { display: block; margin-bottom: .8rem; color: var(--brand-accent-light); font-size: 1.55rem; }
body:not(.course-page) .sound-card .fact-list p { max-width: 300px; color: var(--brand-muted); font-size: .86rem; line-height: 1.55; }

@media (max-width: 800px) {
  body:not(.course-page) .sound-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  body:not(.course-page) .sound-intro .lead { margin: 0; }
}

@media (max-width: 620px) {
  body:not(.course-page) .sound-card { border-radius: 18px; }
  body:not(.course-page) .sound-card-top { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  body:not(.course-page) .sound-card .tuning-strip { grid-template-columns: repeat(3, 1fr); }
  body:not(.course-page) .sound-card .tuning-note { min-height: 125px; }
  body:not(.course-page) .sound-card .tuning-note:nth-child(3) { border-right: 0; }
  body:not(.course-page) .sound-card .tuning-note:nth-child(-n+3) { border-bottom: 1px solid var(--brand-line); }
  body:not(.course-page) .sound-card .tuning-note small { display: none; }
  body:not(.course-page) .sound-card .fact-list { grid-template-columns: 1fr; }
  body:not(.course-page) .sound-card .fact-list li,
  body:not(.course-page) .sound-card .fact-list li:first-child { padding: 1.5rem 0; border-top: 1px solid var(--brand-line); border-left: 0; }
  body:not(.course-page) .sound-card .fact-list li:first-child { border-top: 0; }
  body:not(.course-page) .sound-card .fact-list p { max-width: none; }
}

body:not(.course-page) .feature {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: #f0eee7;
  color: #0b0b0b;
}
body:not(.course-page) .feature .eyebrow { color: #5f7cff; }
body:not(.course-page) .feature .lead { color: #66645f; }
body:not(.course-page) .feature .btn { color: white; }
body:not(.course-page) .mini-chord-wall { transform: none; }
body:not(.course-page) .mini-chord,
body:not(.course-page) .mini-chord:nth-child(2n) {
  border-color: rgba(11,11,11,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: #0b0b0b;
  transform: none;
}

body:not(.course-page) .editorial { background: #fff; color: #0b0b0b; }
body:not(.course-page) .editorial .eyebrow { color: #5f7cff; }
body:not(.course-page) .article-card,
body:not(.course-page) .article-card:first-child {
  min-height: 360px;
  border-color: rgba(11,11,11,.13);
  background: #f7f6f2;
  color: #0b0b0b;
  box-shadow: none;
}
body:not(.course-page) .article-card p,
body:not(.course-page) .article-card:first-child p { color: #66645f; }
body:not(.course-page) .article-card:hover { border-color: #5f7cff; }

body:not(.course-page) .teacher { background: #f0eee7; }
body:not(.course-page) .portrait-placeholder { border-radius: 18px; box-shadow: none; }

body:not(.course-page) .page-hero,
.course-page .page-hero {
  min-height: auto;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: #0b0b0b;
}
body:not(.course-page) .page-hero::after,
.course-page .page-hero::before,
.course-page .page-hero::after { display: none; }
body:not(.course-page) .page-hero .display,
.course-page .page-hero .display { max-width: 880px; font-size: clamp(3.8rem, 6.8vw, 6.2rem); line-height: .94; }
body:not(.course-page) .page-hero .breadcrumbs,
.course-page .page-hero .breadcrumbs { margin-bottom: 3rem; }

.course-page .content-section { background: #f0eee7; color: #0b0b0b; }
.course-page .prose h2 { color: #0b0b0b; }
.course-page .prose p,
.course-page .prose li { color: #66645f; }
.course-page .callout { border-color: rgba(11,11,11,.12); border-left-color: #5f7cff; background: white; color: #66645f; }
.course-page .callout strong { color: #0b0b0b; }
.course-page .course-panel { box-shadow: none; }
.course-page .course-panel::after,
.course-page .module-list li::before { display: none; }
.course-page .feature { background: #fff; }
.course-page .feature::before { display: none; }
.course-page .mini-chord-wall { transform: none; }
.course-page .mini-chord,
.course-page .mini-chord:nth-child(2n) { border-radius: 12px; transform: none; }
.course-page main > .content-section:last-child { background: #f0eee7; }
.course-page main > .content-section:last-child .prose h2,
.course-page .faq summary { color: #0b0b0b; }
.course-page .faq details { border-top-color: rgba(11,11,11,.14); }
.course-page .next-card { border-color: rgba(95,124,255,.25); background: #0b0b0b; }
.course-page .next-card::after { display: none; }
.course-page .next-card h2 { color: #f0eee7; }
.course-page .next-card .eyebrow { color: #8299ff; }

/* Chord dictionary: compact, explicit and technical */
.chords-page .page-hero { padding-block: 3.5rem; }
.chords-page .page-hero .display { max-width: 720px; font-size: clamp(3.6rem, 5.7vw, 5.2rem); }
.chords-page .dictionary { padding: clamp(4rem, 7vw, 6rem) 0; background: #f6f5f1; }
.chords-page .dictionary-shell { grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; }
.chords-page .dictionary-controls {
  top: 92px;
  padding: 1.35rem;
  border-color: rgba(11,11,11,.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.chords-page .control-group + .control-group { margin-top: 1.25rem; }
.chords-page .search-input,
.chords-page .control-select { min-height: 48px; border-color: rgba(11,11,11,.14); border-radius: 9px; background: #f6f5f1; }
.chords-page .filter-pills { gap: .45rem; }
.chords-page .filter-pill { min-height: 40px; border-color: rgba(11,11,11,.15); background: white; }
.chords-page .filter-pill[aria-pressed="true"] { border-color: #5f7cff; background: #5f7cff; color: white; }
.chords-page .dictionary-tip { border-top-color: rgba(11,11,11,.12); color: #66645f; line-height: 1.55; }
body.chords-page .results-panel { min-width: 0; padding: 0; border-radius: 0; background: transparent; }
.chords-page .results-top { margin-bottom: 1.75rem; }
.chords-page .results-top .eyebrow { color: #5f7cff; }
.chords-page .result-count { color: #66645f; font-family: var(--brand-body); }
.chords-page .chord-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.chords-page .chord-group-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .5rem;
  padding: .25rem 0 .7rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: var(--brand-paper);
}
.chords-page .chord-group-heading strong { font-family: var(--brand-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.chords-page .chord-group-heading span { color: var(--brand-muted); font-size: .72rem; }
.chords-page .chord-card {
  padding: 1.15rem;
  border: 1px solid rgba(11,11,11,.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  transition: border-color .18s, transform .18s;
}
.chords-page .chord-card:hover { border-color: #5f7cff; transform: translateY(-2px); }
.chords-page .chord-name { font-size: 2rem; }
.chords-page .chord-type { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: #77756f; font-family: var(--brand-body); font-weight: 600; }
.chords-page .course-badge { padding: .25rem .45rem; border-radius: 999px; background: rgba(95,124,255,.13); color: #4e69e5; font-size: .55rem; letter-spacing: .08em; }
.chords-page .is-course-voicing::before { position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 14px 0 0 14px; background: var(--brand-accent); content: ''; }
.chords-page .play-chord { border-color: rgba(11,11,11,.14); }
.chords-page .play-chord:hover { border-color: #5f7cff; background: #5f7cff; color: white; }
.chords-page .chord-tuning {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  padding: .6rem .7rem;
  border-radius: 8px;
  background: rgba(95,124,255,.09);
  color: #0b0b0b;
  font-family: var(--brand-body);
  font-size: .62rem;
}
.chords-page .chord-tuning span,
.chords-page .chord-tuning small { color: #77756f; font-size: .55rem; text-transform: uppercase; white-space: nowrap; }
.chords-page .chord-tuning strong { color: #4e69e5; font-size: .57rem; font-weight: 500; text-align: center; white-space: nowrap; }
.chords-page .chord-diagram { max-width: 230px; margin: 1rem auto 0; }
.chords-page .content-section { background: #fff; }

@media (max-width: 900px) {
  .chords-page .dictionary-shell { grid-template-columns: minmax(0, 1fr); }
  .chords-page .dictionary-shell > *,
  .chords-page .filter-pills { min-width: 0; max-width: 100%; }
  .chords-page .dictionary-controls { position: static; }
}

@media (max-width: 680px) {
  body:not(.course-page) .hero .display,
  body:not(.course-page) .page-hero .display,
  .course-page .page-hero .display { font-size: clamp(3.2rem, 15vw, 4.7rem); }
  body:not(.course-page) .hero { padding-block: 4rem; }
  body:not(.course-page) .tuning-object { min-height: 360px; border-radius: 18px; }
  body:not(.course-page) .path-card,
  body:not(.course-page) .path-card:first-child { min-height: 200px; }
  .course-page .page-hero { padding-block: 4rem; }
  .course-page .page-hero .breadcrumbs { margin-bottom: 2.5rem; }
  .chords-page .page-hero .display { max-width: 100%; font-size: clamp(3.1rem, 13vw, 4.2rem); }
  .chords-page .dictionary { padding-block: 3.5rem; }
  .chords-page .chord-grid { grid-template-columns: minmax(0, 1fr); }
  .chords-page .chord-group-heading { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .chords-page .chord-card { width: 100%; min-width: 0; padding: 1rem; }
  .chords-page .chord-tuning { grid-template-columns: auto minmax(0, 1fr); }
  .chords-page .chord-tuning small { display: none; }
}

/* Unified editorial system */
body:not(.course-page) .eyebrow,
body:not(.course-page) .breadcrumbs,
body:not(.course-page) .article-tag,
body:not(.course-page) .footer-col h2,
body:not(.course-page) .control-label,
.course-page .eyebrow,
.course-page .breadcrumbs,
.course-page .footer-col h2 {
  font-family: var(--brand-body, var(--course-body));
  font-weight: 700;
  letter-spacing: .1em;
}

body:not(.home-page) .page-hero {
  min-height: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  border: 0;
  background: var(--brand-paper, var(--course-paper));
}

body:not(.home-page) .page-hero .container {
  padding: clamp(2rem, 6vw, 5.5rem);
  border: 1px solid var(--brand-line, var(--course-line));
  border-radius: 24px;
  background: var(--brand-ink, var(--course-ink));
  color: var(--brand-paper, var(--course-paper));
}

body:not(.home-page) .page-hero .breadcrumbs { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
body:not(.home-page) .page-hero .display { max-width: 900px; color: var(--brand-paper, var(--course-paper)); }
body:not(.home-page) .page-hero .lead { max-width: 700px; color: var(--brand-muted, var(--course-muted)); }

body:not(.home-page) .content-section {
  padding-block: clamp(2rem, 5vw, 5rem);
  background: var(--brand-paper, var(--course-paper));
  color: var(--brand-ink, var(--course-ink));
}

body:not(.home-page) .content-section > .narrow.prose {
  width: min(calc(100% - 3rem), 940px);
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(11,11,11,.1);
  border-radius: 24px;
  background: #fff;
}

body:not(.home-page) .prose h2 { max-width: 760px; margin-top: clamp(3.5rem, 7vw, 6rem); }
body:not(.home-page) .prose > h2:first-child,
body:not(.home-page) .prose > .eyebrow + h2 { margin-top: 1rem; }
body:not(.home-page) .prose p,
body:not(.home-page) .prose li { max-width: 760px; }
body:not(.home-page) .prose a { text-decoration-color: var(--brand-accent, var(--course-accent)); }

body:not(.home-page) .callout {
  margin-block: 3rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(95,124,255,.2);
  border-left: 4px solid var(--brand-accent, var(--course-accent));
  border-radius: 14px;
  background: rgba(95,124,255,.07);
}

body:not(.home-page) .next-card {
  overflow: hidden;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: var(--brand-ink, var(--course-ink));
  color: var(--brand-paper, var(--course-paper));
}

body:not(.home-page) .next-card h2 { max-width: 700px; margin: .7rem 0 2rem; }

body:not(.course-page) .editorial {
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
  background: #fff;
  color: var(--brand-ink);
}

body:not(.course-page) .editorial-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
body:not(.course-page) .editorial .article-grid {
  gap: 1px;
  overflow: hidden;
  padding: 1px;
  border-radius: 24px;
  background: var(--brand-dark-line);
}

body:not(.course-page) .editorial .article-card,
body:not(.course-page) .editorial .article-card:first-child {
  min-height: 380px;
  border: 0;
  border-radius: 0;
  background: var(--brand-ink);
  color: var(--brand-paper);
  transition: background .2s, box-shadow .2s;
}

body:not(.course-page) .editorial .article-card:hover { background: var(--brand-panel-2); box-shadow: inset 0 3px 0 var(--brand-accent); }
body:not(.course-page) .editorial .article-tag { color: var(--brand-accent-light); }
body:not(.course-page) .editorial .article-card p,
body:not(.course-page) .editorial .article-card:first-child p,
body:not(.course-page) .editorial .article-card .muted { color: var(--brand-muted); }
body:not(.course-page) .editorial .article-link { color: var(--brand-paper); }

body:not(.course-page) .feature,
.course-page .feature { padding-block: clamp(2rem, 5vw, 4.5rem); background: var(--brand-paper, var(--course-paper)); }

body:not(.course-page) .feature > .container,
.course-page .feature > .container {
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 24px;
  background: var(--brand-ink, var(--course-ink));
  color: var(--brand-paper, var(--course-paper));
}

body:not(.course-page) .feature .section-title,
.course-page .feature .section-title { color: var(--brand-paper, var(--course-paper)); }
body:not(.course-page) .feature .lead,
.course-page .feature .lead { color: var(--brand-muted, var(--course-muted)); }
body:not(.course-page) .feature .mini-chord,
body:not(.course-page) .feature .mini-chord:nth-child(2n),
.course-page .feature .mini-chord,
.course-page .feature .mini-chord:nth-child(2n) {
  border-color: var(--brand-line, var(--course-line));
  border-radius: 14px;
  background: var(--brand-panel-2, var(--course-panel-2));
  color: var(--brand-paper, var(--course-paper));
}

body:not(.course-page) .teacher { padding-block: clamp(2rem, 5vw, 4.5rem); background: var(--brand-paper); }
body:not(.course-page) .teacher-grid {
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 24px;
  background: var(--brand-ink);
  color: var(--brand-paper);
}
body:not(.course-page) .teacher .portrait-placeholder { min-height: 480px; border: 1px solid var(--brand-line); border-radius: 18px; background: var(--brand-panel-2); }
body:not(.course-page) .teacher .portrait-placeholder::after { content: "DADGAD · desde 2008"; }
body:not(.course-page) .teacher .section-title { color: var(--brand-paper); }
body:not(.course-page) .teacher .teacher-copy blockquote { color: var(--brand-accent-light); }
body:not(.course-page) .teacher .teacher-copy p { color: var(--brand-muted); }

body.home-page .about-note { padding-block: 2rem; border: 0; background: #fff; }
body.home-page .about-note-grid { padding: clamp(1.75rem, 4vw, 3rem); border-radius: 20px; background: var(--brand-paper); }
body.home-page .community { padding-block: clamp(2rem, 5vw, 4.5rem); background: #fff; color: var(--brand-paper); }
body.home-page .community-grid { padding: clamp(2rem, 5vw, 4rem); border-radius: 24px; background: var(--brand-ink); }
body.home-page .community .eyebrow { color: var(--brand-accent-light); }
body.home-page .community .btn { border-color: var(--brand-accent); background: var(--brand-accent); color: white; }

body:not(.course-page) .tuner-stage {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-color: var(--brand-line);
  border-radius: 18px;
  background: var(--brand-panel);
}
body:not(.course-page) .tuner-string { min-height: 280px; border-color: var(--brand-line); background: transparent; color: var(--brand-paper); }
body:not(.course-page) .tuner-string:hover { background: var(--brand-panel-2); color: var(--brand-paper); }
body:not(.course-page) .tuner-string.is-playing { background: var(--brand-accent); color: white; }
body:not(.course-page) .tuner-string .string-line { background: currentColor; opacity: .3; }
body:not(.course-page) .tuner-meta { font-family: var(--brand-body); font-weight: 700; }

.chords-page .dictionary { padding-block: clamp(2rem, 5vw, 5rem); background: var(--brand-paper); }
.chords-page .dictionary-shell {
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px;
  background: var(--brand-ink);
}
body.chords-page .dictionary-controls { border-color: rgba(11,11,11,.12); border-radius: 16px; background: #fff; color: var(--brand-ink); }
body.chords-page .control-label { color: var(--brand-accent); }
body.chords-page .search-input,
body.chords-page .control-select { border-color: rgba(11,11,11,.18); background: var(--brand-paper); color: var(--brand-ink); caret-color: var(--brand-accent); }
body.chords-page .search-input::placeholder { color: #77756f; opacity: 1; }
body.chords-page .search-input:focus,
body.chords-page .control-select:focus { border-color: var(--brand-accent); outline: 2px solid rgba(95,124,255,.28); outline-offset: 2px; }
body.chords-page .control-select option { background: #fff; color: var(--brand-ink); }
body.chords-page .filter-pill { border-color: rgba(11,11,11,.14); background: transparent; color: #55534e; }
body.chords-page .filter-pill:hover { border-color: var(--brand-accent); background: rgba(95,124,255,.09); color: var(--brand-ink); }
body.chords-page .filter-pill[aria-pressed="true"] { border-color: var(--brand-accent); background: var(--brand-accent); color: #fff; }
body.chords-page .dictionary-tip { border-top-color: rgba(11,11,11,.12); color: #77756f; }
.chords-page .results-top h2 { color: var(--brand-paper); }
.chords-page .result-count { color: var(--brand-muted); }
.chords-page .fixed-tuning-note { margin: 0 0 1.5rem; padding: 1rem 1.15rem; border: 1px solid rgba(130,153,255,.22); border-radius: 12px; background: rgba(95,124,255,.1); color: var(--brand-muted); font-size: .78rem; line-height: 1.55; }
.chords-page .fixed-tuning-note strong { color: var(--brand-accent-light); }
.chords-page .chord-card { border-color: transparent; border-radius: 14px; background: var(--brand-paper); }
.chords-page .chord-card:hover { border-color: var(--brand-accent); }

.contact-page .path-card h3 { max-width: none; font-size: clamp(1.8rem, 2.4vw, 2.3rem); overflow-wrap: anywhere; }

.course-page .content-section > .course-intro {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(11,11,11,.1);
  border-radius: 24px;
  background: #fff;
}
.course-page .course-panel { border-radius: 18px; background: var(--course-ink); }
.course-page main > .content-section:last-child .narrow { display: block; max-width: 940px; }
.course-page main > .content-section:last-child > .narrow > h2:nth-of-type(2) { margin-top: clamp(4rem, 8vw, 7rem); }
.course-page .faq { overflow: hidden; margin-top: 2rem; border: 1px solid rgba(11,11,11,.1); border-radius: 16px; }
.course-page .faq details { padding: 1.1rem 1.4rem; border-top-color: rgba(11,11,11,.1); }
.course-page .faq details:first-child { border-top: 0; }

body:not(.course-page) .site-footer,
.course-page .site-footer { padding-top: clamp(4rem, 7vw, 6rem); }
body:not(.course-page) .footer-col h2,
.course-page .footer-col h2 { font-family: var(--brand-body, var(--course-body)); }

@media (max-width: 900px) {
  body:not(.home-page) .page-hero .container { padding: clamp(2rem, 7vw, 4rem); }
  body:not(.course-page) .editorial .article-grid { grid-template-columns: 1fr 1fr; }
  body:not(.course-page) .editorial .article-card:first-child { grid-column: span 2; }
  .course-page .content-section > .course-intro { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body:not(.home-page) .page-hero { padding-top: .75rem; }
  body:not(.home-page) .page-hero .container,
  body:not(.home-page) .content-section > .narrow.prose,
  .course-page .content-section > .course-intro { width: min(calc(100% - 1.5rem), var(--max)); padding: 1.5rem; border-radius: 18px; }
  body:not(.home-page) .page-hero .display { font-size: clamp(3rem, 14vw, 4.4rem); }
  body:not(.course-page) .editorial .article-grid { grid-template-columns: 1fr; border-radius: 18px; }
  body:not(.course-page) .editorial .article-card:first-child { grid-column: auto; }
  body:not(.course-page) .editorial .article-card { min-height: 320px; }
  body:not(.course-page) .path-card,
  body:not(.course-page) .path-card:first-child { min-height: 250px; }
  body:not(.course-page) .feature > .container,
  .course-page .feature > .container,
  body:not(.course-page) .teacher-grid,
  body.home-page .community-grid { border-radius: 18px; }
  body:not(.course-page) .teacher .portrait-placeholder { min-height: 360px; }
  body:not(.course-page) .tuner-stage { grid-template-columns: repeat(3, 1fr); }
  body:not(.course-page) .tuner-string { min-height: 190px; border-bottom: 1px solid var(--brand-line); }
  body:not(.course-page) .tuner-string:nth-child(3) { border-right: 0; }
  body:not(.course-page) .tuner-string:nth-last-child(-n+3) { border-bottom: 0; }
  .chords-page .dictionary-shell { border-radius: 18px; }
  .chords-page .dictionary-controls { padding: 1.1rem; }
}

/* Course sales page */
.course-sales-page #programa,
.course-sales-page #valor { scroll-margin-top: 92px; }

.course-sales-page .sales-hero {
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--course-paper);
}

.course-sales-page .sales-hero::after { display: none; }
.course-sales-page .sales-hero .sales-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--course-line);
  border-radius: 24px;
  background: var(--course-ink);
  color: var(--course-paper);
}

.course-sales-page .sales-hero .breadcrumbs { grid-column: 1 / -1; margin: 0; }
.course-sales-page .sales-hero-copy,
.course-sales-page .sales-video-wrap { min-width: 0; }
.course-sales-page .sales-hero .display { max-width: 720px; font-size: clamp(4rem, 7vw, 7rem); }
.course-sales-page .sales-hero .lead { max-width: 620px; }

.sales-proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--course-line);
  list-style: none;
}

.sales-proof-list li { min-width: 0; padding-right: 1rem; }
.sales-proof-list li + li { padding-left: 1rem; border-left: 1px solid var(--course-line); }
.sales-proof-list strong { display: block; color: var(--course-accent-light); font-family: var(--course-display); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; }
.sales-proof-list span { display: block; margin-top: .25rem; color: var(--course-muted); font-size: .68rem; line-height: 1.35; }

.sales-video-wrap {
  align-self: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--course-line);
  border-radius: 18px;
  background: var(--course-panel-2);
  box-shadow: var(--course-shadow);
}

.sales-video-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.sales-video-label span { color: var(--course-muted); }
.sales-video-label strong { color: var(--course-accent-light); }
.sales-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #000; }
.sales-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sales-video-wrap > p { margin: 1rem 0 0; color: var(--course-muted); font-size: .76rem; line-height: 1.55; }

.course-sales-page .sales-story { background: var(--course-paper); }
.course-sales-page .sales-story .course-intro { align-items: stretch; }
.course-sales-page .sales-story .prose h2 { color: var(--course-ink); }
.course-sales-page .sales-story .prose p { color: #5d5c57; }
.course-sales-page .sales-problem-panel { display: flex; flex-direction: column; justify-content: center; }
.course-sales-page .sales-problem-panel .section-title { color: var(--course-paper); font-size: clamp(2.5rem, 4.5vw, 4.2rem); }
.course-sales-page .sales-problem-panel > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 560px; color: var(--course-muted); }
.text-link { position: relative; z-index: 1; display: inline-flex; width: fit-content; margin-top: 1rem; color: var(--course-accent-light); font-size: .78rem; font-weight: 700; }
.text-link.dark { color: var(--course-accent); }

.course-sales-page .sales-outcomes .feature-grid { align-items: center; }
.sales-check-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border: 1px solid var(--course-line); border-radius: 16px; list-style: none; }
.sales-check-list li { position: relative; min-height: 112px; display: flex; align-items: flex-end; padding: 2.8rem 1.35rem 1.25rem; color: var(--course-paper); font-size: .85rem; line-height: 1.45; }
.sales-check-list li:nth-child(2n) { border-left: 1px solid var(--course-line); }
.sales-check-list li:nth-child(n+3) { border-top: 1px solid var(--course-line); }
.sales-check-list li::before { content: "✓"; position: absolute; top: 1rem; left: 1.35rem; color: var(--course-accent-light); font-weight: 700; }

.course-sales-page .sales-program { background: var(--course-paper); }
.sales-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.sales-section-head .section-title { margin: .6rem 0 0; color: var(--course-ink); font-size: clamp(3rem, 6vw, 5.5rem); }
.sales-section-head > p { margin: 0; color: #65635e; line-height: 1.65; }
.sales-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 4rem 0 0; padding: 1px; border-radius: 20px; background: rgba(11,11,11,.18); list-style: none; counter-reset: none; }
.sales-module-grid li { position: relative; min-height: 340px; padding: clamp(1.8rem, 4vw, 3.2rem); background: var(--course-ink); color: var(--course-paper); }
.sales-module-grid li::after { content: "DADGAD"; position: absolute; right: 1rem; bottom: -.55rem; color: transparent; font-family: var(--course-display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; line-height: 1; opacity: .12; -webkit-text-stroke: 1px var(--course-accent-light); pointer-events: none; }
.sales-module-grid span { display: inline-grid; width: 42px; aspect-ratio: 1; place-items: center; border: 1px solid var(--course-accent); border-radius: 50%; color: var(--course-accent-light); font-size: .72rem; font-weight: 700; }
.sales-module-grid h3 { position: relative; z-index: 1; max-width: 470px; margin: 3rem 0 1rem; font-family: var(--course-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.sales-module-grid p { position: relative; z-index: 1; max-width: 470px; color: var(--course-muted); line-height: 1.65; }

.course-sales-page .sales-bonuses { background: var(--course-ink); color: var(--course-paper); }
.sales-bonus-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.sales-bonus-intro { position: sticky; top: 110px; }
.sales-bonus-intro .section-title { margin: .7rem 0 1.5rem; color: var(--course-paper); font-size: clamp(3rem, 6vw, 5rem); }
.sales-bonus-intro > p:last-child { max-width: 430px; color: var(--course-muted); line-height: 1.65; }
.course-sales-page .sales-bonus-list { margin: 0; border-color: var(--course-line); background: var(--course-panel); }
.course-sales-page .sales-bonus-list details { border-top-color: var(--course-line); }
.course-sales-page .sales-bonus-list summary { min-height: 72px; color: var(--course-paper); }
.course-sales-page .sales-bonus-list details p { color: var(--course-muted); }

.course-offer { padding: clamp(3rem, 7vw, 7rem) 0; background: var(--course-accent); color: white; }
.offer-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.offer-copy .eyebrow { color: white; }
.offer-copy .section-title { max-width: 700px; margin: 1rem 0 2rem; color: white; font-size: clamp(3rem, 6vw, 5.6rem); }
.offer-includes { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.5rem; padding: 0; list-style: none; }
.offer-includes li { position: relative; padding-left: 1.2rem; font-size: .83rem; }
.offer-includes li::before { content: "•"; position: absolute; left: 0; color: var(--course-ink); }
.offer-card { display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.2rem); border-radius: 20px; background: var(--course-ink); box-shadow: var(--course-shadow); }
.offer-was { color: var(--course-muted); font-size: .82rem; }
.offer-kicker { margin-top: 2rem; color: var(--course-paper); font-size: .78rem; text-transform: uppercase; }
.offer-price { margin-top: .3rem; color: var(--course-accent-light); font-family: var(--course-display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 600; letter-spacing: -.04em; line-height: .9; }
.offer-cash { margin-top: .7rem; color: var(--course-paper); font-size: 1rem; }
.offer-card .btn { width: 100%; margin-top: 2rem; border-color: var(--course-paper); background: var(--course-paper); color: var(--course-ink); text-align: center; }
.offer-card .btn:hover { border-color: white; background: white; color: var(--course-ink); }
.offer-card > p { margin: .8rem 0 0; color: var(--course-muted); font-size: .68rem; text-align: center; }

.course-sales-page .sales-guarantee { background: var(--course-paper); }
.guarantee-grid { display: grid; grid-template-columns: minmax(200px, .4fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(11,11,11,.1); border-radius: 24px; background: #fff; }
.guarantee-mark { width: min(100%, 270px); aspect-ratio: 1; display: grid; place-content: center; border: 1px solid var(--course-accent); border-radius: 50%; color: var(--course-accent); text-align: center; }
.guarantee-mark strong { font-family: var(--course-display); font-size: clamp(5rem, 10vw, 8rem); font-weight: 600; line-height: .7; }
.guarantee-mark span { margin-top: .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.course-sales-page .sales-guarantee .prose h2 { color: var(--course-ink); }
.course-sales-page .sales-guarantee .prose p { color: #5d5c57; }

.course-sales-page .sales-teacher .feature-grid { align-items: center; }
.sales-teacher-copy { color: var(--course-muted); line-height: 1.7; }
.sales-teacher-copy blockquote { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--course-line); color: var(--course-accent-light); font-family: var(--course-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; text-transform: uppercase; }

.course-sales-page .sales-faq-section { background: var(--course-paper); }
.course-sales-page .sales-faq-section > .narrow { padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(11,11,11,.1); border-radius: 24px; background: #fff; }
.course-sales-page .sales-faq-section .faq { margin-top: 3rem; }
.course-sales-page .sales-faq-section .faq summary { min-height: 68px; color: var(--course-ink); }
.course-sales-page .sales-faq-section .faq details p { color: #5d5c57; }
.sales-contact { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: 14px; background: rgba(95,124,255,.09); color: #5d5c57; font-size: .8rem; }
.sales-contact a { color: var(--course-accent); font-weight: 700; }

.sales-final { padding: 0 0 clamp(3rem, 7vw, 7rem); background: var(--course-paper); }
.course-sales-page .sales-final .next-card { margin-top: 0; }

@media (max-width: 980px) {
  .course-sales-page .sales-hero .sales-hero-grid,
  .offer-shell { grid-template-columns: 1fr; }
  .sales-video-wrap { width: 100%; max-width: 760px; }
  .sales-bonus-grid { grid-template-columns: 1fr; }
  .sales-bonus-intro { position: static; }
  .offer-card { width: 100%; max-width: 620px; }
}

@media (max-width: 760px) {
  .course-sales-page .sales-hero .sales-hero-grid { gap: 2.25rem; }
  .course-sales-page .sales-hero .display { font-size: clamp(3.3rem, 15vw, 5.4rem); }
  .sales-proof-list { grid-template-columns: 1fr; gap: .9rem; }
  .sales-proof-list li { padding: 0; }
  .sales-proof-list li + li { padding: .9rem 0 0; border-top: 1px solid var(--course-line); border-left: 0; }
  .sales-section-head,
  .sales-module-grid,
  .guarantee-grid { grid-template-columns: 1fr; }
  .sales-module-grid li { min-height: 300px; }
  .guarantee-mark { max-width: 210px; }
  .sales-contact { flex-direction: column; }
}

@media (max-width: 620px) {
  .course-sales-page .sales-hero .sales-hero-grid { width: min(calc(100% - 1.5rem), var(--max)); padding: 1.5rem; border-radius: 18px; }
  .sales-video-wrap { padding: .75rem; border-radius: 14px; }
  .sales-video-label { flex-direction: column; gap: .25rem; }
  .sales-check-list { grid-template-columns: 1fr; }
  .sales-check-list li { min-height: 96px; border-top: 1px solid var(--course-line); border-left: 0 !important; }
  .sales-check-list li:first-child { border-top: 0; }
  .sales-module-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .sales-module-grid li { min-height: 270px; }
  .offer-includes { grid-template-columns: 1fr; }
  .offer-price { font-size: clamp(4rem, 21vw, 6rem); }
  .course-sales-page .sales-faq-section > .narrow { width: min(calc(100% - 1.5rem), var(--max)); padding: 1.5rem; border-radius: 18px; }
}

/* Course sales page — traditional vertical flow */
.course-sales-page .sales-hero .sales-hero-grid {
  display: block;
  max-width: 1120px;
}

.course-sales-page .sales-hero .breadcrumbs { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.course-sales-page .sales-hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.course-sales-page .sales-hero-copy .eyebrow { justify-content: center; }
.course-sales-page .sales-hero .display { max-width: 900px; margin-inline: auto; font-size: clamp(4.2rem, 8vw, 7.4rem); }
.course-sales-page .sales-hero .lead { max-width: 720px; margin: 1.6rem auto 0; }
.course-sales-page .sales-video-wrap { width: min(100%, 920px); margin: clamp(2.5rem, 5vw, 4.5rem) auto 0; }
.course-sales-page .sales-hero-action { width: min(100%, 760px); margin: 2.25rem auto 0; text-align: center; }
.course-sales-page .sales-hero-action .hero-actions { justify-content: center; margin-top: 0; }
.course-sales-page .sales-hero-action .sales-proof-list { margin-top: 2rem; text-align: left; }

.course-sales-page .sales-story .course-intro {
  display: block;
  max-width: 960px;
}

.course-sales-page .sales-story .prose { max-width: 780px; margin-inline: auto; }
.course-sales-page .sales-story .sales-problem-panel { max-width: 780px; margin: clamp(3rem, 6vw, 5rem) auto 0; }

.course-sales-page .sales-outcomes .feature-grid {
  display: block;
  max-width: 960px;
}

.course-sales-page .sales-outcomes .feature-grid > div { max-width: 760px; margin-inline: auto; text-align: center; }
.course-sales-page .sales-outcomes .feature-grid .eyebrow { justify-content: center; }
.course-sales-page .sales-check-list { grid-template-columns: 1fr; max-width: 760px; margin: 3rem auto 0; }
.course-sales-page .sales-check-list li { min-height: 84px; align-items: center; padding: 1.4rem 1.5rem 1.4rem 3.8rem; }
.course-sales-page .sales-check-list li::before { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.course-sales-page .sales-check-list li:nth-child(n) { border-top: 1px solid var(--course-line); border-left: 0; }
.course-sales-page .sales-check-list li:first-child { border-top: 0; }

.course-sales-page .sales-program .sales-section-head,
.course-sales-page .sales-faq-section .sales-section-head {
  display: block;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.course-sales-page .sales-program .sales-section-head .eyebrow,
.course-sales-page .sales-faq-section .sales-section-head .eyebrow { justify-content: center; }
.course-sales-page .sales-section-head > p { max-width: 620px; margin: 1.5rem auto 0; }
.course-sales-page .sales-module-grid { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.course-sales-page .sales-module-grid li { min-height: 0; padding: clamp(2rem, 5vw, 3.5rem); }
.course-sales-page .sales-module-grid li::after { font-size: clamp(4rem, 12vw, 8rem); }
.course-sales-page .sales-module-grid h3 { margin-top: 1.8rem; }

.course-sales-page .sales-bonus-grid {
  display: block;
  max-width: 900px;
}

.course-sales-page .sales-bonus-intro { position: static; max-width: 760px; margin-inline: auto; text-align: center; }
.course-sales-page .sales-bonus-intro .eyebrow { justify-content: center; }
.course-sales-page .sales-bonus-intro > p:last-child { margin-inline: auto; }
.course-sales-page .sales-bonus-list { margin: clamp(3rem, 6vw, 5rem) auto 0; }

.course-sales-page .offer-shell { display: block; max-width: 900px; }
.course-sales-page .offer-copy { max-width: 760px; margin-inline: auto; text-align: center; }
.course-sales-page .offer-copy .eyebrow { justify-content: center; }
.course-sales-page .offer-copy .section-title { margin-inline: auto; }
.course-sales-page .offer-includes { grid-template-columns: 1fr; width: fit-content; margin: 2rem auto 0; text-align: left; }
.course-sales-page .offer-card { width: min(100%, 620px); margin: clamp(3rem, 6vw, 5rem) auto 0; }

.course-sales-page .guarantee-grid { display: block; max-width: 900px; text-align: center; }
.course-sales-page .guarantee-mark { width: min(100%, 230px); margin: 0 auto 3rem; }
.course-sales-page .sales-guarantee .prose { max-width: 720px; margin-inline: auto; }
.course-sales-page .sales-guarantee .prose .eyebrow { justify-content: center; }
.course-sales-page .sales-guarantee .prose h2,
.course-sales-page .sales-guarantee .prose p { margin-inline: auto; }

.course-sales-page .sales-teacher .feature-grid { display: block; max-width: 920px; }
.course-sales-page .sales-teacher .feature-grid > div:first-child { max-width: 720px; margin-inline: auto; text-align: center; }
.course-sales-page .sales-teacher .feature-grid .eyebrow { justify-content: center; }
.course-sales-page .sales-teacher-copy { max-width: 720px; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.course-sales-page .sales-teacher-copy blockquote { text-align: center; }

.course-sales-page .sales-faq-section > .narrow,
.course-sales-page .sales-final .next-card { max-width: 940px; }
.course-sales-page .sales-final .next-card { margin-inline: auto; text-align: center; }
.course-sales-page .sales-final .next-card .eyebrow { justify-content: center; }
.course-sales-page .sales-final .next-card h2 { margin-inline: auto; }

@media (max-width: 700px) {
  .course-sales-page .sales-hero .sales-hero-grid { padding: 1.5rem; }
  .course-sales-page .sales-hero .display { font-size: clamp(3.3rem, 16vw, 5rem); }
  .course-sales-page .sales-proof-list { grid-template-columns: 1fr; }
  .course-sales-page .sales-proof-list li { padding: .85rem 0; text-align: center; }
  .course-sales-page .sales-proof-list li + li { border-top: 1px solid var(--course-line); border-left: 0; }
  .course-sales-page .sales-module-grid li { padding: 1.75rem; }
  .course-sales-page .sales-section-head .section-title,
  .course-sales-page .sales-bonus-intro .section-title,
  .course-sales-page .offer-copy .section-title { font-size: clamp(2.8rem, 14vw, 4.2rem); }
}

/* Course sales page — modern editorial treatment */
.course-sales-page { background: var(--course-ink); }
.course-sales-page .sales-hero {
  min-height: 100svh;
  padding: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(95,124,255,.16), transparent 34rem),
    var(--course-ink);
}

.course-sales-page .sales-hero .sales-hero-grid {
  width: min(calc(100% - 3rem), 1080px);
  max-width: none;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(5rem, 10vw, 9rem);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sales-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: clamp(5rem, 11vw, 9rem);
  color: var(--course-paper);
  font-size: .68rem;
  line-height: 1.05;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.sales-brand-lockup > span {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: var(--course-accent-light);
  font-family: var(--course-display);
  font-size: .72rem;
  font-weight: 600;
  line-height: .8;
  text-align: center;
}

.sales-brand-lockup strong { font-weight: 600; }
.course-sales-page .sales-hero-copy { max-width: 980px; }
.course-sales-page .sales-hero .display { font-size: clamp(4.5rem, 9.4vw, 8.7rem); line-height: .84; letter-spacing: -.045em; }
.course-sales-page .sales-hero .lead { max-width: 660px; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.65; }
.course-sales-page .sales-video-wrap {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.course-sales-page .sales-video { border-color: rgba(255,255,255,.2); border-radius: 3px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.course-sales-page .sales-video-label { padding-bottom: .85rem; border-bottom: 1px solid var(--course-line); }
.course-sales-page .sales-video-wrap > p { max-width: 620px; }
.course-sales-page .sales-hero-action { margin-top: 2.5rem; }
.course-sales-page .sales-hero-action .hero-actions .btn { min-width: min(100%, 330px); }
.course-sales-page .sales-proof-list { border-bottom: 1px solid var(--course-line); }

.course-sales-page .content-section,
.course-sales-page .feature,
.course-sales-page .course-offer,
.course-sales-page .sales-final { padding-block: clamp(6rem, 11vw, 10rem); }

.course-sales-page .sales-story { background: var(--course-paper); }
.course-sales-page .sales-story .course-intro {
  max-width: 860px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-story .prose { max-width: 760px; }
.course-sales-page .sales-story .prose h2 { font-size: clamp(3.4rem, 7vw, 6.2rem); }
.course-sales-page .sales-problem-panel {
  display: block;
  max-width: 760px;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  border: 0;
  border-top: 2px solid var(--course-accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.course-sales-page .sales-problem-panel::after { display: none; }
.course-sales-page .sales-problem-panel .section-title { max-width: 720px; color: var(--course-ink); }
.course-sales-page .sales-problem-panel > p:not(.eyebrow) { color: #5d5c57; }

.course-sales-page .sales-outcomes,
.course-sales-page .sales-teacher { background: var(--course-ink); }
.course-sales-page .sales-outcomes .feature-grid,
.course-sales-page .sales-teacher .feature-grid {
  width: min(calc(100% - 3rem), 900px);
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-check-list {
  border: 0;
  border-bottom: 1px solid var(--course-line);
  border-radius: 0;
}

.course-sales-page .sales-check-list li {
  min-height: 76px;
  border-top: 1px solid var(--course-line) !important;
  padding-left: 3rem;
}

.course-sales-page .sales-check-list li:first-child { border-top: 1px solid var(--course-line) !important; }
.course-sales-page .sales-check-list li::before { left: 0; }

.course-sales-page .sales-program { background: var(--course-paper); }
.course-sales-page .sales-module-grid {
  max-width: 960px;
  gap: 0;
  overflow: visible;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-module-grid li {
  display: grid;
  grid-template-columns: 90px minmax(220px, .8fr) minmax(280px, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid rgba(11,11,11,.18);
  background: transparent;
  color: var(--course-ink);
}

.course-sales-page .sales-module-grid li:last-child { border-bottom: 1px solid rgba(11,11,11,.18); }
.course-sales-page .sales-module-grid li::after { display: none; }
.course-sales-page .sales-module-grid span {
  width: auto;
  display: block;
  border: 0;
  border-radius: 0;
  color: var(--course-accent);
  font-family: var(--course-display);
  font-size: 2.6rem;
  line-height: 1;
}

.course-sales-page .sales-module-grid h3 { margin: 0; color: var(--course-ink); font-size: clamp(2rem, 3.6vw, 3rem); }
.course-sales-page .sales-module-grid p { margin: 0; color: #5d5c57; }

.course-sales-page .sales-bonuses { background: var(--course-ink); }
.course-sales-page .sales-bonus-list {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--course-line);
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-bonus-list details { padding: 0; border-top: 1px solid var(--course-line); }
.course-sales-page .sales-bonus-list summary { min-height: 86px; padding-inline: 0; font-size: .86rem; }
.course-sales-page .sales-bonus-list details p { max-width: 680px; padding: 0 0 1.8rem; }

.course-sales-page .course-offer {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 50%),
    var(--course-accent);
}

.course-sales-page .offer-shell { max-width: 860px; }
.course-sales-page .offer-card {
  align-items: center;
  width: 100%;
  max-width: 760px;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  border-top: 1px solid rgba(255,255,255,.45);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.course-sales-page .offer-was { color: rgba(255,255,255,.7); }
.course-sales-page .offer-kicker,
.course-sales-page .offer-cash { color: white; }
.course-sales-page .offer-price { color: var(--course-ink); font-size: clamp(5rem, 13vw, 9rem); }
.course-sales-page .offer-card .btn { width: min(100%, 420px); border-color: var(--course-ink); background: var(--course-ink); color: white; }
.course-sales-page .offer-card .btn:hover { border-color: var(--course-panel-2); background: var(--course-panel-2); color: white; }
.course-sales-page .offer-card > p { color: rgba(255,255,255,.72); }

.course-sales-page .sales-guarantee { background: var(--course-paper); }
.course-sales-page .guarantee-grid {
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .guarantee-mark { border-color: rgba(95,124,255,.5); }

.course-sales-page .sales-teacher-copy {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--course-line);
}

.course-sales-page .sales-faq-section { background: var(--course-paper); }
.course-sales-page .sales-faq-section > .narrow {
  max-width: 820px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-faq-section .faq {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(11,11,11,.16);
  border-radius: 0;
}

.course-sales-page .sales-faq-section .faq details { padding: 0; border-top: 1px solid rgba(11,11,11,.16); }
.course-sales-page .sales-faq-section .faq summary { min-height: 82px; }
.course-sales-page .sales-faq-section .faq details p { max-width: 680px; padding-bottom: 1.6rem; }
.course-sales-page .sales-contact { margin-top: 2.5rem; padding: 1.5rem 0 0; border-top: 1px solid rgba(11,11,11,.16); border-radius: 0; background: transparent; }

.course-sales-page .sales-final { background: var(--course-ink); }
.course-sales-page .sales-final .next-card {
  max-width: 900px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.course-sales-page .sales-final .next-card::after { right: 50%; bottom: -2rem; transform: translateX(50%); opacity: .1; }
.course-sales-page .sales-final .next-card h2 { max-width: 820px; }

@media (max-width: 760px) {
  .course-sales-page .sales-hero .sales-hero-grid,
  .course-sales-page .sales-outcomes .feature-grid,
  .course-sales-page .sales-teacher .feature-grid { width: min(calc(100% - 1.5rem), 1080px); }
  .sales-brand-lockup { margin-bottom: 5rem; }
  .course-sales-page .sales-module-grid li { display: block; }
  .course-sales-page .sales-module-grid span { margin-bottom: 1.5rem; }
  .course-sales-page .sales-module-grid h3 { margin-bottom: 1rem; }
  .course-sales-page .sales-contact { align-items: center; text-align: center; }
}

/* Course bonus section — explicit contrast over shared content-section rules */
body.course-sales-page section.content-section.sales-bonuses {
  background: var(--course-ink);
  color: var(--course-paper);
}

body.course-sales-page .sales-bonuses .sales-bonus-intro .section-title,
body.course-sales-page .sales-bonuses .sales-bonus-list summary { color: var(--course-paper); }
body.course-sales-page .sales-bonuses .sales-bonus-intro > p:last-child,
body.course-sales-page .sales-bonuses .sales-bonus-list details p { color: var(--course-muted); }

/* Course hero — full-bleed homogeneous background */
body.course-sales-page header.page-hero.sales-hero {
  min-height: 100svh;
  padding: 0;
  border: 0;
  background: var(--course-ink);
}

body.course-sales-page header.page-hero.sales-hero > .container.sales-hero-grid {
  width: min(calc(100% - 3rem), 1080px);
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(5rem, 10vw, 9rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 760px) {
  body.course-sales-page header.page-hero.sales-hero > .container.sales-hero-grid {
    width: min(calc(100% - 1.5rem), 1080px);
    padding-inline: 0;
  }
}

/* Course offer — premium conversion moment */
body.course-sales-page section.course-offer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 10rem);
  background:
    radial-gradient(circle at 15% 15%, rgba(95,124,255,.2), transparent 27rem),
    radial-gradient(circle at 90% 90%, rgba(130,153,255,.12), transparent 24rem),
    var(--course-ink);
  color: var(--course-paper);
  isolation: isolate;
}

body.course-sales-page section.course-offer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(130,153,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,153,255,.16) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

body.course-sales-page .course-offer .offer-shell {
  position: relative;
  width: min(calc(100% - 3rem), 1040px);
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  border: 1px solid rgba(130,153,255,.72);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(95,124,255,.1), transparent 42%),
    rgba(19,19,19,.94);
  box-shadow:
    0 40px 100px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 70px rgba(95,124,255,.08);
}

body.course-sales-page .course-offer .offer-shell::before {
  content: "";
  position: absolute;
  left: clamp(2.5rem, 6vw, 5.5rem);
  right: clamp(2.5rem, 6vw, 5.5rem);
  top: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--course-accent-light), var(--course-paper), var(--course-accent-light), transparent);
}

body.course-sales-page .course-offer .offer-shell::after {
  content: "ACESSO VITALÍCIO";
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(130,153,255,.42);
  border-radius: 999px;
  color: var(--course-accent-light);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

body.course-sales-page .course-offer .offer-copy { max-width: none; margin: 0; text-align: left; }
body.course-sales-page .course-offer .offer-copy .eyebrow { justify-content: flex-start; color: var(--course-accent-light); }
body.course-sales-page .course-offer .offer-copy .section-title {
  max-width: 620px;
  margin: 1rem 0 2rem;
  color: var(--course-paper);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
}

body.course-sales-page .course-offer .offer-includes {
  width: auto;
  margin: 0;
  gap: .9rem;
  color: var(--course-muted);
}

body.course-sales-page .course-offer .offer-includes li { padding: 0 0 .9rem 1.5rem; border-bottom: 1px solid var(--course-line); }
body.course-sales-page .course-offer .offer-includes li::before { content: "✓"; color: var(--course-accent-light); }
body.course-sales-page .course-offer .offer-card {
  align-items: flex-start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  border: 0;
  border-left: 1px solid rgba(130,153,255,.32);
  background: transparent;
  box-shadow: none;
  text-align: left;
}

body.course-sales-page .course-offer .offer-was { color: var(--course-muted); }
body.course-sales-page .course-offer .offer-kicker { margin-top: 2rem; color: var(--course-paper); }
body.course-sales-page .course-offer .offer-price {
  color: var(--course-accent-light);
  font-size: clamp(5rem, 10vw, 8rem);
  text-shadow: 0 0 50px rgba(95,124,255,.22);
}

body.course-sales-page .course-offer .offer-cash { color: var(--course-paper); }
body.course-sales-page .course-offer .offer-card .btn {
  width: 100%;
  margin-top: 2.3rem;
  border-color: var(--course-accent);
  background: var(--course-accent);
  color: white;
  box-shadow: 0 16px 42px rgba(95,124,255,.22);
}

body.course-sales-page .course-offer .offer-card .btn:hover { border-color: var(--course-accent-hover); background: var(--course-accent-hover); }
body.course-sales-page .course-offer .offer-card > p { width: 100%; color: var(--course-muted); text-align: center; }

body.course-sales-page section.content-section.sales-guarantee {
  position: relative;
  padding: 0 0 clamp(7rem, 12vw, 11rem);
  background: var(--course-ink);
  color: var(--course-paper);
}

body.course-sales-page .sales-guarantee .guarantee-grid {
  max-width: 900px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0 0;
  border: 0;
  border-top: 1px solid rgba(130,153,255,.38);
  background: transparent;
  text-align: left;
}

body.course-sales-page .sales-guarantee .guarantee-mark {
  width: 210px;
  margin: 0;
  border-color: var(--course-accent-light);
  background: radial-gradient(circle, rgba(95,124,255,.16), transparent 68%);
  box-shadow: 0 0 70px rgba(95,124,255,.14), inset 0 0 35px rgba(95,124,255,.08);
  color: var(--course-accent-light);
}

body.course-sales-page .sales-guarantee .prose { max-width: 620px; margin: 0; }
body.course-sales-page .sales-guarantee .prose .eyebrow { justify-content: flex-start; }
body.course-sales-page .sales-guarantee .prose h2 {
  max-width: 620px;
  margin-inline: 0;
  color: var(--course-paper);
  font-size: clamp(3rem, 6vw, 5rem);
}

body.course-sales-page .sales-guarantee .prose p { margin-inline: 0; color: var(--course-muted); }

@media (max-width: 820px) {
  body.course-sales-page .course-offer .offer-shell {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  body.course-sales-page .course-offer .offer-card {
    padding: 3rem 0 0;
    border-top: 1px solid rgba(130,153,255,.32);
    border-left: 0;
  }
  body.course-sales-page .sales-guarantee .guarantee-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.course-sales-page .sales-guarantee .guarantee-mark,
  body.course-sales-page .sales-guarantee .prose { margin-inline: auto; }
  body.course-sales-page .sales-guarantee .prose .eyebrow { justify-content: center; }
  body.course-sales-page .sales-guarantee .prose h2,
  body.course-sales-page .sales-guarantee .prose p { margin-inline: auto; }
}

@media (max-width: 620px) {
  body.course-sales-page .course-offer .offer-shell {
    width: min(calc(100% - 1.5rem), 1040px);
    padding: 4.5rem 1.5rem 2rem;
    border-radius: 18px;
  }
  body.course-sales-page .course-offer .offer-shell::before { left: 1.5rem; right: 1.5rem; }
  body.course-sales-page .course-offer .offer-shell::after { right: 1rem; top: 1rem; }
  body.course-sales-page .course-offer .offer-price { font-size: clamp(4.7rem, 23vw, 6.5rem); }
  body.course-sales-page .sales-guarantee .guarantee-grid { width: min(calc(100% - 1.5rem), 900px); }
}

/* Course offer — prevent heading and price overlap */
body.course-sales-page .course-offer .offer-copy,
body.course-sales-page .course-offer .offer-card { min-width: 0; }

body.course-sales-page .course-offer .offer-copy .section-title {
  max-width: 540px;
  font-size: clamp(2.8rem, 4.7vw, 4.35rem);
  line-height: .94;
  overflow-wrap: normal;
  text-wrap: balance;
}

body.course-sales-page .course-offer .offer-price {
  display: block;
  max-width: 100%;
  font-size: clamp(4rem, 6.6vw, 6.25rem);
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

@media (max-width: 820px) {
  body.course-sales-page .course-offer .offer-copy .section-title { max-width: 680px; }
  body.course-sales-page .course-offer .offer-price { font-size: clamp(4.4rem, 13vw, 7rem); }
}

@media (max-width: 480px) {
  body.course-sales-page .course-offer .offer-copy .section-title {
    font-size: clamp(2.7rem, 13vw, 3.7rem);
    overflow-wrap: anywhere;
  }
  body.course-sales-page .course-offer .offer-price { font-size: clamp(3.7rem, 17vw, 5.1rem); }
}

/* Ebook sales page */
body.ebook-sales-page { background: var(--course-ink); }
body.ebook-sales-page #oferta,
body.ebook-sales-page #conteudo-ebook { scroll-margin-top: 32px; }

body.ebook-sales-page header.ebook-hero { min-height: auto; }
body.ebook-sales-page header.ebook-hero > .ebook-hero-inner {
  display: block;
  width: min(calc(100% - 3rem), 1180px);
  max-width: 1180px;
  padding-bottom: clamp(6rem, 11vw, 10rem);
}

.ebook-sales-page .ebook-hero .sales-brand-lockup { margin-bottom: clamp(5rem, 11vw, 9rem); }
.ebook-sales-page .ebook-hero-copy { max-width: 1000px; margin-inline: auto; text-align: center; }
.ebook-sales-page .ebook-hero-copy .eyebrow { justify-content: center; }
.ebook-sales-page .ebook-hero .ebook-hero-copy .display {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(4.4rem, 9.1vw, 8.5rem);
  line-height: .85;
  text-wrap: balance;
}
.ebook-sales-page .ebook-hero .ebook-hero-copy .lead {
  max-width: 720px;
  margin: 2rem auto 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.ebook-cover-stage {
  position: relative;
  width: min(100%, 1080px);
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  border: 1px solid rgba(130,153,255,.6);
  background: #120b08;
  box-shadow: 0 40px 110px rgba(0,0,0,.5), 0 0 80px rgba(95,124,255,.08);
}
.ebook-cover-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -1px 16% auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--course-accent-light), white, var(--course-accent-light), transparent);
}
.ebook-cover-stage img { display: block; width: 100%; height: auto; }
.ebook-sales-page .ebook-hero-action { width: min(100%, 780px); margin: 3rem auto 0; text-align: center; }
.ebook-sales-page .ebook-hero-action .hero-actions { justify-content: center; }
.ebook-sales-page .ebook-hero-action .btn { min-width: min(100%, 340px); }

.ebook-editorial { max-width: 1000px; }
.ebook-editorial > .eyebrow { color: var(--course-accent); }
.ebook-editorial > h2 {
  max-width: 960px;
  margin: 1.25rem 0 0;
  color: var(--course-ink);
  font-family: var(--course-display);
  font-size: clamp(3.6rem, 7.8vw, 7rem);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.ebook-story-copy { max-width: 720px; margin: clamp(3rem, 6vw, 5rem) 0 0 auto; }
.ebook-story-copy p { color: #5d5c57; font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.85; }
.ebook-story-copy p + p { margin-top: 1.4rem; }
.ebook-editorial .text-link { margin: 2.25rem 0 0 auto; color: var(--course-accent); }

body.ebook-sales-page .ebook-outcomes { display: block; background: var(--course-ink); color: var(--course-paper); }
.ebook-section-intro { max-width: 980px; }
.ebook-section-intro .eyebrow { color: var(--course-accent); }
.ebook-section-intro .section-title {
  max-width: 880px;
  margin: 1.25rem 0 0;
  color: var(--course-ink);
  font-size: clamp(3.5rem, 7.5vw, 6.8rem);
  line-height: .91;
  text-wrap: balance;
}
.ebook-section-intro .lead { max-width: 680px; margin-top: 2rem; color: #5d5c57; line-height: 1.75; }
.ebook-outcomes .ebook-section-intro .eyebrow,
.ebook-section-intro-dark .eyebrow { color: var(--course-accent-light); }
.ebook-outcomes .ebook-section-intro .section-title,
.ebook-section-intro-dark .section-title { color: var(--course-paper); }
.ebook-outcomes .ebook-section-intro .lead,
.ebook-section-intro-dark .lead { color: var(--course-muted); }

.ebook-outcome-lines { max-width: 980px; margin-top: clamp(3.5rem, 7vw, 6rem); }
.ebook-outcome-lines p {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  margin: 0;
  padding: 1.7rem 0;
  border-top: 1px solid var(--course-line);
  color: var(--course-paper);
  font-family: var(--course-display);
  font-size: clamp(1.8rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.ebook-outcome-lines p:last-child { border-bottom: 1px solid var(--course-line); }
.ebook-outcome-lines span { color: var(--course-accent-light); font-family: var(--course-body); font-size: .7rem; letter-spacing: .12em; }

body.ebook-sales-page section.ebook-testimonials { background: #0c0c0d; color: var(--course-paper); }
.ebook-testimonial-grid {
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.ebook-testimonial-grid figure { overflow: hidden; margin: 0; border: 1px solid rgba(130,153,255,.28); background: #050505; }
.ebook-testimonial-grid figure:nth-child(even) { margin-top: clamp(2rem, 6vw, 5rem); }
.ebook-testimonial-grid img { display: block; width: 100%; height: auto; }

body.ebook-sales-page section.ebook-program,
body.ebook-sales-page section.ebook-access { background: var(--course-paper); }
.ebook-program-list { max-width: 980px; margin-top: clamp(3.5rem, 7vw, 6rem); padding: 0; list-style: none; }
.ebook-program-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(11,11,11,.18);
}
.ebook-program-list li:last-child { border-bottom: 1px solid rgba(11,11,11,.18); }
.ebook-program-list > li > span { padding-top: .45rem; color: var(--course-accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.ebook-program-list h3 { margin: 0; color: var(--course-ink); font-family: var(--course-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.ebook-program-list p { max-width: 650px; margin: .8rem 0 0; color: #5d5c57; line-height: 1.7; }
.ebook-inline-cta { max-width: 980px; margin-top: 2.5rem; }

body.ebook-sales-page section.ebook-teacher { display: block; background: var(--course-ink); color: var(--course-paper); }
.ebook-teacher-inner {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.ebook-teacher-photo { position: relative; margin: 0; }
.ebook-teacher-photo::before {
  content: "";
  position: absolute;
  inset: 8% -7% -4% 7%;
  border: 1px solid rgba(130,153,255,.58);
  border-radius: 50%;
}
.ebook-teacher-photo img { position: relative; display: block; width: 100%; height: auto; }
.ebook-teacher-copy .eyebrow { color: var(--course-accent-light); }
.ebook-teacher-copy .section-title { margin: 1rem 0 2rem; color: var(--course-paper); font-size: clamp(3.8rem, 7vw, 6.5rem); }
.ebook-teacher-copy > p:not(.eyebrow) { color: var(--course-muted); line-height: 1.85; }
.ebook-teacher-copy > p + p { margin-top: 1.25rem; }

.ebook-access-list { max-width: 980px; margin-top: clamp(3.5rem, 7vw, 6rem); }
.ebook-access-list article {
  display: grid;
  grid-template-columns: 90px minmax(230px, .75fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(11,11,11,.18);
}
.ebook-access-list article:last-child { border-bottom: 1px solid rgba(11,11,11,.18); }
.ebook-access-list span { padding-top: .45rem; color: var(--course-accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.ebook-access-list h3 { margin: 0; color: var(--course-ink); font-family: var(--course-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.ebook-access-list p { margin: 0; color: #5d5c57; line-height: 1.7; }

body.ebook-sales-page .ebook-offer .offer-shell { max-width: 1080px; }
body.ebook-sales-page .ebook-offer .offer-price small { font-size: .32em; vertical-align: top; }
body.ebook-sales-page .ebook-offer .offer-badge { visibility: hidden; height: 0; padding: 0; border: 0; }

body.ebook-sales-page section.ebook-faq { background: var(--course-paper); }
body.ebook-sales-page .ebook-faq > .narrow { max-width: 940px; }
body.ebook-sales-page .ebook-faq .eyebrow { color: var(--course-accent); }
body.ebook-sales-page .ebook-faq .section-title { color: var(--course-ink); }

body.ebook-sales-page section.ebook-final {
  padding-block: clamp(7rem, 14vw, 12rem);
  background:
    radial-gradient(circle at 50% 110%, rgba(95,124,255,.22), transparent 35rem),
    var(--course-ink);
  color: var(--course-paper);
  text-align: center;
}
.ebook-final-inner { max-width: 1000px; }
.ebook-final-inner .eyebrow { justify-content: center; color: var(--course-accent-light); }
.ebook-final-inner h2 {
  margin: 1.5rem auto 2.5rem;
  color: var(--course-paper);
  font-family: var(--course-display);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 600;
  line-height: .87;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.ebook-final-inner h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--course-accent-light); }
.ebook-final-inner .btn { min-width: min(100%, 450px); }
.ebook-final-inner > p:last-child { margin: 1.25rem 0 0; color: var(--course-muted); font-size: .72rem; }

@media (max-width: 760px) {
  body.ebook-sales-page header.ebook-hero > .ebook-hero-inner { width: min(calc(100% - 1.5rem), 1180px); }
  .ebook-sales-page .ebook-hero .sales-brand-lockup { margin-bottom: 5rem; }
  .ebook-sales-page .ebook-hero .ebook-hero-copy .display { font-size: clamp(3.65rem, 17vw, 5.6rem); }
  .ebook-cover-stage { margin-top: 3.25rem; }
  .ebook-testimonial-grid { grid-template-columns: 1fr; }
  .ebook-testimonial-grid figure:nth-child(even) { margin-top: 0; }
  .ebook-teacher-inner { grid-template-columns: 1fr; }
  .ebook-teacher-photo { width: min(86%, 390px); margin-inline: auto; }
  .ebook-teacher-copy { text-align: center; }
  .ebook-teacher-copy .eyebrow { justify-content: center; }
  .ebook-access-list article { grid-template-columns: 62px minmax(0, 1fr); }
  .ebook-access-list article p { grid-column: 2; }
}

@media (max-width: 520px) {
  .ebook-sales-page .ebook-hero .sales-proof-list { grid-template-columns: 1fr; }
  .ebook-sales-page .ebook-hero .sales-proof-list li { padding: .9rem 0; text-align: center; }
  .ebook-sales-page .ebook-hero .sales-proof-list li + li { border-top: 1px solid var(--course-line); border-left: 0; }
  .ebook-editorial > h2,
  .ebook-section-intro .section-title { font-size: clamp(3rem, 15vw, 4.3rem); }
  .ebook-outcome-lines p { grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; font-size: clamp(1.7rem, 9vw, 2.5rem); }
  .ebook-program-list li { grid-template-columns: 50px minmax(0, 1fr); gap: 1rem; }
  .ebook-program-list h3 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .ebook-access-list article { grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; }
  .ebook-access-list h3 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .ebook-final-inner h2 { font-size: clamp(3.4rem, 17vw, 5rem); }
}

/* Purchase confirmation pages */
body.thanks-page { background: var(--course-ink); }

.thanks-hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(6rem, 10vw, 9rem);
  background:
    radial-gradient(circle at 50% 48%, rgba(95,124,255,.17), transparent 30rem),
    var(--course-ink);
  color: var(--course-paper);
}
.thanks-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(130,153,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,153,255,.14) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 72%);
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}
.thanks-hero-inner { position: relative; z-index: 1; max-width: 1050px; text-align: center; }
.thanks-hero .sales-brand-lockup { margin-bottom: clamp(4rem, 9vw, 7rem); text-align: left; }
.thanks-confirmation-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--course-accent-light);
  border-radius: 50%;
  color: var(--course-accent-light);
  font-family: var(--course-display);
  font-size: 2rem;
  box-shadow: 0 0 60px rgba(95,124,255,.24), inset 0 0 30px rgba(95,124,255,.1);
}
.thanks-hero .eyebrow { justify-content: center; color: var(--course-accent-light); }
.thanks-hero h1 {
  max-width: 980px;
  margin: 1.25rem auto 0;
  color: var(--course-paper);
  font-family: var(--course-display);
  font-size: clamp(4.2rem, 9vw, 8.2rem);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-wrap: balance;
}
.thanks-hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--course-accent-light); }
.thanks-lead { max-width: 680px; margin: 2rem auto 0; color: var(--course-muted); font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.75; }
.thanks-hero .btn { min-width: min(100%, 360px); margin-top: 2.4rem; }
.thanks-action-note { margin: 1.1rem 0 0; color: var(--course-muted); font-size: .7rem; line-height: 1.5; }

.thanks-steps { padding-block: clamp(6rem, 11vw, 10rem); background: var(--course-paper); }
.thanks-section-head { max-width: 980px; }
.thanks-section-head .eyebrow { color: var(--course-accent); }
.thanks-section-head h2 {
  max-width: 900px;
  margin: 1.2rem 0 0;
  color: var(--course-ink);
  font-family: var(--course-display);
  font-size: clamp(3.7rem, 8vw, 7rem);
  font-weight: 600;
  line-height: .89;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.thanks-step-list { max-width: 980px; margin-top: clamp(4rem, 8vw, 7rem); padding: 0; list-style: none; }
.thanks-step-list > li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(11,11,11,.18);
}
.thanks-step-list > li:last-child { border-bottom: 1px solid rgba(11,11,11,.18); }
.thanks-step-list > li > span { padding-top: .25rem; color: var(--course-accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.thanks-step-list .eyebrow { color: var(--course-accent); }
.thanks-step-list h3 { margin: .75rem 0 0; color: var(--course-ink); font-family: var(--course-display); font-size: clamp(2.3rem, 5vw, 4.3rem); font-weight: 600; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.thanks-step-list p:not(.eyebrow) { max-width: 680px; margin: 1.25rem 0 0; color: #5d5c57; line-height: 1.8; }
.thanks-step-list .btn.secondary { margin-top: 1.75rem; border-color: rgba(11,11,11,.24); background: transparent; color: var(--course-ink); }
.thanks-step-list .btn.secondary:hover { border-color: var(--course-accent); background: var(--course-accent); color: white; }

.thanks-social-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.thanks-social-links a { padding-bottom: .3rem; border-bottom: 1px solid rgba(11,11,11,.22); color: var(--course-ink); font-size: .76rem; font-weight: 700; }
.thanks-social-links a:hover { border-color: var(--course-accent); color: var(--course-accent); }

.thanks-welcome { padding-block: clamp(5rem, 9vw, 8rem); background: var(--course-ink); color: var(--course-paper); }
.thanks-welcome-inner { max-width: 940px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.thanks-welcome figure { position: relative; margin: 0; }
.thanks-welcome figure::before { content: ""; position: absolute; inset: 7% -6% -4% 6%; border: 1px solid rgba(130,153,255,.55); border-radius: 50%; }
.thanks-welcome img { position: relative; display: block; width: 100%; height: auto; }
.thanks-welcome .eyebrow { color: var(--course-accent-light); }
.thanks-welcome h2 { margin: 1rem 0 0; color: var(--course-paper); font-family: var(--course-display); font-size: clamp(3.2rem, 6vw, 5.5rem); font-weight: 600; line-height: .92; text-transform: uppercase; }
.thanks-welcome p:not(.eyebrow) { max-width: 600px; margin: 1.5rem 0 0; color: var(--course-muted); line-height: 1.8; }

.thanks-final {
  padding-block: clamp(7rem, 14vw, 12rem);
  background:
    radial-gradient(circle at 50% 110%, rgba(95,124,255,.24), transparent 34rem),
    var(--course-ink);
  color: var(--course-paper);
  text-align: center;
}
.thanks-final-inner { max-width: 980px; }
.thanks-final .eyebrow { justify-content: center; color: var(--course-accent-light); }
.thanks-final h2 { margin: 1.4rem 0 2.5rem; color: var(--course-paper); font-family: var(--course-display); font-size: clamp(4rem, 9vw, 8rem); font-weight: 600; line-height: .87; letter-spacing: -.035em; text-transform: uppercase; }
.thanks-final h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--course-accent-light); }
.thanks-final .btn { min-width: min(100%, 360px); }

@media (max-width: 700px) {
  .thanks-hero { min-height: auto; }
  .thanks-hero .sales-brand-lockup { margin-bottom: 4rem; }
  .thanks-hero h1 { font-size: clamp(3rem, 12vw, 4.3rem); overflow-wrap: anywhere; }
  .thanks-step-list > li { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; }
  .thanks-step-list h3 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .thanks-welcome-inner { grid-template-columns: 1fr; text-align: center; }
  .thanks-welcome figure { width: min(70%, 280px); margin-inline: auto; }
  .thanks-welcome .eyebrow { justify-content: center; }
  .thanks-welcome p:not(.eyebrow) { margin-inline: auto; }
}

@media (max-width: 420px) {
  .thanks-confirmation-mark { width: 64px; height: 64px; }
  .thanks-section-head h2 { font-size: clamp(2.8rem, 13vw, 3.8rem); overflow-wrap: anywhere; }
  .thanks-step-list > li { grid-template-columns: 38px minmax(0, 1fr); }
  .thanks-final h2 { font-size: clamp(3.4rem, 17vw, 5rem); }
}
