/* BUILD 2026-07-18-v3-cachefix — arquivo versionado para impedir mistura de cache */
/*
 * Vivendo Fora da Cova — direção visual e conversão
 * Fontes locais: Cormorant Garamond e Manrope (SIL Open Font License 1.1)
 */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

:root {
  --font-editorial: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", Arial, sans-serif;
  --charcoal: #090807;
  --charcoal-soft: #100b09;
  --cave: #1c100c;
  --brown: #2a1510;
  --wine: #4a1711;
  --wine-dark: #270b08;
  --gold: #c99742;
  --gold-light: #e2ba6c;
  --ivory: #f3e8d4;
  --warm-white: #fff9ee;
  --sand: #dbc8a9;
  --muted: #b9aea0;
  --ink: #281914;
  --ink-soft: #69564a;
  --line-dark: rgb(226 186 108 / 17%);
  --line-light: rgb(74 23 17 / 15%);
  --max-width: 1180px;
  --header-height: 72px;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.purchase-bar-visible {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.01;
}

h3 {
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--warm-white);
  color: var(--charcoal);
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 16px 36px rgb(9 8 7 / 28%);
}

.button-small {
  min-height: 42px;
  padding-inline: 20px;
  font-size: 0.78rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgb(243 232 212 / 40%);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 750;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.purchase-note {
  max-width: 560px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgb(9 8 7 / 91%);
  box-shadow: 0 1px 0 var(--line-dark);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), 1240px);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.wordmark {
  color: var(--warm-white);
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 750;
  transition: color 160ms ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--warm-white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold-light);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 46px) 0 58px;
  background:
    radial-gradient(circle at 77% 31%, rgb(201 151 66 / 16%), transparent 29%),
    radial-gradient(circle at 100% 100%, rgb(74 23 17 / 38%), transparent 36%),
    linear-gradient(116deg, #080706 0%, #120b08 53%, #2a120d 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(9 8 7 / 96%) 0 36%, transparent 70%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - var(--header-height) - 104px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(45px, 8vw, 94px);
}

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

.hero h1 {
  margin-bottom: 24px;
  color: var(--warm-white);
  font-size: clamp(4rem, 7vw, 5.8rem);
  letter-spacing: -0.043em;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  margin-top: 0.18em;
  background: linear-gradient(105deg, #b87328 0%, #e7c477 46%, #bf792d 100%);
  background-clip: text;
  color: transparent;
  font-size: 0.63em;
  letter-spacing: -0.018em;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 16px;
  color: var(--ivory);
  font-family: var(--font-editorial);
  font-size: clamp(1.42rem, 2.05vw, 1.82rem);
  line-height: 1.3;
}

.hero-text {
  max-width: 585px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-visual {
  min-width: 0;
}

.book-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 510px;
  place-items: center;
}

.book-stage::before {
  position: absolute;
  width: min(82%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(201 151 66 / 12%);
  content: "";
  filter: blur(55px);
}

.book-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 44px rgb(0 0 0 / 38%));
}

.hero-book-image {
  width: min(100%, 420px);
}

.credibility-strip {
  position: relative;
  z-index: 2;
  background: #0d0908;
  box-shadow: inset 0 1px var(--line-dark), inset 0 -1px var(--line-dark);
}

.credibility-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.62fr 1.25fr 1.15fr;
}

.credibility-item {
  min-width: 0;
  padding: 25px 27px;
  box-shadow: inset -1px 0 var(--line-dark);
}

.credibility-item:first-child {
  padding-left: 0;
}

.credibility-item:last-child {
  padding-right: 0;
  box-shadow: none;
}

.credibility-label {
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credibility-item p:last-child {
  margin-bottom: 0;
  color: var(--ivory);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.45;
}

.section-dark,
.section-warm,
.section-wine,
.section-ivory,
.section-sand,
.section-charcoal,
.final-cta,
.faq-section {
  padding: clamp(84px, 9vw, 132px) 0;
}

.section-dark {
  background: linear-gradient(180deg, #170d0a 0%, #2a1510 72%, #351710 100%);
}

.section-warm {
  background:
    radial-gradient(circle at 0 50%, rgb(74 23 17 / 8%), transparent 35%),
    linear-gradient(180deg, #e4d2b7 0%, var(--ivory) 18%, #f7ecda 100%);
  color: var(--ink);
}

.section-wine {
  background:
    radial-gradient(circle at 82% 16%, rgb(226 186 108 / 10%), transparent 30%),
    linear-gradient(180deg, #5a241c 0%, var(--wine) 28%, var(--wine-dark) 100%);
}

.section-ivory {
  background: linear-gradient(180deg, #efdec6 0%, var(--warm-white) 30%, #f4e8d4 100%);
  color: var(--ink);
}

.section-sand {
  background: linear-gradient(180deg, #e5d4b9, var(--sand));
  color: var(--ink);
}

.section-charcoal {
  background:
    radial-gradient(circle at 24% 44%, rgb(201 151 66 / 11%), transparent 30%),
    linear-gradient(145deg, #2c120d 0%, #130b08 58%, #090807 100%);
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(64px, 10vw, 130px);
}

.pain-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  box-shadow: 0 26px 60px rgb(9 8 7 / 20%);
}

.pain-cards article {
  min-height: 212px;
  padding: 30px;
  background: rgb(20 11 8 / 93%);
}

.pain-cards article > span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
}

.pain-cards h3 {
  margin-bottom: 10px;
  color: var(--ivory);
}

.pain-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(65px, 10vw, 135px);
}

.book-aside {
  position: relative;
}

.book-aside::before {
  position: absolute;
  inset: 18% 4% 4%;
  border-radius: 50%;
  background: rgb(74 23 17 / 14%);
  content: "";
  filter: blur(45px);
}

.mini-cover {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  margin-inline: auto;
}

.book-content {
  max-width: 720px;
}

.book-content .eyebrow,
.themes-section .eyebrow,
.audience-section .eyebrow,
.faq-section .eyebrow {
  color: #764718;
}

.book-lead {
  margin-bottom: 28px;
  color: #3b271f;
  font-family: var(--font-editorial);
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  line-height: 1.5;
}

.book-highlights {
  display: grid;
  gap: 15px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.book-highlights li {
  position: relative;
  padding-left: 28px;
  color: #5f4b40;
  font-size: 0.93rem;
  line-height: 1.65;
}

.book-highlights li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a5520;
  box-shadow: 0 0 0 5px rgb(138 85 32 / 10%);
  content: "";
}

.book-conclusion {
  margin: 0 0 30px;
  padding: 19px 22px;
  border-left: 3px solid #9d672c;
  background: rgb(74 23 17 / 6%);
  color: #4a1711;
  font-weight: 650;
  line-height: 1.6;
}

.book-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.book-actions p {
  max-width: 255px;
  margin-bottom: 0;
  color: #725e51;
  font-size: 0.75rem;
  line-height: 1.5;
}

.message-intro {
  display: grid;
  max-width: 1040px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.55fr);
  align-items: end;
  gap: clamp(45px, 9vw, 110px);
  margin: 0 auto 38px;
}

.message-intro h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.message-intro > p {
  margin-bottom: 8px;
  color: #dac7bc;
  font-size: 0.96rem;
}

.video-shell {
  max-width: 1040px;
  margin-inline: auto;
  padding: 9px;
  border: 1px solid rgb(226 186 108 / 16%);
  border-radius: 8px;
  background: rgb(9 8 7 / 46%);
  box-shadow: 0 35px 80px rgb(9 8 7 / 38%);
}

.video-player-host {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 5px;
  background: #130b08;
}

.video-launch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #130b08;
  cursor: pointer;
}

.video-launch picture,
.video-launch img {
  width: 100%;
  height: 100%;
}

.video-launch img {
  object-fit: cover;
  object-position: center;
  filter: contrast(1.01) brightness(1.01);
  transform: scale(1.015);
  transition: transform 400ms ease, filter 400ms ease;
}

.video-launch:hover img {
  filter: contrast(1.02) brightness(1.02);
  transform: scale(1.03);
}

.video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 8 9 / 68%) 0 41%, rgb(8 8 9 / 18%) 73%, rgb(8 8 9 / 6%) 100%),
    linear-gradient(0deg, rgb(8 8 9 / 18%), transparent 58%);
}

.video-launch-content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(30px, 6vw, 78px);
  display: flex;
  max-width: 530px;
  align-items: center;
  gap: 24px;
  transform: translateY(-50%);
  text-align: left;
}

.play-icon {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  place-items: center;
  border: 1px solid rgb(255 249 238 / 45%);
  border-radius: 50%;
  background: rgb(9 8 7 / 52%);
  box-shadow: 0 18px 45px rgb(0 0 0 / 26%);
}

.play-icon::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--gold-light);
  content: "";
}

.video-launch-content strong {
  display: block;
  color: var(--warm-white);
  font-family: var(--font-editorial);
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.video-launch-content small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.video-player-host iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.centered-action {
  margin-top: 31px;
  text-align: center;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 56px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.theme-card {
  min-height: 240px;
  padding: 31px;
  background: rgb(255 249 238 / 83%);
}

.theme-card > span {
  display: block;
  margin-bottom: 36px;
  color: #8a5721;
  font-size: 0.69rem;
  font-weight: 850;
}

.theme-card h3 {
  margin-bottom: 11px;
  color: #39241c;
}

.theme-card p {
  margin-bottom: 0;
  color: #6b574b;
  font-size: 0.87rem;
  line-height: 1.68;
}

.themes-note {
  margin: 17px 0 0;
  color: #756356;
  font-size: 0.74rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: clamp(65px, 10vw, 130px);
}

.audience-heading h2 {
  max-width: 540px;
}

.audience-heading > p:not(.eyebrow) {
  max-width: 530px;
  margin-bottom: 30px;
  color: #5d493d;
}

.audience-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgb(74 23 17 / 13%);
  list-style: none;
}

.audience-list li {
  display: flex;
  min-height: 142px;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  background: rgb(255 249 238 / 34%);
  color: #3c2a21;
  font-family: var(--font-editorial);
  font-size: clamp(1.13rem, 1.65vw, 1.36rem);
  line-height: 1.3;
}

.audience-list span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: #8c5720;
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(70px, 11vw, 145px);
}

.author-portrait {
  position: relative;
  max-width: 470px;
}

.author-portrait::before {
  position: absolute;
  inset: 12% -12% -8% 18%;
  border-radius: 50%;
  background: rgb(201 151 66 / 19%);
  content: "";
  filter: blur(42px);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #cfc4be;
  box-shadow: 0 36px 74px rgb(0 0 0 / 40%);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(28 16 12 / 25%), transparent 53%);
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: auto;
}

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

.author-copy h2 {
  margin-bottom: 22px;
}

.author-lead {
  color: var(--ivory);
  font-family: var(--font-editorial);
  font-size: clamp(1.34rem, 2.15vw, 1.82rem);
  line-height: 1.48;
}

.author-copy > p:not(.eyebrow):not(.author-lead) {
  max-width: 590px;
  color: var(--gold-light);
  font-size: 0.96rem;
}

.social-links {
  display: flex;
  gap: 28px;
  margin-top: 31px;
}

.social-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(226 186 108 / 55%);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 750;
}

.social-links a:hover {
  color: var(--gold-light);
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgb(201 151 66 / 18%), transparent 31%),
    linear-gradient(115deg, #090807 0%, #140b08 58%, #2b120d 100%);
}

.final-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.final-copy {
  max-width: 650px;
}

.final-copy > p:not(.eyebrow):not(.purchase-note) {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
}

.final-book .book-stage {
  min-height: 500px;
}

.final-book .book-mockup {
  width: min(72%, 325px);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(60px, 9vw, 118px);
}

.faq-heading > p:last-child {
  color: #6e594b;
}

.faq-list details {
  box-shadow: inset 0 -1px var(--line-light);
}

.faq-list summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-editorial);
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  max-width: 680px;
  margin: 0 0 26px;
  color: #665247;
  font-size: 0.92rem;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-plus::before,
.faq-plus::after {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 1px;
  background: #8b622e;
  content: "";
  transition: transform 180ms ease;
}

.faq-plus::after {
  transform: rotate(90deg);
}

details[open] .faq-plus::after {
  transform: rotate(0);
}

.privacy-note {
  padding: 42px 0;
  background: #0c0908;
  box-shadow: inset 0 1px var(--line-dark);
}

.privacy-note h2 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
}

.privacy-note p {
  max-width: 870px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.site-footer {
  padding: 54px 0 38px;
  background: #060504;
  color: var(--muted);
}

.footer-main,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 36px;
}

.footer-main {
  align-items: flex-start;
  padding-bottom: 40px;
}

.footer-title {
  margin-bottom: 1px;
  color: var(--warm-white);
  font-family: var(--font-editorial);
  font-size: 1.6rem;
}

.footer-main p:last-child {
  margin-bottom: 0;
  font-size: 0.77rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.74rem;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 22px;
  box-shadow: inset 0 1px var(--line-dark);
  font-size: 0.66rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.mobile-purchase {
  position: fixed;
  z-index: 120;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 14px;
  display: none;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border: 1px solid rgb(255 249 238 / 18%);
  border-radius: 5px;
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 18px 42px rgb(0 0 0 / 42%);
  transform: translateY(calc(100% + 28px));
  transition: transform 220ms ease;
}

.mobile-purchase span {
  font-size: 0.88rem;
  font-weight: 850;
}

.mobile-purchase small {
  font-size: 0.67rem;
  font-weight: 700;
}

.mobile-purchase.is-visible {
  transform: translateY(0);
}

.error-page {
  min-height: 100svh;
}

.error-page-main {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background:
    radial-gradient(circle at 75% 30%, rgb(201 151 66 / 15%), transparent 28%),
    linear-gradient(118deg, #080706 0%, #160c09 54%, #29120d 100%);
}

.error-page-content {
  max-width: 680px;
  padding-block: 80px;
}

.error-page-content h1 {
  margin-bottom: 20px;
  color: var(--warm-white);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.error-page-content > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    gap: 35px;
  }

  .credibility-grid {
    grid-template-columns: 1.4fr 0.7fr 1.2fr 1.15fr;
  }

  .credibility-item {
    padding-inline: 20px;
  }

  .pain-layout,
  .audience-grid {
    gap: 60px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px 20px 25px;
    background: rgb(9 8 7 / 98%);
    box-shadow: 0 16px 34px rgb(0 0 0 / 30%);
    flex-direction: column;
  }

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

  .primary-nav > a:not(.button) {
    padding: 7px 2px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(9 8 7 / 92%) 0 52%, transparent 88%);
  }

  .hero-grid,
  .pain-layout,
  .book-grid,
  .message-intro,
  .audience-grid,
  .author-grid,
  .final-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 32px;
  }

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

  .book-stage {
    min-height: 430px;
  }

  .hero-book-image {
    width: min(64%, 360px);
  }

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

  .credibility-item,
  .credibility-item:first-child,
  .credibility-item:last-child {
    padding: 22px;
    box-shadow: inset -1px 0 var(--line-dark), inset 0 -1px var(--line-dark);
  }

  .credibility-item:nth-child(even) {
    box-shadow: inset 0 -1px var(--line-dark);
  }

  .credibility-item:nth-child(n + 3) {
    box-shadow: inset -1px 0 var(--line-dark);
  }

  .credibility-item:last-child {
    box-shadow: none;
  }

  .pain-layout,
  .book-grid,
  .audience-grid,
  .author-grid,
  .faq-grid {
    gap: 56px;
  }

  .book-aside {
    order: 2;
  }

  .mini-cover {
    width: min(52%, 290px);
  }

  .message-intro {
    gap: 17px;
    margin-bottom: 30px;
  }

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

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

  .final-book {
    order: -1;
  }

  .final-book .book-stage {
    min-height: 410px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
  }

  body {
    font-size: 16px;
  }

  .container,
  .header-inner {
    width: calc(100% - 44px);
  }

  h2 {
    font-size: clamp(2.25rem, 10.4vw, 3rem);
    line-height: 1.02;
  }

  h3 {
    font-size: clamp(1.38rem, 6.3vw, 1.74rem);
  }

  .wordmark {
    max-width: 190px;
    font-size: 1.04rem;
    line-height: 1.05;
  }

  .primary-nav {
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding: 20px 22px 24px;
  }

  .primary-nav .button {
    width: 100%;
  }

  .hero {
    padding: calc(var(--header-height) + 38px) 0 52px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(3.35rem, 14.5vw, 4.3rem);
    line-height: 0.89;
  }

  .hero h1 span {
    margin-top: 0.2em;
    font-size: 0.62em;
  }

  .hero-subtitle {
    font-size: clamp(1.26rem, 5.7vw, 1.52rem);
    line-height: 1.32;
  }

  .hero-text {
    margin-bottom: 25px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 15px;
    flex-direction: column;
  }

  .hero-actions .button,
  .book-actions .button,
  .centered-action .button,
  .audience-heading .button,
  .final-copy .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .book-stage {
    min-height: 350px;
  }

  .hero-book-image {
    width: min(88%, 340px);
  }

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

  .credibility-item,
  .credibility-item:first-child,
  .credibility-item:last-child,
  .credibility-item:nth-child(even),
  .credibility-item:nth-child(n + 3) {
    padding: 18px 0;
    box-shadow: inset 0 -1px var(--line-dark);
  }

  .credibility-item:last-child {
    box-shadow: none;
  }

  .section-dark,
  .section-warm,
  .section-wine,
  .section-ivory,
  .section-sand,
  .section-charcoal,
  .final-cta,
  .faq-section {
    padding: clamp(64px, 16vw, 76px) 0;
  }

  .pain-layout,
  .book-grid,
  .audience-grid,
  .author-grid,
  .faq-grid {
    gap: 42px;
  }

  .pain-cards,
  .themes-grid,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .pain-cards article {
    min-height: 0;
    padding: 25px;
  }

  .pain-cards article > span,
  .theme-card > span {
    margin-bottom: 22px;
  }

  .mini-cover {
    width: min(78%, 250px);
  }

  .book-actions {
    align-items: stretch;
    gap: 13px;
    flex-direction: column;
  }

  .book-actions p {
    max-width: none;
  }

  .message-intro {
    gap: 20px;
  }

  .message-intro > p {
    margin-bottom: 0;
  }

  .video-shell {
    padding: 5px;
  }

  .video-player-host {
    aspect-ratio: 16 / 9;
  }

  .video-shade {
    background:
      linear-gradient(90deg, rgb(9 8 7 / 88%) 0 52%, rgb(9 8 7 / 22%) 100%),
      linear-gradient(0deg, rgb(9 8 7 / 28%), transparent 55%);
  }

  .video-launch-content {
    top: 50%;
    right: 18px;
    bottom: auto;
    left: 18px;
    align-items: center;
    gap: 14px;
    transform: translateY(-50%);
  }

  .play-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .video-launch-content strong {
    max-width: 210px;
    font-size: clamp(1.28rem, 6vw, 1.58rem);
  }

  .video-launch-content small {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    margin-bottom: 38px;
  }

  .theme-card {
    min-height: 0;
    padding: 27px;
  }

  .audience-list li {
    min-height: 0;
    padding: 22px;
  }

  .author-portrait {
    max-width: min(100%, 430px);
    margin-inline: auto;
  }

  .author-portrait::before {
    inset: 12% 0 -6% 16%;
  }

  .social-links {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .final-book .book-stage {
    min-height: 350px;
  }

  .final-book .book-mockup {
    width: min(72%, 250px);
  }

  .faq-list summary {
    min-height: 0;
    padding: 20px 0;
    font-size: clamp(1.12rem, 5.1vw, 1.34rem);
  }

  .faq-list details p {
    margin-bottom: 23px;
    font-size: 0.95rem;
  }

  .privacy-note {
    padding: 36px 0;
  }

  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-main {
    gap: 27px;
  }

  .footer-bottom {
    gap: 10px;
  }

  .mobile-purchase {
    display: flex;
  }
}

@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;
  }
}
