:root {
  --ink: #172026;
  --muted: #61707d;
  --paper: #f6f7f5;
  --surface: #ffffff;
  --soft: #eef1ef;
  --line: #d8dedb;
  --blue: #1f5d75;
  --blue-dark: #17313e;
  --gold: #b97835;
  --red: #9d4639;
  --green: #4d6f5e;
  --purple: #66507a;
  --shadow: 0 20px 50px rgba(23, 32, 38, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 170px;
  font-family: Arial, Helvetica, sans-serif;
}

.brand-logo {
  width: clamp(150px, 18vw, 230px);
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 80px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 10% 20%, rgba(185, 120, 53, 0.13), transparent 26%),
    radial-gradient(circle at 85% 35%, rgba(102, 80, 122, 0.13), transparent 24%),
    linear-gradient(110deg, rgba(246, 247, 245, 0.97), rgba(246, 247, 245, 0.84)),
    url("../images/tools-daddy-kept.png") center/cover;
}

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

.eyebrow,
.tag {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 850;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text,
.lead,
.page-hero p {
  color: var(--blue-dark);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--line);
}

.hero-books {
  min-height: 560px;
  position: relative;
}

.cover {
  width: min(46vw, 360px);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255, 255, 255, 0.86);
}

.cover-front {
  position: absolute;
  right: 26%;
  top: 4%;
  z-index: 2;
}

.cover-back {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(41vw, 320px);
}

.section,
.band,
.newsletter,
.page-hero,
.book-hero {
  padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.book-grid,
.resource-grid,
.store-grid,
.product-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}

.book-card,
.product-card,
.steps-grid article,
.resource-grid article,
.store-card,
.form-card,
.contact-routes,
.details-box,
.account-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(30, 37, 41, 0.07);
}

.book-card {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 18px;
}

.product-card > div:last-child {
  display: flex;
  flex-direction: column;
}

.product-card img,
.cover-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-dark), var(--purple));
}

.purchase-paths {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.download-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.purchase-paths .button {
  width: 100%;
}

.cover-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  text-align: center;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.book-card img {
  border-radius: 6px;
}

.text-link {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--blue);
}

.band {
  background: var(--soft);
}

.split,
.two-column,
.form-layout,
.feature-row,
.newsletter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.account-panel,
.details-box,
.resource-grid article,
.store-card,
.form-card,
.contact-routes {
  padding: 24px;
}

.account-link {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.account-link strong,
.account-link span {
  display: block;
}

.account-link span {
  color: var(--muted);
}

.compact {
  padding-top: 48px;
  padding-bottom: 48px;
}

.newsletter {
  background: var(--blue-dark);
  color: #fff;
  align-items: center;
}

.newsletter .eyebrow,
.newsletter p {
  color: #f4c98a;
}

.inline-form,
.form-card {
  display: grid;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}

.form-note,
.auth-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-message.is-error {
  color: var(--red);
  font-weight: 800;
}

.page-hero {
  background:
    linear-gradient(120deg, #f6f7f5, #e7eeeb);
  border-bottom: 1px solid var(--line);
}

.page-hero.small {
  padding-bottom: 48px;
}

.page-hero > *,
.narrow {
  max-width: 860px;
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(210px, 330px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(120deg, #f6f7f5, #e7eeeb);
}

.book-hero.fantasy {
  background: linear-gradient(120deg, #f6f7f5, #eee9f4);
}

.book-hero img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.details-box ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.clean-list {
  margin: 0;
  padding-left: 20px;
}

.clean-list li + li {
  margin-top: 8px;
}

.collaboration-grid article {
  display: flex;
  flex-direction: column;
}

.story-list {
  max-width: 1160px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.story-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font-weight: 800;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid article {
  padding: 24px;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
}

.form-card.wide {
  grid-column: span 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin-bottom: 0;
  color: #d7ddd9;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer a {
  color: #fff;
}

.music-page {
  background: #171410;
  color: #f8efe3;
}

.music-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(18, 15, 12, 0.92), rgba(18, 15, 12, 0.72) 46%, rgba(18, 15, 12, 0.15)),
    url("../images/country-songwriting-hero.png") center/cover;
}

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

.music-hero .eyebrow {
  color: #f4b36a;
}

.music-hero h1 {
  color: #fff7ed;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
  max-width: 900px;
}

.music-hero p {
  color: #f3dfc4;
  max-width: 760px;
}

.music-band {
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: #241b14;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.music-intro {
  max-width: 960px;
}

.music-intro .eyebrow {
  color: #f4b36a;
}

.music-intro h2 {
  color: #fff7ed;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.music-intro p {
  color: #ead9c0;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}

.music-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.music-grid p {
  color: #ead9c0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .book-hero,
  .split,
  .two-column,
  .form-layout,
  .feature-row,
  .newsletter,
  .book-grid,
  .resource-grid,
  .store-grid,
  .product-grid,
  .steps-grid,
  .music-grid {
    grid-template-columns: 1fr;
  }

  .music-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(18, 15, 12, 0.88), rgba(18, 15, 12, 0.70)),
      url("../images/country-songwriting-hero.png") center/cover;
  }

  .hero {
    min-height: auto;
  }

  .hero-books {
    min-height: 430px;
  }

  .cover {
    width: min(58vw, 285px);
  }

  .cover-front {
    left: 0;
    right: auto;
  }

  .cover-back {
    right: 0;
    width: min(52vw, 250px);
  }

  .story-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 132px;
    height: 50px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .book-card {
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .hero-books {
    min-height: 365px;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 18px;
  }
}
