/* Tailwind v4 preflight (copied from source build) */
*, ::after, ::before, ::backdrop, ::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
:-moz-focusring {
  outline: auto;
}
progress {
  vertical-align: baseline;
}
summary {
  display: list-item;
}
ol, ul, menu {
  list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}
::file-selector-button {
  margin-inline-end: 4px;
}
::placeholder {
  opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }
}
textarea {
  resize: vertical;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}
::-webkit-calendar-picker-indicator {
  line-height: 1;
}
:-moz-ui-invalid {
  box-shadow: none;
}
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
  appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

/* Source index.css custom rules */
@keyframes charge-spin {
  to { transform: rotate(360deg); }
}
.charge-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(212, 168, 71, 0.2);
  border-top-color: #d4a847;
  border-radius: 50%;
  animation: charge-spin 0.9s linear infinite;
  margin: 0 auto;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #faf7f2;
  color: #3d2a1a;
  font-family: 'Lora', serif;
  font-size: 20px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.8;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: #1a0d05;
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(135deg, #8b0020, #c41e3a);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5), 0 0 40px rgba(196, 30, 58, 0.2);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.gold-text {
  color: #7a5216;
}

.gold-dark-text {
  color: #7a5216;
}

.red-text {
  color: #c41e3a;
}

.heading-text {
  color: #1a0d05;
}

.body-text {
  color: #3d2a1a;
}

.muted-text {
  color: #7a6550;
}

.subtle-text {
  color: #9a8468;
}

.card-bg {
  background-color: #ffffff;
  border: 1px solid #e0d5c8;
}

.divider {
  border-color: #e0d5c8;
}

.warning-bar {
  background: linear-gradient(135deg, #8b0020, #c41e3a);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  position: sticky;
  top: 0;
  z-index: 100;
}

.section-divider {
  border: none;
  border-top: 1px solid #e0d5c8;
  margin: 40px 0;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e0d5c8;
  border-left: 3px solid #7a5216;
  border-radius: 8px;
  padding: 24px;
}

.guarantee-badge {
  background: #ffffff;
  border: 2px solid #7a5216;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.upsell-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.popup-box {
  background: #ffffff;
  border: 2px solid #c41e3a;
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 560px;
  width: 100%;
  position: relative;
  margin: auto;
}

.order-bump-card {
  border: 2px dashed #c41e3a;
  background: #faf7f2;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-bump-card.selected {
  border: 2px solid #7a5216;
  background: #f5f0e8;
  box-shadow: 0 0 20px rgba(122, 82, 22, 0.15);
}

.order-bump-card .bump-title {
  color: #c41e3a;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  transition: color 0.2s;
}

.order-bump-card.selected .bump-title {
  color: #7a5216;
}

.order-bump-card .bump-body {
  color: #5a4535;
  transition: color 0.2s;
}

.order-bump-card.selected .bump-body {
  color: #2d1a0a;
}

.price-display {
  font-family: 'Cinzel', serif;
  color: #7a5216;
  font-weight: 700;
}

.strikethrough {
  text-decoration: line-through;
  color: #9a8468;
}

.italic-red-card {
  border: 1px solid #c41e3a;
  background: #fff8f8;
  border-radius: 8px;
  padding: 24px 28px;
  font-style: italic;
  color: #3d2a1a;
  line-height: 1.9;
}

.gift-card-img {
  border-radius: 8px;
  border: 1px solid #e0d5c8;
  width: 100%;
  max-width: 200px;
  object-fit: contain;
}

.decline-link {
  color: #9a8468;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Lora', serif;
  transition: color 0.2s;
}

.decline-link:hover {
  color: #7a6550;
}

@media (max-width: 640px) {
  .upsell-page {
    padding: 0 12px 60px;
  }
  .popup-overlay {
    align-items: flex-start;
    padding: 12px 10px 24px;
  }
  .popup-box {
    padding: 20px 16px;
    margin: 0 auto;
    border-radius: 10px;
  }
  .popup-box h2 {
    font-size: 17px !important;
  }
  .popup-timer-digit {
    font-size: clamp(22px, 7vw, 30px) !important;
  }
  .popup-form-gap {
    gap: 10px !important;
  }
  .popup-checkbox-section {
    padding: 10px 12px !important;
    gap: 6px !important;
  }
  .popup-checkbox-section p {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }
  .popup-checkbox-section span {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  .popup-checkbox-section input[type="checkbox"] {
    min-width: 18px !important;
    min-height: 18px !important;
  }
  .popup-input {
    padding: 12px 14px !important;
    font-size: 16px !important;
    margin-bottom: 0 !important;
  }
  .popup-names-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .popup-submit-btn {
    font-size: 15px !important;
    padding: 14px 10px !important;
    letter-spacing: 0.02em !important;
  }
}

/* ── A/B split test: dark variant (original dark funnel palette) ─────────── */
html[data-ab="dark"] body {
  background-color: #0a0507;
  color: #d5c8b8;
}
html[data-ab="dark"] h1, html[data-ab="dark"] h2, html[data-ab="dark"] h3,
html[data-ab="dark"] h4, html[data-ab="dark"] h5, html[data-ab="dark"] h6 {
  color: #f5f0e8;
}
html[data-ab="dark"] .gold-text,
html[data-ab="dark"] .gold-dark-text { color: #d4a847; }
html[data-ab="dark"] .heading-text { color: #f5f0e8; }
html[data-ab="dark"] .body-text { color: #d5c8b8; }
html[data-ab="dark"] .muted-text { color: #a89888; }
html[data-ab="dark"] .subtle-text { color: #6a5a4a; }
html[data-ab="dark"] .card-bg {
  background-color: #110a0e;
  border: 1px solid #2a1520;
}
html[data-ab="dark"] .divider { border-color: #2a1520; }
html[data-ab="dark"] .section-divider { border-top: 1px solid #2a1520; }
html[data-ab="dark"] .testimonial-card {
  background: #110a0e;
  border: 1px solid #2a1520;
  border-left: 3px solid #d4a847;
}
html[data-ab="dark"] .guarantee-badge {
  background: #110a0e;
  border: 2px solid #d4a847;
}
html[data-ab="dark"] .popup-overlay { background: rgba(10, 5, 7, 0.95); }
html[data-ab="dark"] .popup-box {
  background: #110a0e;
  border: 2px solid #c41e3a;
}
html[data-ab="dark"] .order-bump-card { background: #0a0507; }
html[data-ab="dark"] .order-bump-card.selected {
  border: 2px solid #d4a847;
  background: #2a1520;
  box-shadow: 0 0 20px rgba(212, 168, 71, 0.15);
}
html[data-ab="dark"] .order-bump-card.selected .bump-title { color: #d4a847; }
html[data-ab="dark"] .order-bump-card .bump-body { color: #a89888; }
html[data-ab="dark"] .order-bump-card.selected .bump-body { color: #e8ddd0; }
html[data-ab="dark"] .price-display { color: #d4a847; }
html[data-ab="dark"] .strikethrough { color: #6a5a4a; }
html[data-ab="dark"] .italic-red-card {
  background: #2a1520;
  color: #d5c8b8;
}
html[data-ab="dark"] .gift-card-img { border: 1px solid #2a1520; }
html[data-ab="dark"] .decline-link { color: #6a5a4a; }
html[data-ab="dark"] .decline-link:hover { color: #a89888; }

/* go-platform: replacement-card popup fields (styled to match source NmiFallback) */
.pp-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pp-field{margin-bottom:10px;font-family:Lora,serif}
.pp-field label{display:block;font-size:12px;color:#6f5219;margin-bottom:4px}
.pp-field input,.pp-slot{width:100%;height:42px;border:1.5px solid #b68a2b;border-radius:4px;background:#fffdf8;padding:0 10px;font-size:15px;color:#3b3127;outline:none;box-sizing:border-box}
.pp-slot{padding:2px 10px}
.pp-slot.is-invalid,.pp-field .is-invalid{border-color:#c0392b}
.pp-slot iframe{width:100%!important;height:36px!important;border:0}
.pp-slot input{border:0;height:36px;padding:0;background:transparent}
.go-test-banner{background:#fff4d6;color:#6f5219;border-bottom:1px solid #e8d49a;font:600 12px/1.4 system-ui,sans-serif;text-align:center;padding:6px 10px}
