:root {
  --ink: #2b2333;
  --ink-soft: #5d5364;
  --plum: #2e1a45;
  --elderberry: #4a2c6b;
  --elderberry-soft: #6d4a87;
  --gold: #c9a86a;
  --gold-pale: #eadcbf;
  --parchment: #faf6ef;
  --paper: #fffdf9;
  --mist: #f1ebe2;
  --clay: #943e43;
  --sage: #4d6658;
  --shadow: 0 22px 60px rgba(46, 26, 69, 0.12);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 168, 106, 0.13), transparent 28rem),
    radial-gradient(circle at 100% 16%, rgba(74, 44, 107, 0.08), transparent 32rem),
    var(--parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--elderberry);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.topbar {
  padding: 11px 18px;
  color: #fff9ec;
  background: var(--plum);
  border-bottom: 1px solid rgba(201, 168, 106, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.wrap {
  width: min(100% - 34px, 780px);
  margin: 0 auto;
}

.wrap > section,
.letter-section {
  margin: 72px 0;
}

.hero {
  padding: 64px 0 24px;
  text-align: center;
}

h1,
h2,
h3 {
  color: var(--plum);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

h1 {
  max-width: 860px;
  margin: 16px auto 24px;
  font-size: clamp(2.45rem, 7.2vw, 4.6rem);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.85rem, 4.6vw, 2.8rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.15em;
}

.prehead,
.eyebrow,
.offer-kicker {
  margin: 0;
  color: var(--elderberry);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dek {
  max-width: 660px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.55;
}

.offer-line {
  margin: 0 auto 28px;
  color: var(--sage);
  font-size: 15px;
}

.hero-figure,
.process-proof figure {
  margin: 30px 0;
}

.hero-img,
.body-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(74, 44, 107, 0.2);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

figcaption {
  max-width: 650px;
  margin: 10px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.salutation {
  font-size: 1.25rem;
  font-style: italic;
}

.big {
  color: var(--plum);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.48;
}

.center {
  text-align: center;
}

blockquote {
  margin: 34px 0;
  padding: 6px 0 6px 24px;
  color: var(--elderberry);
  border-left: 4px solid var(--gold);
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.45;
}

.story-panel,
.offer-card,
.guarantee,
.formcard,
.notice,
.not-fit {
  border: 1px solid rgba(74, 44, 107, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 12px 36px rgba(46, 26, 69, 0.07);
}

.story-panel {
  position: relative;
  padding: clamp(28px, 6vw, 52px);
  overflow: hidden;
}

.story-panel::before {
  position: absolute;
  top: -48px;
  right: -32px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(201, 168, 106, 0.08);
}

.story-note,
.plain-note,
.notice {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.story-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--gold-pale);
}

.numbered {
  margin: 24px 0;
  padding-left: 1.4em;
}

.numbered li {
  margin: 9px 0;
  padding-left: 6px;
}

.steps,
.gift-grid,
.options,
.fit-grid,
.process-proof {
  display: grid;
  gap: 20px;
}

.steps,
.gift-grid,
.options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step,
.gift,
.options article {
  padding: 24px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 253, 249, 0.64);
}

.step p,
.gift p,
.options p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  color: #fff9ec;
  border-radius: 50%;
  background: var(--elderberry);
  font-size: 14px;
  font-weight: 700;
}

.process-proof {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
}

.process-proof figure {
  margin: 0;
}

.checks {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
}

.checks li::before {
  position: absolute;
  top: 0.04em;
  left: 0;
  color: var(--sage);
  content: "✓";
  font-weight: 700;
}

.offer-card {
  padding: clamp(28px, 6vw, 52px);
  border-top: 5px solid var(--gold);
  text-align: center;
}

.offer-card .checks {
  display: inline-block;
  max-width: 530px;
  text-align: left;
}

.offer-card h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.price {
  margin: 12px 0 2px;
  color: var(--ink-soft);
  font-size: 16px;
}

.price span {
  display: inline-block;
  margin-right: 5px;
  color: var(--plum);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.gift-mark {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.9rem !important;
  line-height: 1;
}

.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.fit-grid > div {
  padding: 32px;
}

.fit-grid ul {
  margin-bottom: 0;
}

.not-fit {
  border-color: rgba(148, 62, 67, 0.25);
  background: rgba(148, 62, 67, 0.04);
}

.not-fit li {
  margin: 12px 0;
}

.guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  padding: clamp(28px, 6vw, 46px);
  align-items: center;
  border-color: rgba(77, 102, 88, 0.32);
}

.guarantee h2,
.guarantee p:last-child {
  margin-bottom: 0;
}

.seal {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  color: #fff9ec;
  border: 6px double var(--gold-pale);
  border-radius: 50%;
  background: var(--sage);
  font-size: 2rem;
  font-weight: 700;
}

.cta-block {
  margin: 72px 0;
  padding: clamp(32px, 7vw, 54px) 24px;
  border: 1px solid rgba(201, 168, 106, 0.7);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(46, 26, 69, 0.98), rgba(74, 44, 107, 0.97));
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-block .eyebrow,
.cta-block .cta-sub,
.cta-block .cta-sub a {
  color: var(--gold-pale);
}

.cta-btn {
  display: inline-flex;
  min-height: 52px;
  margin: 10px auto;
  padding: 15px 24px;
  align-items: center;
  justify-content: center;
  color: #fffdf8;
  border: 1px solid #7d3340;
  border-radius: 6px;
  background: linear-gradient(180deg, #a84d58, #81323d);
  box-shadow: 0 8px 22px rgba(87, 31, 42, 0.24);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.cta-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #b25963, #8d3945);
  transform: translateY(-1px);
}

.cta-btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.cta-sub {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--gold-pale);
}

.faq summary {
  color: var(--plum);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
}

.faq details p {
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.formcard {
  max-width: 660px;
  margin: 30px auto;
  padding: clamp(24px, 6vw, 42px);
}

.formcard label,
.modal > label:not(.chk) {
  display: block;
  margin: 18px 0 6px;
  color: var(--plum);
  font-size: 15px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #b8aab9;
  border-radius: 5px;
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--elderberry);
  box-shadow: 0 0 0 3px rgba(74, 44, 107, 0.12);
  outline: 0;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
}

.form-error {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  padding: 20px;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  background: rgba(26, 14, 38, 0.8);
  backdrop-filter: blur(4px);
}

.overlay.open {
  display: flex;
}

.modal {
  position: relative;
  width: min(100%, 640px);
  max-height: calc(100vh - 40px);
  padding: clamp(26px, 6vw, 44px);
  overflow-y: auto;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.modal h2 {
  margin-top: 7px;
}

.modal-sub {
  color: var(--ink-soft);
  font-size: 15px;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink-soft);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.chk {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  margin: 14px 0;
  align-items: start;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
}

.chk input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--elderberry);
}

.chk.optional {
  margin-top: 18px;
  padding-top: 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--gold-pale);
}

.upsell-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 12px;
}

.upsell-actions .cta-btn {
  width: 100%;
  margin: 0;
}

.decline-btn {
  display: inline-flex;
  min-height: 52px;
  padding: 15px 22px;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  border: 1px solid var(--elderberry-soft);
  border-radius: 6px;
  background: transparent;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.checkout-locked {
  padding: 14px 16px;
  color: #654426;
  border: 1px solid #d9b87e;
  border-radius: 5px;
  background: #fff6df;
  font-size: 14px;
  line-height: 1.5;
}

footer {
  margin-top: 86px;
  padding: 44px max(18px, calc((100vw - 780px) / 2));
  color: rgba(255, 249, 236, 0.76);
  border-top: 1px solid var(--gold);
  background: var(--plum);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

footer a {
  color: var(--gold-pale);
}

footer .legal {
  max-width: 780px;
  margin: 0 auto 18px;
}

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

.q {
  margin: 18px 0;
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 249, 0.72);
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
    line-height: 1.67;
  }

  .wrap {
    width: min(100% - 28px, 780px);
  }

  .hero {
    padding-top: 42px;
  }

  .wrap > section,
  .letter-section,
  .cta-block {
    margin: 54px 0;
  }

  .steps,
  .gift-grid,
  .options,
  .fit-grid,
  .process-proof {
    grid-template-columns: 1fr;
  }

  .process-proof figure {
    order: -1;
  }

  .step,
  .gift,
  .options article {
    padding: 21px 18px;
  }

  .fit-grid > div {
    padding: 24px 20px;
  }

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

  .seal {
    width: 72px;
    height: 72px;
  }

  .cta-btn {
    width: 100%;
    min-height: 56px;
  }

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

  .decline-btn {
    min-height: 56px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
