/* ==========================================================================
   Nobody Remembers Fine — sales page
   Palette and type are lifted from the book cover: cream paper, Newsreader
   serif headlines, a deep-orange accent, and dark bands in the cover's own
   near-black browns.
   ========================================================================== */

:root {
  /* Paper — lightest to deepest */
  --paper:        #FAF5EE;
  --paper-2:      #F3EADD;
  --paper-3:      #EDE1CF;
  --paper-4:      #E5D6C0;
  --card:         #FFFDFA;

  /* Ink */
  --ink:          #25211D;  /* cover base — headings and the darkest bands */
  --ink-2:        #3A342E;  /* secondary dark band */
  --body:         #2B2B33;
  --muted:        #5F5F6E;
  --muted-warm:   #5F564D;

  /* Accent */
  --accent:       #A5380F;  /* buttons, eyebrows, links */
  --accent-hover: #8C2E0B;
  --accent-bright:#C0431A;  /* final CTA band, stat rules */
  --accent-light: #E8A180;  /* eyebrows on dark bands */
  --cover-accent: #BE5334;  /* the cover's own orange */

  /* Hairlines */
  --rule:         rgba(37, 33, 29, .14);
  --rule-soft:    rgba(37, 33, 29, .12);
  --rule-faint:   rgba(37, 33, 29, .09);
  --rule-light:   rgba(255, 255, 255, .16);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Libre Franklin', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --caps:  'Mulish', var(--sans);

  --shadow-btn:  0 8px 22px rgba(165, 56, 15, .22);
  --measure:     64ch;   /* body copy */
  --measure-sm:  60ch;   /* deks and pull quotes */
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

/* No scroll-padding is needed for the sticky header: by the time any CTA
   lands you on #offer the header has already retreated, and the hero's own
   top padding clears it when you jump back to #top. */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Room for the fixed buy bar so it never covers the footer. */
  padding-bottom: 72px;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.62;
  /* Contain sideways overflow without creating a scroll container, which
     would silently break `position: sticky` on the header. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

img { max-width: 100%; }

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

/* Visible only to screen readers, until focused. */
.skip-link {
  position: absolute;
  left: 26px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

section { padding: 80px 0; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 26px;
}

/* Wider measure for the header, hero, sources, disclaimer and footer. */
.wrap--wide {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 26px;
}

/* --------------------------------------------------------------------------
   Bands
   -------------------------------------------------------------------------- */

.band--tint     { background: var(--paper-2); }
.band--tint-deep{ background: var(--paper-3); }

.band--dark,
.band--darkest {
  color: rgba(255, 255, 255, .93);
}

.band--dark    { background: var(--ink-2); }
.band--darkest { background: var(--ink); }

.band--dark strong,
.band--darkest strong { color: #fff; }

.band--accent {
  background: var(--accent-bright);
  color: #fff;
  text-align: center;
  padding: 94px 0;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.eyebrow--light { color: rgba(255, 255, 255, .8); }
.eyebrow--warm  { color: var(--accent-light); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .45em;
}

h2 {
  font-size: clamp(1.95rem, 4.4vw, 2.6rem);
  line-height: 1.09;
  margin: 0 0 1em;
}

/* A headline immediately followed by a dek closes up against it. */
h2.has-dek { margin-bottom: .5em; }

.band--dark h2,
.band--darkest h2,
.band--dark h3,
.band--darkest h3,
.band--accent h2 { color: #fff; }

.dek {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--muted);
  margin: -.35em 0 1.3em;
  max-width: var(--measure-sm);
  text-wrap: pretty;
}

.band--dark .dek,
.band--darkest .dek { color: rgba(255, 255, 255, .85); }

p {
  margin: 0 0 1.15em;
  max-width: var(--measure);
  text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

strong {
  font-weight: 600;
  color: var(--ink);
}

.lead {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 46ch;
  margin: 0 0 1.15em;
}

/* Serif italic aside that closes a section. */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--accent);
  margin: 1.4em 0;
  max-width: var(--measure-sm);
}

.pull--end { margin-bottom: 0; }

.band--dark .pull,
.band--darkest .pull { color: #fff; }

/* Highlighter rule under a phrase. */
.mark {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(192, 67, 26, .2) 62%);
}

.band--darkest .mark {
  background: linear-gradient(transparent 62%, rgba(232, 161, 128, .35) 62%);
}

.source {
  opacity: .7;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cta { margin: 32px 0 0; }

.cta-note {
  margin: 14px 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.band--accent .cta-note { color: rgba(255, 255, 255, .85); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  padding: 22px 42px;
  border-radius: 999px;
  box-shadow: var(--shadow-btn);
  transition: background .18s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--md {
  font-size: 1.05rem;
  padding: 19px 34px;
}

/* White pill for use on the dark and orange bands. */
.btn--inverse {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
  transition: color .18s ease;
}

.btn--inverse:hover {
  background: #fff;
  color: var(--accent-hover);
}

.btn--bold { font-weight: 700; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Deliberately opaque rather than a backdrop-filter blur. */
  background: rgba(250, 245, 238, .96);
  border-bottom: 1px solid var(--rule-soft);
  transform: translateY(0);
  transition: transform .28s ease;
}

/* Once the bottom buy bar rises, the header steps out of the way. */
.site-header.is-hidden { transform: translateY(-100%); }

.site-header .wrap--wide {
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
}

.brand__name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.btn--nav {
  font-size: 14px;
  padding: 10px 18px;
  box-shadow: none;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 74px 0 80px; }

.hero__grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}

.hero__art {
  display: flex;
  justify-content: center;
}

.hero__art-inner { position: relative; }

/* Warm halo behind the cover. */
.hero__art-inner::before {
  content: "";
  position: absolute;
  inset: -26px -20px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(190, 83, 52, .18), transparent 72%);
  filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Book cover
   The artwork is drawn at its native 816 x 1055 and scaled down as one
   piece, so every proportion inside stays locked no matter the display size.
   -------------------------------------------------------------------------- */

.cover {
  position: relative;
  width: 360px;
  height: 466px;
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    0 32px 64px -24px rgba(37, 33, 29, .5),
    -6px 0 0 rgba(0, 0, 0, .05) inset;
  overflow: hidden;
}

.cover__art {
  position: absolute;
  top: 0;
  left: 0;
  width: 816px;
  height: 1055px;
  transform: scale(.4412);
  transform-origin: 0 0;
  background: #F6F0E4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover__base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 816px;
  height: 230px;
  background: var(--ink);
}

.cover__kicker {
  position: relative;
  margin: 118px 0 0;
  font: 800 10.5px/1.4 var(--caps);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--cover-accent);
  max-width: none;
}

.cover__title {
  position: relative;
  margin: 146px 0 0;
  font: 600 82px/.94 var(--serif);
  letter-spacing: -.026em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

.cover__title em {
  font-style: normal;
  color: var(--cover-accent);
}

.cover__sub {
  position: relative;
  margin: 74px 64px 0;
  max-width: 34ch;
  text-align: center;
  font: italic 400 24px/1.44 var(--serif);
  color: var(--muted-warm);
}

/* Specificity note: the global `p:last-child { margin-bottom: 0 }` reset on
   line 232 outranks a lone `.cover__foot`, which flattened the 106px base and
   dropped this line onto the cover's bottom edge. Qualifying by the parent
   restores it. */
.cover__art .cover__foot {
  position: relative;
  margin: auto 64px 106px;
  max-width: none;
  font: 800 13px/1.4 var(--caps);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #F6F0E4;
}

/* --------------------------------------------------------------------------
   The thesis box, sunk into the dark band
   -------------------------------------------------------------------------- */

.belief {
  background: var(--ink);
  border-radius: 18px;
  padding: 40px 38px;
  margin: 38px 0;
}

.belief__statement {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.32;
  color: #fff;
  margin: 0;
  max-width: none;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0 34px;
}

.stat {
  border-left: 4px solid var(--accent-bright);
  padding: 4px 0 4px 22px;
}

.stat__figure {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 5px;
}

.stat p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: var(--measure-sm);
}

/* --------------------------------------------------------------------------
   The ladder
   -------------------------------------------------------------------------- */

.ladder { margin: 0; }

.rung {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--rule-light);
}

.rung:last-of-type { border-bottom: 1px solid var(--rule-light); }

.rung__num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* The top rung is the payoff, so it reverses out. */
.rung__num--filled {
  background: #fff;
  color: var(--ink-2);
}

.rung h3 {
  font-size: 1.24rem;
  line-height: 1.2;
  margin: 0 0 .2em;
}

.rung p {
  margin: 0;
  font-size: 1rem;
  max-width: var(--measure-sm);
}

.rung__value {
  display: block;
  margin-top: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  opacity: .8;
}

.ladder-note { margin: 30px 0 1.15em; }

/* --------------------------------------------------------------------------
   Story photo
   -------------------------------------------------------------------------- */

.figure {
  margin: 0 0 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
}

.figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: repeating-linear-gradient(135deg,
    var(--paper-3), var(--paper-3) 13px,
    var(--paper-4) 13px, var(--paper-4) 26px);
}

.story-heading {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 44px 0 .5em;
}

/* --------------------------------------------------------------------------
   Plays and FAQ — a shared hairline-separated list
   -------------------------------------------------------------------------- */

.rows { margin: 0; }

.row {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}

.rows .row:last-child { border-bottom: 1px solid var(--rule); }

.row__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 7px;
}

.row h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 .3em;
}

.row p {
  margin: 0;
  font-size: 1.03rem;
}

.rows--faq .row { padding: 22px 0; }
.rows--faq .row h3 { font-size: 1.16rem; margin-bottom: .35em; }
.rows--faq .row p  { font-size: 1.01rem; }

/* --------------------------------------------------------------------------
   Offer card
   -------------------------------------------------------------------------- */

.offer-card {
  background: var(--card);
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 14px 40px rgba(37, 33, 29, .08);
}

.offer-card h2 {
  font-size: clamp(1.95rem, 4.4vw, 2.5rem);
  margin: 0 0 .18em;
}

.offer-card__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--muted-warm);
  margin: 0 0 .9em;
  max-width: 44ch;
}

.offer-card__terms {
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2em;
}

.offer-card__blurb {
  color: var(--body);
  margin: 0 0 1.2em;
}

/* --------------------------------------------------------------------------
   Checklists
   -------------------------------------------------------------------------- */

.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
}

.checks--recap { margin-top: 0; }

.checks li {
  display: flex;
  gap: 14px;
  font-size: 1.03rem;
  max-width: var(--measure);
}

.checks li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Guarantee
   -------------------------------------------------------------------------- */

.guarantee {
  background: var(--paper-4);
  border-radius: 16px;
  padding: 32px 34px;
}

.guarantee__seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 22px;
}

.guarantee h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  margin: 0 0 .5em;
}

/* --------------------------------------------------------------------------
   Bonus cards
   -------------------------------------------------------------------------- */

.bonuses {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bonus {
  background: var(--card);
  border: 1px solid var(--rule-faint);
  border-radius: 16px;
  padding: 26px 28px;
}

.bonus h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0 0 .32em;
}

.bonus p { margin: 0; }

.recap-close { margin: 28px 0 0; }

/* --------------------------------------------------------------------------
   Author endorsement
   -------------------------------------------------------------------------- */

.endorsement {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--rule-faint);
  border-radius: 16px;
  padding: 30px;
  margin-top: 32px;
}

.endorsement img {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-3);
}

.endorsement blockquote {
  margin: 0;
}

.endorsement blockquote p {
  margin: 0 0 .55em;
  max-width: var(--measure-sm);
}

.endorsement__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0;
}

.endorsement__role {
  font-size: .9rem;
  color: var(--muted);
  margin: 2px 0 0;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.band--accent h2 {
  font-size: clamp(2.2rem, 5.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

.band--accent .lead {
  color: #fff;
  max-width: 52ch;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Sources, disclaimer, footer
   -------------------------------------------------------------------------- */

.fineprint-heading {
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.sources {
  background: var(--paper);
  border-top: 1px solid rgba(37, 33, 29, .1);
  padding: 46px 0 8px;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
}

.sources__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 34px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources__list li { max-width: none; }

.disclaimer {
  background: var(--paper-2);
  padding: 38px 0;
  margin-top: 40px;
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.6;
}

.disclaimer .fineprint-heading { margin-bottom: 12px; }

.disclaimer p {
  max-width: 78ch;
  margin: 0 0 .8em;
}

.disclaimer p:last-child { margin-bottom: 0; }

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: 36px 0;
  font-size: .88rem;
}

.site-footer .wrap--wide {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer .brand {
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
}

.site-footer .brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  font-size: .82rem;
  color: #fff;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__meta a { color: rgba(255, 255, 255, .72); }
.site-footer__meta a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Sticky buy bar — rises as the header retreats
   -------------------------------------------------------------------------- */

.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(37, 33, 29, .97);
  padding: 13px 0;
  transform: translateY(110%);
  transition: transform .28s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .16);
}

.buy-bar.is-visible { transform: translateY(0); }

.buy-bar .wrap--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.buy-bar__label {
  color: #fff;
  font-size: .98rem;
  font-weight: 500;
}

.buy-bar__label b {
  font-family: var(--serif);
  font-weight: 500;
}

.btn--bar {
  font-size: .96rem;
  padding: 13px 26px;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  section { padding: 56px 0; }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  /* `zoom` scales the cover and its footprint together, so the layout
     reflows around it rather than leaving a gap. */
  .cover { zoom: .82; }

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

  .offer-card { padding: 30px 24px; }

  .guarantee,
  .belief { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .cover { zoom: .64; }

  .buy-bar .wrap--wide { justify-content: center; }

  .buy-bar__label { display: none; }

  .btn {
    font-size: 1.05rem;
    padding: 19px 30px;
  }

  .endorsement {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  /* Same call the buy bar makes: drop the wordmark so the CTA keeps its
     full label rather than wrapping to three cramped lines. The monogram
     carries the brand on its own. */
  .site-header .brand__name { display: none; }
}
