:root {
  --ivory: #f7f1e8;
  --paper: #fffdf8;
  --ink: #24231f;
  --ink-soft: #555149;
  --gold: #b58a44;
  --gold-dark: #8a652b;
  --olive: #59624b;
  --olive-deep: #3e4735;
  --terracotta: #b56f5c;
  --line: #ded3c3;
  --line-dark: rgba(255, 255, 255, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 20px 60px rgba(55, 43, 28, 0.1);
  --shadow-card: 0 12px 38px rgba(55, 43, 28, 0.08);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
.brand,
.price-current,
.signature {
  font-family: var(--serif);
  font-weight: 400;
}

h1,
h2 {
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h3 {
  line-height: 1.2;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(181, 138, 68, 0.45);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(222, 211, 195, 0.78);
  background: rgba(247, 241, 232, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  width: max-content;
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.brand span {
  color: var(--gold);
}

.header-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-note:hover,
.header-note:focus-visible {
  color: var(--gold-dark);
}

.icon-button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.icon-button:hover {
  background: rgba(181, 138, 68, 0.12);
}

.text-button {
  justify-self: end;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.quiz-view {
  min-height: calc(100svh - 73px);
  background:
    radial-gradient(circle at 10% 0%, rgba(181, 138, 68, 0.08), transparent 36%),
    var(--ivory);
}

.quiz-layout {
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100svh - 73px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.72fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: stretch;
}

.quiz-content {
  width: min(640px, 100%);
  padding: clamp(42px, 7vh, 76px) 0 44px;
  align-self: center;
}

.quiz-progress-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-track {
  height: 3px;
  overflow: hidden;
  background: var(--line);
}

.progress-value {
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transition: width 350ms ease;
}

.question-wrap {
  min-height: 440px;
  padding-top: clamp(44px, 7vh, 72px);
}

.question-wrap.is-changing {
  animation: question-in 360ms ease both;
}

@keyframes question-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.question-wrap h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.question-help {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--ink-soft);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-button {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.option-button::after {
  content: "→";
  color: var(--gold-dark);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.option-button:hover {
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.option-button:hover::after {
  transform: translateX(3px);
}

.option-button[aria-pressed="true"] {
  border-color: var(--gold);
  background: #f3e8d7;
  box-shadow: inset 0 0 0 1px var(--gold);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #716b62;
  font-size: 0.72rem;
}

.privacy-note span {
  color: var(--gold);
}

.quiz-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #d7c0a3;
}

.quiz-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(36, 35, 31, 0.56));
}

.quiz-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-caption {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 5vw, 56px);
  bottom: 42px;
  left: clamp(24px, 5vw, 56px);
  color: white;
}

.visual-caption p {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.visual-caption span {
  font-size: 0.83rem;
  opacity: 0.82;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 26px rgba(36, 35, 31, 0.16);
}

.button-primary:hover {
  background: var(--gold-dark);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--gold);
  background: var(--paper);
}

.result-section {
  padding: clamp(68px, 9vw, 120px) 0;
  background: var(--ivory);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.result-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.result-actions,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.profile-card {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.profile-card::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 2px;
  top: -1px;
  left: 0;
  background: var(--gold);
}

.profile-topline {
  display: flex;
  justify-content: space-between;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-card h2 {
  margin: 26px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.profile-card > p {
  color: var(--ink-soft);
}

.priority-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.priority-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.priority-item > span {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.priority-item strong,
.priority-item small {
  display: block;
}

.priority-item strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.priority-item small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.profile-footnote {
  margin: 20px 0 0 !important;
  font-size: 0.69rem;
}

.personalized-hero {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid,
.product-grid,
.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.hero-copy h2,
.product-copy h2,
.author-copy h2,
.section-heading h2,
.faq-heading h2,
.guarantee-card h2,
.final-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.2vw, 4.7rem);
}

.trust-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.trust-inline span {
  color: var(--gold);
  font-size: 1.25rem;
}

.hero-image {
  position: relative;
  margin: 0;
}

.hero-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.hero-image figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 14px 18px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.principles-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles-grid article {
  padding: 42px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.principles-grid article:first-child {
  padding-left: 0;
}

.principles-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.principles-grid span,
.card-kicker {
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.principles-grid h3 {
  margin: 9px 0;
  font-size: 1.4rem;
}

.principles-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.product-section {
  padding: clamp(76px, 10vw, 140px) 0;
  background: var(--ivory);
}

.product-image-wrap {
  position: relative;
}

.product-image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.image-seal {
  position: absolute;
  right: -22px;
  bottom: 32px;
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--olive-deep);
  color: white;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  font-size: 0.87rem;
}

.feature-list span {
  color: var(--gold-dark);
  font-weight: 900;
}

.price-block {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.price-before {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.price-current {
  margin: 2px 0;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1;
}

.price-current small,
.mini-card-bottom small {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.price-block p,
.secure-note {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.promo-timer {
  position: sticky;
  z-index: 45;
  top: 73px;
  border-bottom: 1px solid rgba(181, 138, 68, 0.35);
  background: rgba(241, 229, 212, 0.96);
  box-shadow: 0 12px 30px rgba(55, 43, 28, 0.08);
  backdrop-filter: blur(16px);
}

.promo-timer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
}

.timer-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--terracotta);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.promo-timer-inner strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.timer-clock {
  min-width: 92px;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  text-align: center;
}

.product-copy .purchase-button {
  margin-top: 24px;
}

.secure-note {
  margin-top: 10px;
}

.bonuses-section,
.testimonials-section,
.faq-section {
  padding: clamp(76px, 10vw, 130px) 0;
  background: var(--paper);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.section-heading > p:last-child,
.faq-heading > p:last-child {
  color: var(--ink-soft);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.bonus-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.image-card .card-image {
  position: relative;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.image-card:hover img {
  transform: scale(1.025);
}

.free-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--olive-deep);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-card .card-kicker {
  margin: 22px 0 9px;
}

.image-card h3,
.mini-card h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.image-card > p:not(.card-kicker),
.mini-card-body > p:not(.card-kicker) {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.image-card strong {
  color: var(--olive-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minis-section {
  padding: clamp(76px, 10vw, 130px) 0;
  background: var(--olive-deep);
  color: var(--paper);
}

.section-heading-light .eyebrow,
.minis-section .card-kicker {
  color: #dfbf87;
}

.section-heading-light > p:last-child {
  color: rgba(255, 253, 248, 0.7);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mini-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, background 220ms ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.075);
}

.mini-card > img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.mini-card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.mini-card-body > p:not(.card-kicker) {
  color: rgba(255, 253, 248, 0.68);
}

.mini-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.mini-card-bottom strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.mini-link {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: white;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
}

.mini-link:hover {
  border-color: #dfbf87;
  color: #dfbf87;
}

.author-section {
  padding: clamp(76px, 10vw, 140px) 0;
  background: var(--ivory);
}

.author-grid {
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
}

.author-image {
  position: relative;
}

.author-image::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 65%;
  height: 72%;
  background: #d9c49f;
}

.author-image img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.author-copy p:not(.eyebrow) {
  color: var(--ink-soft);
}

.signature {
  display: block;
  margin-top: 28px;
  color: var(--gold-dark);
  font-size: 1.75rem;
  font-style: italic;
}

.author-copy small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonials-section {
  border-top: 1px solid var(--line);
}

.testimonial-grid figure {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.testimonial-grid img {
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-grid blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.26rem;
  line-height: 1.55;
}

.testimonial-grid figcaption {
  margin-top: 25px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial-grid figcaption span {
  color: var(--ink-soft);
}

.guarantee-section {
  padding: 80px 0;
  background: #e9ddcd;
}

.guarantee-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 880px;
}

.guarantee-mark {
  width: 140px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 3.5rem;
}

.guarantee-mark::after {
  content: "días";
  position: absolute;
  margin-top: 64px;
  font-family: var(--sans);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.guarantee-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.5vw, 3.7rem);
}

.guarantee-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 116px;
}

.faq-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  content: "";
  background: var(--gold-dark);
}

.faq-list summary span {
  top: 50%;
  right: 4px;
  width: 14px;
  height: 1px;
}

.faq-list summary span::after {
  width: 1px;
  height: 14px;
  top: -6px;
  left: 6px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(90deg);
}

.faq-list details p {
  max-width: 620px;
  padding: 0 42px 24px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 145px) 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(181, 138, 68, 0.2);
  border-radius: 50%;
}

.final-cta::before {
  top: -170px;
  left: -100px;
}

.final-cta::after {
  right: -130px;
  bottom: -190px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.final-cta .eyebrow {
  color: #dfbf87;
}

.final-cta h2 {
  font-size: clamp(3rem, 6.3vw, 5.7rem);
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.68);
}

.final-price {
  margin: 24px 0;
}

.final-price s {
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.final-price strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: #dfbf87;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.footer-brand {
  font-size: 1.3rem;
}

.checkout-dialog {
  width: min(500px, calc(100% - 32px));
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.checkout-dialog::backdrop {
  background: rgba(24, 23, 20, 0.65);
  backdrop-filter: blur(4px);
}

.checkout-dialog h2 {
  margin-bottom: 14px;
  font-size: 2.4rem;
}

.checkout-dialog > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-product {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-product span {
  font-family: var(--serif);
}

.dialog-product strong {
  white-space: nowrap;
}

.purchase-toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 44px 18px 18px;
  border: 1px solid rgba(181, 138, 68, 0.35);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 46px rgba(36, 35, 31, 0.16);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.purchase-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.purchase-toast-dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 6px rgba(89, 98, 75, 0.12);
}

.purchase-toast-title {
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.purchase-toast p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.purchase-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.purchase-toast-close:hover {
  color: var(--terracotta);
}

.noscript-message {
  position: fixed;
  z-index: 999;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 940px) {
  .quiz-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 38px;
  }

  .options-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .hero-grid,
  .product-grid,
  .author-grid {
    gap: 52px;
  }

  .bonus-grid,
  .mini-grid,
  .testimonial-grid {
    gap: 16px;
  }

  .mini-card-body,
  .testimonial-grid figure {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .shell,
  .quiz-layout,
  .header-inner {
    width: min(100% - 32px, 620px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .quiz-layout {
    min-height: auto;
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }

  .quiz-content {
    padding: 34px 0 38px;
  }

  .quiz-visual {
    min-height: 260px;
    max-height: 34svh;
    margin-inline: -16px;
  }

  .quiz-visual img {
    object-position: center 30%;
  }

  .visual-caption {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .visual-caption p {
    max-width: 420px;
    margin-bottom: 0;
    font-size: 1.55rem;
  }

  .visual-caption span {
    display: none;
  }

  .question-wrap {
    min-height: 0;
    padding-top: 38px;
  }

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

  .result-grid,
  .hero-grid,
  .product-grid,
  .author-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .hero-grid,
  .product-grid,
  .author-grid {
    gap: 42px;
  }

  .hero-image {
    order: -1;
  }

  .product-image-wrap {
    width: calc(100% - 18px);
  }

  .image-seal {
    right: -18px;
    width: 88px;
  }

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

  .principles-grid article,
  .principles-grid article:first-child,
  .principles-grid article:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles-grid article:last-child {
    border-bottom: 0;
  }

  .bonus-grid,
  .mini-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mini-card {
    max-width: 520px;
  }

  .faq-heading {
    position: static;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guarantee-mark {
    width: 112px;
    margin-inline: auto;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .quiz-visual {
    min-height: 220px;
  }

  .question-wrap h1 {
    font-size: 2.15rem;
  }

  .result-actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions .button,
  .hero-actions .button,
  .product-copy .button {
    width: 100%;
  }

  .trust-inline {
    justify-content: center;
  }

  .profile-card {
    padding: 26px 22px;
  }

  .mini-card-bottom,
  .dialog-product {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-timer {
    top: 72px;
  }

  .promo-timer-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .timer-clock {
    width: 100%;
  }

  .purchase-toast {
    right: 16px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
