:root {
  --red: #7a1420;
  --red-2: #a3202f;
  --green: #1f4d3a;
  --cream: #fbf5ea;
  --paper: #fffdf8;
  --ink: #2a1a14;
  --muted: #7b6a5f;
  --gold: #c99a3b;
  --r: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(120% 70% at 50% 0%, #2b0a10 0%, #4a0f18 45%, #1a0508 100%) fixed;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
.snow {
  position: fixed; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 120px 80px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 200px 160px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 60px 220px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 260px 260px, #fff 50%, transparent 51%);
  background-size: 300px 300px;
  animation: snow 18s linear infinite;
}
@keyframes snow { to { background-position: 0 300px, 40px 300px, -30px 300px, 20px 300px, -10px 300px; } }

.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: #fff; position: relative; }
.logo { font-family: Fraunces, serif; font-weight: 700; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.badge { font-size: 11px; letter-spacing: .1em; padding: 4px 8px; border-radius: 99px; background: #ffffff22; }

main { max-width: 480px; margin: 0 auto; padding: 0 16px 24px; position: relative; }
.screen { display: none; background: var(--paper); border-radius: 24px; padding: 22px 20px 24px; box-shadow: 0 20px 60px #0007; animation: in .35s ease; }
.screen.active { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }

h1, h2 { font-family: Fraunces, serif; line-height: 1.12; margin: 0 0 10px; color: var(--red); }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.muted { color: var(--muted); font-size: 14px; text-align: center; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; margin: -6px -4px 18px; background: linear-gradient(160deg, #6b1220, #2b0a10); }
.hero-visual img, .hero-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual video { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-visual video.on { opacity: 1; }
.hero-visual .play-hint { z-index: 2; }
.hero-visual.noimg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 70%, #ffb45a55, transparent 70%), linear-gradient(110deg, transparent 30%, #ffffff14 50%, transparent 70%); background-size: 100% 100%, 200% 100%; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 0 0, 150% 0; } to { background-position: 0 0, -50% 0; } }
.hero-visual.noimg img { display: none; }
.play-hint { position: absolute; left: 12px; bottom: 12px; background: #000a; color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 99px; }

.btn { display: block; width: 100%; text-align: center; border: 0; border-radius: 14px; padding: 16px; font: 600 17px Inter, sans-serif; cursor: pointer; text-decoration: none; background: #efe6d8; color: var(--ink); margin-top: 10px; }
.btn.primary { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 6px 18px #7a142055; }
.btn.ghost { background: transparent; color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; }
.back, .link { background: none; border: 0; color: var(--muted); font: 500 14px Inter; padding: 0 0 10px; cursor: pointer; }

.trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.trust b { display: block; color: var(--ink); font-size: 14px; }

.field { display: block; margin: 0 0 18px; }
.field > span { display: block; font-weight: 600; margin-bottom: 8px; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field small { display: block; color: var(--muted); margin-top: 6px; font-size: 12px; }
input, textarea { width: 100%; font: 16px Inter, sans-serif; padding: 14px; border: 1.5px solid #e6dccb; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--red-2); }
textarea { resize: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 8px; scrollbar-width: none; }
.chips.wrap { flex-wrap: wrap; }
.chip { flex: none; border: 1.5px solid #e6dccb; background: #fff; border-radius: 99px; padding: 9px 14px; font: 500 14px Inter; color: var(--ink); cursor: pointer; }
.chip.on { background: var(--green); color: #fff; border-color: var(--green); }

.err { color: #b3261e; background: #fdecea; padding: 10px 12px; border-radius: 10px; font-size: 14px; }

.script { margin: 0 0 18px; padding: 18px; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 12px; font-family: Fraunces, serif; font-size: 18px; line-height: 1.5; }

.pay { border: 1.5px solid #e6dccb; border-radius: var(--r); padding: 16px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pay-title { font-weight: 600; }
.pay-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.price { font: 700 26px Fraunces, serif; color: var(--red); }
.pay-demo { margin-top: 10px; font-size: 12px; color: #8a5a00; background: #fff4d6; padding: 8px 10px; border-radius: 8px; text-align: center; }
.pay-methods { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }

.gen { text-align: center; padding: 10px 0; }
.sleigh { font-size: 72px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.bar { height: 10px; border-radius: 99px; background: #efe6d8; overflow: hidden; margin: 16px 0; }
.bar i { display: block; height: 100%; width: 3%; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width .6s ease; }
.steps { text-align: left; padding-left: 0; list-style: none; margin: 0 0 14px; }
.steps li { padding: 10px 0 10px 32px; position: relative; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d9cdb8; }
.steps li.now { color: var(--ink); font-weight: 600; }
.steps li.now::before { border-color: var(--gold); border-top-color: transparent; animation: spin 1s linear infinite; }
.steps li.ok { color: var(--green); }
.steps li.ok::before { background: var(--green); border-color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

video { width: 100%; aspect-ratio: 9/16; max-height: 70dvh; background: #000; border-radius: var(--r); display: block; margin: 6px 0 4px; }
.actions { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }

.foot { max-width: 480px; margin: 0 auto; padding: 8px 20px 28px; display: flex; justify-content: space-between; color: #ffffff88; font-size: 12px; }
.foot .link { color: #ffffff66; padding: 0; font-size: 16px; }

.email-field { margin: 14px 0 4px; }
[hidden] { display: none !important; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: #fffaf3; color: #2a1a14; border-radius: 14px; padding: 12px 14px; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.35); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 520px; margin: 0 auto; }
.consent a { color: inherit; }
.consent button { border: 0; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.consent .ok { background: #7a1420; color: #fff; }
.consent .no { background: #eee2d3; color: #2a1a14; }
