:root {
  --paper: #f6f0e4;
  --paper-strong: #fffaf0;
  --line: rgba(24, 33, 31, 0.16);
  --copper: #c35b3a;
  --sage: #6f8d7a;
  --blue: #24536b;
  --gold: #d7a93d;
  --shadow: 0 24px 70px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.hero {
  max-width: 900px;
  padding: 82px 0 34px;
  border: 0;
}

.hero + .section {
  margin-top: 0;
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: 72px 0 76px;
}

.eyebrow,
.section-label {
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.book-hero h1,
.page-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  line-height: 1.15;
}

.lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
}

.text-large {
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.copper {
  border-color: var(--copper);
  background: var(--copper);
}

.book-actions {
  flex-wrap: nowrap;
  align-items: center;
}

.dark-panel .button.secondary {
  border-color: rgba(255, 250, 240, 0.78);
  color: var(--paper-strong);
}

.intro,
.two-col {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 64px 0;
}

.copy p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 19px;
}

.author-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  margin: 42px 0 70px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(236, 226, 211, 0.48)),
    var(--paper-strong);
  box-shadow: 0 18px 46px rgba(24, 33, 31, 0.08);
}

.author-card h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 62px);
}

.author-card-copy {
  max-width: 720px;
}

.author-card-copy p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.62;
}

.author-card-copy p:last-child {
  margin-bottom: 0;
}

.publishing,
.section {
  padding: 66px 0;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(24, 33, 31, 0.08);
}

.panel-copy {
  padding: clamp(28px, 5vw, 58px);
}

.panel-copy p {
  color: var(--ink-soft);
  font-size: 19px;
}

.panel-list {
  display: grid;
  align-content: stretch;
  border-left: 1px solid var(--line);
}

.list-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.58);
}

.item-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.list-item h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.list-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.principles {
  padding: 64px 0;
}

.principles-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.principles-head h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.principles-head p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.grid,
.book-grid {
  display: grid;
  gap: 14px;
}

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

.book-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.book-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.76);
}

.card {
  min-height: 220px;
  padding: 22px;
}

.card:nth-child(2) {
  background: rgba(111, 141, 122, 0.18);
}

.card:nth-child(3) {
  background: rgba(36, 83, 107, 0.13);
}

.card:nth-child(4) {
  background: rgba(195, 91, 58, 0.13);
}

.card h3 {
  margin-bottom: 56px;
  font-size: 22px;
}

.card p,
.book-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  padding: clamp(26px, 4.5vw, 44px);
  text-decoration: none;
}

.book-card h2,
.book-card h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
}

.book-card .book-title {
  max-width: 720px;
  margin: 12px 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.book-cover-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 22px 46px rgba(20, 28, 25, 0.16);
}

.book-author {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.book-summary {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.book-card-button {
  width: fit-content;
  min-width: 132px;
  margin-top: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(195, 91, 58, 0.14);
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 24%, rgba(215, 169, 61, 0.9) 0 7%, transparent 8%),
    radial-gradient(circle at 44% 38%, rgba(255, 250, 240, 0.24) 0 9%, transparent 10%),
    linear-gradient(155deg, #24536b 0%, #18211f 54%, #6f8d7a 100%);
  color: var(--paper-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cover.small {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 18px;
  border-radius: 14px;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 12px;
}

.cover-title {
  position: absolute;
  right: 28px;
  bottom: 94px;
  left: 28px;
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 900;
  line-height: 0.95;
}

.cover.small .cover-title {
  display: none;
}

.cover.small .monster-mark {
  top: 32px;
  right: 28px;
  width: 86px;
  height: 86px;
}

.cover.small .monster-mark::before,
.cover.small .monster-mark::after {
  top: 29px;
  width: 11px;
  height: 11px;
}

.cover.small .monster-mark::before {
  left: 25px;
}

.cover.small .monster-mark::after {
  right: 25px;
}

.cover-author {
  position: absolute;
  right: 28px;
  bottom: 34px;
  left: 28px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.cover.small .cover-author {
  display: none;
}

.book-cover-display {
  position: relative;
  width: min(100%, 520px);
  margin: 0;
  justify-self: center;
}

.book-cover-display::before {
  content: "";
  position: absolute;
  inset: 8% 6% 2%;
  border-radius: 28px;
  background: rgba(20, 28, 25, 0.24);
  filter: blur(28px);
  transform: translateY(26px);
  z-index: 0;
}

.book-cover-display img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 26px 60px rgba(20, 28, 25, 0.22);
}

.monster-mark {
  position: absolute;
  top: 54px;
  right: 38px;
  width: 112px;
  height: 112px;
  border-radius: 46% 54% 50% 50%;
  background: var(--paper-strong);
}

.monster-mark::before,
.monster-mark::after {
  content: "";
  position: absolute;
  top: 36px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6f8d7a;
}

.monster-mark::before {
  left: 32px;
}

.monster-mark::after {
  right: 32px;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.meta-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.7);
}

.meta-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.meta-item span {
  color: var(--muted);
  font-size: 14px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.preview-page {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--paper-strong), rgba(255, 250, 240, 0.62));
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 34px rgba(24, 33, 31, 0.08);
}

.form-placeholder {
  padding: clamp(26px, 5vw, 46px);
  border: 1px dashed rgba(24, 33, 31, 0.32);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.66);
}

.form-placeholder p {
  color: var(--ink-soft);
}

.name-block {
  padding: 64px 0;
}

.name-inner,
.dark-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper-strong);
}

.name-inner h2,
.dark-panel h2 {
  margin-bottom: 0;
}

.name-inner p,
.dark-panel p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 20px;
}

.quote {
  padding: 70px 0 84px;
  text-align: center;
}

.quote p {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.quote span {
  color: var(--copper);
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 50;
  width: min(420px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 22px 58px rgba(24, 33, 31, 0.2);
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.cookie-banner p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.cookie-banner__link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner__actions .button {
  min-width: 112px;
  min-height: 42px;
  padding: 0 20px;
  cursor: pointer;
}

.cookie-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.cookie-link-button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-settings-button {
  margin-top: 8px;
}


.cookie-choice-popover {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 60;
  width: min(390px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.99);
  box-shadow: 0 22px 58px rgba(24, 33, 31, 0.22);
}

.cookie-choice-popover h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.cookie-choice-popover p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.cookie-choice-popover__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cookie-choice-popover__actions .button {
  min-width: 112px;
  min-height: 42px;
  padding: 0 20px;
  cursor: pointer;
}

.page-hero {
  padding: 72px 0 46px;
}

.legal {
  max-width: 840px;
  padding: 40px 0 76px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 30px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 18px;
}


.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.compact-head h2 {
  max-width: 760px;
}

.compact-head p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.72fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  padding: 58px 0 52px;
}

.product-hero-copy h1 {
  margin: 6px 0 22px;
  font-size: clamp(48px, 7vw, 86px);
}

.product-note {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 19px;
}

.product-cover {
  width: min(100%, 460px);
}

.product-meta {
  max-width: 720px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 44px;
}

.value-strip article {
  min-height: 144px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.72);
}

.value-strip strong,
.gift-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.value-strip span,
.gift-list span {
  display: block;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 42px rgba(24, 33, 31, 0.07);
}

.featured-offer {
  border-color: rgba(195, 91, 58, 0.52);
  background:
    linear-gradient(180deg, rgba(195, 91, 58, 0.12), rgba(255, 250, 240, 0.9)),
    var(--paper-strong);
  box-shadow: 0 24px 58px rgba(195, 91, 58, 0.16);
}

.offer-card h3 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
}

.offer-card p {
  color: var(--ink-soft);
  font-size: 17px;
}

.offer-price {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.offer-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.offer-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

.offer-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  transform: translateY(-50%);
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: auto 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--ink-soft);
  font-weight: 800;
}

.quantity-control select {
  min-width: 76px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(24, 33, 31, 0.26);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.offer-button {
  width: 100%;
  margin-top: auto;
  cursor: pointer;
}

.story-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: 58px 0;
}

.story-preview p {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 19px;
}

.preview-stack {
  position: relative;
  min-height: 320px;
}

.preview-sheet {
  position: absolute;
  display: grid;
  place-items: center;
  width: min(230px, 42vw);
  aspect-ratio: 3 / 4;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--paper-strong), rgba(255, 250, 240, 0.72));
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 22px 48px rgba(24, 33, 31, 0.12);
}

.preview-sheet:nth-child(1) {
  right: 46%;
  top: 24px;
  transform: rotate(-5deg);
}

.preview-sheet:nth-child(2) {
  right: 25%;
  top: 0;
  transform: rotate(2deg);
}

.preview-sheet:nth-child(3) {
  right: 4%;
  top: 36px;
  transform: rotate(7deg);
}

.sales-copy {
  padding-top: 46px;
}

.gift-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  margin: 28px 0 56px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper-strong);
}

.gift-panel h2 {
  margin-bottom: 0;
}

.gift-list {
  display: grid;
  gap: 14px;
}

.gift-list article {
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.06);
}

.gift-list span {
  color: rgba(255, 250, 240, 0.76);
}

.final-offer {
  max-width: 860px;
  margin: 8px auto 74px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.8);
  text-align: center;
  box-shadow: 0 18px 46px rgba(24, 33, 31, 0.08);
}

.final-offer h2 {
  margin-right: auto;
  margin-left: auto;
}

.final-offer p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--ink-soft);
  font-size: 18px;
}

.checkout-open {
  overflow: hidden;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24, 33, 31, 0.42);
  backdrop-filter: blur(5px);
}

.checkout-overlay[hidden] {
  display: none;
}

.checkout-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 24px;
  background: var(--paper-strong);
  box-shadow: 0 30px 86px rgba(24, 33, 31, 0.28);
}

.checkout-dialog h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.checkout-summary {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 18px;
}

.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.stripe-placeholder {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px dashed rgba(24, 33, 31, 0.34);
  border-radius: 18px;
  background: rgba(246, 240, 228, 0.72);
}

.stripe-placeholder strong {
  font-size: 18px;
}

.stripe-placeholder span {
  color: var(--ink-soft);
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .product-hero,
  .value-strip,
  .offer-grid,
  .story-preview,
  .gift-panel {
    grid-template-columns: 1fr;
  }

  .preview-stack {
    min-height: 300px;
  }

  .preview-sheet:nth-child(1) {
    right: auto;
    left: 0;
  }

  .preview-sheet:nth-child(2) {
    right: auto;
    left: 28%;
  }

  .preview-sheet:nth-child(3) {
    right: 0;
  }
}

@media (max-width: 620px) {
  .product-hero {
    padding-top: 34px;
  }

  .product-hero-copy h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .value-strip,
  .offer-grid {
    gap: 12px;
  }

  .preview-stack {
    min-height: 250px;
  }

  .preview-sheet {
    width: 48vw;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .intro,
  .two-col,
  .author-card,
  .split-panel,
  .name-inner,
  .dark-panel,
  .book-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .panel-list {
    border-left: 0;
  }

  .principles-head {
    display: block;
  }

  .principles-head p {
    margin-top: 14px;
  }

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

@media (max-width: 620px) {
  h1 {
    font-size: clamp(44px, 17vw, 72px);
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .book-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .cookie-banner,
  .cookie-choice-popover {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .cookie-banner__actions,
  .cookie-choice-popover__actions {
    display: grid;
    justify-content: stretch;
  }

  .intro,
  .publishing,
  .principles,
  .name-block,
  .section {
    padding: 44px 0;
  }

  .panel-copy,
  .list-item {
    padding: 22px;
  }

  .grid,
  .preview-grid,
  .book-card {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .card h3 {
    margin-bottom: 28px;
  }

  .footer {
    display: block;
  }
}


/* Offer page compact sales layout */
.offer-page {
  padding-bottom: 54px;
}

.offer-page .topbar + &,
.offer-page h1,
.offer-page h2,
.offer-page h3 {
  letter-spacing: 0;
}

.offer-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px) 0 24px;
}

.offer-hero-copy h1 {
  max-width: 720px;
  margin: 8px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.92;
}

.offer-hero-copy .lead {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.22;
}

.offer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px;
}

.offer-microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.offer-hero-media {
  display: grid;
  gap: 12px;
}

.offer-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 22px 52px rgba(24, 33, 31, 0.14);
}

.image-slot {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px dashed rgba(195, 91, 58, 0.5);
  border-radius: 16px;
  background: rgba(195, 91, 58, 0.07);
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.image-slot.tall {
  min-height: 360px;
}

.offer-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 10px;
}

.offer-proof p {
  min-height: 92px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.7);
}

.offer-proof strong,
.offer-proof span {
  display: block;
}

.offer-proof strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.offer-proof span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.offer-section {
  padding: 24px 0 40px;
}

.offer-section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
}

.offer-section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
}

.commerce-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 14px;
  align-items: stretch;
}

.commerce-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 14px 36px rgba(24, 33, 31, 0.06);
}

.commerce-card.recommended {
  order: -1;
  border-color: rgba(195, 91, 58, 0.45);
  background: linear-gradient(180deg, rgba(195, 91, 58, 0.11), rgba(255, 250, 240, 0.86));
}

.commerce-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.commerce-topline .badge {
  margin: 0;
}

.commerce-topline strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.commerce-card h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
}

.commerce-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.commerce-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 4px;
  padding: 0;
  list-style: none;
}

.commerce-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.commerce-card li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  transform: translateY(-50%);
}

.commerce-card .button {
  width: 100%;
  margin-top: auto;
  cursor: pointer;
}

.compact-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
}

.compact-quantity select {
  min-width: 70px;
  min-height: 34px;
  border: 1px solid rgba(24, 33, 31, 0.2);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.story-sell-section,
.preview-band,
.author-mini {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: 48px 0;
}

.story-sell-section h2,
.preview-band h2,
.use-cases h2,
.author-mini h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.8vw, 58px);
}

.story-sell-section p,
.preview-band p,
.author-mini p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 18px;
}

.preview-band {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.66);
}

.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-thumbs span {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 14px;
  border: 1px dashed rgba(24, 33, 31, 0.24);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.use-cases {
  padding: 52px 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.use-case-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.74);
}

.use-case-grid strong,
.use-case-grid span {
  display: block;
}

.use-case-grid strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.use-case-grid span {
  color: var(--ink-soft);
  font-size: 15px;
}

.author-mini {
  margin: 10px 0 64px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.74);
}

.author-mini h2 {
  margin-bottom: 0;
}

.author-mini p {
  margin: 0;
}

@media (max-width: 900px) {
  .offer-hero,
  .offer-section-head,
  .commerce-grid,
  .story-sell-section,
  .preview-band,
  .author-mini {
    grid-template-columns: 1fr;
  }

  .offer-hero {
    padding-top: 24px;
  }

  .offer-hero-media img {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .offer-proof,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .commerce-grid {
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .offer-hero-copy h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .offer-hero-copy .lead {
    font-size: 21px;
  }

  .offer-hero-actions {
    display: grid;
  }

  .preview-thumbs {
    grid-template-columns: 1fr;
  }

  .preview-thumbs span {
    min-height: 120px;
  }
}


/* Editorial landing offer layout */
.landing-offer-page {
  --landing-band: rgba(226, 219, 205, 0.55);
  --landing-card: #fffaf0;
  padding-bottom: 0;
}

.landing-offer-page .button,
.landing-offer-page button,
.landing-offer-page a {
  letter-spacing: 0;
}

.landing-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  min-height: 520px;
  padding: 76px 0 74px;
}

.landing-hero h1,
.landing-offers h2,
.landing-story h2,
.landing-preview h2,
.landing-use h2,
.landing-author h2,
.landing-final h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: 560px;
  margin: 0 0 26px;
  font-size: clamp(54px, 6.8vw, 94px);
  line-height: 0.93;
}

.landing-hero p {
  max-width: 520px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.landing-primary {
  width: fit-content;
  min-width: 156px;
  min-height: 46px;
  border-radius: 0;
}

.landing-hero small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-hero-art {
  justify-self: center;
  width: min(100%, 330px);
  transform: rotate(-2deg);
}

.landing-hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 28px 58px rgba(24, 33, 31, 0.18);
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.38);
}

.landing-stats div {
  padding: 28px 18px;
  text-align: center;
}

.landing-stats strong,
.landing-stats span {
  display: block;
}

.landing-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.landing-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-offers {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 78px calc(50vw - min(var(--max), calc(100vw - 40px)) / 2) 76px;
  background: var(--landing-band);
}

.landing-section-head {
  max-width: 620px;
  margin-bottom: 42px;
}

.landing-section-head h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.02;
}

.landing-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.landing-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px solid transparent;
  background: var(--landing-card);
  box-shadow: none;
}

.landing-price-card.is-featured {
  border-color: rgba(24, 33, 31, 0.72);
  box-shadow: 0 18px 34px rgba(24, 33, 31, 0.13);
  transform: translateY(-10px);
}

.landing-ribbon {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  background: var(--copper);
  color: #fffaf0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.landing-price-row h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.landing-price-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.landing-price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.landing-price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.landing-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 900;
}

.landing-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 0;
  border-radius: 0;
  background: rgba(226, 219, 205, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.landing-card-button.primary {
  background: var(--copper);
  color: var(--paper-strong);
}

.landing-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.landing-quantity select {
  min-width: 64px;
  min-height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.landing-story,
.landing-preview,
.landing-author {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  padding: 86px 0;
}

.landing-story h2,
.landing-preview h2,
.landing-use h2,
.landing-author h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.05;
}

.landing-story p,
.landing-preview p,
.landing-author p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.landing-story span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-story span::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--line);
}

.landing-preview {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 76px calc(50vw - min(var(--max), calc(100vw - 40px)) / 2);
  background: rgba(255, 250, 240, 0.42);
}

.landing-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.landing-image-slot {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed rgba(24, 33, 31, 0.22);
  background: rgba(255, 250, 240, 0.55);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(24, 33, 31, 0.08);
}

.landing-image-slot.portrait {
  min-height: 320px;
  width: min(100%, 260px);
  justify-self: center;
}

.landing-use {
  padding: 78px 0;
}

.landing-use h2 {
  max-width: 620px;
}

.landing-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.landing-use-grid h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.landing-use-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.landing-author {
  border-top: 1px solid var(--line);
}

.landing-final {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 84px 20px;
  background: #171713;
  color: var(--paper-strong);
  text-align: center;
}

.landing-final h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.6vw, 62px);
}

.landing-final p {
  margin-bottom: 26px;
  color: rgba(255, 250, 240, 0.66);
}

@media (max-width: 900px) {
  .landing-hero,
  .landing-story,
  .landing-preview,
  .landing-author {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: 0;
    padding-top: 42px;
  }

  .landing-hero-art {
    justify-self: start;
    width: min(100%, 300px);
  }

  .landing-price-grid,
  .landing-use-grid,
  .landing-stats {
    grid-template-columns: 1fr;
  }

  .landing-price-card.is-featured {
    transform: none;
    order: -1;
  }
}

@media (max-width: 620px) {
  .landing-hero h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .landing-offers,
  .landing-preview {
    padding-right: 14px;
    padding-left: 14px;
  }

  .landing-story,
  .landing-use,
  .landing-author {
    padding: 56px 0;
  }
}


/* Codex-styled editorial offer refinements */
.landing-offer-page {
  --landing-band: rgba(255, 250, 240, 0.44);
  --landing-card: rgba(255, 250, 240, 0.82);
}

.landing-hero h1,
.landing-offers h2,
.landing-story h2,
.landing-preview h2,
.landing-use h2,
.landing-author h2,
.landing-final h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
}

.landing-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 7vw, 86px);
  min-height: 500px;
  padding: 64px 0 58px;
}

.landing-hero h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.91;
}

.landing-hero p {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.35;
}

.landing-primary,
.landing-card-button,
.landing-outline {
  border-radius: 999px;
}

.landing-primary {
  min-height: 50px;
  padding: 0 22px;
}

.landing-hero small {
  display: none;
}

.landing-hero-art {
  width: min(100%, 430px);
  transform: none;
}

.landing-hero-art img {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(24, 33, 31, 0.16);
}

.landing-stats {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.66);
}

.landing-stats strong {
  font-family: inherit;
  font-weight: 900;
}

.landing-offers {
  margin-top: 64px;
  padding-top: 64px;
  padding-bottom: 68px;
  background: rgba(226, 219, 205, 0.34);
}

.landing-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.landing-section-head h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
}

.landing-price-grid {
  gap: 16px;
}

.landing-price-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--landing-card);
  box-shadow: 0 16px 40px rgba(24, 33, 31, 0.07);
}

.landing-price-card.is-featured {
  border-color: rgba(195, 91, 58, 0.42);
  background: linear-gradient(180deg, rgba(195, 91, 58, 0.13), rgba(255, 250, 240, 0.86));
  box-shadow: 0 22px 52px rgba(195, 91, 58, 0.14);
  transform: translateY(-8px);
}

.landing-ribbon,
.landing-price-card .landing-ribbon {
  border-radius: 999px;
  background: rgba(195, 91, 58, 0.15);
  color: var(--copper);
}

.landing-price-row h3 {
  font-size: 20px;
  font-weight: 900;
}

.landing-price-row strong {
  font-family: inherit;
  font-size: 32px;
  font-weight: 900;
}

.landing-card-button {
  min-height: 46px;
  background: rgba(24, 33, 31, 0.08);
}

.landing-card-button.primary {
  background: var(--copper);
}

.landing-quantity select {
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.86);
}

.landing-story,
.landing-preview,
.landing-author {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
}

.landing-preview {
  background: rgba(255, 250, 240, 0.44);
}

.landing-image-slot {
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.66);
}

.landing-final {
  border-radius: 32px 32px 0 0;
}

@media (max-width: 900px) {
  .landing-hero,
  .landing-story,
  .landing-preview,
  .landing-author {
    grid-template-columns: 1fr;
  }

  .landing-hero-art {
    width: min(100%, 460px);
  }
}


/* Offer interaction and section rhythm */
.landing-offer-page .button,
.landing-card-button,
.landing-outline {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.landing-offer-page .button:hover,
.landing-card-button:hover,
.landing-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 33, 31, 0.14);
}

.landing-offer-page .button:focus-visible,
.landing-card-button:focus-visible,
.landing-outline:focus-visible {
  outline: 3px solid rgba(195, 91, 58, 0.28);
  outline-offset: 3px;
}

.landing-card-button:not(.primary):hover {
  background: rgba(24, 33, 31, 0.13);
}

.landing-card-button.primary:hover,
.landing-primary:hover,
.landing-final .button:hover {
  background: #ad4f33;
}

.landing-price-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(24, 33, 31, 0.12);
}

.landing-price-card.is-featured:hover {
  transform: translateY(-12px);
}

.landing-section-head {
  max-width: none;
}

.landing-section-head h2 {
  max-width: 980px;
}

.story-feature {
  align-items: start;
  padding-top: 96px;
  padding-bottom: 96px;
}

.story-feature-copy {
  max-width: 620px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.62);
}

.story-feature-copy blockquote {
  margin: 24px 0;
  padding-left: 22px;
  border-left: 3px solid var(--copper);
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.landing-preview {
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
}

.landing-preview .landing-image-slot {
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.82), rgba(226, 219, 205, 0.34));
}

.use-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.use-feature-head {
  position: sticky;
  top: 24px;
}

.use-feature .landing-use-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.use-feature .landing-use-grid article {
  display: grid;
  grid-template-columns: 52px minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.use-feature .landing-use-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.use-feature .landing-use-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(111, 141, 122, 0.18);
  color: var(--sage);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .use-feature,
  .landing-preview {
    grid-template-columns: 1fr;
  }

  .use-feature-head {
    position: static;
  }

  .use-feature .landing-use-grid article {
    grid-template-columns: 48px 1fr;
  }

  .use-feature .landing-use-grid p {
    grid-column: 2;
  }
}


/* Revert story/use rhythm to cleaner Codex cards */
.story-feature-copy,
.story-feature-copy blockquote,
.use-feature,
.use-feature-head,
.use-feature .landing-use-grid,
.use-feature .landing-use-grid article,
.use-feature .landing-use-grid span {
  all: revert;
}

.landing-story {
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.landing-story h2 {
  max-width: 680px;
}

.landing-story div {
  max-width: 620px;
}

.landing-story p {
  margin-bottom: 18px;
}

.landing-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.landing-use-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.62);
}

.landing-use-grid h3 {
  margin-bottom: 34px;
}

.landing-use-grid p {
  margin: 0;
}

@media (max-width: 900px) {
  .landing-use-grid {
    grid-template-columns: 1fr;
  }

  .landing-use-grid h3 {
    margin-bottom: 12px;
  }
}


/* Reference-aligned lower sections */
.landing-story,
.landing-preview,
.landing-author {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  padding: 86px 0;
  border: 0;
}

.landing-story h2,
.landing-preview h2,
.landing-use h2,
.landing-author h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.05;
}

.landing-story div {
  max-width: 560px;
}

.landing-story p,
.landing-preview p,
.landing-author p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.landing-story span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-story span::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--line);
}

.landing-preview {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 76px calc(50vw - min(var(--max), calc(100vw - 40px)) / 2);
  background: rgba(255, 250, 240, 0.42);
}

.landing-use {
  padding: 78px 0;
}

.landing-use h2 {
  max-width: 620px;
}

.landing-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.landing-use-grid article {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.landing-use-grid h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.landing-use-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .landing-story,
  .landing-preview,
  .landing-author {
    grid-template-columns: 1fr;
  }

  .landing-use-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}


/* Offer requested copy and section contrast updates */
.landing-hero small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.landing-preview {
  position: relative;
  margin-top: 20px;
  margin-bottom: 0;
  border-top: 1px solid rgba(24, 33, 31, 0.08);
  border-bottom: 1px solid rgba(24, 33, 31, 0.08);
  background: rgba(226, 219, 205, 0.58);
}

.landing-preview .landing-image-slot {
  background: rgba(255, 250, 240, 0.7);
}

.landing-use {
  border-top: 1px solid var(--line);
}

.landing-final.soft-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 16px 0 72px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(226, 219, 205, 0.38));
  color: var(--ink);
  text-align: left;
}

.landing-final.soft-final h2 {
  margin-bottom: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 4.6vw, 56px);
}

.landing-final.soft-final p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.landing-final.soft-final .button {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .landing-final.soft-final {
    display: grid;
  }
}
