:root {
  --cream-50: #fffaf3;
  --cream-100: #f8f1e7;
  --cream-200: #eee2d2;
  --paper: #fffdf8;
  --ink: #2d2926;
  --ink-soft: #5e5751;
  --teal: #16545b;
  --teal-deep: #103f45;
  --teal-soft: #dcebea;
  --sage: #73816c;
  --sage-soft: #e5eadf;
  --terracotta: #a84f35;
  --terracotta-dark: #873922;
  --terracotta-soft: #f2d9cd;
  --gold: #b99a62;
  --line: rgba(45, 41, 38, 0.14);
  --shadow-sm: 0 10px 30px rgba(59, 47, 38, 0.08);
  --shadow-lg: 0 26px 70px rgba(40, 52, 49, 0.15);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 74rem;
  --reading: 44rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.55rem, 6vw, 5.45rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--ink);
  background: var(--terracotta-soft);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

:where([id]) {
  scroll-margin-top: 6.5rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--teal-deep);
  border-radius: 0.4rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: var(--reading);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--compact {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--tinted,
.surface-soft {
  background: var(--cream-100);
}

.section--teal {
  color: rgba(255, 255, 255, 0.86);
  background: var(--teal-deep);
}

.section--teal h2,
.section--teal h3 {
  color: #fffaf2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.section--teal .eyebrow {
  color: #f0b39f;
}

.lead {
  max-width: 47rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.27rem);
  line-height: 1.75;
}

.kicker {
  margin-bottom: 0.45rem;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(45, 41, 38, 0.1);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.nav-shell {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  color: var(--teal-deep);
  text-decoration: none;
}

.brand:hover {
  color: var(--teal-deep);
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cream-50);
  background: var(--teal);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-author {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__byline {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

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

.nav-cta,
.site-nav .nav-cta {
  margin-left: 0.25rem;
  color: #fffaf3;
  background: var(--teal);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--teal-deep);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  cursor: pointer;
  color: var(--teal-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -0.38rem;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 0.38rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-toggle__label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  clip-path: inset(50%);
}

.menu-toggle__icon {
  display: grid;
  width: 1.15rem;
  gap: 0.27rem;
}

.menu-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
  transform: translateY(0.54rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
  transform: translateY(-0.54rem) rotate(-45deg);
}

.hero {
  min-height: min(52rem, calc(100svh - 5rem));
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -15rem;
  right: -12rem;
  width: 43rem;
  height: 43rem;
  background: var(--teal-soft);
  border-radius: 45% 55% 58% 42% / 53% 45% 55% 47%;
  content: "";
  opacity: 0.72;
  transform: rotate(14deg);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 7%;
  bottom: 8%;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(168, 79, 53, 0.38);
  border-radius: 55% 45% 41% 59% / 51% 59% 41% 49%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.82fr);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 6rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(17rem, 0.88fr);
}

.hero__grid--compact {
  grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.55fr);
}

.hero__content h1 {
  max-width: 13ch;
}

.hero__subtitle {
  max-width: 44rem;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}

.hero__author {
  margin-bottom: 1.2rem;
  color: var(--terracotta-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__lede {
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero__note {
  margin-top: 1.2rem;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

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

.hero h1 {
  max-width: 13ch;
}

.page-home .hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 3.5vw, 3.65rem);
}

.hero .lead {
  max-width: 42rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.25rem;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(16, 63, 69, 0.12);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--teal-deep);
  background: transparent;
  border-color: rgba(22, 84, 91, 0.45);
  box-shadow: none;
}

.button--secondary:hover {
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-color: var(--teal);
}

.button--light {
  color: var(--teal-deep);
  background: #fffaf2;
  border-color: #fffaf2;
}

.button--light:hover {
  color: var(--teal-deep);
  background: #fff;
  border-color: #fff;
}

.button--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.button--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 750;
}

.hero-art {
  position: relative;
}

.book-stage {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 45% 55% 48% 52% / 55% 44% 56% 45%;
  box-shadow: var(--shadow-lg);
}

.book-stage img {
  width: 100%;
  border-radius: 40% 40% 8% 8% / 8% 8% 4% 4%;
  object-fit: contain;
}

.hero-note {
  position: absolute;
  right: -0.5rem;
  bottom: 1.5rem;
  max-width: 12.5rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-note strong {
  display: block;
  color: var(--teal-deep);
}

.intro-grid,
.content-grid,
.split-grid,
.book-detail-grid,
.resource-grid {
  display: grid;
  align-items: start;
  gap: clamp(2.2rem, 6vw, 6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--centered {
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.section-heading--centered > p {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--ink-soft);
}

.section-heading--center .lead {
  margin-inline: auto;
}

.practice-stat {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  display: grid;
  padding: clamp(2rem, 5vw, 4rem);
  place-items: center;
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  color: #fff;
  isolation: isolate;
  text-align: center;
}

.practice-stat::before,
.practice-stat::after {
  position: absolute;
  z-index: -1;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.practice-stat::before {
  top: -6rem;
  right: -4rem;
}

.practice-stat::after {
  bottom: -8rem;
  left: -4rem;
}

.practice-stat-number {
  display: block;
  color: #fffaf3;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.practice-stat-label {
  display: block;
  margin-top: 1rem;
  color: #dcebea;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pattern-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.pattern-list li,
.pill {
  padding: 0.65rem 0.95rem;
  color: var(--teal-deep);
  background: var(--paper);
  border: 1px solid rgba(22, 84, 91, 0.22);
  border-radius: 999px;
  box-shadow: 0 5px 15px rgba(45, 41, 38, 0.04);
  font-size: 0.92rem;
  font-weight: 650;
}

.gentle-note,
.note,
.notice {
  padding: 1.15rem 1.25rem;
  color: var(--ink-soft);
  background: var(--sage-soft);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
}

.card-grid,
.focus-grid,
.feature-grid,
.practice-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.focus-card,
.feature-card,
.step-card,
.resource-card,
.form-card,
.legal-card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.focus-card {
  min-height: 12rem;
}

.focus-card::before,
.feature-card::before {
  display: block;
  width: 2.4rem;
  height: 0.24rem;
  margin-bottom: 1.45rem;
  background: var(--terracotta);
  border-radius: 999px;
  content: "";
}

.focus-card:nth-child(2n)::before,
.feature-card:nth-child(2n)::before {
  background: var(--sage);
}

.card p,
.focus-card p,
.feature-card p,
.step-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.timeline-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.84);
  isolation: isolate;
}

.timeline-panel::after,
.cta-panel::after {
  position: absolute;
  z-index: -1;
  top: -7rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
  background: rgba(220, 115, 86, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 46% 54% 58% 42% / 57% 41% 59% 43%;
  content: "";
}

.timeline-panel h2,
.timeline-panel h3,
.cta-panel h2,
.cta-panel h3 {
  color: #fffaf3;
}

.timeline-points {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.timeline-points li {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.timeline-points strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.author-panel {
  position: relative;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  border-left: 1px solid var(--gold);
}

.author-monogram {
  display: grid;
  width: 6.5rem;
  height: 6.5rem;
  margin-bottom: 2rem;
  place-items: center;
  color: #fffaf3;
  background: var(--terracotta);
  border-radius: 51% 49% 44% 56% / 49% 58% 42% 51%;
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--cream-100);
  isolation: isolate;
}

.page-hero.hero {
  display: block;
  min-height: auto;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -9rem;
  bottom: -13rem;
  width: 31rem;
  height: 31rem;
  background: var(--teal-soft);
  border-radius: 52% 48% 43% 57% / 46% 57% 43% 54%;
  content: "";
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero--center {
  text-align: center;
}

.compact-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: inherit;
}

.book-detail-grid {
  grid-template-columns: minmax(15rem, 0.68fr) minmax(0, 1.32fr);
}

.book-cover-frame {
  max-width: 27rem;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.book-cover-frame img {
  width: 100%;
  border-radius: 0.25rem;
}

.book-figure {
  position: relative;
  width: min(100%, 25rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.book-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0.25rem;
}

.book-figure__backdrop {
  position: absolute;
  inset: 8% -9% -8% 13%;
  background: var(--teal-soft);
  border-radius: 52% 48% 46% 54% / 43% 53% 47% 57%;
  transform: rotate(4deg);
}

.practice-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.practice-card {
  min-height: 14rem;
}

.practice-card__number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.editorial-callout {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--sage-soft);
  border: 1px solid rgba(115, 129, 108, 0.22);
  border-radius: var(--radius-lg);
}

.editorial-callout__accent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.4rem;
  background: var(--terracotta);
}

.section--accent {
  background: var(--cream-100);
}

.content-stack > * + * {
  margin-top: 1.1rem;
}

.book-meta {
  margin-bottom: 1.5rem;
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.book-subtitle {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.38;
}

.check-list,
.plain-list,
.legal-list {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.7rem;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--sage);
  border-radius: 50%;
  content: "";
}

.number-list {
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: practice-step;
  list-style: none;
}

.number-list li {
  position: relative;
  margin-bottom: 1rem;
  padding: 0 0 1rem 3.4rem;
  border-bottom: 1px solid var(--line);
  counter-increment: practice-step;
}

.number-list li::before {
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  content: counter(practice-step, decimal-leading-zero);
  font-size: 0.7rem;
  font-weight: 800;
}

.resource-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
}

.resource-card {
  padding: clamp(1.7rem, 5vw, 3rem);
  border-top: 4px solid var(--terracotta);
}

.resource-panel {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3rem);
  padding: clamp(1.6rem, 5vw, 3.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  grid-template-columns: auto minmax(0, 1fr);
}

.resource-panel__icon {
  display: grid;
  width: 7.5rem;
  height: 7.5rem;
  place-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 46% 54% 53% 47% / 51% 46% 54% 49%;
  text-align: center;
}

.resource-panel__icon span {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
}

.resource-panel__icon small {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-panel__message {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.resource-panel__action:not(:empty) {
  margin-top: 1.3rem;
}

.resource-panel__promise {
  margin-top: 1.2rem;
  padding-top: 1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.book-context {
  width: min(100%, 18rem);
  margin-inline: auto;
  text-align: center;
}

.book-context img {
  width: 8.5rem;
  margin-inline: auto;
  box-shadow: 0 14px 30px rgba(45, 41, 38, 0.18);
}

.book-context figcaption {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.guided-practice {
  margin: 0;
  padding: 0;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.guided-practice__step {
  display: grid;
  align-items: start;
  gap: 1rem;
  grid-template-columns: auto 1fr;
}

.guided-practice__time {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  line-height: 1;
  text-align: center;
}

.guided-practice__time span {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.guided-practice__time small {
  margin-top: 0.15rem;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reflection-card {
  max-width: 48rem;
  margin: 2rem auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--terracotta-soft);
  border-radius: var(--radius-md);
}

.cta-panel__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.cta-panel__note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.status-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.7rem;
  color: var(--terracotta-dark);
  background: var(--terracotta-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-badge--available {
  color: var(--teal-deep);
  background: var(--teal-soft);
}

.resource-assurance {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.resource-assurance::before {
  color: var(--sage);
  content: "●";
}

.practice-box {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--sage-soft);
  border: 1px solid rgba(115, 129, 108, 0.23);
  border-radius: var(--radius-md);
}

.practice-box ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.practice-box li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

.optional-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-layout {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
}

.form-card {
  min-height: 20rem;
}

.newsletter-form-shell,
.aweber-form-shell {
  width: 100%;
}

.newsletter-form-shell :is(input[type="text"], input[type="email"], select, textarea),
.aweber-form-shell :is(input[type="text"], input[type="email"], select, textarea) {
  width: 100% !important;
  min-height: 3rem !important;
  padding: 0.7rem 0.8rem !important;
  color: var(--ink) !important;
  background: #fff !important;
  border: 1px solid rgba(45, 41, 38, 0.35) !important;
  border-radius: 0.5rem !important;
}

.newsletter-form-shell :is(input[type="submit"], button[type="submit"]),
.aweber-form-shell :is(input[type="submit"], button[type="submit"]) {
  min-height: 3.1rem !important;
  padding: 0.75rem 1.2rem !important;
  cursor: pointer !important;
  color: #fff !important;
  background: var(--teal) !important;
  border: 1px solid var(--teal) !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
}

.newsletter-form-shell :is(input, button):focus-visible,
.aweber-form-shell :is(input, button):focus-visible {
  outline: 3px solid var(--terracotta) !important;
  outline-offset: 3px !important;
}

.newsletter-form-shell [class*="privacy"],
.newsletter-form-shell [class*="permission"],
.aweber-form-shell [class*="privacy"],
.aweber-form-shell [class*="permission"] {
  display: block !important;
  color: var(--ink-soft) !important;
  font-size: 0.82rem !important;
}

.expectation-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.expectation-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.expectation-list li::before {
  flex: 0 0 auto;
  color: var(--terracotta);
  content: "—";
  font-weight: 800;
}

.success-mark {
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 2rem;
}

.prose {
  max-width: var(--reading);
  margin-inline: auto;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose .updated {
  color: var(--sage);
  font-size: 0.85rem;
  font-weight: 700;
}

.page-meta,
.form-note,
.page-note {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.form-note,
.page-note {
  margin-top: 1.25rem;
}

.error-code {
  margin-bottom: 0.4rem;
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.site-footer {
  color: rgba(255, 255, 255, 0.77);
  background: #123d42;
}

.footer-main {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.site-footer__grid {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.site-footer__brand p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.66);
}

.brand--footer,
.brand--footer:hover {
  color: #fff;
}

.brand--footer .brand__byline {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__heading {
  margin-bottom: 1rem;
  color: #f8f1e7;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.site-footer__bottom p {
  margin: 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(14rem, 1.25fr) repeat(2, minmax(10rem, 0.7fr));
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-mark {
  color: var(--teal-deep);
  background: #f8f1e7;
}

.footer-brand .brand-author,
.footer-brand p {
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand p {
  max-width: 28rem;
  margin-top: 1rem;
}

.footer-heading {
  margin-bottom: 1rem;
  color: #f8f1e7;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.footer-bottom p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

@media (max-width: 62rem) {
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .hero__grid,
  .intro-grid,
  .content-grid,
  .split-grid,
  .resource-grid,
  .form-layout {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-art {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .book-detail-grid {
    grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1.35fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (min-width: 62.01rem) {
  .page-book .page-hero h1 {
    font-size: clamp(3.45rem, 3.9vw, 4rem);
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .header-inner,
  .nav-shell {
    min-height: 4.5rem;
  }

  .brand-author {
    display: none;
  }

  .brand__byline {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    padding: 0.8rem max(0.75rem, calc((100% - var(--container)) / 2));
    background: var(--cream-50);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .menu-enhanced .site-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .menu-enhanced .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .site-nav .nav-cta {
    margin: 0.35rem 0 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero::before {
    top: auto;
    right: -11rem;
    bottom: 3rem;
    width: 30rem;
    height: 30rem;
  }

  .hero-note {
    right: 0.25rem;
  }

  .book-detail-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-frame {
    width: min(80vw, 22rem);
  }

  .card-grid,
  .feature-grid,
  .practice-steps,
  .practice-grid,
  .guided-practice {
    grid-template-columns: 1fr;
  }

  .resource-panel {
    grid-template-columns: 1fr;
  }

  .resource-panel__icon {
    width: 6rem;
    height: 6rem;
  }

  .timeline-points {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 34rem) {
  .brand-name {
    max-width: 12rem;
    font-size: 0.94rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .focus-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: -0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .hero-actions,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .page-hero {
    padding-block: 1.5rem;
  }

  a {
    color: #000;
  }
}
