:root {
  --red: #b3202a; --red-dark: #8c141d; --green: #1d5a3a; --gold: #d9a441;
  --bg: #fbf5ec; --card: #fffdf9; --ink: #2a1f1a; --muted: #6f625a; --line: #eadfce;
  --radius: 18px; --shadow: 0 10px 30px rgba(60, 20, 10, .10);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 46px); }
h2 { font-size: 26px; }
a { color: var(--red); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.top { background: var(--red); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
header.top a { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 20px; }
.hero { background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 28px 0 46px; position: relative; overflow: hidden; }
.hero p { font-size: 19px; opacity: .95; max-width: 34em; }
.hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 26px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.snow { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(2px 2px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 70% 20%, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 40% 70%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 85% 60%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 10% 80%, #fff 50%, transparent 51%); background-size: 260px 260px; }
.steps { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; }
.steps li::before { content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--red);
  font-weight: 700; display: grid; place-items: center; font-size: 15px; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; margin: 18px 0; }
@media (min-width: 600px) { .box { padding: 28px; } }
.note { background: #fff4d8; border: 1px solid #f0d8a0; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.muted { color: var(--muted); font-size: 15px; }
.err { color: var(--red); font-weight: 600; }

label { display: block; font-weight: 600; margin: 18px 0 6px; }
label small, .hint { font-weight: 400; color: var(--muted); font-size: 14px; display: block; }
input[type=text], input[type=number], textarea, select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 90, 58, .15); }
.invalid input, .invalid textarea, .invalid select, input.invalid { border-color: var(--red); background: #fff6f6; }
.row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 400; margin: 0; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--green); background: #f2f8f4; }
.choice input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex: 0 0 auto; }
.price { color: var(--green); font-weight: 700; white-space: nowrap; }
.seg { display: flex; gap: 8px; }
.seg .choice { flex: 1; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px;
  font: 600 18px/1 system-ui, sans-serif; cursor: pointer; text-decoration: none; background: var(--red); color: #fff; }
.btn:hover { background: var(--red-dark); }
.btn.green { background: var(--green); } .btn.green:hover { background: #154329; }
.btn.ghost { background: transparent; color: var(--red); border: 1.5px solid currentColor; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.block { width: 100%; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

footer { padding: 30px 0 50px; color: var(--muted); font-size: 14px; text-align: center; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--red); animation: sp 1s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }
video.preview { width: 100%; max-width: 360px; aspect-ratio: 2 / 3; display: block; background: #000; border-radius: 14px; margin: 8px 0; }
.copy { display: flex; gap: 8px; } .copy input { flex: 1; font-size: 15px; }
/* Several children in one order */
.kid { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.kid + .kid { border-top: 2px dashed var(--line); padding-top: 24px; margin-top: 24px; }
.kidHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.stack { display: grid; gap: 10px; margin-top: 16px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: inherit; background: #fff; }
.tabs a.on { border-color: var(--green); background: #f2f8f4; font-weight: 700; }
