:root {
  --ink: #25213f;
  --muted: #6d687f;
  --purple: #6d55d8;
  --purple-dark: #3b316f;
  --purple-soft: #f0edff;
  --cream: #fbfaf7;
  --white: #fff;
  --line: #e7e3ec;
  --green: #208563;
  --shadow: 0 24px 64px rgba(54, 42, 93, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 16px/1.6 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }

.assurance-bar {
  min-height: 36px;
  padding: 7px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #f5f2ff;
  background: #29245f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 20px/1 "Fraunces", serif;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: white;
  border-radius: 11px;
  background: linear-gradient(145deg, #8e72ef, #4d3da7);
  box-shadow: 0 7px 16px rgba(109, 85, 216, .25);
}
.header-secure {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.header-secure svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

main { overflow: hidden; }
.checkout-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: clamp(44px, 7vw, 90px);
  align-items: start;
}
.offer-column { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 18px;
  height: 1px;
  background: currentColor;
}
.eyebrow.light { color: #cfc5ff; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font: 700 clamp(44px, 5.5vw, 72px)/1.02 "Fraunces", serif;
  letter-spacing: -.045em;
}
h1 em {
  color: var(--purple);
  font-style: normal;
}
.hero-copy {
  max-width: 650px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.result-preview {
  position: relative;
  min-height: 320px;
  padding: 28px 28px 28px 300px;
  display: flex;
  align-items: center;
  border: 1px solid #ded8e9;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(186, 169, 255, .32), transparent 37%),
    #fff;
  box-shadow: 0 18px 50px rgba(54, 42, 93, .08);
}
.portrait-frame {
  position: absolute;
  left: 24px;
  bottom: -18px;
  width: 242px;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 21px;
  box-shadow: 0 20px 45px rgba(42, 32, 70, .2);
  transform: rotate(-2.5deg);
}
.portrait-frame img {
  width: 100%;
  height: 292px;
  display: block;
  object-fit: cover;
}
.preview-lock {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  color: white;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px;
  background: rgba(37, 33, 63, .84);
  backdrop-filter: blur(7px);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.personalized-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: #5744b1;
  border-radius: 999px;
  background: var(--purple-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.preview-copy h2 {
  margin-bottom: 10px;
  font: 700 27px/1.2 "Fraunces", serif;
  letter-spacing: -.025em;
}
.preview-copy > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.delivery-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.included-card {
  margin-top: 50px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.55);
}
.included-card > h2 {
  margin-bottom: 20px;
  font: 700 23px/1.2 "Fraunces", serif;
}
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.included-grid > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}
.included-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.included-grid strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
}
.check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: #e6f5ef;
  font-size: 13px;
  font-weight: 700;
}

.payment-card {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #dfd9e9;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.payment-heading {
  padding: 29px 30px 22px;
  color: white;
  background:
    radial-gradient(circle at 90% 0, rgba(171,151,255,.38), transparent 40%),
    #342c6b;
}
.step-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #dcd4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.payment-heading h2 {
  margin-bottom: 6px;
  font: 700 31px/1.15 "Fraunces", serif;
}
.payment-heading p {
  margin: 0;
  color: #d8d3eb;
  font-size: 13px;
}
.order-summary { padding: 24px 28px 0; }
.summary-product {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.summary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--purple);
  border-radius: 13px;
  background: var(--purple-soft);
  font-size: 19px;
}
.summary-product strong, .summary-product span { display: block; }
.summary-product strong { font-size: 14px; }
.summary-product span { color: var(--muted); font-size: 12px; }
.summary-product > b { font-size: 16px; }
.summary-total {
  padding: 17px 0 5px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.summary-total strong { font-size: 22px; }

.billing-box {
  margin: 18px 28px 20px;
  padding: 17px;
  border: 1px solid #dcd4ff;
  border-radius: 14px;
  background: #f7f5ff;
}
.billing-box h3 {
  margin-bottom: 12px;
  font-size: 13px;
}
.billing-line {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 12px;
}
.billing-date { color: #5d50a4; font-weight: 700; }
.billing-box > p {
  margin: 12px 0 0;
  padding-top: 11px;
  color: var(--muted);
  border-top: 1px solid #e3def6;
  font-size: 11px;
  line-height: 1.5;
}

.payment { padding: 0 28px; }
.checkout-unavailable {
  margin: 22px 28px;
  padding: 18px;
  color: #713b12;
  border: 1px solid #efc995;
  border-radius: 13px;
  background: #fff8ed;
}
.checkout-unavailable strong { display: block; margin-bottom: 6px; font-size: 14px; }
.checkout-unavailable p { margin: 0; font-size: 12px; line-height: 1.55; }
.checkout-unavailable a { color: #6748c7; font-weight: 700; }
.pay-label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 700;
}
.stripe-el {
  min-height: 48px;
  padding: 14px 13px;
  border: 1px solid #d7d2df;
  border-radius: 11px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.stripe-el:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109,85,216,.12);
}
.pay-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pay-error {
  min-height: 22px;
  padding-top: 7px;
  color: #b42318;
  font-size: 12px;
}
.pay-btn {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  color: white;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #745dde, #5742bd);
  box-shadow: 0 10px 24px rgba(93, 69, 195, .28);
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 29px rgba(93, 69, 195, .34);
}
.pay-btn:focus-visible {
  outline: 3px solid rgba(109,85,216,.28);
  outline-offset: 3px;
}
.pay-btn:disabled { cursor: wait; opacity: .78; transform: none; }
.button-lock { margin-right: 6px; }
.button-spinner {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.consent-copy {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
  text-align: center;
}
.payment-trust {
  margin-top: 20px;
  padding: 18px 28px 25px;
  border-top: 1px solid var(--line);
  background: #fcfbfd;
}
.payment-trust > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  align-items: start;
}
.payment-trust > div + div { margin-top: 13px; }
.payment-trust svg {
  width: 21px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
}
.payment-trust span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.payment-trust strong { display: block; color: var(--ink); font-size: 12px; }

.confidence-section {
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: white;
}
.section-intro { max-width: 620px; margin-bottom: 48px; }
.section-intro h2 {
  margin-bottom: 14px;
  font: 700 clamp(35px, 4vw, 52px)/1.08 "Fraunces", serif;
  letter-spacing: -.035em;
}
.section-intro > p { color: var(--muted); font-size: 17px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-grid article {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fdfcfa;
}
.process-grid b {
  display: block;
  margin-bottom: 34px;
  color: var(--purple);
  font: 700 14px/1 "Fraunces", serif;
}
.process-grid h3 {
  margin-bottom: 10px;
  font: 700 22px/1.2 "Fraunces", serif;
}
.process-grid p { color: var(--muted); font-size: 14px; }

.reading-section {
  padding: 90px max(20px, calc((100vw - 1180px) / 2));
  background: #eee9ff;
}
.reading-card {
  min-height: 340px;
  padding: clamp(35px, 6vw, 70px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  color: white;
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 110%, rgba(161,134,255,.75), transparent 34%),
    radial-gradient(circle at 90% -20%, rgba(139,108,237,.5), transparent 40%),
    #302760;
  box-shadow: 0 25px 65px rgba(48,39,96,.2);
}
.reading-symbol {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  color: #d8ceff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  font: 600 78px/1 "Fraunces", serif;
}
.reading-card h2 {
  max-width: 700px;
  margin-bottom: 17px;
  font: 700 clamp(31px, 4vw, 49px)/1.08 "Fraunces", serif;
  letter-spacing: -.035em;
}
.reading-lead { max-width: 760px; margin-bottom: 13px; color: #f4f1ff; font-size: 18px; }
.reading-muted { max-width: 760px; margin: 0; color: #bbb5d2; font-size: 14px; }

.faq-section {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}
.faq-q span {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  margin-left: 20px;
  color: var(--purple);
  border-radius: 50%;
  background: var(--purple-soft);
  font-size: 18px;
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  transition: grid-template-rows .25s ease;
}
.faq-a p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { padding: 0 50px 23px 4px; }
.faq-a a { color: var(--purple); font-weight: 600; }

.final-cta {
  width: min(1180px, calc(100% - 40px));
  min-height: 260px;
  margin: 0 auto 90px;
  padding: 50px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: white;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 110%, rgba(151,126,246,.65), transparent 36%),
    #302760;
}
.final-cta h2 {
  margin-bottom: 8px;
  font: 700 clamp(32px, 4vw, 48px)/1.08 "Fraunces", serif;
}
.final-cta p { margin: 0; color: #d4cee8; font-size: 14px; }
.final-cta > a {
  flex: 0 0 auto;
  padding: 16px 20px;
  color: var(--ink);
  border-radius: 12px;
  background: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.final-cta > a span { margin-left: 8px; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 45px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  border-top: 1px solid var(--line);
}
.site-footer > div > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-support { text-align: right; }
.footer-support strong, .footer-support a { display: block; }
.footer-support strong { font-size: 12px; }
.footer-support a { color: var(--purple); font-size: 13px; font-weight: 600; }
.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0;
  color: #8a8597;
  font-size: 11px;
}

.mobile-sticky { display: none; }

@media (max-width: 960px) {
  .checkout-hero { grid-template-columns: 1fr 390px; gap: 34px; }
  h1 { font-size: 48px; }
  .result-preview { padding: 240px 24px 24px; }
  .portrait-frame {
    top: 18px;
    bottom: auto;
    left: 50%;
    width: 175px;
    transform: translateX(-50%) rotate(-2deg);
  }
  .portrait-frame img { height: 205px; }
  .included-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 78px; }
  .assurance-bar {
    min-height: 32px;
    gap: 7px;
    padding: 6px 12px;
    font-size: 9px;
  }
  .assurance-bar span:nth-child(3),
  .assurance-bar span:nth-child(4) { display: none; }
  .site-header { width: calc(100% - 32px); height: 66px; }
  .header-secure { font-size: 11px; }
  .header-secure svg { width: 15px; }
  .checkout-hero {
    width: calc(100% - 28px);
    margin: 16px auto 65px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .offer-column { display: contents; }
  .offer-column > .eyebrow { order: 1; margin-bottom: -18px; }
  h1 { order: 2; margin-bottom: -15px; font-size: clamp(39px, 12vw, 53px); }
  .hero-copy { order: 3; margin-bottom: 0; font-size: 16px; }
  .result-preview { order: 4; min-height: 245px; padding: 22px 18px 22px 174px; border-radius: 22px; }
  .portrait-frame { top: auto; bottom: -10px; left: 17px; width: 142px; transform: rotate(-2deg); }
  .portrait-frame img { height: 184px; }
  .preview-copy h2 { font-size: 20px; }
  .preview-copy > p { display: none; }
  .personalized-tag { font-size: 9px; }
  .delivery-note { font-size: 10px; line-height: 1.35; }
  .payment-card { order: 5; position: static; width: 100%; border-radius: 23px; }
  .included-card { order: 6; margin-top: 0; padding: 23px; }
  .payment-heading, .order-summary, .payment { padding-right: 22px; padding-left: 22px; }
  .billing-box { margin-right: 22px; margin-left: 22px; }
  .payment-trust { padding-right: 22px; padding-left: 22px; }
  .confidence-section { padding-top: 70px; padding-bottom: 70px; }
  .section-intro { margin-bottom: 34px; }
  .section-intro h2 { font-size: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; }
  .process-grid b { margin-bottom: 22px; }
  .reading-section { padding-top: 55px; padding-bottom: 55px; }
  .reading-card { padding: 34px 25px; display: block; border-radius: 24px; }
  .reading-symbol { width: 82px; height: 82px; margin-bottom: 28px; font-size: 40px; }
  .reading-card h2 { font-size: 34px; }
  .faq-section { padding: 75px 0; }
  .faq-q { font-size: 14px; }
  .final-cta {
    width: calc(100% - 28px);
    margin-bottom: 60px;
    padding: 36px 25px;
    display: block;
  }
  .final-cta > a { display: block; margin-top: 26px; text-align: center; }
  .site-footer { width: calc(100% - 32px); grid-template-columns: 1fr; padding-bottom: 30px; }
  .footer-support { text-align: left; }
  .mobile-sticky {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 72px;
    padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #e2deea;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -8px 28px rgba(41,36,95,.12);
    backdrop-filter: blur(10px);
    transition: transform .2s;
  }
  .mobile-sticky.hidden { transform: translateY(110%); }
  .mobile-sticky div strong, .mobile-sticky div span { display: block; }
  .mobile-sticky div strong { font-size: 14px; }
  .mobile-sticky div span { color: var(--muted); font-size: 9px; }
  .mobile-sticky a {
    padding: 12px 17px;
    color: white;
    border-radius: 10px;
    background: var(--purple);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 390px) {
  .brand { font-size: 18px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-secure { font-size: 0; }
  .header-secure::after { content: "Stripe secured"; font-size: 10px; }
  .result-preview { padding-left: 151px; }
  .portrait-frame { width: 124px; }
  .portrait-frame img { height: 165px; }
  .preview-copy h2 { font-size: 18px; }
  .billing-line { grid-template-columns: 92px 1fr; }
}

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