:root {
  --ink: #3f2224;
  --muted: #735b57;
  --paper: #fbf4ec;
  --cream: #fffaf4;
  --rose: #df4f83;
  --rose-dark: #a93862;
  --teal: #28a9b8;
  --teal-dark: #187a84;
  --line: #eadbd0;
  --shadow: 0 22px 60px rgba(63, 34, 36, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

picture {
  display: block;
}

picture img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 46px;
  object-fit: contain;
  width: auto;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero,
.signup-hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 104px) clamp(18px, 7vw, 96px);
}

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

.eyebrow {
  color: var(--rose-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(18px, 2.1vw, 22px);
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button-row.centered {
  justify-content: center;
}

.button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  padding: 14px 20px;
  text-decoration: none;
}

.button.primary {
  background: var(--rose);
  color: white;
}

.button.primary:hover {
  background: var(--rose-dark);
}

.button.secondary {
  background: #d8f0f2;
  color: var(--teal-dark);
}

.button.full {
  width: 100%;
}

.hero-image {
  filter: drop-shadow(0 28px 34px rgba(63, 34, 36, 0.16));
  max-width: 100%;
}

.band {
  background: var(--cream);
  border-block: 1px solid var(--line);
  padding: clamp(50px, 8vw, 90px) clamp(18px, 7vw, 96px);
}

.band.soft {
  background: #fff7ef;
}

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

.section-heading p,
.featured-book p,
.author-strip p,
.feature-grid p,
.center-panel p,
.signup-card p {
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.featured-book {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.featured-book img,
.book-card img,
.series-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.secondary-books {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 42px auto 0;
  max-width: 980px;
}

.book-card {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 18px;
}

.book-card.secondary img {
  width: 140px;
}

.text-link {
  color: var(--rose-dark);
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.series-band {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(30px, 6vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 520px);
  padding: clamp(50px, 8vw, 90px) clamp(18px, 7vw, 96px);
}

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

.series-copy p {
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 28px;
  padding: 0;
}

.check-list li {
  color: var(--muted);
  font-family: Arial, sans-serif;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  background: var(--teal);
  border-radius: 50%;
  color: white;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  height: 18px;
  left: 0;
  line-height: 18px;
  position: absolute;
  text-align: center;
  top: 2px;
  width: 18px;
}

.check-list.compact {
  margin-bottom: 0;
}

.author-strip {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 210px minmax(0, 700px);
  justify-content: center;
  padding: clamp(48px, 8vw, 86px) clamp(18px, 7vw, 96px);
}

.author-strip img {
  border-radius: 50%;
  box-shadow: var(--shadow);
  height: 210px;
  object-fit: cover;
  object-position: 50% 35%;
  width: 210px;
}

.signup-hero {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
}

.bonus-pack-preview {
  display: block;
  filter: drop-shadow(0 26px 34px rgba(63, 34, 36, 0.14));
  margin: 18px 0 26px;
  max-width: min(640px, 100%);
  width: 100%;
}

.signup-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 34px);
}

form {
  display: grid;
  gap: 16px;
}

label,
legend {
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

input[type="email"],
input[name="first_name"] {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font: 16px Arial, sans-serif;
  margin-top: 6px;
  padding: 14px 12px;
  width: 100%;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
}

.option,
.consent {
  align-items: start;
  color: var(--muted);
  display: flex;
  font-weight: 500;
  gap: 9px;
}

.consent {
  font-size: 13px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.feature-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}

.review-intro {
  min-height: auto;
}

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

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.review-card p {
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.review-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.review-actions .button {
  width: 100%;
}

.center-panel {
  margin: 0 auto;
  max-width: 760px;
  min-height: calc(100vh - 220px);
  padding: clamp(70px, 11vw, 130px) 18px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  padding: 34px 18px;
  text-align: center;
}

.admin-table {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 24px auto;
  max-width: 520px;
  width: 100%;
}

.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.site-footer p {
  margin-bottom: 8px;
}

.admin-main {
  overflow: visible;
}

.admin-calendar-shell {
  padding: clamp(36px, 6vw, 70px) clamp(18px, 5vw, 72px);
}

.admin-heading {
  margin: 0 auto 28px;
  max-width: 920px;
}

.admin-heading p,
.small-admin {
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.calendar-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.calendar-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
}

.calendar-day {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  font-family: Arial, sans-serif;
  min-height: 68px;
  padding: 10px;
  text-decoration: none;
}

.calendar-day span {
  color: var(--muted);
  font-size: 12px;
}

.calendar-day.active {
  background: #f4dedb;
  border-color: var(--rose);
}

.day-panel {
  min-width: 0;
}

.post-stack {
  display: grid;
  gap: 16px;
}

.admin-post-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.post-meta span,
.copy-mini {
  background: #d8f0f2;
  border: 0;
  border-radius: 999px;
  color: var(--teal-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.admin-post-card label {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 14px 0 6px;
}

.admin-post-card textarea,
.admin-post-card input {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: 14px Arial, sans-serif;
  padding: 10px;
  width: 100%;
}

.admin-post-card textarea {
  min-height: 86px;
  resize: vertical;
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    left: 0;
    padding: 14px 18px;
    position: fixed;
    right: 0;
    top: 0;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
  }

  nav a {
    font-size: 13px;
  }

  main {
    padding-top: 112px;
  }

  .hero,
  .signup-hero,
  .featured-book,
  .author-strip,
  .feature-grid,
  .review-grid,
  .calendar-layout,
  .series-band {
    grid-template-columns: 1fr;
  }

  .hero,
  .signup-hero {
    min-height: auto;
  }

  .author-strip {
    text-align: center;
  }

  .author-strip img {
    justify-self: center;
  }

  .series-copy {
    text-align: center;
  }

  .series-image {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  .brand img {
    height: 38px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .secondary-books,
  .book-card {
    grid-template-columns: 1fr;
  }

  .book-card {
    text-align: center;
  }

  .book-card.secondary img {
    justify-self: center;
    width: min(220px, 75vw);
  }
}
