/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* type scale — fluid */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --text-hero: clamp(2.375rem, 1.5rem + 4.2vw, 4.5rem);

  /* spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font-display: 'Clash Display', 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;

  --wrap: 1180px;
  --wrap-narrow: 720px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* colour — light: espresso on warm cream, taken from the book cover */
  --bg: #f7f1e6;
  --surface: #fffcf5;
  --surface-2: #ede3d3;
  --ink: #2b1a0f;
  --ink-soft: #6d5745;
  --line: #d9c9b3;
  --accent: #a3552a;
  --accent-ink: #ffffff;
  --espresso: #3e2618;
  --espresso-ink: #fdf8f0;
  --btn: #3e2618;
  --btn-ink: #fdf8f0;
  --shadow-sm: 0 1px 2px rgb(43 26 15 / 0.08);
  --shadow: 0 10px 30px -12px rgb(43 26 15 / 0.25);
}

[data-theme='dark'] {
  --bg: #17100a;
  --surface: #211710;
  --surface-2: #2c2016;
  --ink: #f5ebdd;
  --ink-soft: #b09c88;
  --line: #3d2e21;
  --accent: #d9954f;
  --accent-ink: #17100a;
  --espresso: #4a2f1c;
  --espresso-ink: #f7ecdd;
  --btn: #d9954f;
  --btn-ink: #1a120b;
  --shadow: 0 10px 30px -12px rgb(0 0 0 / 0.6);
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-wrap: break-word;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  word-spacing: 0.14em;
  text-transform: uppercase;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
}

/* ============================================================
   SHARED BITS
   ============================================================ */
.kicker {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hl {
  position: relative;
  display: inline;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 34%, transparent) 62%);
  background-size: 100% 100%;
  padding-inline: 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: var(--space-4) var(--space-8);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--sm {
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-xs);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn--wide {
  width: 100%;
}

.note {
  font-size: var(--text-xs);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* diagram frame */
.dgm {
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--space-5);
}
.dgm svg {
  width: 100%;
  height: auto;
}
.hand {
  font-family: var(--font-hand);
  font-size: 21px;
  letter-spacing: 0.02em;
}
.hand--sm {
  font-size: 18px;
}
.hand--accent {
  font-size: 23px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  margin-right: auto;
}
.logo svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.logo__txt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__txt span {
  color: var(--accent);
}
.iconbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.iconbtn svg {
  width: 18px;
  height: 18px;
}
.iconbtn .moon {
  display: none;
}
[data-theme='dark'] .iconbtn .sun {
  display: none;
}
[data-theme='dark'] .iconbtn .moon {
  display: block;
}
.nav .btn {
  display: none;
}
@media (min-width: 640px) {
  .nav .btn {
    display: inline-flex;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}
.hero__grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}
.hero h1 {
  margin-block: var(--space-5) 0;
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  word-spacing: 0.16em;
}
.hero h1 span {
  display: block;
}
.hero h1 .l3 {
  font-size: 0.46em;
  letter-spacing: 0;
  word-spacing: 0.08em;
  margin-top: 0.28em;
  color: var(--ink-soft);
}
.hero__sub {
  max-width: 46ch;
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
}
.price s {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__trust svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--accent);
}

/* book mockup */
.cover {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 5 / 6.6;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}
.cover::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  border-right: 2px solid var(--ink);
  background: var(--surface-2);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover__ph {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.cover__title {
  background: var(--espresso);
  color: var(--espresso-ink);
  display: flex;
  align-items: center;
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
}
.cover__ph h2 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: none;
  word-spacing: normal;
}
.cover__band {
  position: relative;
  background:
    radial-gradient(120% 90% at 30% 20%, rgb(255 255 255 / 0.5), transparent 60%),
    linear-gradient(150deg, #c8a077 0%, #a87e55 45%, #7d5535 100%);
}
[data-theme='dark'] .cover__band {
  background:
    radial-gradient(120% 90% at 30% 20%, rgb(255 255 255 / 0.16), transparent 60%),
    linear-gradient(150deg, #8c6a49 0%, #6e5136 45%, #4a3422 100%);
}
.cover__mark {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgb(255 255 255 / 0.82);
}

/* repeated inline CTA */
.inline-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.ticker {
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding-block: var(--space-3);
}
.ticker__track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  animation: slide 34s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   HEADINGS / SECTIONS
   ============================================================ */
.h-sec {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.lead {
  max-width: 58ch;
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--ink-soft);
}

.inside {
  border-bottom: 2px solid var(--ink);
}
.inside__dgm {
  margin-top: var(--space-10);
}
.scrollhint {
  display: none;
}
@media (max-width: 760px) {
  .inside__dgm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .inside__dgm svg {
    min-width: 600px;
  }
  .scrollhint {
    display: block;
    margin-top: var(--space-3);
  }
}

.chapter {
  border-bottom: 2px solid var(--line);
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.chapter__grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
@media (min-width: 900px) {
  .chapter__grid {
    grid-template-columns: 1fr 1fr;
  }
  .chapter:nth-of-type(even) .chapter__dgm {
    order: -1;
  }
  .chapter__dgm {
    position: sticky;
    top: 96px;
  }
}
.chapter__list {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.chapter__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
}
.num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}
.chapter__list h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}
.chapter__list p {
  margin-top: var(--space-2);
  color: var(--ink-soft);
}

/* ============================================================
   PRICING
   ============================================================ */
.tiers {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 860px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}
.tier {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}
.tier--hot {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 6px 6px 0 var(--accent);
}
.tier--hot .tier__sub,
.tier--hot .tier__inc li {
  color: color-mix(in srgb, var(--bg) 74%, transparent);
}
.tier--hot .btn {
  border-color: var(--bg);
  box-shadow: 4px 4px 0 var(--bg);
}
.tier--hot .btn:hover {
  box-shadow: 6px 6px 0 var(--bg);
}
.tier__badge {
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier h3 {
  font-size: var(--text-xl);
  word-spacing: 0.1em;
}
.tier__sub {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
}
.tier__price s {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  opacity: 0.65;
}
.tier__inc {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
}
.tier__inc li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.tier__inc svg {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--accent);
}

/* ============================================================
   FIT / NOT FOR
   ============================================================ */
.fit {
  border-block: 2px solid var(--ink);
  background: var(--surface-2);
}
.fit__grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-12));
  margin-top: var(--space-10);
}
@media (min-width: 860px) {
  .fit__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fit__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.fit__col p {
  margin-top: var(--space-3);
  color: var(--ink-soft);
}
.fit__split {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-top: clamp(var(--space-10), 5vw, var(--space-16));
  border-top: 2px solid var(--line);
}
@media (min-width: 900px) {
  .fit__split {
    grid-template-columns: 1fr 1fr;
  }
}
.xlist {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.xlist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  color: var(--ink-soft);
}
.xlist svg {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  flex: none;
  color: var(--accent);
}

/* ============================================================
   AUTHOR
   ============================================================ */
.author__grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
@media (min-width: 900px) {
  .author__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.author__photo {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author__ph {
  height: 100%;
  display: grid;
  place-items: center;
  padding: var(--space-6);
  text-align: center;
}
.author__ph svg {
  width: min(190px, 62%);
  height: auto;
}
.author__list {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.author__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}
.author__list p {
  color: var(--ink-soft);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 860px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.quote {
  padding: var(--space-6);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}
.quote p {
  font-size: var(--text-lg);
}
.quote footer {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.quote strong {
  display: block;
  color: var(--ink);
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rating svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: var(--wrap-narrow);
  margin-top: var(--space-10);
}
.faq details {
  border-bottom: 2px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after {
  content: '–';
}
.faq p {
  padding-bottom: var(--space-6);
  color: var(--ink-soft);
}

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.final h2 {
  font-size: var(--text-2xl);
  max-width: 24ch;
  margin-inline: auto;
}
.final p {
  max-width: 52ch;
  margin: var(--space-5) auto 0;
  color: color-mix(in srgb, var(--bg) 74%, transparent);
}
.final .btn {
  margin-top: var(--space-8);
  border-color: var(--bg);
  box-shadow: 5px 5px 0 var(--bg);
}
.final .btn:hover {
  box-shadow: 7px 7px 0 var(--bg);
}
.final .note {
  margin-top: var(--space-5);
  color: color-mix(in srgb, var(--bg) 62%, transparent);
}

.foot {
  border-top: 2px solid var(--line);
  padding-block: var(--space-12);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
  align-items: center;
}
.foot__legal {
  display: grid;
  gap: var(--space-4);
  max-width: 78ch;
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 2px solid var(--line);
  font-size: var(--text-xs);
  line-height: 1.65;
}
.foot a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* editor-only helper flag */
.todo {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 20px;
}

/* ============================================================
   INTERIOR PAGE PREVIEW (styled recreations, not screenshots)
   ============================================================ */
.preview {
  border-block: 2px solid var(--ink);
  background: var(--surface-2);
}
.pages {
  display: grid;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
  margin-top: var(--space-10);
}
@media (min-width: 640px) {
  .pages {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .pages {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pg {
  margin: 0;
}
.pg figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pg__sheet {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pg--chapter .pg__sheet,
.pg--header .pg__sheet,
.pg--closing .pg__sheet {
  padding: 0;
  gap: 0;
}
.pg__mark {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  opacity: 0.75;
}
.pg__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.pg__chapblock {
  background: var(--espresso);
  color: var(--espresso-ink);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 74px;
}
.pg__chapblock--wide {
  grid-column: 1 / -1;
}
.pg__chapblock span {
  font-size: 11px;
  font-weight: 700;
}
.pg__chapblock strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}
.pg__band {
  background:
    radial-gradient(110% 90% at 30% 20%, rgb(255 255 255 / 0.45), transparent 60%),
    linear-gradient(150deg, #c8a077 0%, #a87e55 45%, #7d5535 100%);
}
[data-theme='dark'] .pg__band {
  background:
    radial-gradient(110% 90% at 30% 20%, rgb(255 255 255 / 0.14), transparent 60%),
    linear-gradient(150deg, #8c6a49 0%, #6e5136 45%, #4a3422 100%);
}
.pg__band--tall {
  flex: 1;
  min-height: 52%;
}
.pg__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 18px;
}
.pg--double .pg__sheet .pg__body {
  padding: 4px 2px;
}
.pg__body--split {
  justify-content: space-between;
  gap: 18px;
}
.pg__h {
  position: relative;
  margin: 0 0 6px;
  padding-left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.pg__h::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.pg__rows {
  display: grid;
  gap: 4px;
}
.pg__rows--loose {
  gap: 8px;
}
.pg__row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 2px;
  background: var(--surface-2);
}
.pg__row i {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.pg__note {
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-style: italic;
}
.pg__close {
  background: var(--espresso);
  color: var(--espresso-ink);
  padding: 16px 14px 22px;
}
.pg__close strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}
.pg__close p {
  margin: 0;
  color: color-mix(in srgb, var(--espresso-ink) 82%, transparent);
}
.pg__item + .pg__item {
  margin-top: 14px;
}
.pg__num {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.pg__box {
  display: grid;
  gap: 4px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-2);
}
.pg__check {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pg__check svg {
  flex: none;
  width: 6px;
  height: 6px;
  color: var(--accent);
}

/* ============================================================
   OFFER CARD
   ============================================================ */
.offer {
  max-width: 720px;
  margin: var(--space-10) 0 0;
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--ink);
}
.offer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 2px solid var(--line);
}
.offer h3 {
  font-size: var(--text-xl);
}
.offer__sub {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.offer__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.offer__price s {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  opacity: 0.6;
}
.offer__inc {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-8);
  padding: 0;
  list-style: none;
}
.offer__inc li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.offer__inc svg {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--accent);
}
.offer__fine {
  margin-top: var(--space-4);
}

/* footer mark */
.foot__mark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.foot__mark svg {
  width: 26px;
  height: 26px;
  flex: none;
}

/* owner notes that must be filled in before launch */
.todo {
  padding-left: var(--space-3);
  border-left: 2px dashed var(--accent);
}

/* running-copy stand-in inside the page mockups */
.pg__fill {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding-top: 10px;
  min-height: 0;
}
.pg__fill span {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  opacity: 0.55;
}
.pg__fill span:nth-child(2) { width: 94%; }
.pg__fill span:nth-child(3) { width: 88%; }
.pg__fill span:nth-child(4) { width: 96%; }
.pg__fill span:nth-child(5) { width: 82%; }
.pg__fill span:nth-child(6) { width: 91%; }
.pg__fill span:nth-child(7) { width: 76%; }
.pg__fill span:nth-child(8) { width: 93%; }
.pg__fill span:last-child { width: 47%; }
.pg__note { margin-top: auto; }
