:root {
  --bg: #FAF6F0;
  --card: #FFFFFF;
  --ink: #2B2523;
  --ink-soft: #6E625C;
  --accent: #B06A5C;
  --accent-deep: #94544A;
  --accent-soft: #F3E2DC;
  --gold: #C9A227;
  --ok: #4C7A5C;
  --radius: 16px;
  --shadow: 0 2px 14px rgba(43, 37, 35, 0.07);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.topbar {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 14px 16px 6px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 26px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-deep);
}
.back {
  position: absolute; left: 10px; top: 8px;
  background: none; border: none; font-size: 32px; line-height: 1;
  color: var(--ink-soft); cursor: pointer; padding: 4px 12px;
}
.progress { padding: 8px 20px 0; max-width: 480px; width: 100%; margin: 0 auto; }
.progress-sections { display: flex; gap: 6px; }
.progress-seg { flex: 1; height: 4px; border-radius: 2px; background: #E7DDD5; overflow: hidden; }
.progress-seg > i { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: 2px; transition: width .3s ease; }

.screen-wrap {
  flex: 1; width: 100%; max-width: 480px; margin: 0 auto;
  padding: 22px 20px 28px; display: flex; flex-direction: column;
}
.fade-in { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.kicker {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; line-height: 1.18; font-weight: 600; margin-bottom: 10px;
}
.sub { color: var(--ink-soft); margin-bottom: 20px; font-size: 16px; }
.note { color: var(--ink-soft); font-size: 13px; margin-top: 16px; }

.options { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--card); border: 1.5px solid #EAE0D8; border-radius: var(--radius);
  padding: 15px 16px; font-size: 16.5px; font-family: inherit; color: var(--ink);
  cursor: pointer; text-align: left; box-shadow: var(--shadow);
  transition: border-color .15s, background .15s, transform .06s;
}
.opt:active { transform: scale(.985); }
.opt.selected { border-color: var(--accent); background: var(--accent-soft); }
.opt .emoji { font-size: 20px; flex: none; }
.opt .opt-label { flex: 1; }
.opt .opt-hint { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.likert { display: flex; gap: 8px; margin: 18px 0 6px; }
.likert button {
  flex: 1; aspect-ratio: 1; border-radius: 12px; border: 1.5px solid #EAE0D8;
  background: var(--card); font-size: 18px; font-family: inherit; cursor: pointer;
  box-shadow: var(--shadow);
}
.likert button.selected { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.likert-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); }
.likert-reply {
  margin-top: 18px; background: var(--accent-soft); border-radius: var(--radius);
  padding: 14px 16px; font-size: 15.5px; color: var(--accent-deep);
}

.quote {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.35;
  font-style: italic; background: var(--card); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; margin: 8px 0 6px;
  box-shadow: var(--shadow);
}

.info-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-top: 4px; }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.info-card li { padding-left: 26px; position: relative; }
.info-card li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 600; }

.cta {
  width: 100%; margin-top: 22px; padding: 16px;
  background: var(--accent); color: #fff; border: none; border-radius: 999px;
  font-size: 17px; font-weight: 600; font-family: inherit; letter-spacing: .02em;
  cursor: pointer; box-shadow: 0 6px 18px rgba(176,106,92,.35);
  transition: background .15s, transform .06s;
}
.cta:hover { background: var(--accent-deep); }
.cta:active { transform: scale(.985); }
.cta:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cta.secondary { background: none; color: var(--ink-soft); box-shadow: none; font-weight: 500; }

/* loading */
.loader-pct { font-family: 'Cormorant Garamond', serif; font-size: 56px; text-align: center; margin: 26px 0 4px; }
.loader-bar { height: 6px; border-radius: 3px; background: #E7DDD5; overflow: hidden; margin: 10px 0 14px; }
.loader-bar > i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .35s; }
.loader-msg { text-align: center; color: var(--ink-soft); min-height: 24px; }
.testimonial {
  background: var(--card); border-radius: var(--radius); padding: 16px; margin-top: 18px;
  box-shadow: var(--shadow); font-size: 15px;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; }
.testimonial .who { color: var(--ink-soft); font-size: 13.5px; margin-top: 8px; }

/* email */
input[type=email] {
  width: 100%; padding: 15px 16px; font-size: 17px; font-family: inherit;
  border: 1.5px solid #EAE0D8; border-radius: var(--radius); background: var(--card);
  margin-top: 8px; outline: none;
}
input[type=email]:focus { border-color: var(--accent); }
.err { color: #A33; font-size: 14px; margin-top: 8px; min-height: 18px; }

/* paywall */
.recap { display: flex; gap: 10px; margin: 14px 0; }
.recap div { flex: 1; background: var(--card); border-radius: 12px; padding: 10px; text-align: center; box-shadow: var(--shadow); }
.recap b { display: block; font-size: 15px; }
.recap span { font-size: 12px; color: var(--ink-soft); }
.timer-line { text-align: center; font-size: 14.5px; color: var(--ink-soft); margin: 8px 0 14px; }
.timer-line b { color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plan {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1.5px solid #EAE0D8; border-radius: var(--radius); padding: 14px 16px;
  cursor: pointer; box-shadow: var(--shadow); position: relative; text-align: left;
  font-family: inherit; width: 100%;
}
.plan.selected { border-color: var(--accent); background: var(--accent-soft); }
.plan .p-name { font-weight: 600; }
.plan .p-old { text-decoration: line-through; color: var(--ink-soft); font-size: 14px; }
.plan .p-new { font-weight: 600; font-size: 18px; }
.plan .p-day { margin-left: auto; text-align: right; font-size: 13px; color: var(--ink-soft); }
.plan .badge {
  position: absolute; top: -9px; right: 14px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 2px 10px; border-radius: 999px;
}
.guarantee { background: var(--card); border-radius: var(--radius); padding: 16px; margin-top: 18px; box-shadow: var(--shadow); font-size: 14.5px; }
.guarantee b { color: var(--ok); }
.fineprint { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }

.legal { text-align: center; padding: 14px; font-size: 12.5px; }
.legal a { color: var(--ink-soft); text-decoration: none; }
