/* Cheat Day Every Day: shared styles for every page of the site.
   Colors are taken from the book cover. */

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Poppins-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Lato-Regular.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/Lato-Italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Lato-Bold.woff2") format("woff2"); }

:root {
  --forest: #1E3E2F;
  --forest-2: #2B5541;
  --forest-deep: #142A20;
  --orange: #D06A22;        /* large text on cream */
  --orange-bright: #DC772F; /* fills and decoration */
  --orange-soft: #F2A65A;   /* text on forest green */
  --orange-ink: #A94F18;    /* small text on cream */
  --btn: #BD5718;
  --btn-hover: #A24913;
  --cream: #F9F5E9;
  --cream-2: #F2EBDA;
  --peach: #F1D7BC;
  --peach-soft: #F7E6D2;
  --paper: #FFFFFF;
  --ink: #1E2A30;
  --muted: #56636B;
  --line: #E6DDC9;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(30, 62, 47, .06), 0 10px 28px -10px rgba(30, 62, 47, .2);
  --shadow-lg: 0 34px 60px -26px rgba(20, 42, 32, .55), 0 14px 26px -14px rgba(0, 0, 0, .22);
  --max: 1140px;
  --head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-2); }
h1, h2, h3 { font-family: var(--head); color: var(--forest); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: var(--cream); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--cream-2); }
.section--white { background: var(--paper); }
.kicker { display: inline-block; font: 700 .78rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 38em; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.0625rem/1.1 var(--head); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--buy { background: var(--btn); color: #fff; box-shadow: 0 12px 24px -12px rgba(189, 87, 24, .8); }
.btn--buy:hover { background: var(--btn-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; color: var(--forest); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 245, 233, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { font: 800 1rem/1 var(--head); letter-spacing: .03em; color: var(--forest); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--orange-bright); }
.logo:hover { color: var(--forest); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font: 600 .95rem/1 var(--head); color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--orange-ink); }
@media (max-width: 780px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 360px) { .logo { font-size: .88rem; } }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle at 96% -6%, var(--peach) 0 31%, transparent calc(31% + 1px)),
    radial-gradient(circle at 96% -6%, var(--peach-soft) 0 44%, transparent calc(44% + 1px));
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 10px 16px; border-radius: 999px; background: var(--forest); color: var(--cream);
  font: 600 .74rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
}
.hero h1 .accent { color: var(--orange); }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 33em; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--forest); width: 18px; height: 18px; }

.hero__art { position: relative; padding: 12px 8% 24px; }
.book {
  position: relative; width: min(400px, 100%); margin-inline: auto;
  transform: perspective(1600px) rotateY(-16deg) rotateX(4deg) rotateZ(1deg);
}
.book img { position: relative; width: 100%; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-lg); }
.book::before { /* page block peeking out on the right */
  content: ""; position: absolute; top: 1.6%; bottom: 1.6%; left: 6%; right: -3.2%; z-index: -1;
  border-radius: 0 7px 7px 0;
  background: repeating-linear-gradient(90deg, #fffdf7 0 2px, #e9e1cf 2px 3px);
  box-shadow: var(--shadow-lg);
}
.book::after { /* spine crease */
  content: ""; position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .3) 1.3%, rgba(0, 0, 0, .1) 2.8%, transparent 6%);
}
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow);
  font: 600 .82rem/1.25 var(--head); color: var(--muted);
}
.float b { display: block; font-size: 1.12rem; color: var(--forest); }
.float__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); flex: none; }
.float__dot .icon { width: 18px; height: 18px; }
.float--a { left: 0; bottom: 7%; }
.float--b { right: 0; top: 47%; }
.float--b .float__dot { background: var(--orange-bright); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; }
  .float { padding: 10px 12px; font-size: .74rem; }
  .float b { font-size: .98rem; }
  .float__dot { width: 30px; height: 30px; }
}

/* ---------------------------------------------------------------- stats band */

.stats { background: var(--forest); color: var(--cream); padding: clamp(32px, 4vw, 44px) 0; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; text-align: center; }
.stats b { display: block; margin-bottom: 4px; font: 800 clamp(2rem, 4vw, 2.75rem)/1 var(--head); color: var(--orange-soft); }
.stats span { font-size: .98rem; color: rgba(249, 245, 233, .9); }
@media (max-width: 700px) { .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* ---------------------------------------------------------------- makeovers */

.swaps { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 40px; padding: 0; list-style: none; }
.swaps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: .93rem; color: var(--muted);
}
.swaps li b { color: var(--forest); font-weight: 700; }
.swaps .icon { width: 15px; height: 15px; color: var(--orange-bright); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.mk { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow); }
.mk h3 { margin-bottom: 4px; }
.mk__ctx { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.bar { margin-bottom: 14px; }
.bar__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .88rem; color: var(--muted); }
.bar__label b { font-family: var(--head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.bar__track { height: 12px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.bar__fill { height: 100%; width: var(--w); border-radius: 999px; background: #CDBFA4; }
.bar--ours .bar__label { color: var(--forest); font-weight: 700; }
.bar--ours .bar__label b { color: var(--forest); }
.bar--ours .bar__fill { background: var(--forest); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: #E5F0E8; color: var(--forest); font: 600 .8rem/1 var(--head); }
.footnote { margin: 22px 0 0; max-width: 72ch; font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------- chapters */

.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.ch {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 22px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
}
.ch::before { content: ""; position: absolute; top: -1px; left: 22px; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.ch__num { font: 800 1.45rem/1 var(--head); color: var(--c); }
.ch h3 { margin: 10px 0 4px; }
.ch p { margin: 0 0 14px; font-size: .93rem; color: var(--muted); }
.ch__count { margin-top: auto; font: 600 .82rem/1 var(--head); color: var(--muted); }
.ch--extra { background: var(--forest); border-color: var(--forest); color: rgba(249, 245, 233, .85); }
.ch--extra h3 { color: var(--cream); }
.ch--extra p { color: rgba(249, 245, 233, .85); }
.ch--extra .ch__num { color: var(--orange-soft); }

/* ---------------------------------------------------------------- look inside */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.shot { margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
.shot img { width: 100%; aspect-ratio: 612 / 792; border-radius: 4px; background: #fff; box-shadow: var(--shadow-lg); transition: transform .25s ease; }
.shot button:hover img { transform: translateY(-4px) rotate(-.6deg); }
.shot figcaption { margin-top: 16px; font-size: .93rem; color: var(--muted); }
.shot figcaption b { display: block; font: 700 1rem/1.3 var(--head); color: var(--forest); }
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 20px;
  }
  .shot { scroll-snap-align: center; }
}
.swipe-hint { display: none; margin-top: 4px; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .swipe-hint { display: block; } }

.viewer { width: min(94vw, 860px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.viewer::backdrop { background: rgba(12, 26, 19, .86); }
.viewer img { width: auto; max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); margin-inline: auto; border-radius: 4px; background: #fff; }
.viewer p { margin: 12px 0 0; text-align: center; color: var(--cream); font: 600 .95rem/1.3 var(--head); }
.viewer__btn {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--paper); color: var(--forest);
  box-shadow: var(--shadow); cursor: pointer;
}
.viewer__btn .icon { width: 22px; height: 22px; }
.viewer__close { top: -18px; right: -12px; }
.viewer__prev { left: -20px; top: 45%; }
.viewer__next { right: -20px; top: 45%; }
.viewer__prev .icon { transform: rotate(180deg); }
@media (max-width: 600px) {
  .viewer__close { top: -56px; right: 0; }
  .viewer__prev { left: 6px; top: auto; bottom: 46px; }
  .viewer__next { right: 6px; top: auto; bottom: 46px; }
}

/* ---------------------------------------------------------------- features */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 15px; background: var(--forest); color: var(--cream); }
.feature__icon .icon { width: 25px; height: 25px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }
.guides { margin: 44px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--cream-2); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.guides b { font-family: var(--head); color: var(--forest); }
.guides span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.guides .icon { color: var(--orange-bright); width: 18px; height: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- who it's for */

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit__col { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.fit__col--no { background: transparent; border: 1.5px dashed #CDBFA3; box-shadow: none; }
.fit h3 { font-size: 1.25rem; margin-bottom: 18px; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; margin-bottom: 14px; }
.ticks li:last-child { margin-bottom: 0; }
.ticks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--forest); }
.ticks--no .icon { color: #9B8D73; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- free sample */

.sample { background: var(--peach-soft); }
.sample__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.stack { position: relative; width: min(360px, 82%); margin-inline: auto; }
.stack::before, .stack::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.stack::before { transform: rotate(5deg) translate(10px, 4px); }
.stack::after { transform: rotate(2.4deg) translate(4px, 2px); }
.stack img { position: relative; z-index: 1; border-radius: 4px; transform: rotate(-2.5deg); box-shadow: var(--shadow-lg); }
.sample__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.sample__list li { padding: 8px 14px; border-radius: 999px; background: var(--paper); font: 600 .86rem/1.2 var(--head); color: var(--forest); }
.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input {
  flex: 1 1 240px; min-height: 56px; padding: 0 22px; border-radius: 999px;
  border: 2px solid #D8C3A2; background: var(--paper); color: var(--ink); font: 400 1.05rem var(--body);
}
.signup input::placeholder { color: #7D8890; }
.signup input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(30, 62, 47, .16); }
.signup .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .signup .btn { flex: 1 1 100%; } }
.fineprint { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.signup-done { padding: 22px 24px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.signup-done h3 { margin-bottom: 4px; }
.signup-done p { margin: 0; color: var(--muted); }
.signup-done .btn { margin-top: 14px; }
.signup-error { margin: 10px 0 0; color: #A3321C; font-weight: 700; }
@media (max-width: 860px) { .sample__grid { grid-template-columns: 1fr; } .stack { width: min(300px, 74%); } }

/* ---------------------------------------------------------------- story */

.story { max-width: 740px; margin-inline: auto; }
.story p { font-size: clamp(1.06rem, 1.5vw, 1.16rem); }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.rules li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font: 600 .95rem/1.3 var(--head); color: var(--forest); }
.rules .icon { width: 22px; height: 22px; color: var(--orange-bright); }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- pricing */

.pricing { background: var(--forest); background-image: radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .05) 0 30%, transparent calc(30% + 1px)); }
.pricing .section-head h2 { color: var(--cream); }
.pricing .section-head .lead { color: rgba(249, 245, 233, .85); }
.pricing .kicker { color: var(--orange-soft); }
.price-card {
  display: grid; grid-template-columns: 320px 1fr; max-width: 940px; margin-inline: auto; overflow: hidden;
  border-radius: 26px; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.price-card__art {
  display: grid; place-items: center; padding: 40px 36px;
  background: var(--cream-2) radial-gradient(circle at 100% 0%, var(--peach) 0 38%, transparent calc(38% + 1px));
}
.price-card__art .book { width: 220px; }
.price-card__body { padding: clamp(28px, 4vw, 44px); }
.price-card h3 { font-size: 1.45rem; margin-bottom: 2px; }
.price-card__sub { color: var(--muted); margin-bottom: 16px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 22px; }
.price b { font: 800 3.4rem/1 var(--head); color: var(--forest); letter-spacing: -.02em; }
.price span { color: var(--muted); }
.price-card .ticks { margin-bottom: 28px; }
.price-card .ticks li { margin-bottom: 10px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.secure .icon { width: 16px; height: 16px; }
.terms-note { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 800px) {
  .price-card { grid-template-columns: 1fr; }
  .price-card__art { padding: 36px 24px 28px; }
  .price-card__art .book { width: 170px; }
}

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font: 600 1.08rem/1.4 var(--head); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--orange-bright); border-bottom: 2.5px solid var(--orange-bright);
  transform: translateY(-75%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: -6px 0 22px; padding-right: 40px; }

/* ---------------------------------------------------------------- final CTA */

.final { text-align: center; background: var(--cream-2) radial-gradient(circle at 50% 150%, var(--peach) 0 38%, transparent calc(38% + 1px)); }
.final .lead { margin: 0 auto 30px; }
.final .trust { justify-content: center; margin-top: 22px; }

/* ---------------------------------------------------------------- footer */

.site-footer { padding: 52px 0 40px; background: var(--forest-deep); color: rgba(249, 245, 233, .78); font-size: .92rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--orange-soft); }
.site-footer .logo { color: var(--cream); }
.site-footer .logo span { color: var(--orange-soft); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.disclaimer { max-width: 82ch; margin: 28px 0 0; font-size: .82rem; color: rgba(249, 245, 233, .62); }

/* ---------------------------------------------------------------- mobile buy bar */

.buybar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--forest); color: var(--cream);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .3s ease;
}
.buybar.is-visible { transform: none; }
.buybar b { display: block; font: 700 .95rem/1.2 var(--head); }
.buybar small { font-size: .82rem; color: rgba(249, 245, 233, .78); }
.buybar .btn { min-height: 48px; padding: 10px 20px; font-size: 1rem; flex: none; }
@media (max-width: 780px) { .buybar { display: flex; } }

/* ---------------------------------------------------------------- simple pages (thank-you, legal) */

.page-main { padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 104px); }
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; font-weight: 700; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); margin-bottom: 2em; }
.legal .box { padding: 18px 22px; border-radius: 14px; background: var(--cream-2); }

.thanks { max-width: 680px; margin-inline: auto; text-align: center; }
.thanks__card { margin-top: 28px; padding: clamp(28px, 5vw, 44px); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.thanks__card .book { width: 150px; margin-bottom: 28px; }
.thanks .btn { width: min(100%, 380px); }
.thanks__meta { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.steps { margin: 32px 0 0; padding: 0; list-style: none; text-align: left; counter-reset: step; }
.steps li { position: relative; padding: 0 0 18px 48px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--cream); font: 700 .9rem/1 var(--head);
}
.steps b { font-family: var(--head); color: var(--forest); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
