/* AuthorityOS book preorder checkout. Signal Spectrum.
   Light-default with a dark toggle, mirroring the React app's token map
   (site/src/styles/tokens.css). Component rules below are theme-agnostic;
   only these variables change between themes. The purple button, its text,
   and the brand signal color are fixed in both themes. */
@font-face {
  font-family: "Lexend Deca";
  src: url("/fonts/LexendDeca-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ── LIGHT (default) ─────────────────────────────────────────── */
:root {
  color-scheme: light;
  --void: #fbfbfc;
  --card: #ffffff;
  --deep: #f4f4f6;
  --deep-hover: #ececf0;
  --input: #ffffff;
  --raised: #ececf0;
  --text: #26262b;
  --white: #0e0e12; /* "strong" text; near-black in light, white in dark */
  --muted: #55555e;
  --faint: #6e6e77;
  --emph: #3a3a42;
  --signal: #581676; /* button fill — fixed both themes */
  --signal-400: #8334ae; /* fixed both themes */
  --on-accent: #ffffff; /* text/marks on the purple button — fixed */
  --purple: #7a2ba6;
  --purple-light: #8b3bb8;
  --hairline: rgba(14, 14, 18, 0.12);
  --hairline-strong: rgba(14, 14, 18, 0.16);
  --signal-border: rgba(131, 52, 174, 0.45);
  --glow: 0 0 24px rgba(108, 32, 144, 0.12);
  --cover-shadow: rgba(0, 0, 0, 0.18);
  --accent-soft: rgba(88, 22, 118, 0.07);
  --accent-strong: rgba(88, 22, 118, 0.12);
  --error: #cf2b30;
}

/* ── DARK (original Void design). Scoped to screen so print stays light. */
@media screen {
  [data-theme="dark"] {
    color-scheme: dark;
    --void: #0a0a0a;
    --card: #121216;
    --deep: #0f0f13;
    --deep-hover: #131318;
    --input: #0e0e12;
    --raised: #1a1a1f;
    --text: #e6e6e6;
    --white: #fff;
    --muted: #a2a2a9;
    --faint: #82828a; /* nudged from #78787f for WCAG AA (4.5:1) on dark card surfaces */
    --emph: #c9c9cf;
    --signal: #581676;
    --signal-400: #8334ae;
    --on-accent: #ffffff;
    --purple: #a258c9;
    --purple-light: #c490df;
    --hairline: rgba(230, 230, 230, 0.1);
    --hairline-strong: rgba(230, 230, 230, 0.14);
    --signal-border: rgba(131, 52, 174, 0.45);
    --glow: 0 0 32px rgba(108, 32, 144, 0.22);
    --cover-shadow: rgba(0, 0, 0, 0.6);
    --accent-soft: rgba(88, 22, 118, 0.12);
    --accent-strong: rgba(88, 22, 118, 0.25);
    --error: #ff8080;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: "Lexend Deca", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.po-format-pending .po-main {
  visibility: hidden;
}

/* Header */
.po-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--hairline);
}
.po-wordmark img { height: 22px; display: block; }
/* Two-tone wordmark: both render, CSS gates which shows per theme
   (mirrors the React app's .asset-light / .asset-dark convention). */
.po-wordmark .asset-light { display: none; }
[data-theme="light"] .po-wordmark .asset-light { display: block; }
[data-theme="light"] .po-wordmark .asset-dark { display: none; }

.po-header-right { display: inline-flex; align-items: center; gap: 16px; }
.po-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.po-secure svg { width: 13px; height: 13px; opacity: 0.85; }

/* Theme toggle — moon in light (click to dark), sun in dark. 40x40 to
   match the React app's toggle. */
.po-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.po-theme-toggle:hover { background: var(--raised); color: var(--white); }
.po-theme-toggle:active { transform: scale(0.98); }
.po-theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--void), 0 0 0 4px var(--signal-400);
}
.po-theme-toggle svg { width: 18px; height: 18px; }
.po-theme-toggle .asset-light { display: none; }
[data-theme="light"] .po-theme-toggle .asset-light { display: block; }
[data-theme="light"] .po-theme-toggle .asset-dark { display: none; }

/* Layout */
.po-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 48px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.po-main > * {
  min-width: 0;
}

/* Left: product + summary */
.po-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 28px;
}
.po-back:hover { color: var(--text); }
.po-product { display: flex; gap: 28px; align-items: flex-start; }
.po-product-info { min-width: 0; }
.po-cover {
  flex: 0 0 auto;
  perspective: 1200px;
  width: 152px;
}
.po-cover img {
  width: 100%;
  display: block;
  border-radius: 3px 7px 7px 3px;
  border: 1px solid var(--hairline-strong);
  transform: rotateY(-21deg) rotateX(2deg);
  box-shadow: -18px 22px 40px var(--cover-shadow), var(--glow);
}
/* Per-theme cover: charcoal in light, black in dark. */
.po-cover .asset-light { display: none; }
[data-theme="light"] .po-cover .asset-light { display: block; }
[data-theme="light"] .po-cover .asset-dark { display: none; }
.po-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}
.po-product-info h1 {
  margin: 8px 0 6px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}
.po-subtitle { margin: 0 0 8px; color: var(--emph); font-size: 16px; }
.po-byline { margin: 0; color: var(--muted); font-size: 14px; }

.po-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.po-formats { margin: 14px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.po-format {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.po-format:hover { border-color: var(--hairline-strong); background: var(--deep-hover); }
.po-format.is-selected {
  border-color: var(--signal-border);
  background: var(--accent-soft);
  box-shadow: var(--glow);
}
.po-radio {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--faint);
  display: grid;
  place-items: center;
}
.po-format.is-selected .po-radio { border-color: var(--signal-400); }
.po-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--signal-400);
  box-shadow: 0 0 10px rgba(131, 52, 174, 0.7);
  transform: scale(0);
  transition: transform 0.15s;
}
.po-format.is-selected .po-radio::after { transform: scale(1); }
.po-format-body { flex: 1 1 auto; }
.po-format-body b { display: block; color: var(--white); font-size: 16px; font-weight: 700; }
/* "Best value" ribbon — floats onto the top-right edge of the format card,
   straddling the border so it reads as a tab, not an inline label. */
.po-format-badge {
  position: absolute;
  top: 0;
  right: 16px;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--signal);
  border: 1px solid var(--signal-400);
  border-radius: 999px;
  padding: 3px 10px;
  box-shadow: var(--glow);
  white-space: nowrap;
  z-index: 2;
}
.po-format-body span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.po-format-price { color: var(--white); font-weight: 700; font-size: 18px; }

.po-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 24px;
}
.po-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 4px;
}
.po-stepper button {
  width: 34px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  border-radius: 7px;
  cursor: pointer;
}
.po-stepper button:hover { background: var(--raised); }
.po-stepper button:disabled { color: var(--faint); cursor: not-allowed; }
.po-stepper output { min-width: 28px; text-align: center; color: var(--white); font-weight: 600; }

.po-summary { border-top: 1px solid var(--hairline); padding-top: 20px; }
.po-line { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 15px; }
.po-line.po-muted { color: var(--muted); }
/* The display above beats the UA [hidden] rule, so restore it explicitly:
   digital orders hide the shipping row rather than showing it at zero. */
.po-line[hidden] { display: none; }
.po-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  margin-top: 12px;
  padding-top: 16px;
}
.po-total span:first-child { font-weight: 700; color: var(--white); }
.po-total span:last-child { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--white); }
.po-finelight { color: var(--faint); font-size: 12.5px; line-height: 1.6; margin: 16px 0 0; }
/* Bulk discount ladder: native disclosure, matching the FAQ chevron. */
.po-bulk-acc {
  margin-top: 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.po-bulk-acc summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 13px 38px 13px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
}
.po-bulk-acc summary::-webkit-details-marker { display: none; }
.po-bulk-acc summary::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 17px;
  width: 7px;
  height: 7px;
  border: solid var(--faint);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.po-bulk-acc[open] summary::after { transform: rotate(-135deg); top: 20px; }
.po-bulk-acc-body { padding: 0 14px 14px; }
.po-bulk-head,
.po-bulk-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  font-size: 13px;
}
.po-bulk-head {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.po-bulk-row {
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}
.po-bulk-row:last-of-type { border-bottom: 0; }
.po-bulk-row span:last-child { text-align: right; }
/* The band the current quantity already qualifies for. */
.po-bulk-row.is-active { color: var(--white); font-weight: 700; }
.po-bulk-acc-note { margin: 10px 0 0; color: var(--faint); font-size: 12px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .po-bulk-acc summary::after { transition: none; }
}

/* a { color: inherit } sitewide, so links in fine print need an affordance. */
.po-finelight a { color: var(--purple-light); text-decoration: underline; }
/* Volume nudge: quiet, but brighter than the fine print around it. */
.po-nudge { color: var(--muted); font-weight: 600; margin-top: 10px; }

/* Digital-only upsell: switch to hardcover for the price difference. */
.po-upsell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  text-align: left;
  background: var(--accent-soft);
  border: 1px solid var(--accent-strong);
  border-radius: 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.po-upsell[hidden] { display: none; }
.po-upsell:hover { background: var(--accent-strong); border-color: var(--signal-400); }
.po-upsell-body { display: flex; flex-direction: column; gap: 3px; }
.po-upsell-body b { color: var(--white); font-size: 14.5px; }
.po-upsell-body span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.po-upsell-add {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--signal-400);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 13px;
}

/* Post-purchase next steps on the success screen. */
.po-success-next {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.po-success-next-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.po-success-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--signal-400);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.po-success-btn:hover { box-shadow: var(--glow); }
.po-success-link { color: var(--purple-light); font-size: 13px; text-decoration: none; }
.po-success-link:hover { text-decoration: underline; }

/* Right: checkout card */
.po-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 30px 30px 26px;
}
.po-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.po-card-head h2 { margin: 0; font-size: 21px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.po-testmode {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--raised);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 5px 10px;
}
.po-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 20px 0 10px;
}
.po-card-head + form .po-section-label:first-of-type { margin-top: 0; }

.po-input {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.po-input::placeholder { color: var(--faint); }
.po-input:focus {
  outline: none;
  border-color: var(--signal-border);
  box-shadow: 0 0 0 1px rgba(131, 52, 174, 0.35);
}
.po-row3 { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.po-shipping .po-input + .po-input { margin-top: 10px; }
select.po-input { margin-top: 10px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

#payment-element { margin-top: 4px; min-height: 44px; }
.po-pe-loading { color: var(--faint); font-size: 14px; padding: 14px 0; }

.po-btn {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  background: var(--signal);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 28px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s, opacity 0.15s;
}
.po-btn:hover:not(:disabled) { background: var(--signal-400); box-shadow: var(--glow); }
.po-btn:active:not(:disabled) { transform: scale(0.99); }
.po-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.po-status { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; min-height: 1.2em; }
.po-status.is-error { color: var(--error); }
.po-lock { text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.po-lock svg { width: 12px; height: 12px; opacity: 0.7; }

/* Success */
.po-success { text-align: center; padding: 20px 6px 8px; }
.po-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--white);
  background: var(--accent-strong);
  border: 1px solid var(--signal-border);
  box-shadow: var(--glow);
}
.po-success h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--white); }
.po-success h3:focus { outline: none; } /* programmatic focus only (tabindex=-1) */
.po-success p { margin: 0; color: var(--muted); line-height: 1.65; }
.po-success span { color: var(--purple-light); }

/* Footer */
.po-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 48px;
  border-top: 1px solid var(--hairline);
  color: var(--faint);
  font-size: 13px;
}
.po-footer a { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════════
   Persuasion layer — the sell copy that lives below the buy box.
   Static HTML, same token map as the checkout above; no new scripts,
   so the /preorder CSP is untouched. Themes with the rest of the page.
   ══════════════════════════════════════════════════════════════════ */

/* Credibility bar under the product headline in the left buy-box column. */
.po-pitch { margin: 14px 0 0; color: var(--emph); font-size: 15px; line-height: 1.6; }
.po-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 16px 0 4px;
}
.po-trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 12px;
}
.po-trustbar b { color: var(--white); font-weight: 800; }

.po-sell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px 40px;
}
.po-band { padding: 56px 0; border-top: 1px solid var(--hairline); }
.po-band-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}
.po-band h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}
.po-band-sub {
  margin: 14px 0 30px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

/* Foreword pull-quote — the borrowed-authority element under the hero. */
.po-foreword {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 30px;
  background: var(--accent-soft);
  border: 1px solid var(--signal-border);
  border-radius: 16px;
  box-shadow: var(--glow);
}
.po-foreword-mark {
  flex: 0 0 auto;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  color: var(--signal-400);
  font-family: Georgia, "Times New Roman", serif;
}
.po-foreword blockquote { margin: 0; }
.po-foreword p {
  margin: 0 0 12px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.5;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.po-foreword cite { font-style: normal; font-size: 13.5px; color: var(--muted); }
.po-foreword cite b { color: var(--emph); font-weight: 700; }

/* Four-layer journey */
.po-layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.po-layer {
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px;
}
.po-layer-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.po-layer-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--purple);
  background: var(--accent-soft);
  border: 1px solid var(--signal-border);
  box-shadow: var(--glow);
}
.po-layer-ico svg { width: 23px; height: 23px; }
.po-layer-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}
.po-layer-head h3 { margin: 3px 0 0; font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.po-layer > p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.po-layer-ch { font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.po-layer-ch b { color: var(--emph); font-weight: 700; }

/* Who it's for */
.po-audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.po-aud {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.po-aud-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--accent-soft);
  border: 1px solid var(--signal-border);
}
.po-aud-ico svg { width: 20px; height: 20px; }
.po-aud b { display: block; color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.po-aud span { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* What ships with every order */
.po-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.po-include {
  position: relative;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--signal-border);
  border-radius: 14px;
  box-shadow: var(--glow);
}
.po-include-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--signal);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.po-include h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--white); }
.po-include p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.po-includes-note { margin: 18px 0 0; color: var(--faint); font-size: 13px; }

/* Proof — numbers, authorship, endorsements */
.po-proofrow {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  background: var(--deep);
}
.po-proofrow > div { flex: 1; padding: 22px 14px; text-align: center; }
.po-proofrow > div + div { border-left: 1px solid var(--hairline); }
.po-proofrow strong { display: block; font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.po-proofrow span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.po-authors { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.po-authors b { color: var(--emph); font-weight: 700; }
.po-endorse { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.po-quote {
  padding: 22px 24px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--signal-400);
  border-radius: 4px 12px 12px 4px;
}
.po-quote p { margin: 0 0 12px; color: var(--emph); font-size: 14.5px; line-height: 1.62; }
.po-quote cite { font-style: normal; font-size: 12.5px; color: var(--muted); }
.po-quote cite b { color: var(--white); font-weight: 700; }

/* Formats + delivery details */
.po-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.po-detail {
  padding: 24px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.po-detail h3 { margin: 0 0 14px; font-size: 17px; font-weight: 800; color: var(--white); }
.po-detail ul { list-style: none; margin: 0; padding: 0; }
.po-detail li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.po-detail li:last-child { margin-bottom: 0; }
.po-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--signal-border);
}
.po-detail li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 8px;
  border: solid var(--signal-400);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.po-detail-note { margin: 18px 0 0; color: var(--faint); font-size: 13px; line-height: 1.6; }

/* FAQ — native disclosure, no JS (keeps the CSP intact) */
.po-faq details {
  border-bottom: 1px solid var(--hairline);
}
.po-faq details:first-of-type { border-top: 1px solid var(--hairline); }
.po-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 2px;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.po-faq summary::-webkit-details-marker { display: none; }
.po-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 9px;
  height: 9px;
  border: solid var(--faint);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.po-faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.po-faq details[open] summary { color: var(--white); }
.po-faq-body { padding: 0 40px 20px 2px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.po-faq-body a { color: var(--purple-light); }

/* Core-idea thesis band */
.po-thesis {
  padding: 30px 32px;
  background: var(--deep);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.po-thesis h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.po-thesis p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.62; }
.po-thesis p:last-child { margin-bottom: 0; }
.po-thesis b { color: var(--emph); font-weight: 700; }

/* Inline mid-page CTA (repeated at each decision point) */
.po-cta-inline { text-align: center; margin-top: 34px; }
.po-cta-inline .po-cta-anchor { margin-top: 14px; }

/* Final CTA band */
.po-cta {
  text-align: center;
  padding: 60px 0 8px;
  border-top: 1px solid var(--hairline);
}
.po-cta h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.025em; color: var(--white); }
.po-cta p { margin: 0 auto 26px; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.po-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--signal);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  padding: 16px 40px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.po-cta-btn:hover { background: var(--signal-400); box-shadow: var(--glow); }
.po-cta-btn:active { transform: scale(0.99); }
.po-cta .po-cta-anchor { margin: 16px auto 0; color: var(--faint); font-size: 13px; }
.po-cta .po-mantra {
  margin: 40px auto 0;
  text-align: center;
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Smooth scroll for the in-page "reserve" anchors (screen only). */
@media screen {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .po-faq summary::after, .po-cta-btn { transition: none; }
}

@media (max-width: 900px) {
  .po-header, .po-footer { padding-left: 22px; padding-right: 22px; }
  .po-main { grid-template-columns: 1fr; gap: 40px; padding: 36px 22px 56px; }
  /* Product identity + format selector first, checkout card below. */
  .po-sell { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 640px) {
  .po-layers, .po-audience, .po-includes, .po-endorse, .po-details { grid-template-columns: 1fr; }
  .po-band { padding: 44px 0; }
  .po-foreword { flex-direction: column; gap: 10px; padding: 24px 22px; }
  .po-foreword-mark { font-size: 34px; }
}
@media (max-width: 420px) {
  .po-secure span { display: none; }
  .po-product { flex-direction: column; }
  .po-cover { align-self: center; }
  .po-row3 { grid-template-columns: 1fr 1fr; }
  .po-proofrow { flex-direction: column; }
  .po-proofrow > div + div { border-left: 0; border-top: 1px solid var(--hairline); }
}
