/* ============================================================
   MAGNET WOMAN Quiz — pixel-accurate clone
   Exact measurements pulled from the live original:
   - Container max-w: 375px (content 343px with 16px padding)
   - Background: white
   - Title font-weight: 600 (not 700)
   - Border: 1px #E5E7EB
   - Primary button: 60px height, 40px radius, uppercase
   - Gold: #9B7C50 — Text: #343434 / #222222
   ============================================================ */

:root {
  /* Exact colors from original */
  --gold-100: #C9A673;
  --gold-200: #9B7C50;      /* primary */
  --gold-300: #E0C397;
  --gold-600: #7C694F;

  --bg: #FFFFFF;
  --cream: #FCF7EF;
  --page: #FAFAFA;

  --black: #000000;
  --text-900: #222222;
  --text-800: #343434;
  --text-500: #747474;

  --border: #E5E7EB;        /* exact */
  --border-soft: #F3F4F6;

  --red: #FF202A;
  --green: #00B67A;

  /* Widths */
  --container-w: 375px;
  --content-w: 343px;       /* inner after 16px padding */

  /* Radius */
  --radius-md: 12px;        /* tile / card */
  --radius-btn: 40px;       /* button pill */
  --radius-lg: 16px;

  /* Font */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 46px;
}

/* Poppins — same weights as original */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: local('Poppins'), url('https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: local('Poppins Medium'), url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: local('Poppins SemiBold'), url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: local('Poppins Bold'), url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
}

/* =========================
   RESET + BASE
========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text-800);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
a { color: var(--gold-200); text-decoration: underline; }
a:hover { opacity: .85; }

/* Desktop: give page a soft surrounding bg so the 375px app looks framed */
@media (min-width: 500px) {
  body { background: var(--page); }
}

/* =========================
   LOADER
========================= */
.global-loader {
  position: fixed; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 9999;
}
.global-loader img {
  width: 50px; height: 50px;
  animation: loader-pulse 2s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* =========================
   TOPBAR (46px + progress below)
========================= */
.topbar {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  background: var(--bg);
}

.topbar-row {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-800);
  transition: background .2s;
}
.back-btn:hover { background: var(--border-soft); }

.topbar .brand,
.brand-center {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-200);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
}
.topbar .brand img,
.brand-center img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }

/* Progress bar — 4 segments that fill progressively (matches original) */
.progress-wrap {
  max-width: 228px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.progress-wrap .seg {
  flex: 1;
  height: 4px;
  background: rgba(52, 52, 52, 0.1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.progress-wrap .seg::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--text-800);
  border-radius: 16px;
  transition: width .35s ease;
}
.progress-wrap .seg.done::after { width: 100%; }
.progress-wrap .seg.partial::after { width: var(--fill, 0%); }

/* Category pill — centered rounded badge, replaces brand logo on quiz screens */
.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #DBDBDB;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  line-height: 16px;
  white-space: nowrap;
}

/* =========================
   APP / SCREEN
========================= */
.app {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background: var(--bg);
}

.screen {
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fade-in .25s ease both;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   TYPOGRAPHY
========================= */
/* Deprecated inline category — now rendered as .category-pill in topbar */
.category { display: none; }

.title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-800);
  line-height: 28px;
  text-align: center;
}
.title.left { text-align: left; align-self: flex-start; }

.subtitle {
  font-size: 14px;
  color: var(--text-500);
  line-height: 20px;
  text-align: center;
}
.subtitle.left { text-align: left; align-self: flex-start; }
.subtitle.small { font-size: 12px; line-height: 16px; }

.headline {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-800);
  text-align: center;
  line-height: 28px;
}
.headline .hl { color: var(--gold-200); display: inline-block; }

.subhead {
  font-size: 12px;
  color: var(--text-500);
  text-align: center;
  line-height: 16px;
  margin-top: -8px;
}

.terms {
  font-size: 11px;
  color: var(--text-500);
  text-align: center;
  line-height: 18px;
  margin-top: 16px;
  padding: 0 12px;
}
.terms a {
  color: var(--gold-200);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.terms a:hover { color: var(--gold-600); }

/* Big social-proof title (screen 2) — 30px gold */
.title.big-gold {
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-200);
  line-height: 36px;
  text-align: center;
}

/* =========================
   AGE GRID (screen 1) — 2 columns
========================= */
.grid-age {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  row-gap: 36px;
  width: 100%;
  margin-top: 4px;
}
.tile-age {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s, transform .1s;
  display: flex;
  flex-direction: column;
}
.tile-age:hover { border-color: var(--gold-300); }
.tile-age:active { transform: scale(.98); }
.tile-age img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tile-age .label {
  padding: 8px 4px;
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
  text-align: center;
  border-top: 1px solid var(--border);
  line-height: 20px;
}

/* =========================
   OPTION TILES — 343x78, row layout
========================= */
.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-900);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .1s;
  width: 100%;
}
.tile:hover { border-color: var(--gold-300); }
.tile.selected {
  border-color: var(--gold-200);
  background: var(--cream);
}
.tile:active { transform: scale(.99); }

.tile .icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F4F4;          /* light gray rounded bg behind icon */
  border-radius: 12px;
  color: var(--text-800);        /* inherited by currentColor SVG strokes */
}
.tile .icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.tile .icon svg { width: 24px; height: 24px; }
.tile .text {
  flex: 1;
  line-height: 20px;
}

/* Multi-select ROUND checkbox — placed on the RIGHT side of the tile */
.tile.multi {
  justify-content: space-between;
}
.tile.multi .text {
  flex: 1;
  padding-right: 8px;
}
.tile.multi .check {
  width: 24px; height: 24px;
  border: 1.5px solid var(--border);
  border-radius: 9999px;          /* ROUND (not square) */
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bg);
  transition: all .2s;
}
.tile.multi.selected .check {
  background: var(--gold-200);
  border-color: var(--gold-200);
}
.tile.multi.selected .check::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px);
}

/* =========================
   BUTTONS — 60px h / 40px radius / uppercase
========================= */
.btn-primary {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  background: var(--gold-200);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: var(--radius-btn);
  transition: background .2s, transform .1s, opacity .2s;
  box-shadow: 0 2px 6px rgba(155,124,80,.15);
  margin-top: 4px;
}
.btn-primary:hover { background: var(--gold-600); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.btn-primary.sm {
  height: 40px;
  font-size: 12px;
}

.btn-secondary {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  background: transparent;
  color: var(--gold-200);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--gold-200);
}

/* =========================
   Yes/No screen (/subscribe) — title on top, buttons pushed to bottom,
   "NO, THANKS" is a text link (not a button outline)
========================= */
.screen-yesno {
  min-height: 60vh;
  justify-content: space-between;
  padding-top: 30px;
}
.screen-yesno .title {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  max-width: 320px;
}
.screen-yesno .title .gold-inline {
  color: var(--gold-200);
}
.screen-yesno .yesno-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.screen-yesno .no-link {
  background: none;
  border: none;
  color: var(--text-900);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  letter-spacing: .03em;
}

/* =========================
   INFO SCREENS (social proof, affirmations)
========================= */
.screen-info { align-items: center; gap: 16px; }
.screen-info .info-img {
  width: 100%;
  max-width: 280px;
  border-radius: 16px;
  object-fit: cover;
}

/* =========================
   PROFILE (screen 26)
========================= */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat img { width: 32px; height: 32px; }
.stat .label {
  font-size: 11px;
  color: var(--text-500);
  display: block;
}
.stat .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-800);
  display: block;
}

/* =========================
   PLAN CHART
========================= */
.plan-chart {
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, #FEFAF3 0%, var(--bg) 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
  border: 1px solid var(--gold-300);
}
.plan-chart-y-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  color: var(--text-500);
  align-self: center;
  text-align: center;
}
.plan-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 4px;
  border-left: 1px solid var(--gold-300);
  border-bottom: 1px solid var(--gold-300);
  padding: 4px;
  min-height: 140px;
}
.plan-chart-bars .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-200));
  border-radius: 6px 6px 0 0;
  min-height: 8px;
  animation: bar-grow .7s ease both;
}
@keyframes bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}
.plan-chart-x-labels {
  grid-column: 2;
  display: flex;
  justify-content: space-around;
  font-size: 10px;
  color: var(--text-500);
}
.disclaimer {
  color: var(--text-500);
  font-size: 11px;
  text-align: center;
  line-height: 16px;
}

.brand-header {
  text-align: center;
  font-size: 14px;
  color: var(--text-500);
}

/* =========================
   ANALYZING
========================= */
.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 12px 0;
}
.phase {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-500);
  transition: color .3s;
}
.phase.done { color: var(--text-800); }
.phase .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .3s;
}
.phase.done .dot {
  border-color: var(--gold-200);
  background: var(--gold-200);
  position: relative;
}
.phase.done .dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}
.percent-big {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-200);
  margin: 8px 0;
  letter-spacing: -.02em;
  line-height: 1;
}

/* Popup modal (analyzing yes/no) */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fade-in .25s ease;
}
.popup {
  background: var(--bg);
  border-radius: 20px;
  padding: 24px 20px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.popup h3 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--text-800);
  margin-bottom: 16px;
  line-height: 1.3;
}
.popup .popup-actions {
  display: flex;
  gap: 10px;
}
.popup .popup-actions button {
  flex: 1;
  height: 52px;
}

/* Reviews */
.reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}
.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.review .row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 600;
  font-size: 13px;
}
.review .meta {
  flex: 1;
  font-size: 10px;
  color: var(--text-500);
  line-height: 1.35;
}
.review .meta strong {
  color: var(--text-800);
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.review .stars {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 1px;
}
.review h4 {
  font-size: 13px;
  margin: 8px 0 4px;
  color: var(--text-900);
  font-weight: 600;
}
.review p {
  font-size: 12px;
  color: var(--text-500);
  line-height: 1.45;
}
.review .exp {
  font-size: 10px;
  color: #AAA;
  margin-top: 6px;
}
.verified {
  color: var(--green);
  font-weight: 600;
}

/* =========================
   FORM SCREENS
========================= */
.form-input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text-800);
  transition: border-color .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold-200);
}
.form-input::placeholder { color: var(--text-500); }

/* Input with icon-left + clear-button-right wrapper */
.input-icon-wrap {
  position: relative;
  width: 100%;
}
.input-icon-wrap .ic-left,
.input-icon-wrap .ic-clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-500);
  pointer-events: none;
}
.input-icon-wrap .ic-left { left: 16px; }
.input-icon-wrap .ic-clear {
  right: 14px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .2s;
}
.input-icon-wrap.has-value .ic-clear { opacity: 1; }
.input-icon-wrap input {
  padding-left: 48px;
  padding-right: 44px;
}

/* Disclaimer with lock icon on the left */
.form-disclaimer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text-500);
  line-height: 18px;
}
.form-disclaimer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-500);
}

/* Two-tone title for screens like /email where second half is gold */
.title-two-tone {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 28px;
  text-align: center;
}
.title-two-tone .gold {
  color: var(--gold-200);
  display: block;
}

/* =========================
   OFFER / CHECKOUT
========================= */
.screen-offer { padding: 0; gap: 14px; }
.offer-topbar {
  position: sticky;
  top: 0;
  background: var(--cream);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(52,52,52,.08);
  z-index: 10;
  width: calc(100% + 32px);
  margin: 0 -16px 8px;
}
.offer-topbar-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-800);
  flex-shrink: 0;
}
.offer-timer {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.offer-topbar-cta {
  flex: 1;
  max-width: 120px;
  margin-left: auto;
  height: 40px;
  font-size: 12px;
}

.user-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  gap: 16px;
  width: 100%;
}
.user-summary .col { flex: 1; font-size: 11px; }
.user-summary .col span {
  color: var(--text-500);
  display: block;
}
.user-summary .col strong {
  color: var(--text-800);
  font-weight: 600;
  font-size: 13px;
  display: block;
}

.offer-headline {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--text-900);
  line-height: 1.25;
}
.offer-subhead {
  text-align: center;
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.4;
}

.offer-timer-big {
  background: var(--bg);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.offer-timer-big .label {
  font-size: 12px;
  color: var(--text-800);
}
.offer-timer-big .clock {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.plan {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px 16px 50px;
  position: relative;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.plan.selected {
  border-color: var(--gold-200);
  background: var(--cream);
}
.plan::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--text-500);
  background: var(--bg);
  transition: all .2s;
}
.plan.selected::before {
  background: var(--gold-200);
  border-color: var(--gold-200);
}
.plan.selected::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 10px; height: 6px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
}
.plan .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-900);
}
.plan .pricing {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 2px;
}
.plan .pricing .was {
  text-decoration: line-through;
  color: var(--text-500);
  font-size: 12px;
}
.plan .pricing .now {
  font-weight: 700;
  color: var(--red);
  font-size: 16px;
}
.plan .save {
  display: inline-block;
  background: var(--red);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}
.plan .perday {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  background: var(--cream);
  padding: 6px 10px;
  border-radius: 8px;
  min-width: 60px;
}
.plan .perday .big {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-200);
  line-height: 1;
}
.plan .perday .small {
  font-size: 9px;
  color: var(--text-500);
  display: block;
  margin-top: 2px;
}
.plan .badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-200);
  color: var(--bg);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.offer-cta { margin-top: 4px; }
.trust {
  text-align: center;
  color: var(--text-500);
}
.highlights-title {
  text-align: center;
  font-size: 16px;
  margin: 12px 0 4px;
  color: var(--text-900);
  font-weight: 600;
}
.highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.highlight {
  background: var(--bg);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.highlight .week {
  background: var(--gold-200);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.highlight .ht-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-800);
}

.payment-brands {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  opacity: .75;
  width: 100%;
}
.payment-brands img { width: 40px; }

/* =========================
   FOOTER
========================= */
.footer {
  width: 100%;
  max-width: var(--container-w);
  text-align: center;
  font-size: 10px;
  color: var(--text-500);
  padding: 20px 16px 10px;
  margin: 0 auto;
  line-height: 1.5;
  background: var(--bg);
}

/* Responsive — at ≤375px the container goes full-width */
@media (max-width: 374px) {
  :root {
    --container-w: 100vw;
    --content-w: calc(100vw - 32px);
  }
}

/* =========================
   ANALYZING (v3) — one popup per phase
   - Two-line header, subtitle
   - Phase stack: each row has label + %/check + progress bar
   - Blocking popup per phase (cannot skip)
   - Review carousel with peeking side cards
========================= */
.analyzing-head-main {
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-200);
  text-align: center;
  line-height: 36px;
}
.analyzing-head-sub {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-800);
  text-align: center;
  line-height: 28px;
}
.analyzing-sub {
  font-size: 14px;
  color: var(--text-800);
  text-align: center;
  margin-top: 2px;
}
.analyzing-phases {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.analyzing-phase {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.analyzing-phase .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.analyzing-phase .label {
  font-size: 16px;
  color: var(--text-800);
  font-weight: 400;
}
.analyzing-phase.done .label { color: var(--text-800); }
.analyzing-phase .pct {
  font-size: 14px;
  color: var(--text-500);
  font-weight: 500;
}
.analyzing-phase .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-200);
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}
.analyzing-phase .check::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px);
}
.analyzing-phase.done .check { display: flex; }
.analyzing-phase.done .pct { display: none; }
.analyzing-phase .bar-track {
  width: 100%;
  height: 4px;
  background: rgba(52,52,52,.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.analyzing-phase .bar-fill {
  height: 100%;
  background: var(--gold-200);
  width: 0%;
  border-radius: 999px;
  transition: width .3s linear;
}
.analyzing-phase.done .bar-fill { width: 100% !important; }

/* Phase reveal animation */
.analyzing-phase {
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s ease, transform .4s ease, max-height .5s ease;
}
.analyzing-phase.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
}

/* Horizontal sliding review carousel — slides one card at a time.
   Width is computed in JS to ensure each slide is exactly the slider's width. */
.review-slider {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}
.review-slider-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22,.9,.3,1.1);
  /* width set by JS — grows with N slides */
}
.review-slide {
  flex: 0 0 auto;   /* no grow, no shrink, fixed basis (set by JS) */
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  /* width set by JS */
}
.review-slide .row { margin-bottom: 8px; }
.review-slide .stars { margin: 6px 0; }
.review-slide p {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Popup (analyzing) — blocking, can't be closed by overlay */
.popup-overlay.blocking {
  background: rgba(0,0,0,.65);
}
.popup-overlay.blocking .popup {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}

/* =========================
   PROFILE SCREEN 26 — gradient slider + highlight card + stats
========================= */
.profile-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
}
.profile-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.profile-card .card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.profile-card .card-badge {
  background: var(--border-soft);
  color: var(--text-500);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
}
.gradient-slider {
  position: relative;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #F87171 0%, #FBBF24 50%, #34D399 100%);
  border-radius: 999px;
  margin: 28px 0 8px;
}
.gradient-slider .thumb {
  position: absolute;
  top: 50%;
  left: 0;              /* starts at low */
  width: 22px;
  height: 22px;
  background: var(--bg);
  border: 2px solid #5F616B;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  /* Animated rise from Low (0%) to final position — 'gamified' feel */
  animation: slider-rise 1.6s cubic-bezier(.18,.89,.32,1.05) .25s both;
}
.gradient-slider .tooltip {
  position: absolute;
  top: -34px;
  left: 0;              /* starts at low with thumb */
  background: var(--text-800);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  animation: slider-rise-tooltip 1.6s cubic-bezier(.18,.89,.32,1.05) .25s both;
}
.gradient-slider .tooltip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--text-800);
}
@keyframes slider-rise {
  from { left: 0%; }
  to   { left: var(--target, 55%); }
}
@keyframes slider-rise-tooltip {
  0%   { left: 0%; opacity: 0; }
  25%  { opacity: 1; }
  100% { left: var(--target, 55%); opacity: 1; }
}
/* Pulse at end of rise for emphasis */
.gradient-slider .thumb::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold-200);
  opacity: 0;
  animation: slider-pulse 1s ease-out 1.9s 2 both;
}
@keyframes slider-pulse {
  0%   { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5F616B;
  margin-top: 6px;
}
.highlight-card {
  background: #FFF8EC;
  border: 1px solid #F4E4C8;
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
}
.highlight-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-800);
  margin-bottom: 6px;
  line-height: 1.35;
}
.highlight-card p {
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.45;
}
.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  position: relative;
  min-height: 180px;
}
.profile-stats .stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  position: relative;
  max-width: 60%;
}
.profile-stats .stat-row img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.profile-stats .stat-row .lbl { font-size: 10px; color: var(--black); display: block; }
.profile-stats .stat-row .val { font-size: 14px; font-weight: 600; color: var(--black); display: block; }
.profile-stats .bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-height: 180px;
  object-fit: contain;
  object-position: right bottom;
}

/* =========================
   PLAN CHART 30 — 4 monthly bars, progressive colors, ghost bars, gold target pill
========================= */
.plan-big-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900);
  text-align: center;
  line-height: 30px;
  margin: 0;
  max-width: 300px;
  margin: 0 auto;
}
.plan-subtitle {
  font-size: 14px;
  color: var(--text-500);
  text-align: center;
  line-height: 20px;
  max-width: 320px;
  margin: 0 auto;
}
/* Outline pill (not filled gold) — matches original */
.target-pill {
  display: inline-block;
  background: var(--bg);
  color: var(--text-800);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  align-self: center;
  border: 1px solid var(--border);
  margin-top: 2px;
}
.plan-chart-v2 {
  position: relative;
  width: 100%;
  height: 220px;
  padding: 20px 10px 30px 36px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.plan-chart-v2 .y-axis {
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-500);
}
.plan-chart-v2 .grid-line {
  position: absolute;
  left: 30px;
  right: 10px;
  height: 1px;
  background: var(--border-soft);
}
.plan-chart-v2 .grid-line.top { top: 20px; }
.plan-chart-v2 .grid-line.mid { top: 50%; }
.plan-chart-v2 .grid-line.bot { bottom: 30px; }
.plan-chart-v2 .bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: calc(100% - 44px);
  margin-top: 6px;
  gap: 14px;
  z-index: 2;
}
.plan-chart-v2 .bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
/* Ghost (100%) bar */
.plan-chart-v2 .bar-col::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 28px;
  height: 100%;
  background: var(--border-soft);
  border-radius: 6px 6px 0 0;
  z-index: 0;
}
/* Real (animated) bar */
.plan-chart-v2 .bar {
  position: relative;
  width: 28px;
  border-radius: 6px 6px 0 0;
  z-index: 1;
  animation: bar-grow-v2 1s cubic-bezier(.18,.89,.32,1.05) both;
  transform-origin: bottom;
  height: 0;
}
@keyframes bar-grow-v2 {
  from { height: 0; }
  to   { height: var(--h, 50%); }
}
.plan-chart-v2 .bar.c-red   { background: linear-gradient(180deg, #F87171, #DC2626); }
.plan-chart-v2 .bar.c-amber { background: linear-gradient(180deg, #FBBF24, #F59E0B); }
.plan-chart-v2 .bar.c-lime  { background: linear-gradient(180deg, #BEF264, #84CC16); }
.plan-chart-v2 .bar.c-green { background: linear-gradient(180deg, #86EFAC, #22C55E); }

.plan-chart-v2 .tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-800);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: tip-fade-in .4s ease 1s both;
  z-index: 3;
}
.plan-chart-v2 .tip::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--text-800);
}
/* "Now" tooltip on first bar — position RIGHT-SIDE of short bar (looks like a label pointing at it) */
.plan-chart-v2 .bar-col:first-child .tip {
  left: auto;
  right: -70%;
  transform: none;
  bottom: 30%;
}
.plan-chart-v2 .bar-col:first-child .tip::after {
  left: -3px;
  bottom: 50%;
  transform: translateY(50%) rotate(45deg);
}
@keyframes tip-fade-in { to { opacity: 1; } }

.plan-chart-v2 .x-labels {
  position: absolute;
  bottom: 8px;
  left: 36px;
  right: 10px;
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  color: var(--text-800);
  z-index: 2;
}

/* =========================
   PRE-OFFER — curved gradient chart (pixel-matched to original)
========================= */
.preoffer-card {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 18px 10px;
  position: relative;
}
.preoffer-card .card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 14px;
}
.preoffer-chart {
  position: relative;
  width: 100%;
  height: 170px;
}
.preoffer-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* Tooltips (label-now, label-after) — pointing to dot positions */
.preoffer-chart .label-now,
.preoffer-chart .label-after {
  position: absolute;
  background: var(--text-800);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.preoffer-chart .label-now::after,
.preoffer-chart .label-after::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--text-800);
  transform: rotate(45deg);
}
/* Now tooltip — above-left of red dot, pointer going DOWN */
.preoffer-chart .label-now {
  left: 6%;
  top: 58%;
  font-size: 11px;
  padding: 3px 8px;
}
.preoffer-chart .label-now::after {
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}
/* After 4 Weeks tooltip — sits to the LEFT of the green dot, pointer down-right */
.preoffer-chart .label-after {
  right: 12%;
  top: 2%;
  font-size: 11px;
  padding: 3px 8px;
  max-width: 100px;
}
.preoffer-chart .label-after::after {
  bottom: -3px;
  right: 10px;
  transform: rotate(45deg);
}
/* Dots */
.preoffer-chart .dot-now,
.preoffer-chart .dot-after {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--bg);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.preoffer-chart .dot-now {
  left: 13%;
  top: 83%;
  border-color: #F87171;
}
.preoffer-chart .dot-after {
  left: 93%;
  top: 12%;
  border-color: #22C55E;
}
.preoffer-weeks {
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  color: var(--text-500);
  margin-top: 6px;
  padding: 0 2%;
}
.preoffer-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-900);
  text-align: center;
  line-height: 1.3;
  margin-top: 8px;
}
.preoffer-headline .hl { color: var(--gold-200); }

/* =========================
   OFFER — checkout page with decorative frame
========================= */
.screen-offer-v2 {
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.offer-frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  border: 12px solid transparent;
  border-image: linear-gradient(180deg, #FFE5D9 0%, #FDD0B5 50%, #FFE5D9 100%) 1;
  box-shadow: inset 0 0 60px rgba(255, 200, 150, 0.25);
  z-index: 0;
}
.offer-sticky-top {
  position: sticky;
  top: 0;
  background: #F8F4EE;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  width: calc(100% + 32px);
  margin: 0 -16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  z-index: 20;
}
.offer-sticky-top .info { flex: 1; }
.offer-sticky-top .info .small-label {
  font-size: 12px;
  color: var(--text-800);
  font-weight: 600;
}
.offer-sticky-top .info .timer-big {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
  margin-top: 2px;
}
.offer-sticky-top .mini-cta {
  height: 44px;
  padding: 0 18px;
  background: var(--gold-200);
  color: var(--bg);
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.offer-hero {
  width: 100%;
  aspect-ratio: 16/11;
  background: var(--border-soft) center/cover no-repeat;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.offer-hero .badge-now,
.offer-hero .badge-goal {
  position: absolute;
  top: 12px;
  background: rgba(252, 247, 239, .92);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-800);
}
.offer-hero .badge-now { left: 12px; }
.offer-hero .badge-goal { right: 12px; }
.offer-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.offer-summary-row .item {
  background: var(--cream);
  border: 1px solid var(--gold-300);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.offer-summary-row .item .ico {
  width: 24px; height: 24px;
  color: var(--gold-200);
  flex-shrink: 0;
}
.offer-summary-row .item .col span { font-size: 10px; color: var(--text-500); display: block; }
.offer-summary-row .item .col strong { font-size: 13px; color: var(--text-900); font-weight: 600; display: block; }

.offer-headline-v2 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--text-900);
  line-height: 1.25;
}
.offer-subhead-v2 {
  text-align: center;
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.45;
}

/* Plan card with price tag shape on right */
.plan-v2 {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 12px 14px 44px;
  position: relative;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 84px;
}
.plan-v2.selected {
  border-color: var(--gold-200);
  background: var(--bg);
}
.plan-v2.selected .radio {
  background: var(--gold-200);
  border-color: var(--gold-200);
}
.plan-v2.selected .radio::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg);
}
.plan-v2 .radio {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border: 2px solid var(--text-500);
  border-radius: 50%;
  background: var(--bg);
  transition: all .2s;
}
.plan-v2.selected .badge-top {
  display: block;
}
.plan-v2 .badge-top {
  display: none;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: var(--gold-200);
  color: var(--bg);
  padding: 5px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 10px 10px 0 0;
}
.plan-v2.selected {
  padding-top: 36px;
  min-height: 104px;
}
.plan-v2 .info .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-500);
  letter-spacing: .02em;
}
.plan-v2.selected .info .name {
  color: var(--text-900);
}
.plan-v2 .info .prices {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 2px;
}
.plan-v2 .info .prices .was {
  text-decoration: line-through;
  color: var(--text-500);
  font-size: 12px;
}
.plan-v2 .info .prices .now {
  font-size: 13px;
  color: var(--text-500);
  font-weight: 600;
}
.plan-v2 .info .save {
  display: inline-block;
  background: #E5E7EB;
  color: var(--text-500);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}
.plan-v2.selected .info .save {
  background: var(--gold-200);
  color: var(--bg);
}
/* Price tag (right side) */
.plan-v2 .tag {
  position: relative;
  background: var(--border-soft);
  padding: 10px 14px 10px 22px;
  border-radius: 0 10px 10px 0;
  text-align: center;
  min-width: 86px;
}
.plan-v2 .tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.plan-v2.selected .tag {
  background: var(--cream);
  border: 1px solid var(--gold-300);
  border-left: none;
}
.plan-v2 .tag .us {
  font-size: 10px;
  color: var(--text-500);
  font-weight: 600;
}
.plan-v2 .tag .amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1;
  display: block;
  margin: 2px 0;
}
.plan-v2.selected .tag .amount { color: var(--gold-200); }
.plan-v2 .tag .per {
  font-size: 10px;
  color: var(--text-500);
}
.plan-v2 .tag .cents {
  font-size: 14px;
  font-weight: 700;
  vertical-align: super;
}

.offer-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.offer-feature {
  background: #FDF4EA;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.offer-feature .ico {
  width: 28px; height: 28px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-200);
  font-size: 16px;
}
.offer-feature .txt strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-900);
  display: block;
}
.offer-feature .txt span {
  font-size: 12px;
  color: var(--text-500);
}

.as-featured {
  text-align: center;
  margin-top: 18px;
}
.as-featured h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-800);
  margin-bottom: 14px;
}
.as-featured .logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  color: #9CA3AF;
  font-family: serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
}

/* ====== Highlights of your plan (SEMANA 1-4 pentagonal) ====== */
.hl-section {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}
.hl-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 12px;
}
.hl-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.hl-week {
  position: relative;
  background: var(--cream);
  padding: 12px 4px 12px 12px;
  font-size: 9px;
  text-align: left;
  color: var(--text-800);
  min-height: 92px;
}
.hl-week:nth-child(1) { clip-path: polygon(0 0, 100% 0, 100% 50%, 90% 100%, 0 100%); }
.hl-week:nth-child(2) { clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%); margin-left: -8px; }
.hl-week:nth-child(3) { clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%); margin-left: -8px; }
.hl-week:nth-child(4) { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 50%); margin-left: -8px; }
.hl-week .wk {
  font-weight: 700;
  font-size: 10px;
  display: block;
  color: var(--gold-600);
}
.hl-week .tt {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-900);
  margin-top: 2px;
}

/* ====== FAQ ====== */
.faq-section {
  width: 100%;
  margin-top: 20px;
}
.faq-section h3 {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--text-900);
  margin-bottom: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.4;
}
.faq-item .chev {
  color: var(--gold-200);
  font-size: 18px;
  flex-shrink: 0;
  margin-left: 10px;
}

/* ====== Trustpilot card ====== */
.tp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-top: 18px;
}
.tp-card .logo {
  color: #00B67A;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.tp-card .score {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1;
}
.tp-card .label {
  font-size: 12px;
  color: var(--text-500);
  margin-bottom: 6px;
}
.tp-card .stars-big {
  color: #00B67A;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 6px 0;
}
.tp-card .count {
  font-size: 11px;
  color: var(--text-500);
}

/* ====== Reviews list ====== */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.reviews-list .review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

/* ====== Money-back guarantee ====== */
.guarantee {
  background: var(--cream);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.guarantee .seal {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--gold-200);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.guarantee .txt strong {
  display: block;
  font-size: 13px;
  color: var(--text-900);
  margin-bottom: 4px;
}
.guarantee .txt p {
  font-size: 11px;
  color: var(--text-500);
  line-height: 1.4;
}

/* Payment brands with small icons row (top trust) */
.offer-trust-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
  opacity: .8;
}
.offer-trust-row img { height: 20px; }

/* Separate timer box (80% discount expires in ...) */
.offer-timer-box {
  background: var(--cream);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
}
.offer-timer-box .lbl { color: var(--text-800); font-weight: 600; }
.offer-timer-box .clk {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

/* Side image — decorative woman image, fixed to the viewport at the right edge
   of the 375px centered container. Responsive scaling for mobile. */
.app { position: relative; }
.side-image {
  position: fixed;
  bottom: 0;
  /* Right edge of image sticks to right edge of 375px container (centered) */
  right: max(0px, calc(50% - 187px));
  width: 175px;
  height: auto;
  max-height: 440px;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  object-position: right bottom;
}

/* Mobile: smaller image, positioned at viewport right edge (no centering math) */
@media (max-width: 480px) {
  .side-image {
    width: 38vw;
    max-width: 150px;
    max-height: 55vh;
    right: 0;
  }
}
@media (max-width: 360px) {
  .side-image {
    width: 36vw;
    max-width: 125px;
  }
}

/* When the body has the 'has-side-image' class, compress the option stack to the left */
body.has-side-image .screen .stack {
  max-width: calc(100% - 150px);
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
body.has-side-image .screen .title,
body.has-side-image .screen .category,
body.has-side-image .screen .subtitle {
  align-self: flex-start;
  text-align: left;
  max-width: calc(100% - 110px);
  position: relative;
  z-index: 2;
}
@media (max-width: 480px) {
  body.has-side-image .screen .stack {
    max-width: calc(100% - 38vw - 10px);
  }
  body.has-side-image .screen .title,
  body.has-side-image .screen .category,
  body.has-side-image .screen .subtitle {
    max-width: calc(100% - 38vw);
  }
}

/* Utility */
[hidden] { display: none !important; }
.small { font-size: 11px; }

/* =========================
   INTRO SCREENS (2 new pages at start of funnel)
========================= */

/* Fake progress bar — thin line with dots, looks "almost done" */
.fake-progress {
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  margin: 0 auto;
}
.fake-progress .track {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
}
.fake-progress .track .fill {
  height: 100%;
  background: var(--gold-200);
  border-radius: 999px;
  width: 0%;
  transition: width .8s ease;
}
.fake-progress .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .3s;
  position: relative;
  z-index: 1;
  margin: 0 -1px;
}
.fake-progress .dot.done {
  background: var(--gold-200);
  box-shadow: 0 0 0 3px rgba(155,124,80,.15);
}
.fake-progress .dot.current {
  background: var(--gold-200);
  box-shadow: 0 0 0 4px rgba(155,124,80,.2);
  width: 14px;
  height: 14px;
}

/* Intro goal grid — 2x2 image cards */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}
.intro-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  position: relative;
}
.intro-card:hover {
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(155,124,80,.12);
}
.intro-card:active { transform: translateY(0); }
.intro-card.selected {
  border-color: var(--gold-200);
  box-shadow: 0 0 0 3px rgba(155,124,80,.15);
}
.intro-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.intro-card .card-label {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-900);
  line-height: 1.3;
}
.intro-card .card-badge {
  position: absolute;
  bottom: 50px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(155,124,80,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--bg);
}
.intro-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 28px;
  text-align: left;
  margin-top: 4px;
}
