:root {
  --ink: #4a5568;
  --muted: #526784;
  --pink: #ff1760;
  --green: #12834e;
}
.funnel-page {
  margin: 0;
  min-height: 100dvh;
  background: linear-gradient(180deg, #eaf6ff, #cdeaff 40%, #a6dbff);
  color: var(--ink);
  font:
    16px/1.5 Nunito,
    sans-serif;
}
.funnel-page * {
  box-sizing: border-box;
}
.funnel-page [hidden] {
  display: none !important;
}
.funnel-page main {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: var(--space-section) var(--page-gutter) var(--space-lg);
}
.brand-header {
  margin: 0 0 var(--space-section);
  text-align: center;
}
.brand-header img {
  display: block;
  object-fit: contain;
  margin: auto;
}
.panel {
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 24px -18px #43678670;
  min-width: 0;
  padding: var(--space-section) var(--card-inline);
  margin: 0 0 var(--space-section);
}
.funnel-page h1 {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.funnel-page h2 {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.funnel-page h1 {
  font-size: 26px;
}
.funnel-page h2 {
  font-size: 22px;
}
.funnel-page p {
  margin: var(--space-md) 0 0;
  color: var(--muted);
}
.funnel-page .eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #cb1250;
  margin: 0 0 var(--space-sm);
}
.funnel-page .small {
  font-size: 13px;
  line-height: 20px;
}
.funnel-page a {
  color: inherit;
}
.funnel-page .price {
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  color: var(--green);
  margin: var(--space-sm) 0 0;
}
.price del {
  display: block;
  color: #a04e5c;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}
.funnel-page .section-intro {
  margin: var(--space-sm) 0 var(--space-section);
}
.field {
  margin: 0 0 var(--space-field);
}
.field:last-child {
  margin-bottom: 0;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 var(--space-xs);
  color: var(--muted);
}
.funnel-page input {
  font: inherit;
}
.funnel-page textarea {
  font: inherit;
}
.funnel-page button {
  font: inherit;
}
.field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #cdd8e4;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 13px var(--space-sm);
  font-size: 16px;
  line-height: 24px;
  outline-offset: 3px;
}
.funnel-page textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #cdd8e4;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 13px var(--space-sm);
  line-height: 24px;
  outline-offset: 3px;
}
.field input::placeholder {
  color: #7186a6;
}
.field small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  margin-top: var(--space-xs);
}
.funnel-page .action-group {
  display: flex;
  flex-direction: column;
  margin: var(--space-section) 0;
  gap: var(--space-md);
}
.funnel-page .action-group:last-child {
  margin-bottom: 0;
}
.funnel-page .primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px var(--space-md);
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font:
    800 16px/24px Nunito,
    sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 12px #ff176030;
  white-space: normal;
  height: auto;
}
.quiz .quiz-actions > .primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px var(--space-md);
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font:
    800 16px/24px Nunito,
    sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 12px #ff176030;
  white-space: normal;
  height: auto;
}
.funnel-page .primary:disabled {
  opacity: 0.55;
  cursor: wait;
}
.funnel-page .primary[aria-disabled="true"] {
  opacity: 0.55;
  cursor: wait;
}
.funnel-page .primary:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #de1050;
}
.funnel-page :focus-visible {
  outline: 3px solid #229bd0;
  outline-offset: 4px;
}
.funnel-page .text-link {
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  padding: var(--space-xs);
  text-underline-offset: 3px;
}
.receipt {
  margin-top: var(--space-section);
  padding: var(--space-md);
  background: #f8fafc;
  border-radius: 16px;
}
.notice {
  padding: var(--space-md);
  border-radius: 16px;
  background: #eff6ff;
  font-size: 14px;
  line-height: 22px;
}
.funnel-page p.notice {
  margin: var(--space-section) 0;
}
.notice.error {
  background: #fff0f3;
  color: #ae2147;
}
.funnel-page textarea {
  margin-top: var(--space-section);
  resize: vertical;
  font-size: 13px;
}
.upsell-offer {
  text-align: center;
}
.offer-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: var(--space-section) auto;
  border-radius: 18px;
}
.benefit-list {
  margin: var(--space-section) 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.benefit-list li {
  position: relative;
  padding-left: 28px;
  margin-top: var(--space-md);
  line-height: 24px;
}
.benefit-list li:first-child {
  margin-top: 0;
}
.benefit-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.offer-price {
  margin-top: var(--space-section);
  padding: var(--space-section) var(--space-md);
  background: #fff8e8;
  border: 1px solid #f1dfb8;
  border-radius: 18px;
}
.offer-price .price {
  font-size: 42px;
  line-height: 50px;
}
.offer-price p:last-child {
  font-size: 14px;
}
.offer-price .eyebrow {
  margin-bottom: var(--space-xs);
}
.thanks-card {
  text-align: center;
}
.confirmation {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-section);
  background: #e7faf1;
  border-radius: 50%;
  color: var(--green);
  font-size: 36px;
  font-weight: 800;
}
.delivery {
  margin-top: var(--space-section);
  padding: var(--space-md);
  text-align: left;
  border: 1px solid #dcecf6;
  border-radius: 16px;
  background: #f3faff;
}
.delivery h2 {
  font-size: 20px;
}
.delivery p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.funnel-page footer {
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  color: #486780;
  margin-top: var(--space-section);
  overflow-wrap: anywhere;
}
.funnel-page footer p {
  margin: 4px 0;
  color: inherit;
}
.funnel-page footer a {
  display: inline-block;
  margin-top: var(--space-xs);
}
.quiz .quiz-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: var(--space-section) 0;
  gap: var(--space-md);
}
.quiz .quiz-actions:last-child {
  margin-bottom: 0;
}
.quiz .quiz-card {
  padding: var(--space-section) var(--card-inline);
}
.quiz #discount-popup {
  padding: var(--space-section) var(--space-field);
}
.quiz #discount-popup > .primary {
  margin: var(--space-section) 0 0;
  min-height: 52px;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
}
@media (min-width: 600px) {
  .panel {
    padding: var(--space-section) var(--space-lg);
  }
  .quiz .quiz-card {
    padding: var(--space-section) var(--space-lg);
  }
  .funnel-page h1 {
    font-size: 30px;
  }
}
@media (max-width: 350px) {
  .funnel-page h1 {
    font-size: 24px;
  }
  .funnel-page .primary {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel {
    animation: page-enter 240ms ease-out both;
  }
  @keyframes page-enter {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.quiz .quiz-card .primary {
  min-height: 52px;
  height: auto;
  padding: 14px var(--space-md);
  font-size: 16px;
  line-height: 24px;
}
.quiz .quiz-card .more-options {
  min-height: 52px;
  margin: var(--space-section) 0;
  padding: 14px var(--space-md);
}
.quiz .quiz-card .retry-preview {
  min-height: 52px;
  height: auto;
  margin: var(--space-section) 0;
  padding: 14px var(--space-md);
  font-size: 16px;
  line-height: 24px;
}
.quiz .preview-box {
  padding: var(--space-section) var(--space-field);
  margin-top: var(--space-section);
}
.quiz .preview-box p {
  margin: 0 0 var(--space-section);
}

.quiz .gift-addons-intro {
  margin: var(--space-section) 0;
  color: #526784;
  font-size: 15px;
  line-height: 23px;
  font-weight: 800;
  text-align: center;
}

.quiz .sales-payment-note {
  margin: 0 0 var(--space-section);
  color: #526784;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.quiz .sales-guarantee {
  margin: var(--space-section) 0;
  padding: var(--space-section);
  border: 1px solid #d6e5db;
  border-radius: 16px;
  background: #f4faf5;
  text-align: center;
}
.quiz .sales-guarantee h2 {
  margin: 0 0 var(--space-sm);
  font-size: 22px;
  line-height: 30px;
}
.quiz .sales-guarantee p {
  margin: 0;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.upsell-alert {
  padding: var(--space-section) var(--page-gutter);
  background: #dc2626;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}
