/* Self-hosted Fraunces + Source Sans 3 (OFL, from Google Fonts). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/sourcesans3-italic-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/sourcesans3-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/sourcesans3-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/sourcesans3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --offer-banner-offset: 0px;
  /* Palette sampled from /brand/logo-final.png (purple-to-teal tile, cyan "AI"). */
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --ink: #1a1528;
  --ink-soft: #4a4558;
  --muted: #5a5568;
  --rule: #d4c8e8;
  --card: #fffdf8;
  --accent: #5d10b8;
  --accent-hover: #431397;
  --accent-soft: #ece6f6;
  --teal: #005884;
  --teal-hover: #024673;
  --ink-band: #231769;
  --good: #005884;
  --shadow: 0 18px 40px -24px rgba(35, 23, 105, 0.40);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", Menlo, Consolas, monospace;
  --content: 42rem;
  --wide: 68rem;
  --side: 1.35rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 50% at 8% -8%, rgba(93, 16, 184, 0.12), transparent 58%),
    radial-gradient(ellipse 70% 50% at 96% 0%, rgba(0, 88, 132, 0.12), transparent 58%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(35, 23, 105, 0.02) 28px
    );
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  border-radius: 0.25rem;
}

.skip:focus {
  top: 0.75rem;
  color: var(--paper);
}

.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--side)));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--content), calc(100% - 2 * var(--side)));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: var(--offer-banner-offset, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(var(--wide), calc(100% - 2 * var(--side)));
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  flex: none;
  display: block;
}

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

.wordmark-text {
  min-width: 0;
}

.wordmark-text span {
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

nav .btn {
  margin-left: 0.25rem;
}

/* Buttons */

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf8;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  cursor: pointer;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--card);
  color: var(--ink);
  border-color: var(--ink-soft);
}

.btn-on-dark {
  background: #fffdf8;
  color: var(--ink);
  border-color: #fffdf8;
}

.btn-on-dark:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--paper-2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* Hero */

.hero {
  padding: 2.4rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.05rem, 7.2vw, 3.55rem);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.subhead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  max-width: 38rem;
  text-wrap: pretty;
}

.price-line {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.price-line strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.kicker {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.kicker a {
  white-space: nowrap;
}

/* Run log card */

.run-log {
  background: var(--ink-band);
  color: #d7e8ef;
  border-radius: 0.85rem;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.run-log h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ece6f6;
  margin: 0 0 0.85rem;
}

.run-log dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.15rem 0.6rem;
}

.run-log dt {
  color: #8eb8c9;
  white-space: nowrap;
}

.run-log dd {
  margin: 0;
  color: #f3eee4;
}

.run-log .cost {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(236, 230, 246, 0.28);
  color: #ece6f6;
}

.run-log .cost strong {
  color: #fff;
  font-weight: 600;
}

/* Sections */

section {
  padding: 2.6rem 0;
}

.band {
  background: var(--card);
  border-block: 1px solid var(--rule);
}

.band-ink {
  background: var(--ink-band);
  color: #d7e8ef;
  border: 0;
}

.band-ink h2,
.band-ink h3 {
  color: #f7f1e8;
}

.band-ink p,
.band-ink li {
  color: #c5d8e8;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.band-ink .section-label {
  color: #ece6f6;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

/* Use cases */

.cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.7rem;
  padding: 1.05rem 1.1rem 1.15rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.takeaway {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 0 0.4rem 0.4rem 0;
}

.takeaway strong {
  font-weight: 650;
}

/* Contents / patterns */

.contents {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
}

.contents li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--rule);
}

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

.contents li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--serif);
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.5;
}

.contents h3 {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
}

.contents p {
  margin: 0;
  color: var(--ink-soft);
}

.patterns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.patterns li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  background: rgba(236, 230, 246, 0.08);
  border: 1px solid rgba(236, 230, 246, 0.20);
  border-radius: 0.6rem;
  padding: 0.85rem 0.95rem;
}

.patterns .n {
  font-family: var(--serif);
  font-weight: 600;
  color: #ece6f6;
  font-size: 1.05rem;
}

.patterns p {
  margin: 0;
  color: #f3eee4;
  font-size: 1.02rem;
  line-height: 1.45;
}

/* Buy */

.buy-panel {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.buy-box {
  background: var(--card);
  color: var(--ink);
  border-radius: 0.9rem;
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.buy-box .amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.15rem 0 0.35rem;
}

.buy-box .amount span {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.buy-box .btn {
  width: 100%;
  margin: 0.7rem 0 0.55rem;
}

.fine {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.buy-copy ul {
  margin: 0.6rem 0 0;
  padding: 0 0 0 1.15rem;
}

.buy-copy li {
  margin: 0.3rem 0;
}

/* About */

.about-grid {
  display: grid;
  gap: 1.4rem 2rem;
}

.about-photo img {
  width: 100%;
  max-width: 13.5rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 1rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 0;
}

.faq details {
  border-top: 1px solid var(--rule);
  padding: 0.2rem 0;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  padding-right: 1.5rem;
}

/* Legal / interior pages */

.page-main {
  padding: 2.2rem 0 3.5rem;
}

.page-main h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.page-main h2 {
  font-size: 1.3rem;
  margin: 1.8rem 0 0.55rem;
}

.page-main p,
.page-main li {
  color: var(--ink-soft);
}

.draft-banner {
  background: #f6e3c8;
  border: 1px solid #e0c089;
  color: #4a3514;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
}

.placeholder-tag {
  display: inline;
  font-family: var(--mono);
  font-size: 0.82em;
  background: #f6e3c8;
  color: #4a3514;
  padding: 0.05em 0.35em;
  border-radius: 0.2rem;
}

/* Thanks */

.thanks-hero {
  padding: 2.6rem 0 3rem;
  text-align: left;
}

.thanks-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
}

.steps li::before {
  content: counter(step);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(var(--wide), calc(100% - 2 * var(--side)));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-social {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin-top: 0.15rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  color: var(--accent);
  text-decoration: none;
  border-radius: 0.4rem;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent-hover);
  background: var(--accent-soft);
  text-decoration: none;
}

.footer-social svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

/* 404 */

.not-found {
  min-height: 55vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

/* Run log cost lines */
.run-log .cost div {
  margin: 0.1rem 0 0;
}

/* Tight header on small screens:
   wordmark + Buy on the first row, text links underneath. */
@media (max-width: 819px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 0.4rem;
  }

  nav {
    display: contents;
  }

  .wordmark {
    grid-column: 1;
    grid-row: 1;
  }

  nav .btn {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .run-log dl {
    grid-template-columns: max-content 1fr;
  }

  .offer-banner {
    font-size: 0.8rem;
    padding: 0.38rem 0.7rem;
    line-height: 1.35;
  }

  .cover-mockup {
    max-width: 15.5rem;
    margin-top: 0.6rem;
  }
}

/* Desktop */

@media (min-width: 820px) {
  :root {
    --side: 2rem;
  }

  .hero {
    padding: 3.4rem 0 3.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 2.5rem;
    align-items: center;
  }

  .cover-mockup {
    max-width: 20.5rem;
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .run-log-after {
    margin-top: 2rem;
  }

  section {
    padding: 3.2rem 0;
  }

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

  .cards .card:nth-child(5),
  .cards .card:nth-child(6) {
    /* keep even */
  }

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

  .buy-panel {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
    width: min(54rem, calc(100% - 2 * var(--side)));
  }

  .about-photo img {
    max-width: 14.5rem;
  }

  .buy-box .btn {
    width: auto;
  }
}

@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cover-stack {
    transform: none;
  }
}

/* Launch-night offer. Hidden when SITE_CONFIG.launchOffer is false. */
.offer-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(90deg, #5d10b8 0%, #431397 42%, #005884 100%);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
  padding: 0.4rem var(--side);
}

.offer-banner p {
  margin: 0 auto;
  max-width: 76rem;
}

.offer-banner strong {
  font-weight: 650;
}

.offer-banner-buy {
  color: #fff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
  margin-left: 0.35rem;
}

.offer-banner-buy:hover,
.offer-banner-buy:focus-visible {
  color: #ece6f6;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #ece6f6;
  color: #5d10b8;
  border: 1px dashed #5d10b8;
  border-radius: 999px;
  padding: 0.08em 0.55em;
  margin: 0 0.1em;
  cursor: pointer;
  line-height: 1.35;
  font-size: 0.92em;
  vertical-align: baseline;
}

.offer-banner .code-pill {
  background: #fff;
  color: #5d10b8;
  border: 1px dashed #5d10b8;
}

.code-pill:hover,
.code-pill:focus-visible {
  outline: 2px solid #5d10b8;
  outline-offset: 2px;
}

.offer-banner .code-pill:hover,
.offer-banner .code-pill:focus-visible {
  outline-color: #fff;
}

.code-pill.is-copied {
  background: #fff;
}

.code-pill-lg {
  font-size: 1.15rem;
  padding: 0.5rem 1.05rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.offer-until {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #005884;
}

.offer-helper {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.price-line s,
.buy-box .amount s {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}

.price-line s {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-right: 0.4rem;
}

.price-line .offer-now {
  font-family: var(--serif);
  font-size: 2.05rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-right: 0.15rem;
}

.offer-price-block {
  margin: 0.1rem 0 0.45rem;
}

.offer-price-block .amount {
  margin-bottom: 0.45rem;
}

.buy-box .amount s {
  font-size: 1.45rem;
  margin-right: 0.4rem;
}

.buy-box .offer-now {
  color: var(--accent);
}

.buy-box .code-pill-lg {
  margin: 0.15rem 0 0.55rem;
}

/* Book / PDF cover mockup */
.cover-mockup {
  margin: 0.25rem auto 0;
  max-width: 17.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.cover-stack {
  position: relative;
  width: 100%;
  transform: rotate(-3.5deg);
  filter: drop-shadow(0 22px 28px rgba(35, 23, 105, 0.32));
}

.cover-stack::before,
.cover-stack::after {
  content: "";
  position: absolute;
  background: #fffdf8;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 0 0 0 1px rgba(26, 21, 40, 0.1);
  z-index: -1;
}

.cover-stack::before {
  top: 5px;
  right: -7px;
  bottom: -5px;
  left: 8px;
}

.cover-stack::after {
  top: 10px;
  right: -13px;
  bottom: -10px;
  left: 16px;
  background: #e8e0d2;
  z-index: -2;
}

.cover-stack img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
  box-shadow: 0 0 0 1px rgba(26, 21, 40, 0.16);
}

.cover-badge {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.run-log-after {
  margin-top: 1.6rem;
  max-width: 28rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  font-size: 0.98rem;
}

.about-links a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.about-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.thanks-share {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.thanks-share p {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
}

/* Quiet checkout/email notice — thanks + offer hero */
.newsletter-note {
  margin: 0.6rem 0 0;
  max-width: 34rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

