:root {
  --bg: #f6f6f6; --card: #fff; --text: #111827; --muted: #4b5563; --line: #e5e7eb; --line-strong: #d1d5db;
  --brand: #b91c1c; --brand-dark: #991b1b; --brand-soft: #fef2f2; --brand-chip: #fee2e2;
  --brand-grad: linear-gradient(135deg, #dc4a4a 0%, #b91c3c 100%);
  --err: #b91c1c; --ok: #047857; --warn-bg: #fffbeb; --warn-line: #fde68a;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
header.site { max-width: 720px; margin: 16px auto 0; padding: 0 16px; }
header.site .in { background: #fff; border-radius: var(--radius); height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
header.site img { height: 48px; width: auto; display: block; }
header.site a { color: var(--brand); font-weight: 600; font-size: .9rem; text-decoration: none; background: var(--brand-chip); padding: 8px 14px; border-radius: 6px; }
.chip { display: inline-block; background: #fff; color: #374151; font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-top: 24px; }
main { max-width: 720px; margin: 0 auto; padding: 0 16px 120px; }
h1 { font-size: 2.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; margin: 10px 0 8px; }
@media (max-width: 520px) { h1 { font-size: 1.75rem; } }
h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 14px; }
.lead { color: var(--muted); margin: 0 0 20px; max-width: 34em; }
.demo { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 10px 14px; font-size: .9rem; margin-bottom: 16px; }
section.card { background: var(--card); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
label.f { display: block; font-size: .85rem; font-weight: 600; }
label.f span.req { color: var(--err); }
input, select { width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font: inherit; background: #fff; }
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
input:user-invalid, select:user-invalid { border-color: var(--err); }
.hint { font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.err { color: var(--err); font-size: .8rem; margin-top: 2px; font-weight: 500; }

.plans { display: grid; gap: 10px; }
.plan { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.plan input { width: auto; margin: 4px 0 0; }
.plan b { display: block; }
.plan small { color: var(--muted); }
.plan .price { margin-left: auto; font-weight: 700; white-space: nowrap; }

.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; background: #f9fafb; }
.person-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.person-head b { font-size: .95rem; }
.badge { font-size: .72rem; background: var(--brand); color: #fff; border-radius: 99px; padding: 2px 9px; margin-left: 8px; font-weight: 600; }
.badge.kid { background: #374151; }
button { font: inherit; font-weight: 600; cursor: pointer; border-radius: 6px; border: 1px solid var(--line); background: #fff; padding: 10px 14px; }
button.primary { background: var(--brand-grad); border-color: transparent; color: #fff; font-weight: 700; padding: 12px 22px; }
button.primary:hover:not(:disabled) { filter: brightness(.92); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.link { border: 0; background: none; color: var(--err); padding: 4px 8px; }
button.add { width: 100%; border-style: dashed; color: var(--brand); font-weight: 600; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .9rem; }
.check input { width: auto; margin-top: 4px; }
.verify { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.verify label { flex: 1 1 140px; }
.ok { color: var(--ok); font-weight: 700; }

.summary table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.summary td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.summary td:last-child { text-align: right; white-space: nowrap; }
.summary tr.total td { font-weight: 800; font-size: 1.05rem; border-bottom: 0; padding-top: 10px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px; }
.bar-inner { max-width: 720px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.bar-inner .sum { flex: 1; font-size: .85rem; color: var(--muted); }
.bar-inner .sum b { display: block; color: var(--text); font-size: 1.1rem; }
pre { background: #10181f; color: #d8e6ef; padding: 14px; border-radius: 8px; overflow: auto; font-size: .78rem; max-height: 420px; }
details.step { margin-bottom: 8px; }
details.step summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.method { display: inline-block; min-width: 46px; font-family: monospace; font-weight: 700; color: var(--brand); }
[hidden] { display: none !important; }
.req { color: var(--err); }
header.site a.logo { background: none; padding: 0; }
.hp { position: absolute; left: -9999px; }
.captcha { margin: 12px 0 4px; padding: 12px; border: 2px solid var(--brand); border-radius: var(--radius); background: var(--brand-soft); }
.captcha-hint { margin: 0 0 8px; font-weight: 600; font-size: .9rem; }
.foot { text-align: center; font-size: .85rem; color: var(--muted); margin: 24px 0 8px; }
.foot a { color: var(--muted); }
.check a { color: var(--brand); }
