:root {
  --bg: #f4efe6;
  --ink: #1d1915;
  --muted: #6f675e;
  --sage: #2f6a45;
  --sage-deep: #234f34;
  --card: #fffdf9;
  --line: #e4dccf;
  --gold: #c6a15a;
  --font: Rubik, system-ui, sans-serif;
  --display: Rubik, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, a { font-family: inherit; }
#app { min-height: 100dvh; }
.shell { min-height: 100dvh; display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 12px 18px 8px; }
.top-row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.brand { text-align: center; font-family: var(--display); font-size: 18px; font-weight: 600; }
.brand em { font-style: italic; color: var(--sage); }
.back, .back-spacer { width: 40px; height: 40px; }
.back {
  border: 0; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; border-radius: 999px;
}
.bar { height: 4px; background: #e7e0d4; border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sage); border-radius: inherit; }
main { flex: 1; padding: 18px 18px 120px; }
h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage);
}
.hint, .lead, .foot, .fine { color: var(--muted); }
.lead { font-size: 17px; margin-bottom: 8px; }
.hint { margin-bottom: 14px; }
.foot, .fine { margin-top: 14px; font-size: 13px; }
.stack { display: grid; gap: 10px; margin-top: 8px; }
.group-title { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.opt {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 12px 14px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.opt.on { border-color: var(--sage); background: #eef6f0; }
.emo {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  background: #f3eee6; border-radius: 12px; font-size: 20px;
}
.opt.on .emo { background: #fff; }
.plate, .portrait { width: 100%; height: auto; border-radius: 22px; object-fit: cover; margin-bottom: 8px; }
.plate { aspect-ratio: 1; }
.shell main .plate { max-height: min(240px, 38vh); }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.dock {
  position: sticky; bottom: 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.cta {
  display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: var(--sage); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; cursor: pointer;
}
.cta:disabled { opacity: .4; cursor: not-allowed; }
.cta:active { transform: scale(.985); }
.cta.ghost {
  background: transparent; color: var(--sage-deep); border: 1.5px solid var(--line);
  margin-top: 14px; min-height: 48px; font-size: 15px;
}
.meter { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 18px; margin-top: 12px; }
.meter-val { font-family: var(--display); font-size: 56px; line-height: 1; text-align: center; }
.meter-val small { font-family: var(--font); font-size: 18px; color: var(--muted); }
.meter input { width: 100%; margin-top: 18px; accent-color: var(--sage); }
.meter-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.loads { display: grid; gap: 14px; margin-top: 18px; }
.load-row span { display: block; font-weight: 600; margin-bottom: 6px; }
.load-row b { display: block; height: 8px; background: #e7e0d4; border-radius: 999px; overflow: hidden; }
.load-row i {
  display: block; height: 100%; width: 100%; background: var(--sage);
  transform: scaleX(0); transform-origin: left center; transition: transform .6s ease;
}
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cards article { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; }
.cards small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.cards strong { display: block; margin-top: 6px; font-size: 16px; }
.chart {
  margin-top: 16px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px;
}
.chart small { color: var(--muted); }
.chart strong { display: block; font-family: var(--display); font-size: 32px; }
.arrow { color: var(--sage); font-size: 22px; }
.field {
  width: 100%; margin-top: 8px; border: 1.5px solid var(--line); background: var(--card);
  border-radius: 16px; padding: 16px; font-size: 17px; color: var(--ink);
}
.field:focus { outline: 2px solid var(--sage); border-color: transparent; }
.scratch { position: relative; height: 190px; border-radius: 22px; overflow: hidden; margin-top: 12px; }
.prize {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 22px;
}
.prize small { letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: 12px; }
.prize strong { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--sage-deep); }
.prize s { color: var(--muted); font-size: 18px; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.vsl { max-width: 480px; margin: 0 auto; padding: 22px 18px 140px; }
.vsl .plate { max-height: 210px; aspect-ratio: auto; }
.vsl-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 72%, transparent);
}
.vsl-dock .cta { max-width: 444px; margin: 0 auto; }
.vsl .brand { margin-bottom: 14px; }
.who { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.who b { display: block; }
.who span { color: var(--muted); font-size: 13px; }
.beats { display: grid; gap: 10px; margin: 8px 0 16px; }
.beats article { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.beats small { color: var(--sage); font-weight: 700; letter-spacing: .08em; }
.beats p { margin-top: 4px; }
.micro { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.player { border-radius: 22px; overflow: hidden; margin-bottom: 14px; background: #111; aspect-ratio: 1; }
.player iframe { width: 100%; height: 100%; border: 0; }
.oferta { max-width: 480px; margin: 0 auto; padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); }
.oferta h2 { font-size: 1.25rem; font-weight: 600; margin: 28px 0 12px; }
.oferta section { margin-top: 8px; }
.timer {
  text-align: center; font-size: 13px; font-weight: 600; color: var(--sage);
  background: #eef6f0; border-radius: 999px; padding: 8px 12px; margin: 10px 0 16px;
}
.plan {
  position: relative; background: var(--card); border: 1.5px solid var(--sage);
  border-radius: 22px; padding: 18px 16px 16px; margin: 8px 0 12px;
}
.badge {
  position: absolute; top: -10px; right: 14px; background: var(--sage); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px;
}
.plan-name { font-weight: 600; }
.plan-price { margin-top: 8px; }
.plan-price s { color: var(--muted); margin-right: 8px; }
.plan-price strong { font-size: 32px; font-weight: 700; color: var(--sage-deep); }
.plan-micro { color: var(--muted); font-size: 13px; margin-top: 4px; }
.plan .pack { margin: 10px 0 0; }
.plan .cta { margin-top: 16px; }
.plan-soft { border-color: var(--line); }
.plan-soft .plan-price strong { font-size: 26px; }
.modal {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center;
  background: rgba(28, 24, 20, .46); padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(480px, 100%); background: var(--bg); border-radius: 22px;
  padding: 22px 18px 18px; box-shadow: 0 -12px 40px rgba(28, 24, 20, .18);
}
.modal-card h2 { font-size: 1.35rem; font-weight: 600; margin: 6px 0 10px; }
.modal-card .cta { margin-top: 16px; }
.modal-skip {
  display: block; text-align: center; margin-top: 14px; color: var(--muted);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
body.modal-open { overflow: hidden; }
.metrics { display: grid; gap: 14px; }
.metrics span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.metrics b { display: block; height: 8px; background: #e7e0d4; border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.metrics i { display: block; height: 100%; background: #c4b7a4; }
.metrics b.good i { background: var(--sage); }
.pack { padding-left: 1.1rem; color: var(--ink); }
.pack li { margin: 8px 0; }
.oferta details { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 8px 0; }
.oferta summary { font-weight: 600; cursor: pointer; }
.oferta details p { margin-top: 8px; color: var(--muted); }
.pad { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) {
  .load-row i { transition: none; }
}
