@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #f3eedf;
  --paper-soft: #fbf8ef;
  --ink: #10110e;
  --muted: #67695f;
  --acid: #c7ff28;
  --acid-strong: #b9f200;
  --line: rgba(16, 17, 14, 0.22);
  --dark: #0d0f0c;
  --dark-soft: #161914;
  --white: #fbf8ef;
  --serif: "Instrument Serif", "C059", "Bitstream Charter", Georgia, serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

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

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

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

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

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

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

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 80px), 1440px);
  min-height: 88px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: max-content;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a,
.footer-top a {
  position: relative;
}

.desktop-nav a::after,
.footer-top > a:last-child::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.footer-top > a:last-child:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--acid);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
}

.hero {
  padding-block: 74px 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 40px;
  min-height: 690px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 4px;
  animation: rise-in 700ms 80ms both cubic-bezier(0.21, 1, 0.36, 1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.105em;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--ink);
}

.eyebrow span:first-child {
  border-color: var(--acid);
  background: var(--acid);
}

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

.hero h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(70px, 6.45vw, 104px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.052em;
}

.hero h1 em,
.section-heading-row h2 em,
.offer-copy h2 em,
.final-cta h2 em,
.problem-grid h2 em {
  color: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--acid-strong);
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.08em;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 28px;
  color: #303229;
  font-size: clamp(18px, 1.38vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.primary-button {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(100%, 640px);
  min-height: 72px;
  padding: 0 24px;
  background: var(--acid);
  box-shadow: 0 8px 0 rgba(16, 17, 14, 0.13);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-button strong {
  padding-left: 24px;
  border-left: 1px solid rgba(16, 17, 14, 0.25);
  font-size: 15px;
  white-space: nowrap;
}

.primary-button > span:last-child {
  font-size: 24px;
  transition: transform 180ms ease;
}

.primary-button:hover {
  background: var(--ink);
  box-shadow: 0 10px 0 rgba(199, 255, 40, 0.22);
  color: var(--acid);
  transform: translateY(-2px);
}

.primary-button:hover > span:last-child {
  transform: translate(4px, -4px);
}

.checkout-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5e7b08;
  box-shadow: 0 0 0 5px rgba(94, 123, 8, 0.12);
}

.amazon-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #34372e;
  font-size: 13px;
}

.proof-score {
  font-size: 20px;
  font-weight: 700;
}

.stars {
  color: #5e790b;
  letter-spacing: 0.08em;
}

.proof-separator {
  width: 1px;
  height: 20px;
  margin-inline: 5px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 670px;
  animation: visual-in 850ms 120ms both cubic-bezier(0.21, 1, 0.36, 1);
}

.book-frame {
  position: absolute;
  inset: 10px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(1.5deg);
  transition: transform 420ms cubic-bezier(0.21, 1, 0.36, 1);
}

.book-frame:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.012);
}

.book-frame img {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  filter: saturate(0.98) contrast(1.015);
}

.book-halo {
  position: absolute;
  inset: 26% 20% 13%;
  z-index: 0;
  background: var(--acid);
  filter: blur(80px);
  opacity: 0.23;
}

.visual-index {
  position: absolute;
  top: -6px;
  right: 0;
  z-index: 3;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 17px;
}

.code-note {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-left: 2px solid var(--acid-strong);
  background: rgba(243, 238, 223, 0.72);
  backdrop-filter: blur(6px);
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 10px;
  line-height: 1.55;
}

.code-note-top {
  top: 28%;
  right: -12px;
}

.code-note-bottom {
  right: 2%;
  bottom: 14%;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  text-align: center;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  font-family: var(--serif);
  font-size: clamp(46px, 4vw, 72px);
  font-weight: 400;
  line-height: 1;
}

.metric span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.problem-section,
.method-section,
.audience-section,
.offer-section,
.faq-section {
  padding-block: 120px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.section-label span {
  display: grid;
  width: 32px;
  height: 24px;
  place-items: center;
  background: var(--acid);
  font-size: 10px;
  font-weight: 700;
}

.section-label p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.7fr);
  gap: clamp(64px, 9vw, 160px);
}

.section-kicker,
.offer-eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.105em;
}

.problem-grid h2,
.section-heading-row h2,
.method-intro h2,
.chapter-heading h2,
.audience-intro h2,
.author-copy h2,
.offer-copy h2,
.faq-grid h2,
.final-cta h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.problem-copy > p {
  color: #44473d;
  font-size: 18px;
}

.pull-quote {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  margin-top: 42px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.pull-quote span {
  font-size: 25px;
}

.pull-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
}

.learning-section,
.chapters-section,
.author-section {
  padding-block: 120px;
  background: var(--dark);
  color: var(--white);
}

.light-label {
  border-color: rgba(251, 248, 239, 0.24);
}

.light-label span {
  color: var(--ink);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.58fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row > p {
  margin-bottom: 8px;
  color: #b8bcaf;
  font-size: 17px;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(251, 248, 239, 0.3);
  border-left: 1px solid rgba(251, 248, 239, 0.3);
}

.learning-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid rgba(251, 248, 239, 0.3);
  border-bottom: 1px solid rgba(251, 248, 239, 0.3);
  transition:
    background 220ms ease,
    color 220ms ease;
}

.learning-card:hover {
  background: var(--acid);
  color: var(--ink);
}

.card-number {
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 11px;
}

.learning-card h3 {
  max-width: 300px;
  margin: 92px 0 18px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}

.learning-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: #aeb3a4;
  font-size: 14px;
}

.learning-card:hover p {
  color: #272a22;
}

.card-mark {
  position: absolute;
  top: 24px;
  right: 25px;
  color: var(--acid);
  font-size: 28px;
  font-weight: 300;
}

.learning-card:hover .card-mark {
  color: var(--ink);
  transform: rotate(45deg);
}

.method-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 70px;
}

.method-intro h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.method-intro > p {
  color: var(--muted);
  font-size: 17px;
}

.method-list {
  border-top: 1px solid var(--ink);
}

.method-step {
  display: grid;
  grid-template-columns: 70px 120px minmax(260px, 0.8fr) minmax(300px, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 150px;
  border-bottom: 1px solid var(--ink);
}

.method-number,
.method-eyebrow {
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 11px;
}

.method-eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.method-step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.method-step > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.chapters-section {
  background: #171916;
}

.chapter-heading {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 62px;
}

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

.chapter-heading > p {
  margin-bottom: 5px;
  color: #aeb3a4;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(251, 248, 239, 0.24);
  border-bottom: 1px solid rgba(251, 248, 239, 0.24);
}

.chapter-group {
  min-height: 430px;
  padding: 32px 26px;
  border-right: 1px solid rgba(251, 248, 239, 0.24);
}

.chapter-group:last-child {
  border-right: 0;
}

.chapter-range {
  margin-bottom: 80px;
  color: var(--acid);
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 11px;
}

.chapter-group h3 {
  min-height: 84px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.chapter-group ul,
.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-group li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid rgba(251, 248, 239, 0.12);
  color: #adb1a6;
  font-size: 12px;
  line-height: 1.45;
}

.chapter-group li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--acid);
  content: "→";
}

.proof-band {
  background: var(--acid);
}

.proof-band-inner {
  display: grid;
  grid-template-columns: 0.65fr 1.2fr 0.45fr;
  align-items: center;
  gap: 70px;
  min-height: 360px;
}

.giant-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.giant-score strong {
  font-family: var(--serif);
  font-size: clamp(100px, 12vw, 170px);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.07em;
}

.giant-score span {
  font-size: 20px;
}

.proof-copy .stars {
  margin-bottom: 14px;
  color: var(--ink);
}

.proof-copy h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.proof-copy > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
}

.proof-stamp {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-align: center;
  transform: rotate(7deg);
}

.proof-stamp span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proof-stamp strong {
  margin-block: -28px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 120px;
}

.audience-intro > p:last-child {
  max-width: 480px;
  color: var(--muted);
  font-size: 18px;
}

.audience-list {
  border-top: 1px solid var(--ink);
}

.audience-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  min-height: 94px;
  border-bottom: 1px solid var(--ink);
}

.audience-item span {
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 11px;
}

.audience-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.author-section {
  background: var(--ink);
}

.author-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.65fr;
  align-items: center;
  gap: 84px;
}

.author-monogram {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(251, 248, 239, 0.3);
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(199, 255, 40, 0.42) 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, rgba(199, 255, 40, 0.16) 50%, transparent 50.2%);
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(80px, 9vw, 140px);
}

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

.author-copy > p {
  color: #aeb3a4;
}

.author-copy .section-kicker,
.author-copy .author-lead {
  color: var(--white);
}

.author-lead {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
}

.author-signature {
  padding: 28px 0;
  border-top: 1px solid var(--acid);
  border-bottom: 1px solid rgba(251, 248, 239, 0.28);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
}

.author-signature span,
.author-signature strong {
  display: block;
}

.author-signature strong {
  color: var(--acid);
  font-weight: 400;
}

.offer-section {
  padding-bottom: 140px;
}

.offer-card {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  min-height: 610px;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  box-shadow: 18px 18px 0 var(--acid);
}

.offer-copy {
  padding: clamp(44px, 6vw, 90px);
}

.offer-copy h2 {
  max-width: 720px;
}

.offer-list {
  max-width: 660px;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.offer-list li {
  position: relative;
  padding: 15px 10px 15px 34px;
  border-bottom: 1px solid var(--line);
}

.offer-list li::before {
  position: absolute;
  left: 4px;
  color: #587700;
  font-weight: 700;
  content: "✓";
}

.price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px);
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.price-box > p:first-child {
  margin-bottom: 12px;
  color: #aeb3a4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price {
  display: flex;
  align-items: flex-start;
  color: var(--acid);
}

.price strong {
  font-family: var(--serif);
  font-size: clamp(120px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.07em;
}

.price span {
  margin-top: 11px;
  font-size: 24px;
}

.price-note {
  margin: 28px 0;
  color: #aeb3a4;
  font-size: 13px;
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 24px;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.buy-button > span:last-child {
  font-size: 24px;
}

.buy-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #8e9386;
  font-size: 11px;
  line-height: 1.45;
}

.secure-note span {
  color: var(--acid);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 100px;
}

.faq-grid > div:first-child > p {
  max-width: 420px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  min-height: 82px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary > span {
  font-family: "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 10px;
}

.faq-list summary strong {
  font-size: 16px;
}

.faq-list summary i {
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  text-align: right;
  transition: transform 200ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 680px;
  margin: -5px 28px 28px 42px;
  color: var(--muted);
}

.final-cta {
  padding-block: 120px;
  overflow: hidden;
  background: var(--acid);
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta .eyebrow span {
  border-color: var(--ink);
  background: transparent;
}

.final-cta h2 {
  max-width: 1000px;
  margin-bottom: 50px;
  font-size: clamp(68px, 7.5vw, 112px);
}

.final-cta h2 em {
  text-decoration-color: var(--ink);
}

.final-cta .primary-button {
  background: var(--ink);
  box-shadow: 0 8px 0 rgba(16, 17, 14, 0.22);
  color: var(--acid);
}

.final-cta .primary-button:hover {
  background: var(--paper-soft);
  color: var(--ink);
}

.site-footer {
  padding-block: 60px 42px;
  background: var(--ink);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 248, 239, 0.2);
}

.footer-top > p {
  margin: 0;
  color: #9da294;
  font-size: 12px;
}

.footer-top > p span {
  margin-inline: 9px;
}

.footer-top > a:last-child {
  justify-self: end;
  font-size: 12px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 80px;
  padding-top: 34px;
  color: #777d70;
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.mobile-buy {
  display: none;
}

.setup-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: 390px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  box-shadow: 7px 7px 0 var(--acid);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.setup-toast.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    margin-right: 64px;
  }

  .mobile-menu {
    position: absolute;
    top: 20px;
    right: 0;
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 48px;
    height: 48px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--ink);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 20px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .mobile-menu[open] summary span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .mobile-menu[open] summary span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu nav {
    position: absolute;
    top: 56px;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(340px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid var(--ink);
    background: var(--paper-soft);
    box-shadow: 8px 8px 0 var(--acid);
  }

  .mobile-menu nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .hero h1 {
    font-size: clamp(66px, 7.4vw, 88px);
  }

  .hero-visual {
    min-height: 580px;
  }

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

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

  .chapter-group:nth-child(2) {
    border-right: 0;
  }

  .chapter-group:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(251, 248, 239, 0.24);
  }

  .proof-band-inner {
    grid-template-columns: 0.65fr 1fr;
  }

  .proof-stamp {
    display: none;
  }

  .author-grid {
    grid-template-columns: 0.5fr 1fr;
  }

  .author-signature {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .section-shell {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .site-header {
    width: calc(100% - 48px);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-block: 56px 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero h1 {
    max-width: 800px;
    font-size: clamp(64px, 12vw, 94px);
  }

  .hero-visual {
    min-height: 650px;
  }

  .book-frame {
    inset: 0 10%;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .problem-grid,
  .section-heading-row,
  .method-intro,
  .chapter-heading,
  .audience-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .method-step {
    grid-template-columns: 48px 100px 1fr;
    padding-block: 26px;
  }

  .method-step > p:last-child {
    grid-column: 3;
  }

  .proof-band-inner {
    grid-template-columns: 0.55fr 1fr;
    gap: 44px;
  }

  .author-grid {
    grid-template-columns: 0.55fr 1fr;
    gap: 50px;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .price-box {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 24px;
  }

  body {
    padding-bottom: 78px;
  }

  .section-shell {
    width: calc(100% - 32px);
  }

  .site-header {
    width: calc(100% - 32px);
    min-height: 72px;
  }

  .brand {
    font-size: 23px;
  }

  .mobile-menu {
    top: 12px;
  }

  .hero {
    width: 100%;
    padding: 34px 16px 64px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(52px, 15vw, 72px);
    line-height: 0.9;
  }

  .hero-lead {
    font-size: 17px;
  }

  .eyebrow {
    gap: 5px;
  }

  .eyebrow span {
    min-height: 27px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .primary-button {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 66px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .primary-button strong {
    display: none;
  }

  .primary-button > span:last-child {
    font-size: 20px;
  }

  .amazon-proof {
    gap: 8px;
  }

  .proof-score {
    font-size: 18px;
  }

  .proof-separator {
    display: none;
  }

  .hero-visual {
    min-height: 470px;
  }

  .book-frame {
    inset: 0 -6%;
  }

  .code-note {
    font-size: 8px;
  }

  .code-note-top {
    top: 22%;
    right: 0;
  }

  .code-note-bottom {
    right: 0;
    bottom: 9%;
  }

  .metric {
    min-height: 126px;
    padding: 18px 10px;
  }

  .metric strong {
    font-size: 46px;
  }

  .metric span {
    max-width: 130px;
    font-size: 9px;
  }

  .problem-section,
  .method-section,
  .audience-section,
  .offer-section,
  .faq-section,
  .learning-section,
  .chapters-section,
  .author-section {
    padding-block: 82px;
  }

  .section-label {
    margin-bottom: 42px;
  }

  .problem-grid h2,
  .section-heading-row h2,
  .method-intro h2,
  .chapter-heading h2,
  .audience-intro h2,
  .author-copy h2,
  .offer-copy h2,
  .faq-grid h2,
  .final-cta h2 {
    font-size: 48px;
  }

  .pull-quote p {
    font-size: 24px;
  }

  .section-heading-row,
  .method-intro,
  .chapter-heading {
    margin-bottom: 42px;
  }

  .learning-grid,
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    min-height: 280px;
  }

  .chapter-group {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 239, 0.24);
  }

  .chapter-group:last-child {
    border-bottom: 0;
  }

  .chapter-range {
    margin-bottom: 38px;
  }

  .method-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding-block: 26px;
  }

  .method-eyebrow {
    grid-column: 2;
    grid-row: 1;
  }

  .method-step h3,
  .method-step > p:last-child {
    grid-column: 2;
  }

  .method-step h3 {
    font-size: 32px;
  }

  .proof-band-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding-block: 70px;
  }

  .giant-score strong {
    font-size: 120px;
  }

  .proof-copy h2 {
    font-size: 42px;
  }

  .audience-grid {
    gap: 42px;
  }

  .audience-item {
    grid-template-columns: 42px 1fr;
  }

  .audience-item p {
    font-size: 15px;
  }

  .author-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .author-monogram {
    max-width: 300px;
  }

  .author-signature {
    grid-column: 1;
  }

  .offer-section {
    padding-bottom: 98px;
  }

  .offer-card {
    box-shadow: 9px 9px 0 var(--acid);
  }

  .offer-copy,
  .price-box {
    padding: 34px 24px;
  }

  .price strong {
    font-size: 130px;
  }

  .faq-grid {
    gap: 30px;
  }

  .faq-list summary {
    grid-template-columns: 32px 1fr 24px;
    min-height: 92px;
  }

  .faq-list summary strong {
    font-size: 14px;
  }

  .faq-list details > p {
    margin-left: 32px;
    font-size: 14px;
  }

  .final-cta {
    padding-block: 82px;
  }

  .final-cta h2 {
    font-size: 58px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-top > a:last-child {
    justify-self: start;
  }

  .mobile-buy {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 10px 16px;
    background: var(--acid);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-buy span {
    display: flex;
    flex-direction: column;
  }

  .mobile-buy small {
    color: #4b600e;
    font-size: 9px;
    font-weight: 600;
  }

  .mobile-buy strong {
    white-space: nowrap;
  }

  .setup-toast {
    right: 14px;
    bottom: 92px;
    left: 14px;
    max-width: none;
  }
}

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