:root {
  --pine: #0c2825;
  --deep-teal: #0d3634;
  --river: #185157;
  --gold: #febf42;
  --cream: #fff6dc;
  --paper: #fbf4e4;
  --white: #fffdf5;
  --ink: #10211f;
  --muted: #5a6865;
  --line: rgba(12, 40, 37, 0.14);
  --shadow: rgba(12, 40, 37, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
}

body::selection {
  background: var(--gold);
  color: var(--pine);
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--cream);
  background:
    linear-gradient(rgba(24, 81, 87, 0.95), rgba(24, 81, 87, 0.95)),
    url("assets/wave-pattern.png");
  background-size: auto, 420px;
  box-shadow: 0 1px 0 rgba(255, 246, 220, 0.12);
}

.solid-header {
  background:
    linear-gradient(rgba(24, 81, 87, 0.95), rgba(24, 81, 87, 0.95)),
    url("assets/wave-pattern.png");
  background-size: auto, 420px;
}

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

.brand img {
  width: clamp(185px, 15vw, 215px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 246, 220, 0.2);
  border-radius: 8px;
  background: rgba(24, 81, 87, 0.48);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(24, 81, 87, 0.18);
}

.site-nav a {
  border-radius: 6px;
  color: rgba(255, 246, 220, 0.82);
  font-size: 1rem;
  font-weight: 800;
  padding: 10px 13px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 246, 220, 0.14);
  color: var(--cream);
}

.site-nav .nav-cta {
  background: var(--gold);
  color: var(--pine);
}

.site-nav .nav-cta:hover {
  background: #ffd37a;
  color: var(--pine);
}

.hero,
.page-hero,
.book-hero,
.section,
.site-footer {
  padding-inline: clamp(20px, 5vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-home {
  display: grid;
  align-items: center;
  justify-items: center;
  padding-block: clamp(58px, 8vw, 104px);
  background: var(--pine);
}

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

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(24, 81, 87, 0.18), transparent 34%),
    linear-gradient(rgba(12, 40, 37, 0.66), rgba(12, 40, 37, 0.78));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 850px);
  animation: fadeUp 700ms ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--river);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.book-hero .eyebrow {
  color: var(--river);
}

.hero-home .eyebrow {
  color: var(--gold);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.6vw, 4.25rem);
  line-height: 1.06;
  text-wrap: balance;
}

.hero h1 {
  color: var(--pine);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}

.hero-home h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 5vw, 5.15rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

.intro {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  text-wrap: pretty;
}

.hero-home .intro {
  max-width: 760px;
  color: rgba(255, 246, 220, 0.88);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 560px);
  margin: 34px auto 0;
  padding: 8px;
  border: 1px solid rgba(12, 40, 37, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.76);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-home .signup-form {
  border-color: rgba(255, 246, 220, 0.2);
  background: rgba(255, 253, 245, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.signup-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: var(--white);
  color: var(--pine);
  padding: 15px 16px;
}

.signup-form input::placeholder {
  color: rgba(12, 40, 37, 0.52);
}

.signup-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 194, 71, 0.78);
}

.signup-form button {
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: var(--pine);
  cursor: pointer;
  font-weight: 800;
  padding: 15px 22px;
  transition: background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.signup-form button:hover {
  background: #ffd37a;
  transform: translateY(-1px);
}

.signup-form button:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--river);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-home .form-note {
  color: var(--cream);
}

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

.section {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding-block: clamp(68px, 9vw, 112px);
  animation: fadeUp 650ms ease-out both;
  animation-delay: 80ms;
}

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

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

.team-heading {
  max-width: 920px;
  margin-inline: auto;
}

.team-heading span {
  display: block;
}

.section-heading p,
.page-hero p,
.split-section p,
.resource-card p,
.feature-card p,
.team-card p,
.book-copy > p {
  color: var(--muted);
}

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

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

.feature-card,
.team-card,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 40, 37, 0.06);
}

.feature-card,
.team-card {
  padding: 24px;
}

.card-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--river);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: clamp(36px, 6vw, 74px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--river);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.linkedin-link {
  text-decoration: none;
}

.linkedin-link:hover {
  text-decoration: underline;
}

.linkedin-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("assets/linkedin.svg") center / contain no-repeat;
}

.book-preview,
.book-cover-wrap {
  justify-self: center;
}

.book-preview img,
.book-cover-wrap img {
  width: min(100%, 330px);
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(12, 40, 37, 0.24);
}

.page-hero {
  width: min(100%, 980px);
  margin: 0 auto;
  padding-block: clamp(84px, 12vw, 132px) clamp(28px, 5vw, 56px);
  text-align: center;
  animation: fadeUp 650ms ease-out both;
}

.compact-hero {
  padding-bottom: 24px;
}

.dark-hero {
  width: 100%;
  max-width: none;
  padding: clamp(82px, 10vw, 128px) clamp(20px, 5vw, 64px);
  background: var(--pine);
  color: var(--cream);
}

.dark-hero .eyebrow {
  color: var(--gold);
}

.dark-hero h1 {
  max-width: 930px;
  margin-inline: auto;
}

.page-hero h1 {
  color: var(--pine);
}

.page-hero p {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.08rem;
}

.dark-hero h1 {
  color: var(--cream);
}

.dark-hero p {
  color: rgba(255, 246, 220, 0.82);
}

.prose p:last-child,
.resource-card p:last-child,
.team-card p:last-child,
.book-copy p:last-of-type {
  margin-bottom: 0;
}

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

.avatar {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--cream);
  font-weight: 800;
}

.team-avatar-large {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 22%, rgba(254, 191, 66, 0.24), transparent 28%),
    linear-gradient(135deg, var(--river), var(--deep-teal));
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: 0;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 22%;
}

.role {
  margin-bottom: 12px;
  color: var(--river);
  font-size: 0.92rem;
  font-weight: 800;
}

.role-detail {
  margin-bottom: 18px;
  font-weight: 700;
}

.bio-link {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--river);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.bio-link:hover {
  color: var(--pine);
}

.bio-modal {
  width: min(calc(100% - 40px), 760px);
  max-height: min(84vh, 760px);
  border: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(12, 40, 37, 0.28);
  color: var(--ink);
  padding: 0;
}

.bio-modal::backdrop {
  background: rgba(12, 40, 37, 0.62);
}

.bio-modal-panel {
  position: relative;
  padding: clamp(28px, 5vw, 46px);
}

.bio-modal h2 {
  margin-bottom: 8px;
  color: var(--pine);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.bio-modal .role {
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--pine);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
}

.modal-close:hover {
  background: var(--gold);
}

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

.resource-column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.resource-card {
  display: block;
  padding: 22px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.resource-card:hover {
  border-color: rgba(24, 81, 87, 0.34);
  box-shadow: 0 20px 54px rgba(12, 40, 37, 0.1);
  transform: translateY(-2px);
}

.resource-type {
  margin-bottom: 8px;
  color: var(--river);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 64px);
}

.article-header {
  margin-bottom: clamp(34px, 6vw, 56px);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(28px, 5vw, 42px);
  text-align: center;
}

.article-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #071716;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 13px;
  text-transform: uppercase;
}

.insight-pill {
  background: var(--river);
  color: var(--cream);
}

.article-header h1 {
  max-width: 820px;
  margin-inline: auto;
  color: var(--pine);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
}

.article-meta span + span::before {
  margin-right: 18px;
  color: rgba(12, 40, 37, 0.32);
  content: "/";
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
}

.article-body .article-lead {
  color: var(--river);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.5;
}

.article-body h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--pine);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.article-body blockquote {
  margin: 34px 0;
  border-left: 4px solid var(--gold);
  color: var(--pine);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
  padding: 4px 0 4px 22px;
}

.related-posts-band {
  padding-inline: clamp(20px, 5vw, 64px);
  background: var(--river);
  color: var(--cream);
}

.related-posts-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 64px);
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-block: clamp(46px, 7vw, 72px);
}

.related-posts-inner .eyebrow {
  color: var(--gold);
}

.related-posts-inner h2 {
  margin-bottom: 0;
  color: var(--cream);
}

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

.related-card {
  border: 1px solid rgba(255, 246, 220, 0.2);
  border-radius: 8px;
  background: rgba(12, 40, 37, 0.26);
  color: var(--cream);
  padding: 20px;
  text-decoration: none;
}

.related-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  display: block;
  line-height: 1.35;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 40px), 1120px);
  margin-bottom: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pine), var(--deep-teal) 58%, var(--river));
  color: var(--cream);
}

.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.cta-copy {
  max-width: 470px;
  margin: 14px 0 0;
  color: rgba(255, 246, 220, 0.78);
}

.inline-form {
  margin: 0;
}

.join-section {
  padding-top: clamp(28px, 5vw, 54px);
}

.community-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(12, 40, 37, 0.08);
  padding: clamp(22px, 4vw, 34px);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 900;
}

.community-form button {
  justify-self: start;
}

.book-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: center;
  gap: clamp(28px, 4.5vw, 52px);
  width: min(100%, 1120px);
  min-height: auto;
  margin: 0 auto;
  padding-block: clamp(54px, 7vw, 86px);
  isolation: isolate;
  animation: fadeUp 650ms ease-out both;
}

.book-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(circle at 90% 16%, rgba(254, 191, 66, 0.18), transparent 28%),
    linear-gradient(135deg, #fffaf0, var(--paper) 50%, rgba(24, 81, 87, 0.22));
  content: "";
}

.book-copy {
  max-width: 640px;
}

.book-copy h1,
.book-title {
  color: var(--pine);
}

.book-title {
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  line-height: 0.98;
}

.book-title span {
  display: block;
}

.book-title span:nth-child(2) {
  color: var(--river);
}

.book-copy .intro {
  margin: 0 0 22px;
  color: var(--river);
  font-weight: 800;
}

.book-copy p:not(.book-kicker) {
  color: var(--muted);
}

.book-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #071716;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 13px;
  text-transform: uppercase;
}

.book-copy .book-kicker {
  color: #071716;
}

.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border-radius: 6px;
  background: var(--river);
  color: var(--cream);
  font-weight: 900;
  padding: 14px 20px;
  text-decoration: none;
}

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

.book-band {
  padding-inline: clamp(20px, 5vw, 64px);
}

.book-band-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-block: clamp(58px, 8vw, 86px);
}

.book-overview {
  background: var(--white);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.book-overview-inner {
  max-width: 920px;
}

.book-overview-inner p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.book-about-author {
  background: var(--river);
  color: var(--cream);
}

.book-about-author .eyebrow,
.book-about-author p {
  color: rgba(255, 246, 220, 0.8);
}

.book-about-author strong {
  color: var(--cream);
}

.book-about-author h2 {
  color: var(--cream);
}

.author-band {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 64px);
}

.author-band img {
  width: min(100%, 240px);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.testimonial-band {
  background: var(--paper);
}

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

.testimonial-feature {
  width: 100%;
  margin: 0 auto 24px;
  border: 1px solid rgba(254, 191, 66, 0.5);
  border-radius: 8px;
  background: var(--river);
  color: var(--cream);
  box-shadow: 0 22px 60px rgba(12, 40, 37, 0.16);
  padding: clamp(26px, 4vw, 42px);
}

.testimonial-feature p {
  color: rgba(255, 246, 220, 0.88);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.testimonial-feature strong {
  display: block;
  color: var(--gold);
  line-height: 1.45;
}

.testimonial-feature span {
  display: block;
  color: rgba(255, 246, 220, 0.8);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 40, 37, 0.06);
  padding: 24px;
}

.testimonial-card p {
  color: var(--muted);
}

.testimonial-card strong {
  display: block;
  color: var(--river);
  line-height: 1.45;
}

.testimonial-card span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  background: var(--pine);
  color: rgba(255, 246, 220, 0.78);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 940px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    background: var(--river);
  }

  .hero-home {
    min-height: auto;
    padding-block: 78px;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .split-section,
  .book-hero,
  .cta-band,
  .resource-layout,
  .related-posts-inner,
  .author-band,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .four-up,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-copy {
    max-width: none;
  }

  .book-hero {
    max-width: 760px;
    text-align: center;
  }

  .book-cover-wrap {
    justify-self: center;
  }

  .book-kicker,
  .dark-button {
    margin-inline: auto;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    gap: 18px;
    padding: 20px;
  }

  .brand {
    justify-content: center;
    margin-inline: auto;
  }

  .brand img {
    width: min(72vw, 220px);
  }

  .site-nav a {
    padding: 9px 10px;
  }

  .site-nav .nav-cta {
    flex-basis: 100%;
    text-align: center;
  }

  .hero-home {
    padding-block: 64px;
  }

  .hero-inner {
    width: min(100%, 560px);
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .signup-form {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .signup-form button {
    width: 100%;
  }

  .feature-grid,
  .four-up,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .book-preview img,
  .book-cover-wrap img {
    width: min(100%, 280px);
  }

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

  .book-hero,
  .author-band {
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero {
    background: linear-gradient(135deg, var(--cream), rgba(24, 81, 87, 0.18));
  }

  .signup-form button {
    transition: none;
  }
}
