/*
  ==================================================
  THE OPEN~TUNING GUITARIST — HOMEPAGE STYLES
  ==================================================
  This stylesheet is intentionally limited to the styles used by the
  current landing page. Unused course-page styles, dropdown panel styles,
  table-of-contents styles, chord-diagram styles, and other legacy rules
  have been removed to keep the file easier to maintain.
*/

/* ==================================================
   1. DESIGN TOKENS / GLOBAL VARIABLES
   ================================================== */

:root {
  --color-bg-dark: #1e1105;
  --color-bg-brown: #2f2012;
  --color-bg-card: rgba(255, 255, 255, 0.03);

  --color-text: #f9ddc7;
  --color-text-soft: rgba(249, 221, 199, 0.7);
  --color-accent: #e3c693;
  --color-accent-dark: #9a7b4f;
  --color-button-text: #2f2012;
  --color-line: rgba(227, 198, 147, 0.22);
  --color-error: #ffb4ab;

  --font-body: "Inter", sans-serif;
  --font-heading: "Lora", serif;

  --container-width: 1100px;
  --container-narrow-width: 980px;
  --header-height: 86px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

/* ==================================================
   2. RESET / BASE DOCUMENT SETUP
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg-brown);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

main {
  flex: 1;
}

/* ==================================================
   3. SHARED LAYOUT HELPERS
   ================================================== */

.container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding-inline: 24px;
}

.container-narrow {
  width: min(100%, var(--container-narrow-width));
}

.section {
  width: 100%;
  padding: 96px 0;
}

.section-dark {
  background: var(--color-bg-dark);
}

.section-brown {
  background: var(--color-bg-brown);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading--centered {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
  text-align: center;
}

/*
  Reusable split layout for content/image sections.
  On large screens: two columns.
  On small screens: one column.
*/
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 64px;
  align-items: center;
}

.split-layout--media-left {
  grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
}

.split-text {
  max-width: 620px;
}

.split-text > *:first-child,
.section-heading > *:first-child,
.hero-copy > *:first-child {
  margin-top: 0;
}

.split-text > *:last-child,
.section-heading > *:last-child,
.hero-copy > *:last-child {
  margin-bottom: 0;
}

/* ==================================================
   4. TYPOGRAPHY
   ================================================== */

h1,
h2,
h3 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-accent);
}

h1 {
  font-size: clamp(3rem, 6vw + 0.5rem, 5.0rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

p {
  margin: 0 0 18px;
  color: var(--color-text-soft);
}

strong {
  color: var(--color-text);
}

/* ==================================================
   5. HEADER / NAVIGATION
   ================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 17, 5, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;

  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-soft);

  transition:
    color var(--transition-medium),
    border-color var(--transition-medium),
    transform var(--transition-fast);
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav a:active {
  transform: scale(0.96);
}

.site-nav a.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.nav-toggle-button {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
}

/* ==================================================
   6. HERO SECTION
   ================================================== */

.hero {
  position: relative;
  min-height: max(720px, calc(100vh - var(--header-height)));
  display: flex;
  align-items: center;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.96) 20%,
    rgba(0, 0, 0, 0.82) 65%,
    rgba(0, 0, 0, 0.56) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  padding: 120px 0;
}

.hero-text {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.3rem);
  color: var(--color-text);
}

.hero-text2 {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.6rem);
  color: var(--color-text-soft);
  font-style: italic;
}

.hero-value {
  white-space: nowrap;
}

.hero-label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

/* ==================================================
   7. FORM / KIT EMBED STYLING / CTA
   ================================================== */

.signup-form {
  max-width: 700px;
  margin-top: 32px;
}

.signup-form-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.signup-email {
  flex: 1;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(249, 221, 199, 0.55);
  border-radius: 0;
  outline: none;

  color: var(--color-bg-dark);
  background: var(--color-text);
}

.signup-email::placeholder {
  color: rgba(30, 17, 5, 0.55);
}

.signup-email:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(227, 198, 147, 0.25);
}

.signup-submit,
.audio-button {
  border: 1px solid var(--color-accent);
  border-radius: 0;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: var(--color-button-text);
  background: var(--color-accent);
}

.signup-submit {
  min-height: 58px;
  padding: 0 28px;
  white-space: nowrap;
}

.signup-submit span {
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: inherit;
  text-transform: inherit;
}

.signup-submit:hover,
.audio-button:hover {
  background: #f0d9a6;
  border-color: #f0d9a6;
}

.signup-submit:active,
.audio-button:active {
  transform: scale(0.97);
}

.signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;

  font-size: 0.83rem;
  line-height: 1.45;
  color: rgba(249, 221, 199, 0.82);
}

.signup-consent input {
  margin-top: 3px;
  accent-color: var(--color-accent);
}

.form-alert {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  color: var(--color-error);
  font-size: 0.9rem;
}

.form-alert:empty {
  display: none;
}

.hero-cta,
.hero-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 52px;
  margin-top: 10px;
  padding: 16px 22px;
  border: 1px solid var(--color-accent);
  border-radius: 0;
  color: var(--color-button-text);
  background: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.hero-cta:hover {
  color: var(--color-button-text);
  background: #f0d9a6;
  border-color: #f0d9a6;
  text-decoration: none;
}

.hero-cta:active {
  transform: scale(0.97);
}

.cta-block {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 10px;
}

.cta-block .hero-cta {
  margin-top: 0;
}

.cta-block--centered {
  justify-items: center;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;

  color: rgba(249, 221, 199, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.cta-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-badges li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 560px) {
  .cta-block {
    justify-items: stretch;
  }

  .cta-block--centered {
    justify-items: stretch;
  }

  .cta-badges {
    justify-content: center;
    text-align: center;
  }
}

/* ==================================================
   8. SOUND EXAMPLES SECTION
   ================================================== */

.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sound-card {
  padding: 20px;
  text-align: center;
  border: 1px solid var(--color-line);
  background: var(--color-bg-card);
}

.sound-label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sound-name {
  margin-bottom: 16px;
  color: var(--color-text);
}

.audio-button {
  padding: 12px 16px;
}

.audio-button.is-playing {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* ==================================================
   9. FOOTER
   ================================================== */

.site-footer {
  padding: 20px 24px;
  text-align: center;
  background: var(--color-bg-dark);
}

.site-footer p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

.legal-footer-links {
  margin-top: 8px;
  font-size: 0.82rem;
}

.legal-footer-links a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

/* ==================================================
   10. RESPONSIVE ADJUSTMENTS
   ================================================== */

/*
  Tablet and down:
  - make split sections one column
  - keep generous spacing but tighten slightly
*/
@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }

  .split-layout,
  .split-layout--media-left {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-media {
    max-width: 720px;
    margin: 0 auto;
  }

  .split-text {
    max-width: none;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-text {
    max-width: none;
  }
}

/*
  Navigation breakpoint:
  - turn the nav into a simple stacked mobile menu
*/
@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 14px;
    padding: 20px 24px;
  }

  .nav-toggle-button {
    display: inline-block;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom-width: 0;
  }

  .site-nav a.is-active {
    border-bottom-color: transparent;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.82) 100%
    );
  }

  .hero-copy {
    padding: 96px 0 88px;
  }

  .sound-grid {
    grid-template-columns: 1fr;
  }
}

/*
  Small phones:
  - reduce spacing and font sizes a bit more
  - stack the signup form vertically
*/
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .site-logo {
    font-size: 1rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    padding: 76px 0 72px;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .signup-form-row {
    flex-direction: column;
  }

  .signup-submit,
  .signup-email,
  .audio-button {
    width: 100%;
  }

  .sound-card {
    padding: 18px;
  }
}




/* Page styles: index.html */
body.page-home .start-hero .hero-copy {
  max-width: 780px;
}

body.page-home .start-card-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 34px;
}

body.page-home .start-card, body.page-home .resource-card, body.page-home .method-card {
  border: 1px solid var(--color-line);
      background: var(--color-bg-card);
}

body.page-home .start-card {
  padding: 24px;
}

body.page-home .start-card-label, body.page-home .resource-label {
  margin: 0 0 10px;
      color: var(--color-accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      line-height: 1.3;
      text-transform: uppercase;
}

body.page-home .start-card h3, body.page-home .resource-card h3, body.page-home .method-card h3 {
  margin: 0 0 10px;
      color: var(--color-text);
}

body.page-home .start-card p, body.page-home .resource-card p, body.page-home .method-card p, body.page-home .method-card li, body.page-home .start-check-list li {
  color: var(--color-text-soft);
}

body.page-home .start-check-list {
  display: grid;
      gap: 16px;
      margin: 22px 0 0;
      padding: 0;
      list-style: none;
}

body.page-home .start-check-list li {
  position: relative;
      padding-left: 24px;
}

body.page-home .start-check-list li::before {
  content: "";
      position: absolute;
      top: 0.72em;
      left: 0;
      width: 8px;
      height: 8px;
      background: var(--color-accent);
}

body.page-home .resource-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 34px;
}

body.page-home .resource-card {
  display: flex;
      flex-direction: column;
      min-height: 220px;
      padding: 24px;
      color: inherit;
      text-decoration: none;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-home .resource-card:hover {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.08);
      transform: translateY(-2px);
}

body.page-home .resource-card p {
  margin-bottom: 0;
}

body.page-home .resource-card .resource-arrow {
  display: block;
      margin-top: auto;
      padding-top: 20px;
      color: var(--color-accent);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
}

body.page-home .method-panel {
  display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
      gap: 48px;
      align-items: start;
}

body.page-home .method-card {
  padding: 26px;
}

body.page-home .method-card ul {
  margin: 18px 0 0;
      padding-left: 1.1em;
}

body.page-home .method-card li + li {
  margin-top: 8px;
}

body.page-home .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-home .text-link:hover {
  text-decoration-color: var(--color-accent);
}

body.page-home .start-button-row {
  display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
      justify-content: center;
}

body.page-home .start-button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 14px 18px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-home .start-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-home .start-button:active {
  transform: scale(0.97);
}

body.page-home .start-button.secondary {
  color: var(--color-accent);
      background: transparent;
}

body.page-home .start-button.secondary:hover {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

@media (max-width: 960px) {
body.page-home .start-card-grid, body.page-home .resource-grid, body.page-home .method-panel {
  grid-template-columns: 1fr;
}

body.page-home .resource-card {
  min-height: 0;
}
}



/* Page styles: tools-resources/index.html */
body.page-tools-resources .resources-hero {
  min-height: 520px;
      background-image: url("/assets/images/hero-tools-resources.webp");
      background-position: center top;
}

body.page-tools-resources .resources-hero .hero-copy {
  max-width: 780px;
}

body.page-tools-resources .resources-intro {
  max-width: 760px;
}

body.page-tools-resources .resource-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 40px;
}

body.page-tools-resources .resource-card {
  display: flex;
      flex-direction: column;
      min-height: 100%;
      padding: 24px;
      border: 1px solid var(--color-line);
      background: var(--color-bg-card);
}

body.page-tools-resources .resource-card h3 {
  margin-bottom: 10px;
      color: var(--color-text);
}

body.page-tools-resources .resource-card p {
  margin-bottom: 22px;
}

body.page-tools-resources .resource-label {
  margin-bottom: 10px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
}

body.page-tools-resources .resource-links {
  display: grid;
      gap: 10px;
      margin-top: auto;
}

body.page-tools-resources .resource-link, body.page-tools-resources .resource-link-disabled {
  display: block;
      padding: 12px 14px;
      border: 1px solid var(--color-line);
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.3;
      text-transform: uppercase;
}

body.page-tools-resources .resource-link {
  color: var(--color-accent);
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

body.page-tools-resources .resource-link:hover {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-tools-resources .resource-link-disabled {
  color: rgba(249, 221, 199, 0.42);
      cursor: not-allowed;
}

body.page-tools-resources .tuning-list {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 40px;
}

body.page-tools-resources .tuning-card {
  padding: 22px;
      border: 1px solid var(--color-line);
      background: var(--color-bg-card);
}

body.page-tools-resources .tuning-card h3 {
  margin-bottom: 8px;
      color: var(--color-text);
}

body.page-tools-resources .tuning-card ul {
  margin: 18px 0 0;
      padding-left: 1.1em;
      color: var(--color-text-soft);
}

body.page-tools-resources .tuning-card li + li {
  margin-top: 6px;
}

body.page-tools-resources .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-tools-resources .text-link:hover {
  text-decoration-color: var(--color-accent);
}

@media (max-width: 960px) {
body.page-tools-resources .resource-grid, body.page-tools-resources .tuning-list {
  grid-template-columns: 1fr;
}
}

@media (max-width: 560px) {
body.page-tools-resources .resources-hero {
  min-height: 500px;
}

body.page-tools-resources .resource-card, body.page-tools-resources .tuning-card {
  padding: 20px;
}
}



/* Page styles: tools-resources/open-tuning-tuner/index.html */
body.page-tuner .tuner-hero {
  min-height: 520px;
      background-image: url("/assets/images/hero-online-tuner.webp");
      background-position: center top;
}

body.page-tuner .tuner-hero .hero-copy {
  max-width: 780px;
}

body.page-tuner .tuning-notes {
  display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
}

body.page-tuner .tuning-note-pill {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 58px;
      padding: 10px 14px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.04);
      color: var(--color-accent);
      font-weight: 700;
      line-height: 1;
}

body.page-tuner .tuner-layout {
  display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
      gap: 48px;
      align-items: start;
}

body.page-tuner .tuner-panel, body.page-tuner .tuner-info-card {
  border: 1px solid var(--color-line);
      background: var(--color-bg-card);
}

body.page-tuner .tuner-panel {
  padding: 26px;
}

body.page-tuner .tuner-info-card {
  padding: 24px;
}

body.page-tuner .tuner-info-card h3 {
  color: var(--color-text);
}

body.page-tuner .tuner-string-list {
  display: grid;
      gap: 12px;
      margin-top: 24px;
}

body.page-tuner .tuner-string-button {
  width: 100%;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 16px;
      align-items: center;
      padding: 16px;
      border: 1px solid var(--color-line);
      border-radius: 0;
      color: var(--color-text);
      background: rgba(255, 255, 255, 0.03);
      cursor: pointer;
      text-align: left;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .tuner-string-button:hover {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.08);
}

body.page-tuner .tuner-string-button:active {
  transform: scale(0.99);
}

body.page-tuner .tuner-string-button.is-playing {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.14);
}

body.page-tuner .string-number {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border: 1px solid var(--color-line);
      color: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
}

body.page-tuner .string-main {
  display: grid;
      gap: 2px;
}

body.page-tuner .string-note {
  color: var(--color-text);
      font-family: var(--font-heading);
      font-size: 1.45rem;
      line-height: 1.1;
}

body.page-tuner .string-description {
  color: var(--color-text-soft);
      font-size: 0.88rem;
      line-height: 1.35;
}

body.page-tuner .string-frequency {
  color: rgba(249, 221, 199, 0.62);
      font-size: 0.78rem;
      white-space: nowrap;
}

body.page-tuner .tuner-controls {
  display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
}

body.page-tuner .tuner-control-button {
  border: 1px solid var(--color-accent);
      border-radius: 0;
      padding: 12px 16px;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .tuner-control-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-tuner .tuner-control-button:active {
  transform: scale(0.97);
}

body.page-tuner .tuner-control-button.secondary {
  color: var(--color-accent);
      background: transparent;
}

body.page-tuner .tuner-control-button.secondary:hover {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-tuner .tuner-status {
  min-height: 1.5em;
      margin-top: 18px;
      margin-bottom: 0;
      color: var(--color-accent);
      font-size: 0.95rem;
}

body.page-tuner .instruction-list {
  margin: 18px 0 0;
      padding-left: 1.1em;
      color: var(--color-text-soft);
}

body.page-tuner .instruction-list li + li {
  margin-top: 8px;
}

body.page-tuner .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-tuner .text-link:hover {
  text-decoration-color: var(--color-accent);
}

body.page-tuner .mic-tuner-panel {
  margin-top: 26px;
      padding-top: 26px;
      border-top: 1px solid var(--color-line);
}

body.page-tuner .mic-tuner-display {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 22px;
}

body.page-tuner .mic-readout {
  padding: 18px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.03);
      text-align: center;
}

body.page-tuner .mic-readout-label {
  margin: 0 0 8px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
}

body.page-tuner .mic-readout-value {
  margin: 0;
      color: var(--color-text);
      font-family: var(--font-heading);
      font-size: 2rem;
      line-height: 1.1;
}

body.page-tuner .target-buttons {
  display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 8px;
      margin-top: 18px;
}

body.page-tuner .target-button {
  padding: 10px 8px;
      border: 1px solid var(--color-line);
      border-radius: 0;
      color: var(--color-text-soft);
      background: rgba(255, 255, 255, 0.03);
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 700;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

body.page-tuner .target-button:hover, body.page-tuner .target-button.is-selected {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-tuner .tuning-meter {
  position: relative;
      height: 18px;
      margin-top: 20px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.04);
}

body.page-tuner .tuning-meter::before {
  content: "";
      position: absolute;
      top: -6px;
      bottom: -6px;
      left: 50%;
      width: 2px;
      transform: translateX(-50%);
      background: var(--color-accent);
}

body.page-tuner .tuning-needle {
  position: absolute;
      top: -5px;
      left: 50%;
      width: 3px;
      height: 28px;
      transform: translateX(-50%);
      background: var(--color-text);
      transition: left 0.12s linear;
}

body.page-tuner .meter-labels {
  display: flex;
      justify-content: space-between;
      margin-top: 8px;
      color: rgba(249, 221, 199, 0.62);
      font-size: 0.8rem;
}

body.page-tuner .mic-help {
  margin-top: 14px;
      font-size: 0.9rem;
      color: rgba(249, 221, 199, 0.7);
}

body.page-tuner .tuner-layout--single {
  display: block;
      max-width: 760px;
      margin: 0 auto;
}

body.page-tuner .mic-tuner-panel--first {
  margin-top: 0;
      padding-top: 0;
      border-top: 0;
}

body.page-tuner .tuner-layout--single .tuner-info-card, body.page-tuner .tuner-layout--single .tuner-panel {
  width: 100%;
}

body.page-tuner .tuning-instruction-graphic {
  margin: 28px 0;
}

body.page-tuner .generated-tuning-instructions {
  display: grid;
      gap: 10px;
      padding: 18px;
      border: 1px solid rgba(249, 221, 199, 0.18);
      background: rgba(255, 255, 255, 0.03);
}

body.page-tuner .tuning-instruction-header, body.page-tuner .tuning-instruction-row {
  display: grid;
      grid-template-columns: 96px minmax(0, 1fr) 34px minmax(0, 1fr) 220px;
      gap: 12px;
      align-items: center;
}

body.page-tuner .tuning-instruction-header {
  padding: 0 12px 2px;
      color: var(--color-accent);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.25;
      text-transform: uppercase;
}

body.page-tuner .tuning-instruction-header span:nth-child(2), body.page-tuner .tuning-instruction-header span:nth-child(4) {
  text-align: center;
}

body.page-tuner .tuning-instruction-header span:nth-child(5) {
  text-align: right;
}

body.page-tuner .tuning-instruction-row {
  padding: 12px;
      border: 1px solid rgba(249, 221, 199, 0.14);
      background: rgba(0, 0, 0, 0.12);
}

body.page-tuner .tuning-instruction-string {
  color: rgba(249, 221, 199, 0.68);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1.25;
      text-transform: uppercase;
}

body.page-tuner .tuning-note-box {
  display: flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      border: 1px solid var(--color-line);
      color: var(--color-text);
      background: transparent;
      font-family: var(--font-heading);
      font-size: 1.25rem;
      line-height: 1;
}

body.page-tuner .tuning-note-button {
  width: 100%;
      cursor: pointer;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .tuning-note-button::after {
  content: "▶︎";
      margin-left: 0.45em;
      margin-top: 0.30em;
      color: var(--color-accent);
      font-family: var(--font-body);
      font-size: 0.74rem;
      line-height: 1;
}

body.page-tuner .tuning-note-button:hover {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.1);
}

body.page-tuner .tuning-note-button:active {
  transform: scale(0.98);
}

body.page-tuner .tuning-arrow {
  color: var(--color-accent);
      font-size: 1.15rem;
      font-weight: 700;
      text-align: center;
}

body.page-tuner .tuning-action {
  justify-self: end;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 10px;
      border: 1px solid rgba(249, 221, 199, 0.18);
      color: var(--color-text);
      background: rgba(255, 255, 255, 0.04);
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 1;
      text-align: center;
      text-transform: none;
      white-space: nowrap;
}

@media (max-width: 640px) {
body.page-tuner .generated-tuning-instructions {
  padding: 12px;
}

body.page-tuner .tuning-instruction-header {
  display: none;
}

body.page-tuner .tuning-instruction-row {
  grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
}

body.page-tuner .tuning-action {
  justify-self: center;
        text-align: center;
        white-space: normal;
}
}

body.page-tuner .tuning-select-panel {
  margin-top: 30px;
      max-width: 275px;
}

body.page-tuner .tuning-select-label {
  display: block;
      margin-bottom: 10px;
      color: var(--color-accent);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
}

body.page-tuner .tuning-select {
  width: 100%;
      min-height: 58px;
      padding: 0 16px;
      border: 1px solid rgba(249, 221, 199, 0.55);
      border-radius: 0;
      color: var(--color-bg-dark);
      background: var(--color-text);
      font: inherit;
      outline: none;
}

body.page-tuner .tuning-select:focus {
  border-color: var(--color-accent);
      box-shadow: 0 0 0 2px rgba(227, 198, 147, 0.25);
}

body.page-tuner .selected-tuning-summary {
  margin-top: 24px;
      max-width: 760px;
}

body.page-tuner .tuner-updated-title {
  color: var(--color-text);
}

@media (max-width: 960px) {
body.page-tuner .tuner-layout {
  grid-template-columns: 1fr;
        gap: 32px;
}
}

@media (max-width: 560px) {
body.page-tuner .tuner-hero {
  min-height: 500px;
}

body.page-tuner .tuner-panel, body.page-tuner .tuner-info-card {
  padding: 20px;
}

body.page-tuner .tuner-string-button {
  grid-template-columns: auto 1fr;
}

body.page-tuner .string-frequency {
  grid-column: 2;
}

body.page-tuner .tuner-control-button {
  width: 100%;
}

body.page-tuner .mic-tuner-display, body.page-tuner .target-buttons {
  grid-template-columns: 1fr;
}
}

body.page-tuner .tuner-plain-card {
  border: 0;
      background: transparent;
      padding: 0;
}

body.page-tuner #reference-tones {
  grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 10px;
      margin-top: 24px;
}

body.page-tuner #reference-tones .tuner-string-button {
  display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 138px;
      padding: 14px 8px;
      gap: 8px;
      text-align: center;
}

body.page-tuner #reference-tones .string-main {
  display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
}

body.page-tuner #reference-tones .string-number {
  width: 32px;
      height: 32px;
}

body.page-tuner #reference-tones .string-note {
  font-size: 1.55rem;
}

body.page-tuner #reference-tones .string-description {
  font-size: 0.74rem;
      line-height: 1.25;
}

body.page-tuner #reference-tones .string-frequency {
  font-size: 0.72rem;
      white-space: normal;
}

@media (max-width: 960px) {
body.page-tuner #reference-tones {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 560px) {
body.page-tuner #reference-tones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-tuner #reference-tones .tuner-string-button {
  width: 100%;
}

body.page-tuner #reference-tones .string-frequency {
  grid-column: auto;
}
}

body.page-tuner .hero-tuning-list {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 28px;
      max-width: 760px;
}

body.page-tuner .hero-tuning-item {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-tuner .hero-tuning-name {
  display: block;
      color: var(--color-text);
      font-size: 0.86rem;
      font-weight: 700;
      line-height: 1.25;
}

body.page-tuner .hero-tuning-notes {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.76rem;
      line-height: 1.25;
}

body.page-tuner .open-strings-button {
  border: 1px solid var(--color-accent);
      border-radius: 0;
      padding: 8px 10px;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
      white-space: nowrap;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .open-strings-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-tuner .open-strings-button:active {
  transform: scale(0.97);
}

body.page-tuner .open-strings-button.is-playing {
  color: var(--color-accent);
      background: transparent;
}

body.page-tuner .hero-audio-status {
  min-height: 1.4em;
      margin-top: 10px;
      color: rgba(249, 221, 199, 0.72);
      font-size: 0.86rem;
}

body.page-tuner .faq-list {
  display: grid;
      gap: 22px;
      max-width: 920px;
}

body.page-tuner .faq-item {
  padding-bottom: 22px;
      border-bottom: 1px solid var(--color-line);
}

body.page-tuner .faq-item:last-child {
  padding-bottom: 0;
      border-bottom: 0;
}

body.page-tuner .faq-item h3 {
  margin-bottom: 8px;
      color: var(--color-text);
}

body.page-tuner .next-step-panel {
  max-width: 760px;
      margin: 0 auto;
      text-align: center;
}

body.page-tuner .next-step-panel p {
  max-width: 680px;
      margin-left: auto;
      margin-right: auto;
}

body.page-tuner .next-step-button {
  display: inline-block;
      margin-top: 16px;
      padding: 14px 18px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .next-step-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-tuner .next-step-button:active {
  transform: scale(0.97);
}

body.page-open-tuning-songs .next-step-button {
  display: inline-block;
      margin-top: 16px;
      padding: 14px 18px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-open-tuning-songs .next-step-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-open-tuning-songs .next-step-button:active {
  transform: scale(0.97);
}

@media (max-width: 700px) {
body.page-tuner .hero-tuning-list {
  grid-template-columns: 1fr;
}

body.page-tuner .hero-tuning-item {
  grid-template-columns: 1fr;
}

body.page-tuner .open-strings-button {
  width: 100%;
        min-height: 42px;
}
}

body.page-tuner .selected-open-strings-audio {
  margin-top: 18px;
      max-width: 620px;
}

body.page-tuner .selected-audio-label {
  margin: 0 0 8px;
      color: var(--color-accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      line-height: 1.3;
      text-transform: uppercase;
}

body.page-tuner .selected-audio-row {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-tuner .selected-audio-row strong {
  display: block;
      color: var(--color-text);
      font-size: 0.95rem;
      line-height: 1.3;
}

body.page-tuner .selected-audio-row span {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.82rem;
      line-height: 1.3;
}

body.page-tuner .open-tuning-audio-list {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 16px;
}

body.page-tuner .open-tuning-audio-item {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-tuner .open-tuning-audio-name {
  display: block;
      color: var(--color-text);
      font-size: 0.86rem;
      font-weight: 700;
      line-height: 1.25;
}

body.page-tuner .open-tuning-audio-notes {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.76rem;
      line-height: 1.25;
}

@media (max-width: 700px) {
body.page-tuner .selected-audio-row, body.page-tuner .open-tuning-audio-item {
  grid-template-columns: 1fr;
}

body.page-tuner .open-tuning-audio-list {
  grid-template-columns: 1fr;
}
}

body.page-tuner .inline-listen-button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 0.5em;
      padding: 8px 11px;
      border: 1px solid var(--color-accent);
      border-radius: 0;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
      vertical-align: middle;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-tuner .inline-listen-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-tuner .inline-listen-button.is-playing {
  color: var(--color-accent);
      background: transparent;
}

body.page-tuner .reference-open-strings {
  margin-top: 18px;
}

body.page-tuner .faq-list {
  max-width: 760px;
      margin-left: auto;
      margin-right: auto;
}

@media (max-width: 700px) {
body.page-tuner .inline-listen-button {
  display: inline-flex;
        margin-top: 0.65em;
        margin-left: 0;
}
}

body.page-tuner #reference-tones .string-play {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid var(--color-line);
      color: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      line-height: 1;
}

body.page-tuner #reference-tones .tuner-string-button {
  min-height: 128px;
}

body.page-tuner #reference-tones .string-description {
  color: rgba(249, 221, 199, 0.68);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
}

body.page-tuner #reference-tones .tuner-string-button:hover .string-play, body.page-tuner #reference-tones .tuner-string-button.is-playing .string-play {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-tuner .fretboard-diagram-figure {
  margin: 28px 0 0;
}

body.page-tuner .fretboard-diagram {
  width: 100%;
      max-width: 760px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(249, 221, 199, 0.18);
      background: rgba(255, 255, 255, 0.03);
}

body.page-tuner .fretboard-svg {
  display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      height: auto;
}

body.page-tuner .fretboard-svg text {
  font-family: var(--font-body);
      dominant-baseline: middle;
}

body.page-tuner .fretboard-svg .fretboard-title-text {
  fill: var(--color-text);
      font-family: var(--font-heading);
      font-size: 24px;
      font-weight: 700;
}

body.page-tuner .fretboard-svg .fretboard-subtitle-text, body.page-tuner .fretboard-svg .fret-number-text, body.page-tuner .fretboard-svg .string-label-text {
  fill: rgba(249, 221, 199, 0.7);
      font-size: 13px;
      font-weight: 700;
}

body.page-tuner .fretboard-svg .note-text {
  fill: var(--color-button-text);
      font-size: 13px;
      font-weight: 700;
      text-anchor: middle;
}

body.page-tuner .fretboard-svg .open-note-text {
  fill: var(--color-accent);
}

body.page-tuner .fretboard-svg .string-label-text {
  text-anchor: start;
}

body.page-tuner .fretboard-svg .fret-line, body.page-tuner .fretboard-svg .string-line {
  stroke: rgba(249, 221, 199, 0.32);
      stroke-width: 1;
}

body.page-tuner .fretboard-svg .nut-line {
  stroke: var(--color-accent);
      stroke-width: 5;
}

body.page-tuner .fretboard-svg .note-dot {
  fill: #f9ddc7; 
      stroke: gba(249, 221, 199, 0.28);
      stroke-width: 1;
}

body.page-tuner .fretboard-svg .open-note-dot {
  fill: rgba(255, 255, 255, 0.05);
      stroke: var(--color-accent);
      stroke-width: 2;
}

body.page-tuner .fretboard-svg .octave-marker {
  fill: rgba(249, 221, 199, 0.18);
}

@media (max-width: 700px) {
body.page-tuner .fretboard-diagram {
  max-width: 100%;
}
}



/* Page styles: tools-resources/open-tuning-faq/index.html */
body.page-faq .tuner-hero {
  min-height: 520px;
      background-image: url("/assets/images/hero-open-tuning-faq.webp");
      background-position: center top;
}

body.page-faq .tuner-hero .hero-copy {
  max-width: 780px;
}

body.page-faq .tuning-notes {
  display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
}

body.page-faq .tuning-note-pill {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 58px;
      padding: 10px 14px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.04);
      color: var(--color-accent);
      font-weight: 700;
      line-height: 1;
}

body.page-faq .tuner-layout {
  display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
      gap: 48px;
      align-items: start;
}

body.page-faq .tuner-panel, body.page-faq .tuner-info-card {
  border: 1px solid var(--color-line);
      background: var(--color-bg-card);
}

body.page-faq .tuner-panel {
  padding: 26px;
}

body.page-faq .tuner-info-card {
  padding: 24px;
}

body.page-faq .tuner-info-card h3 {
  color: var(--color-text);
}

body.page-faq .tuner-string-list {
  display: grid;
      gap: 12px;
      margin-top: 24px;
}

body.page-faq .tuner-string-button {
  width: 100%;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 16px;
      align-items: center;
      padding: 16px;
      border: 1px solid var(--color-line);
      border-radius: 0;
      color: var(--color-text);
      background: rgba(255, 255, 255, 0.03);
      cursor: pointer;
      text-align: left;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .tuner-string-button:hover {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.08);
}

body.page-faq .tuner-string-button:active {
  transform: scale(0.99);
}

body.page-faq .tuner-string-button.is-playing {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.14);
}

body.page-faq .string-number {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border: 1px solid var(--color-line);
      color: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
}

body.page-faq .string-main {
  display: grid;
      gap: 2px;
}

body.page-faq .string-note {
  color: var(--color-text);
      font-family: var(--font-heading);
      font-size: 1.45rem;
      line-height: 1.1;
}

body.page-faq .string-description {
  color: var(--color-text-soft);
      font-size: 0.88rem;
      line-height: 1.35;
}

body.page-faq .string-frequency {
  color: rgba(249, 221, 199, 0.62);
      font-size: 0.78rem;
      white-space: nowrap;
}

body.page-faq .tuner-controls {
  display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
}

body.page-faq .tuner-control-button {
  border: 1px solid var(--color-accent);
      border-radius: 0;
      padding: 12px 16px;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .tuner-control-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-faq .tuner-control-button:active {
  transform: scale(0.97);
}

body.page-faq .tuner-control-button.secondary {
  color: var(--color-accent);
      background: transparent;
}

body.page-faq .tuner-control-button.secondary:hover {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-faq .tuner-status {
  min-height: 1.5em;
      margin-top: 18px;
      margin-bottom: 0;
      color: var(--color-accent);
      font-size: 0.95rem;
}

body.page-faq .instruction-list {
  margin: 18px 0 0;
      padding-left: 1.1em;
      color: var(--color-text-soft);
}

body.page-faq .instruction-list li + li {
  margin-top: 8px;
}

body.page-faq .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-faq .text-link:hover {
  text-decoration-color: var(--color-accent);
}

body.page-faq .mic-tuner-panel {
  margin-top: 26px;
      padding-top: 26px;
      border-top: 1px solid var(--color-line);
}

body.page-faq .mic-tuner-display {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 22px;
}

body.page-faq .mic-readout {
  padding: 18px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.03);
      text-align: center;
}

body.page-faq .mic-readout-label {
  margin: 0 0 8px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
}

body.page-faq .mic-readout-value {
  margin: 0;
      color: var(--color-text);
      font-family: var(--font-heading);
      font-size: 2rem;
      line-height: 1.1;
}

body.page-faq .target-buttons {
  display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 8px;
      margin-top: 18px;
}

body.page-faq .target-button {
  padding: 10px 8px;
      border: 1px solid var(--color-line);
      border-radius: 0;
      color: var(--color-text-soft);
      background: rgba(255, 255, 255, 0.03);
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 700;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

body.page-faq .target-button:hover, body.page-faq .target-button.is-selected {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-faq .tuning-meter {
  position: relative;
      height: 18px;
      margin-top: 20px;
      border: 1px solid var(--color-line);
      background: rgba(255, 255, 255, 0.04);
}

body.page-faq .tuning-meter::before {
  content: "";
      position: absolute;
      top: -6px;
      bottom: -6px;
      left: 50%;
      width: 2px;
      transform: translateX(-50%);
      background: var(--color-accent);
}

body.page-faq .tuning-needle {
  position: absolute;
      top: -5px;
      left: 50%;
      width: 3px;
      height: 28px;
      transform: translateX(-50%);
      background: var(--color-text);
      transition: left 0.12s linear;
}

body.page-faq .meter-labels {
  display: flex;
      justify-content: space-between;
      margin-top: 8px;
      color: rgba(249, 221, 199, 0.62);
      font-size: 0.8rem;
}

body.page-faq .mic-help {
  margin-top: 14px;
      font-size: 0.9rem;
      color: rgba(249, 221, 199, 0.7);
}

body.page-faq .tuner-layout--single {
  display: block;
      max-width: 760px;
      margin: 0 auto;
}

body.page-faq .mic-tuner-panel--first {
  margin-top: 0;
      padding-top: 0;
      border-top: 0;
}

body.page-faq .tuner-layout--single .tuner-info-card, body.page-faq .tuner-layout--single .tuner-panel {
  width: 100%;
}

body.page-faq .tuning-instruction-graphic {
  margin: 28px 0;
}

body.page-faq .generated-tuning-instructions {
  display: grid;
      gap: 10px;
      padding: 18px;
      border: 1px solid rgba(249, 221, 199, 0.18);
      background: rgba(255, 255, 255, 0.03);
}

body.page-faq .tuning-instruction-header, body.page-faq .tuning-instruction-row {
  display: grid;
      grid-template-columns: 96px minmax(0, 1fr) 34px minmax(0, 1fr) 220px;
      gap: 12px;
      align-items: center;
}

body.page-faq .tuning-instruction-header {
  padding: 0 12px 2px;
      color: var(--color-accent);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.25;
      text-transform: uppercase;
}

body.page-faq .tuning-instruction-header span:nth-child(2), body.page-faq .tuning-instruction-header span:nth-child(4) {
  text-align: center;
}

body.page-faq .tuning-instruction-header span:nth-child(5) {
  text-align: right;
}

body.page-faq .tuning-instruction-row {
  padding: 12px;
      border: 1px solid rgba(249, 221, 199, 0.14);
      background: rgba(0, 0, 0, 0.12);
}

body.page-faq .tuning-instruction-string {
  color: rgba(249, 221, 199, 0.68);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1.25;
      text-transform: uppercase;
}

body.page-faq .tuning-note-box {
  display: flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      border: 1px solid var(--color-line);
      color: var(--color-text);
      background: transparent;
      font-family: var(--font-heading);
      font-size: 1.25rem;
      line-height: 1;
}

body.page-faq .tuning-note-button {
  width: 100%;
      cursor: pointer;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .tuning-note-button::after {
  content: "▶︎";
      margin-left: 0.45em;
      margin-top: 0.30em;
      color: var(--color-accent);
      font-family: var(--font-body);
      font-size: 0.74rem;
      line-height: 1;
}

body.page-faq .tuning-note-button:hover {
  border-color: var(--color-accent);
      background: rgba(227, 198, 147, 0.1);
}

body.page-faq .tuning-note-button:active {
  transform: scale(0.98);
}

body.page-faq .tuning-arrow {
  color: var(--color-accent);
      font-size: 1.15rem;
      font-weight: 700;
      text-align: center;
}

body.page-faq .tuning-action {
  justify-self: end;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 10px;
      border: 1px solid rgba(249, 221, 199, 0.18);
      color: var(--color-text);
      background: rgba(255, 255, 255, 0.04);
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 1;
      text-align: center;
      text-transform: none;
      white-space: nowrap;
}

@media (max-width: 640px) {
body.page-faq .generated-tuning-instructions {
  padding: 12px;
}

body.page-faq .tuning-instruction-header {
  display: none;
}

body.page-faq .tuning-instruction-row {
  grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
}

body.page-faq .tuning-action {
  justify-self: center;
        text-align: center;
        white-space: normal;
}
}

body.page-faq .tuning-select-panel {
  margin-top: 30px;
      max-width: 275px;
}

body.page-faq .tuning-select-label {
  display: block;
      margin-bottom: 10px;
      color: var(--color-accent);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
}

body.page-faq .tuning-select {
  width: 100%;
      min-height: 58px;
      padding: 0 16px;
      border: 1px solid rgba(249, 221, 199, 0.55);
      border-radius: 0;
      color: var(--color-bg-dark);
      background: var(--color-text);
      font: inherit;
      outline: none;
}

body.page-faq .tuning-select:focus {
  border-color: var(--color-accent);
      box-shadow: 0 0 0 2px rgba(227, 198, 147, 0.25);
}

body.page-faq .selected-tuning-summary {
  margin-top: 24px;
      max-width: 760px;
}

body.page-faq .tuner-updated-title {
  color: var(--color-text);
}

@media (max-width: 960px) {
body.page-faq .tuner-layout {
  grid-template-columns: 1fr;
        gap: 32px;
}
}

@media (max-width: 560px) {
body.page-faq .tuner-hero {
  min-height: 500px;
}

body.page-faq .tuner-panel, body.page-faq .tuner-info-card {
  padding: 20px;
}

body.page-faq .tuner-string-button {
  grid-template-columns: auto 1fr;
}

body.page-faq .string-frequency {
  grid-column: 2;
}

body.page-faq .tuner-control-button {
  width: 100%;
}

body.page-faq .mic-tuner-display, body.page-faq .target-buttons {
  grid-template-columns: 1fr;
}
}

body.page-faq .tuner-plain-card {
  border: 0;
      background: transparent;
      padding: 0;
}

body.page-faq #reference-tones {
  grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 10px;
      margin-top: 24px;
}

body.page-faq #reference-tones .tuner-string-button {
  display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 138px;
      padding: 14px 8px;
      gap: 8px;
      text-align: center;
}

body.page-faq #reference-tones .string-main {
  display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
}

body.page-faq #reference-tones .string-number {
  width: 32px;
      height: 32px;
}

body.page-faq #reference-tones .string-note {
  font-size: 1.55rem;
}

body.page-faq #reference-tones .string-description {
  font-size: 0.74rem;
      line-height: 1.25;
}

body.page-faq #reference-tones .string-frequency {
  font-size: 0.72rem;
      white-space: normal;
}

@media (max-width: 960px) {
body.page-faq #reference-tones {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 560px) {
body.page-faq #reference-tones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-faq #reference-tones .tuner-string-button {
  width: 100%;
}

body.page-faq #reference-tones .string-frequency {
  grid-column: auto;
}
}

body.page-faq .hero-tuning-list {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 28px;
      max-width: 760px;
}

body.page-faq .hero-tuning-item {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-faq .hero-tuning-name {
  display: block;
      color: var(--color-text);
      font-size: 0.86rem;
      font-weight: 700;
      line-height: 1.25;
}

body.page-faq .hero-tuning-notes {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.76rem;
      line-height: 1.25;
}

body.page-faq .open-strings-button {
  border: 1px solid var(--color-accent);
      border-radius: 0;
      padding: 8px 10px;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
      white-space: nowrap;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .open-strings-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-faq .open-strings-button:active {
  transform: scale(0.97);
}

body.page-faq .open-strings-button.is-playing {
  color: var(--color-accent);
      background: transparent;
}

body.page-faq .hero-audio-status {
  min-height: 1.4em;
      margin-top: 10px;
      color: rgba(249, 221, 199, 0.72);
      font-size: 0.86rem;
}

body.page-faq .faq-list {
  display: grid;
      gap: 22px;
      max-width: 920px;
}

body.page-faq .faq-item {
  padding-bottom: 22px;
      border-bottom: 1px solid var(--color-line);
}

body.page-faq .faq-item:last-child {
  padding-bottom: 0;
      border-bottom: 0;
}

body.page-faq .faq-item h3 {
  margin-bottom: 8px;
      color: var(--color-text);
}

body.page-faq .next-step-panel {
  max-width: 760px;
      margin: 0 auto;
      text-align: center;
}

body.page-faq .next-step-panel p {
  max-width: 680px;
      margin-left: auto;
      margin-right: auto;
}

body.page-faq .next-step-button {
  display: inline-block;
      margin-top: 16px;
      padding: 14px 18px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .next-step-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-faq .next-step-button:active {
  transform: scale(0.97);
}

@media (max-width: 700px) {
body.page-faq .hero-tuning-list {
  grid-template-columns: 1fr;
}

body.page-faq .hero-tuning-item {
  grid-template-columns: 1fr;
}

body.page-faq .open-strings-button {
  width: 100%;
        min-height: 42px;
}
}

body.page-faq .selected-open-strings-audio {
  margin-top: 18px;
      max-width: 620px;
}

body.page-faq .selected-audio-label {
  margin: 0 0 8px;
      color: var(--color-accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      line-height: 1.3;
      text-transform: uppercase;
}

body.page-faq .selected-audio-row {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-faq .selected-audio-row strong {
  display: block;
      color: var(--color-text);
      font-size: 0.95rem;
      line-height: 1.3;
}

body.page-faq .selected-audio-row span {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.82rem;
      line-height: 1.3;
}

body.page-faq .open-tuning-audio-list {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 16px;
}

body.page-faq .open-tuning-audio-item {
  display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(249, 221, 199, 0.24);
      background: rgba(255, 255, 255, 0.035);
}

body.page-faq .open-tuning-audio-name {
  display: block;
      color: var(--color-text);
      font-size: 0.86rem;
      font-weight: 700;
      line-height: 1.25;
}

body.page-faq .open-tuning-audio-notes {
  display: block;
      margin-top: 2px;
      color: rgba(249, 221, 199, 0.68);
      font-size: 0.76rem;
      line-height: 1.25;
}

@media (max-width: 700px) {
body.page-faq .selected-audio-row, body.page-faq .open-tuning-audio-item {
  grid-template-columns: 1fr;
}

body.page-faq .open-tuning-audio-list {
  grid-template-columns: 1fr;
}
}

body.page-faq .inline-listen-button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 0.5em;
      padding: 8px 11px;
      border: 1px solid var(--color-accent);
      border-radius: 0;
      cursor: pointer;
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
      vertical-align: middle;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-faq .inline-listen-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-faq .inline-listen-button.is-playing {
  color: var(--color-accent);
      background: transparent;
}

body.page-faq .reference-open-strings {
  margin-top: 18px;
}

body.page-faq .faq-list {
  max-width: 760px;
      margin-left: auto;
      margin-right: auto;
}

@media (max-width: 700px) {
body.page-faq .inline-listen-button {
  display: inline-flex;
        margin-top: 0.65em;
        margin-left: 0;
}
}

body.page-faq #reference-tones .string-play {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid var(--color-line);
      color: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      line-height: 1;
}

body.page-faq #reference-tones .tuner-string-button {
  min-height: 128px;
}

body.page-faq #reference-tones .string-description {
  color: rgba(249, 221, 199, 0.68);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
}

body.page-faq #reference-tones .tuner-string-button:hover .string-play, body.page-faq #reference-tones .tuner-string-button.is-playing .string-play {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-faq .fretboard-diagram-figure {
  margin: 28px 0 0;
}

body.page-faq .fretboard-diagram {
  width: 100%;
      max-width: 760px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(249, 221, 199, 0.18);
      background: rgba(255, 255, 255, 0.03);
}

body.page-faq .fretboard-svg {
  display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      height: auto;
}

body.page-faq .fretboard-svg text {
  font-family: var(--font-body);
      dominant-baseline: middle;
}

body.page-faq .fretboard-svg .fretboard-title-text {
  fill: var(--color-text);
      font-family: var(--font-heading);
      font-size: 24px;
      font-weight: 700;
}

body.page-faq .fretboard-svg .fretboard-subtitle-text, body.page-faq .fretboard-svg .fret-number-text, body.page-faq .fretboard-svg .string-label-text {
  fill: rgba(249, 221, 199, 0.7);
      font-size: 13px;
      font-weight: 700;
}

body.page-faq .fretboard-svg .note-text {
  fill: var(--color-button-text);
      font-size: 13px;
      font-weight: 700;
      text-anchor: middle;
}

body.page-faq .fretboard-svg .open-note-text {
  fill: var(--color-accent);
}

body.page-faq .fretboard-svg .string-label-text {
  text-anchor: start;
}

body.page-faq .fretboard-svg .fret-line, body.page-faq .fretboard-svg .string-line {
  stroke: rgba(249, 221, 199, 0.32);
      stroke-width: 1;
}

body.page-faq .fretboard-svg .nut-line {
  stroke: var(--color-accent);
      stroke-width: 5;
}

body.page-faq .fretboard-svg .note-dot {
  fill: #f9ddc7; 
      stroke: gba(249, 221, 199, 0.28);
      stroke-width: 1;
}

body.page-faq .fretboard-svg .open-note-dot {
  fill: rgba(255, 255, 255, 0.05);
      stroke: var(--color-accent);
      stroke-width: 2;
}

body.page-faq .fretboard-svg .octave-marker {
  fill: rgba(249, 221, 199, 0.18);
}

@media (max-width: 700px) {
body.page-faq .fretboard-diagram {
  max-width: 100%;
}
}

body.page-faq .faq-hero {
  min-height: 460px;
      background-image: url("/assets/images/hero-open-tuning-faq.webp");
      background-position: center top;
}

body.page-faq .faq-hero .hero-copy {
  max-width: 780px;
}



/* Page styles: tools-resources/open-tuning-songs/index.html */
body.page-open-d-songs .songs-hero {
  min-height: 500px;
      background-image: url("/assets/images/hero-open-tuning-songs.webp");
      background-position: center top;
}

body.page-open-d-songs .songs-hero .hero-copy {
  max-width: 800px;
}

body.page-open-d-songs .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-open-d-songs .text-link:hover {
  text-decoration-color: var(--color-accent);
}

body.page-open-d-songs .songs-button-row {
  display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
      margin-bottom: 28px;
}

body.page-open-d-songs .songs-button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 14px 18px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-open-d-songs .songs-button:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-open-d-songs .songs-button:active {
  transform: scale(0.97);
}

body.page-open-d-songs .songs-button.secondary {
  color: var(--color-accent);
      background: transparent;
}

body.page-open-d-songs .songs-button.secondary:hover {
  color: var(--color-button-text);
      background: var(--color-accent);
      border-color: var(--color-accent);
}

body.page-open-d-songs .directory-intro-grid {
  display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
      gap: 48px;
      align-items: start;
}

body.page-open-d-songs .directory-stat-grid {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
}

body.page-open-d-songs .directory-stat {
  border: 1px solid var(--color-line);
      background: var(--color-bg-card);
      padding: 20px;
      text-align: center;
}

body.page-open-d-songs .directory-stat strong {
  display: block;
      color: var(--color-text);
      font-family: var(--font-heading);
      font-size: 2rem;
      line-height: 1.1;
}

body.page-open-d-songs .directory-stat span {
  display: block;
      margin-top: 8px;
      color: var(--color-accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
}

body.page-open-d-songs .songs-hero .directory-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 430px;
      margin-top: 28px;
}

body.page-open-d-songs .songs-hero .directory-stat {
  background: rgba(255, 255, 255, 0.045);
}

body.page-open-d-songs .spotify-playlist-wrap {
  max-width: 760px;
      margin: 34px auto 0;
      border: 1px solid var(--color-line);
      background: var(--color-bg-card);
      padding: 16px;
}

body.page-open-d-songs .spotify-playlist-wrap iframe {
  display: block;
      width: 100%;
      border: 0;
}

body.page-open-d-songs .song-grid {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 36px;
}

body.page-open-d-songs .song-card {
  display: flex;
      flex-direction: column;
      border: 1px solid var(--color-line);
      background: var(--color-bg-card);
      min-width: 0;
}

body.page-open-d-songs .song-card-header {
  padding: 22px 22px 16px;
}

body.page-open-d-songs .song-number {
  margin: 0 0 10px;
      color: var(--color-accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      line-height: 1.3;
      text-transform: uppercase;
}

body.page-open-d-songs .song-card h3 {
  margin: 0;
      color: var(--color-text);
      line-height: 1.15;
}

body.page-open-d-songs .song-artist {
  margin: 8px 0 0;
      color: var(--color-text-soft);
      font-size: 0.95rem;
}

body.page-open-d-songs .video-frame {
  position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: rgba(0, 0, 0, 0.24);
      border-top: 1px solid var(--color-line);
      border-bottom: 1px solid var(--color-line);
      overflow: hidden;
}

body.page-open-d-songs .video-frame iframe {
  position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
}

body.page-open-d-songs .youtube-embed-button {
  position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      padding: 0;
      cursor: pointer;
      color: var(--color-text);
      background: #111;
      overflow: hidden;
}

body.page-open-d-songs .youtube-embed-button img {
  width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.72;
      transform: scale(1.01);
      transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

body.page-open-d-songs .youtube-embed-button:hover img {
  opacity: 0.88;
      transform: scale(1.04);
}

body.page-open-d-songs .youtube-play-badge {
  position: absolute;
      left: 50%;
      top: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 74px;
      height: 54px;
      transform: translate(-50%, -50%);
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 1.1rem;
      font-weight: 700;
      line-height: 1;
}

body.page-open-d-songs .youtube-embed-label {
  position: absolute;
      left: 12px;
      right: 12px;
      bottom: 12px;
      display: block;
      padding: 9px 10px;
      color: var(--color-text);
      background: rgba(0, 0, 0, 0.72);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      line-height: 1.2;
      text-transform: uppercase;
}

body.page-open-d-songs .video-frame-empty {
  display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-text-soft);
}

body.page-open-d-songs .song-actions {
  display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding: 16px;
      margin-top: auto;
}

body.page-open-d-songs .song-action {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 10px 12px;
      border: 1px solid var(--color-accent);
      color: var(--color-button-text);
      background: var(--color-accent);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;
      transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

body.page-open-d-songs .song-action:hover {
  background: #f0d9a6;
      border-color: #f0d9a6;
}

body.page-open-d-songs .song-action:active {
  transform: scale(0.97);
}

body.page-open-d-songs .song-action-disabled {
  color: rgba(249, 221, 199, 0.58);
      background: transparent;
      border-color: rgba(249, 221, 199, 0.22);
      cursor: not-allowed;
}

body.page-open-d-songs .song-action-disabled:hover {
  color: rgba(249, 221, 199, 0.58);
      background: transparent;
      border-color: rgba(249, 221, 199, 0.22);
}

body.page-open-d-songs .embed-fallback {
  margin: 10px 0 0;
      color: rgba(249, 221, 199, 0.72);
      font-size: 0.84rem;
      line-height: 1.45;
}

body.page-open-d-songs .embed-fallback a {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-open-d-songs .embed-fallback a:hover {
  text-decoration-color: var(--color-accent);
}

body.page-open-d-songs .directory-note {
  max-width: 760px;
      margin: 36px auto 0;
      color: rgba(249, 221, 199, 0.72);
      font-size: 0.92rem;
      text-align: center;
}

body.page-open-d-songs .next-step-panel {
  max-width: 760px;
      margin: 0 auto;
      text-align: center;
}

body.page-open-d-songs .next-step-panel p {
  max-width: 680px;
      margin-left: auto;
      margin-right: auto;
}

@media (max-width: 960px) {
body.page-open-d-songs .directory-intro-grid, body.page-open-d-songs .song-grid {
  grid-template-columns: 1fr;
}

body.page-open-d-songs .directory-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 640px) {
body.page-open-d-songs .songs-hero {
  min-height: 480px;
}

body.page-open-d-songs .directory-stat-grid, body.page-open-d-songs .song-actions {
  grid-template-columns: 1fr;
}

body.page-open-d-songs .songs-button {
  width: 100%;
}
}

body.page-open-d-songs .songs-hero .directory-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 430px;
      margin-top: 28px;
}

@media (max-width: 640px) {
body.page-open-d-songs .songs-hero .directory-stat-grid {
  grid-template-columns: 1fr;
}
}

body.page-open-d-songs #song-list .directory-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 430px;
      margin: 24px auto 22px;
}

@media (max-width: 640px) {
body.page-open-d-songs #song-list .directory-stat-grid {
  grid-template-columns: 1fr;
}
}

body.page-open-d-songs .spotify-playlist-wrap iframe {
  min-height: 1950px;
}



/* Page styles: about/index.html */
body.page-about .about-hero {
  background-image: url("/assets/images/marcus2.webp");
      background-position: center;
}

body.page-about .about-hero .hero-overlay {
  z-index: 0;
}

body.page-about .about-hero .hero-content {
  z-index: 1;
}

body.page-about .about-copy-block {
  max-width: 760px;
}

body.page-about .about-copy-block p:last-child {
  margin-bottom: 0;
}

body.page-about .about-cta {
  margin-top: 28px;
}

body.page-about .text-link {
  color: var(--color-accent);
      text-decoration-color: rgba(227, 198, 147, 0.45);
      text-underline-offset: 4px;
}

body.page-about .text-link:hover {
  text-decoration-color: var(--color-accent);
}



/* Page styles: privacy-policy/index.html */
body.page-privacy-policy .legal-main {
  background: var(--color-bg-dark, #2f2012);
}

body.page-privacy-policy .legal-section {
  padding-top: 110px;
}

body.page-privacy-policy .legal-content {
  max-width: 760px;
      margin: 0 auto;
}

body.page-privacy-policy .legal-content h1 {
  margin-bottom: 18px;
}

body.page-privacy-policy .legal-content h2 {
  margin-top: 46px;
      margin-bottom: 14px;
}

body.page-privacy-policy .legal-content h3 {
  margin-top: 28px;
      margin-bottom: 10px;
      color: var(--color-text, #f9ddc7);
}

body.page-privacy-policy .legal-content p, body.page-privacy-policy .legal-content li {
  color: var(--color-text-soft, rgba(249, 221, 199, 0.78));
}

body.page-privacy-policy .legal-content ul, body.page-privacy-policy .legal-content ol {
  padding-left: 1.2em;
}

body.page-privacy-policy .legal-content li + li {
  margin-top: 8px;
}

body.page-privacy-policy .legal-meta {
  color: rgba(249, 221, 199, 0.64);
      font-size: 0.92rem;
}

body.page-privacy-policy .legal-note {
  padding: 16px;
      border: 1px solid var(--color-line, rgba(249, 221, 199, 0.18));
      background: rgba(255, 255, 255, 0.035);
}

body.page-privacy-policy .legal-table {
  width: 100%;
      border-collapse: collapse;
      margin: 18px 0 28px;
      font-size: 0.92rem;
}

body.page-privacy-policy .legal-table th, body.page-privacy-policy .legal-table td {
  padding: 12px;
      border: 1px solid var(--color-line, rgba(249, 221, 199, 0.18));
      vertical-align: top;
      text-align: left;
}

body.page-privacy-policy .legal-table th {
  color: var(--color-text, #f9ddc7);
      background: rgba(255, 255, 255, 0.035);
}

body.page-privacy-policy .placeholder {
  color: var(--color-accent, #e3c693);
      font-weight: 700;
}

body.page-privacy-policy .legal-footer-links {
  margin-top: 8px;
      font-size: 0.82rem;
}

body.page-privacy-policy .legal-footer-links a {
  color: inherit;
      text-decoration: underline;
      text-underline-offset: 3px;
}



/* Page styles: terms/index.html */
body.page-terms .legal-main {
  background: var(--color-bg-dark, #2f2012);
}

body.page-terms .legal-section {
  padding-top: 110px;
}

body.page-terms .legal-content {
  max-width: 760px;
      margin: 0 auto;
}

body.page-terms .legal-content h1 {
  margin-bottom: 18px;
}

body.page-terms .legal-content h2 {
  margin-top: 46px;
      margin-bottom: 14px;
}

body.page-terms .legal-content h3 {
  margin-top: 28px;
      margin-bottom: 10px;
      color: var(--color-text, #f9ddc7);
}

body.page-terms .legal-content p, body.page-terms .legal-content li {
  color: var(--color-text-soft, rgba(249, 221, 199, 0.78));
}

body.page-terms .legal-content ul, body.page-terms .legal-content ol {
  padding-left: 1.2em;
}

body.page-terms .legal-content li + li {
  margin-top: 8px;
}

body.page-terms .legal-meta {
  color: rgba(249, 221, 199, 0.64);
      font-size: 0.92rem;
}

body.page-terms .legal-note {
  padding: 16px;
      border: 1px solid var(--color-line, rgba(249, 221, 199, 0.18));
      background: rgba(255, 255, 255, 0.035);
}

body.page-terms .legal-table {
  width: 100%;
      border-collapse: collapse;
      margin: 18px 0 28px;
      font-size: 0.92rem;
}

body.page-terms .legal-table th, body.page-terms .legal-table td {
  padding: 12px;
      border: 1px solid var(--color-line, rgba(249, 221, 199, 0.18));
      vertical-align: top;
      text-align: left;
}

body.page-terms .legal-table th {
  color: var(--color-text, #f9ddc7);
      background: rgba(255, 255, 255, 0.035);
}

body.page-terms .placeholder {
  color: var(--color-accent, #e3c693);
      font-weight: 700;
}

body.page-terms .legal-footer-links {
  margin-top: 8px;
      font-size: 0.82rem;
}

body.page-terms .legal-footer-links a {
  color: inherit;
      text-decoration: underline;
      text-underline-offset: 3px;
}



/* ==================================================
   SHARED PARTIAL STATE / SITE-WIDE REFINEMENTS
   ================================================== */
body[data-current="start"] .site-nav a[data-nav="start"],
body[data-current="method"] .site-nav a[data-nav="method"],
body[data-current="resources"] .site-nav a[data-nav="resources"],
body[data-current="about"] .site-nav a[data-nav="about"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

.hero {
  background-image: var(--hero-image, none);
}

body.page-home { --hero-image: url("/assets/images/hero-start-here.webp"); }
body.page-high-drone-method { --hero-image: url("/assets/images/hero-high-drone-method.webp"); }
body.page-tools-resources { --hero-image: url("/assets/images/hero-tools-resources.webp"); }
body.page-tuner { --hero-image: url("/assets/images/hero-online-tuner.webp"); }
body.page-faq { --hero-image: url("/assets/images/hero-open-tuning-faq.webp"); }
body.page-open-tuning-songs { --hero-image: url("/assets/images/hero-open-tuning-songs.webp"); }
body.page-open-d-songs { --hero-image: url("/assets/images/hero-open-tuning-songs.webp"); }
body.page-about { --hero-image: url("/assets/images/marcus1.webp"); }

body.page-home .hero,
body.page-high-drone-method .hero,
body.page-tools-resources .hero,
body.page-tuner .hero,
body.page-faq .hero,
body.page-open-tuning-songs .hero,
body.page-open-d-songs .hero,
body.page-about .hero {
  background-image: var(--hero-image, none);
}

.text-link {
  color: var(--color-accent);
  text-decoration-color: rgba(227, 198, 147, 0.45);
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-color: var(--color-accent);
}

.about-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 48px;
  align-items: start;
}

.about-portrait {
  margin: 0;
  border: 0px solid var(--color-line);
  background: var(--color-bg-card);
  padding: 0px;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.song-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.song-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--color-line);
  background: var(--color-bg-card);
  text-decoration: none;
}

.song-directory-card h3 {
  color: var(--color-text);
}

.song-directory-card.is-disabled {
  opacity: 0.58;
}

.song-directory-card .resource-arrow {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .about-profile-layout,
  .song-directory-grid {
    grid-template-columns: 1fr;
  }
}
