/* The public website and its registration pages. Self-contained: no framework, no script, no outside font. */
:root {
    --ink: #0f172a; --text: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f8fafc; --card: #fff;
    --brand: #4f46e5; --brand-dark: #4338ca; --brand-soft: #eef2ff; --accent: #06b6d4;
    --ok: #059669; --bad: #b42318; --bad-soft: #fef3f2;
    --radius: 16px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 72px; padding-bottom: 8px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; text-align: center; margin-top: 14px; }
.center { text-align: center; margin: 36px 0 0; }

/* Header */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; display: block; }
.bar-links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.bar-links a:not(.button) { color: var(--muted); }
.bar-links a[aria-current=page] { color: var(--ink); font-weight: 600; }

/* Buttons */
button, .button { font: inherit; font-weight: 600; cursor: pointer; border-radius: 10px; padding: 10px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-block; transition: background .15s, box-shadow .15s, transform .15s; }
.button:hover { text-decoration: none; }
.button.small { padding: 7px 14px; font-size: 14px; background: var(--ink); border-color: var(--ink); color: #fff; }
.button.large { padding: 14px 26px; font-size: 17px; border-radius: 12px; }
.button.block { display: block; text-align: center; }
button.primary, .button.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .28); }
button.primary:hover, .button.primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.button.ghost:hover { background: rgba(255, 255, 255, .16); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(79, 70, 229, .4); outline-offset: 2px; }

/* Hero */
.hero { color: #cbd5e1; text-align: center; padding: 88px 0 150px; background: radial-gradient(900px 420px at 50% -10%, rgba(99, 102, 241, .55), transparent 70%), radial-gradient(600px 300px at 85% 20%, rgba(6, 182, 212, .25), transparent 70%), #0b1020; }
.hero .wrap { max-width: 860px; }
.kicker { display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #c7d2fe; background: rgba(99, 102, 241, .18); border: 1px solid rgba(129, 140, 248, .35); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
.lead { font-size: 19px; max-width: 680px; margin: 22px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 34px 0 0; }

/* Plans */
#editions { padding-top: 0; margin-top: -86px; }
#editions .section-head { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.plan-multi_store { border: 2px solid var(--brand); box-shadow: 0 20px 44px rgba(79, 70, 229, .2); transform: translateY(-10px); }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); margin: 6px 0 0; min-height: 52px; }
.plan-price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price strong { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-price-none span { font-size: 20px; font-weight: 600; color: var(--ink); }
.plan-lines { list-style: none; margin: 0 0 22px; padding: 0; min-height: 116px; font-size: 15px; }
.plan-lines li { padding: 3px 0; }
.plan-lines em { font-style: normal; color: var(--muted); }
.plan-includes { margin: 26px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }

/* Add-ons */
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; font-weight: 700; color: var(--ink); background: #f1f5f9; }
td:first-child { font-weight: 600; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Steps */
.band { background: #fff; border-top: 1px solid var(--line); margin-top: 80px; padding-bottom: 72px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { text-align: center; }
.steps h3 { font-size: 18px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 18px; }

/* Form */
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 44px; padding-bottom: 72px; }
.form-main h1 { font-size: 34px; margin: 10px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin: 22px 0 0; }
.card-narrow { max-width: 540px; margin: 40px auto 72px; text-align: center; }
.card-narrow h1 { font-size: 30px; margin-bottom: 10px; }
.form-side { position: sticky; top: 92px; background: var(--brand-soft); border-radius: var(--radius); padding: 26px; }
.form-side h2 { font-size: 18px; margin-bottom: 18px; }
.steps-side { grid-template-columns: 1fr; gap: 18px; }
.steps-side li { text-align: left; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.steps-side .step-n { width: 32px; height: 32px; font-size: 14px; background: #fff; grid-row: span 2; }
.steps-side h3 { font-size: 15px; margin: 4px 0 2px; }
.steps-side p { font-size: 14px; }
label { display: block; font-weight: 600; color: var(--ink); margin: 16px 0 6px; font-size: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); outline: none; }
input.invalid, select.invalid { border-color: var(--bad); background: var(--bad-soft); }
small { display: block; margin-top: 5px; font-size: 13px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
fieldset { border: 0; margin: 26px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
legend { font-weight: 600; color: var(--ink); font-size: 14px; padding: 0; margin-bottom: 10px; }
.check { margin: 0; font-weight: 500; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.check:hover { border-color: var(--brand); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
button.primary { margin-top: 22px; padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.options { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.options h2 { font-size: 22px; margin-bottom: 6px; }
.options > p { margin: 0 0 18px; }
.option { display: grid; grid-template-columns: 72px minmax(0, 1fr) 190px; gap: 20px; align-items: start; margin: 14px 0 0; padding: 22px; border: 2px solid var(--line); border-radius: 14px; font-weight: 400; font-size: 15px; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.option:hover { border-color: #c7d2fe; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 8px 22px rgba(79, 70, 229, .14); }
.option img { width: 72px; height: 72px; padding: 14px; border-radius: 16px; background: var(--brand-soft); }
.option:has(input:checked) img { background: #fff; }
.option-body, .option-side, .option-points { display: flex; flex-direction: column; }
.option-name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.option-text { margin: 4px 0 10px; }
.option-points span { position: relative; padding: 3px 0 3px 22px; color: var(--muted); }
.option-points span::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.option-side { gap: 6px; align-items: flex-end; text-align: right; font-size: 13px; color: var(--muted); }
.option-price strong { display: block; font-size: 24px; color: var(--ink); line-height: 1.1; }
.badge-free { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #ecfdf5; color: var(--ok); border: 1px solid #a7f3d0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; }
.option-price .badge-free { font-size: 14px; padding: 4px 12px; margin-bottom: 4px; }
.option-pick { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.option-pick input { width: 18px; height: 18px; accent-color: var(--brand); }
.option:has(input:checked) .option-pick { border-color: var(--brand); color: var(--brand); }
td small { font-weight: 400; margin-top: 2px; }
.notice { padding: 12px 16px; border-radius: 10px; margin: 18px 0 0; }
.notice-error { background: var(--bad-soft); color: var(--bad); border: 1px solid #fecdca; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; text-align: center; padding: 26px 0; }
.view-register .foot, .view-thanks .foot, .view-notFound .foot { background: transparent; }

/* Site pages */
.hero-ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 30px 0 0; padding: 0; font-size: 14px; }
.hero-ticks li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.view-home .hero { padding-bottom: 170px; }
.hero-shot { margin-top: -120px; }
.hero-shot img, .shot { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(15, 23, 42, .16); background: #fff; }
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); color: var(--text); }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { margin: 0 0 12px; flex: 1; }
.tile-link { transition: border-color .15s, transform .15s; }
.tile-link:hover { text-decoration: none; border-color: #c7d2fe; transform: translateY(-2px); }
.more { font-weight: 600; color: var(--brand); font-size: 14px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); border: 1px solid #c7d2fe; line-height: 1.5; }
.badge-addon { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.page-head { color: #cbd5e1; text-align: center; padding: 64px 0 56px; background: radial-gradient(900px 420px at 50% -10%, rgba(99, 102, 241, .55), transparent 70%), #0b1020; }
.page-head .wrap { max-width: 860px; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chips a { padding: 6px 14px; border-radius: 999px; font-size: 14px; color: #e0e7ff; border: 1px solid rgba(129, 140, 248, .35); background: rgba(99, 102, 241, .14); }
.chips a:hover { text-decoration: none; background: rgba(99, 102, 241, .3); }
.feature { scroll-margin-top: 72px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; }
.feature-row.flip > div { order: 2; }
.feature-row.no-shot { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.feature-row h2 { font-size: 28px; margin-bottom: 10px; }
.feature-row .ticks { margin-top: 18px; }
.figure { font-size: 20px; font-weight: 700; color: var(--ink); }
.cta-band { margin-top: 80px; padding: 64px 0; text-align: center; color: #cbd5e1; background: radial-gradient(700px 300px at 50% 0, rgba(99, 102, 241, .5), transparent 70%), #0b1020; }
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.view-home .band { margin-top: 80px; }
.view-home .cta-band { margin-top: 0; }
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 22px; margin: 30px 0 8px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 0 20px; }
.qa summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); }
.qa p { margin: 0 0 18px; }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 18px; }
.contact dt { font-weight: 600; color: var(--ink); }
.contact dd { margin: 0; }
.notice-draft { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* Footer */
.foot { text-align: left; padding: 44px 0 26px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-about p { margin: 10px 0 0; max-width: 360px; }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin-bottom: 4px; }
.foot-col a { color: var(--muted); }
.foot-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }

@media (max-width: 900px) {
    .cards-3, .cards-4, .feature-row, .foot-in { grid-template-columns: 1fr; }
    .feature-row.flip > div { order: 0; }
    .bar { position: static; }
    .bar-in { height: auto; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
    .bar-links { gap: 14px; flex-wrap: wrap; font-size: 14px; }
    .hero-shot { margin-top: -110px; }
    .plans, .steps { grid-template-columns: 1fr; }
    .plan-multi_store { transform: none; }
    .plan-for, .plan-lines { min-height: 0; }
    .form-page { grid-template-columns: 1fr; }
    .form-side { position: static; }
    .fields { grid-template-columns: 1fr; }
    .option { grid-template-columns: 56px minmax(0, 1fr); }
    .option img { width: 56px; height: 56px; padding: 10px; }
    .option-side { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
    .hero { padding: 64px 0 130px; }
}
