:root {
  --bg: #ebe4d8;
  --paper: #fbf7f1;
  --ink: #1c1915;
  --muted: #6f675e;
  --line: #e3d8c8;
  --forest: #1b3a32;
  --forest-2: #274e43;
  --cream: #f4efe4;
  --gold: #ef6c22;
  --gold-soft: #f4e7d0;
  --terra: #8f3d28;
  --shadow: 0 24px 60px rgba(48, 32, 16, 0.1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(640px 420px at 8% -8%, rgba(196, 71, 50, 0.38), transparent 58%),
    radial-gradient(560px 460px at 110% 8%, rgba(36, 82, 70, 0.7), transparent 56%),
    radial-gradient(720px 520px at 50% 110%, rgba(166, 112, 42, 0.28), transparent 52%),
    #14110e;
}

button, input { font: inherit; }

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

#app { min-height: 100vh; }

.shell {
  width: min(460px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.shell.result {
  width: min(640px, calc(100% - 28px));
  padding-top: 86px;
}

.shell.enter-forward { animation: enterFwd 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.shell.enter-back { animation: enterBack 0.46s cubic-bezier(0.16, 1, 0.3, 1); }
.shell.leave-forward { animation: leaveFwd 0.23s ease forwards; }
.shell.leave-back { animation: leaveBack 0.23s ease forwards; }

@keyframes enterFwd {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
@keyframes enterBack {
  from { opacity: 0; transform: translateY(-28px); }
  to { opacity: 1; transform: none; }
}
@keyframes leaveFwd {
  to { opacity: 0; transform: translateY(-22px); }
}
@keyframes leaveBack {
  to { opacity: 0; transform: translateY(22px); }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #efe4d4;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  position: relative;
  background:
    linear-gradient(#f7f1e7, #f7f1e7) padding-box,
    linear-gradient(120deg, #e7c98a, #c44732 40%, #1b3a32) border-box;
  border: 1.5px solid transparent;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 28px 22px 22px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #c44732, #e7c98a 55%, #1b3a32);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(32px, 5vw, 44px); }

h2:focus { outline: none; }

h2 { font-size: clamp(28px, 4vw, 36px); }

.lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.progress {
  height: 6px;
  background: #efe6d8;
  border-radius: 99px;
  margin: 8px 0 18px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c44732, #e7c98a);
  border-radius: inherit;
  transition: width 0.45s ease;
}

.step-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.prompt {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fffdf9;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  animation: optionIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.option:nth-child(2) { animation-delay: 0.05s; }
.option:nth-child(3) { animation-delay: 0.1s; }
.option:nth-child(4) { animation-delay: 0.15s; }
.option:nth-child(5) { animation-delay: 0.2s; }

.option:hover { border-color: #c44732; transform: translateY(-1px); }

.option[aria-checked="true"],
.option.picked {
  border-color: transparent;
  background: linear-gradient(100deg, #1b3a32, #2f5c4d);
  color: #f6f1e7;
}

.option.picked { animation: pick 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
.option.pop { animation: pop 0.32s ease; }

@keyframes optionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes pick {
  0% { transform: scale(1); }
  45% { transform: scale(1.035); }
  100% { transform: scale(1); }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #c8bbaa;
  display: grid;
  place-items: center;
}

.option.multi .mark { border-radius: 7px; }

.option[aria-checked="true"] .mark,
.option.picked .mark {
  border-color: #e7c98a;
  background: #e7c98a;
  animation: markIn 0.28s ease;
}

.option[aria-checked="true"] .mark::after,
.option.picked .mark::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #1b3a32;
  border-bottom: 2px solid #1b3a32;
  transform: translateY(-1px) rotate(-45deg);
}

@keyframes markIn {
  from { transform: scale(0.4); }
  to { transform: scale(1); }
}

.option span.copy {
  font-size: 16px;
  line-height: 1.4;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.btn.primary {
  flex: 1;
  background: var(--forest);
  color: #f6f1e7;
}

.btn.primary:hover { background: var(--forest-2); }

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

.btn.ghost {
  color: var(--muted);
  padding-inline: 8px;
}

.btn.full { width: 100%; margin-top: 22px; }

.story p {
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.55;
}

.effects {
  display: grid;
  gap: 10px;
  margin: 8px 0 22px;
}

.effect {
  padding: 14px 14px 13px;
  border-radius: 16px;
  background: #f3eee6;
}

.effect strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.effect p {
  margin: 0;
  line-height: 1.45;
}

.verdict {
  margin: 0 0 22px;
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--gold-soft);
  color: #3e2c12;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

.why {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.offer {
  overflow: hidden;
  border-radius: 28px;
  background: #16352d;
  color: #f7f2e8;
}

.offer-stage {
  padding: 28px 16px 18px;
  background:
    radial-gradient(280px 160px at 50% 20%, rgba(255, 236, 206, 0.22), transparent 70%),
    linear-gradient(180deg, #245246 0%, #16352d 100%);
}

.bottle-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  min-height: 210px;
}

.bottle-photo {
  width: 34%;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 16px 12px rgba(0, 0, 0, 0.35));
}

.bottle-photo:nth-child(1) { transform: rotate(-8deg) translateY(12px); }
.bottle-photo:nth-child(2) { width: 38%; max-width: 168px; z-index: 1; }
.bottle-photo:nth-child(3) { transform: rotate(8deg) translateY(12px); }

.product-photo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
}

.offer-banner {
  margin: 0;
  padding: 11px 14px;
  background: #ef6c22;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-body { padding: 18px 16px 16px; }

.offer-kicker {
  margin: 0;
  color: #e7c98a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-body h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.offer-line {
  margin: 4px 0 12px;
  color: #f0e2c4;
  font-size: 14px;
}

.offer-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.offer-points li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  line-height: 1.35;
}

.price-box {
  margin-top: 16px;
  padding: 16px 12px 14px;
  border-radius: 18px;
  background: #102820;
  text-align: center;
}

.from {
  margin: 0;
  color: #cbbfae;
  font-size: 18px;
}

.from s { color: #f4efe6; }

.of {
  margin: 2px 0 0;
  font-size: 20px;
}

.big {
  margin: 2px 0 0;
  font-size: clamp(52px, 14vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.avista {
  margin: 8px 0 0;
  color: #d9d0c3;
  font-size: 16px;
}

.offer .btn.primary {
  margin-top: 14px;
  background: #3ead4e;
  color: #fff;
}

.offer .btn.primary:hover { background: #349443; }

.others-title {
  margin: 28px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.others-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-mini {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 12px 12px 11px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffdf9;
  text-align: left;
}

.plan-mini.is-selected {
  border-color: var(--forest);
  background: #eef5f1;
}

.mini-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.mini-of {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink);
}

.mini-big {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mini-cash {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.choice {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #eef5f1;
  color: var(--forest);
  font-size: 14.5px;
  line-height: 1.45;
}

.footer-note {
  margin: 22px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.analysis {
  min-height: 280px;
}

.checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  opacity: 0.35;
}

.checks li.on {
  opacity: 1;
  color: var(--ink);
  animation: rise 0.4s ease;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c8bbaa;
  background: transparent;
  display: grid;
  place-items: center;
}

.checks li.on .dot {
  border-color: var(--forest);
  background: var(--forest);
}

.checks li:not(.on) .dot::after { content: none; }

.dot::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3eee6;
  color: #4d463e;
  font-size: 13px;
}

.linkish {
  margin-top: 0;
  color: #efe4d4;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buybar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(20, 17, 14, 0.92);
  border-bottom: 1px solid rgba(231, 201, 138, 0.28);
  backdrop-filter: blur(12px);
  color: #f6f1e7;
}

.buybar strong { display: block; font-size: 14px; }
.buybar span { display: block; color: #e7c98a; font-size: 12px; }

.buybar-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #3ead4e;
  color: #fff;
  font-weight: 700;
}

.buybar-btn:hover { background: #349443; }

.reason {
  padding: 26px 22px 18px;
  border-radius: 28px;
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(231, 201, 138, 0.18), transparent 60%),
    linear-gradient(165deg, #21483d, #14241f 70%);
  color: #f6f1e7;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.reason h2 { font-size: clamp(30px, 5vw, 42px); }

.because {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.reason .why {
  margin: 10px 0 0;
  color: #f0e2c4;
  font-size: 16px;
}

.reason .verdict {
  margin: 16px 0 0;
  background: rgba(231, 201, 138, 0.14);
  color: #f8f1e4;
  font-size: 20px;
}

.reason .chip {
  background: rgba(255, 255, 255, 0.1);
  color: #f6f1e7;
}

.scroll-cue,
.float-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #e7c98a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.scroll-cue {
  width: 100%;
  margin-top: 18px;
  padding: 8px 0 2px;
}

.chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.1s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

.float-hint {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  transform: translateX(-50%);
  min-width: 132px;
  padding: 10px 16px 12px;
  border-radius: 999px;
  background: #f4efe4;
  color: #1b3a32;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.float-hint[hidden] { display: none; }

.shell.result .others-title,
.shell.result .others-note,
.shell.result .footer-note { color: #e6d9c8; }

.analysis { text-align: center; }
.analysis .checks { text-align: left; }

.ring {
  width: 74px;
  height: 74px;
  margin: 8px auto 16px;
  border-radius: 50%;
  border: 3px solid #efe6d8;
  border-top-color: #c44732;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-track {
  height: 6px;
  margin: 18px 0 8px;
  border-radius: 99px;
  background: #efe6d8;
  overflow: hidden;
}

.loader-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #c44732, #e7c98a);
  animation: load 2.1s linear forwards;
}

@keyframes load { to { width: 100%; } }

#phrase {
  min-height: 2.4em;
  opacity: 0;
  transform: translateY(8px);
}

#phrase.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.checks li.on { opacity: 1; }

.offer { scroll-margin-top: 78px; }

.wa-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
}

.wa-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 168px;
  min-height: 28px;
  padding: 7px 10px;
  border-radius: 12px 12px 4px 12px;
  background: #fff;
  color: #16352d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform-origin: right bottom;
  opacity: 0;
  transform: scale(0.62) translateY(8px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.wa-bubble.is-on {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.wa-bubble.is-out {
  opacity: 0;
  transform: scale(0.55) translateY(10px);
}

.wa-dots { display: none; gap: 4px; align-items: center; height: 12px; }

.wa-bubble.is-typing .wa-text { display: none; }
.wa-bubble.is-typing .wa-dots { display: flex; }

.wa-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16352d;
  animation: wa-dot 0.9s ease-in-out infinite;
}

.wa-dots i:nth-child(2) { animation-delay: 0.15s; }
.wa-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes wa-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

.wa-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(20, 90, 40, 0.35);
}

.wa-widget:hover .wa-fab { background: #1ebe5d; }

@media (max-width: 520px) {
  .float-hint {
    left: 16px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-dots i { animation: none; opacity: 1; transform: none; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .checks li,
  .option,
  .shell.enter-forward,
  .shell.enter-back,
  .shell.leave-forward,
  .shell.leave-back,
  .ring,
  .chevron,
  .loader-track span { animation: none; }
  .checks li { opacity: 1; }
  .loader-track span { width: 100%; }
  #phrase { opacity: 1; transform: none; }
  .progress span { transition: none; }
}
