/* b24.sale — единственный CSS сайта. Системный шрифт, колонка до 720px, читаемо от 360px. */
:root {
  --text: #1d2330;
  --muted: #5d6677;
  --line: #dde2ea;
  --bg: #f5f7fa;
  --card: #ffffff;
  --accent: #1f6fd1;
  --accent-dark: #1757a6;
  --ok: #1d7a46;
  --error: #b42318;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 24px; padding-bottom: 40px; min-height: 60vh; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 0 0 8px; }
.lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 20px; }
.muted { color: var(--muted); }

.demo-banner {
  background: #ffe066; color: #3d3100; text-align: center;
  padding: 8px 16px; font-weight: 600; font-size: .95rem;
}

.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 4px; }
.steps li + li::before { content: "·"; margin-right: 2px; }
.steps__n {
  display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--bg);
}
.steps .is-current { color: var(--text); font-weight: 600; }
.steps .is-current .steps__n { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .is-done .steps__n { background: #e3eefb; border-color: #bcd4f3; color: var(--accent-dark); }
@media (max-width: 480px) { .steps__label { display: none; } .steps .is-current .steps__label { display: inline; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], select {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c3cad6; border-radius: 8px; background: #fff; color: var(--text);
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
input[aria-invalid=true] { border-color: var(--error); }
.hint { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.field-error { color: var(--error); font-size: .95rem; margin: 6px 0 14px; }

.btn {
  display: inline-block; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; padding: 10px 18px;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--ghost { background: #fff; color: var(--accent); }
.btn--ghost:hover { background: #eef4fc; }

.how { color: var(--muted); padding-left: 20px; }
.how li { margin-bottom: 4px; }

.tariffs { display: grid; gap: 16px; }
.tariff { margin: 0; }
.features { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.offer { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.offer.is-chosen { background: #f1f7ff; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.offer__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.offer__term { font-weight: 600; }
.offer__price { font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.offer__note { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.saving { color: var(--ok); font-weight: 600; }
.offer form { margin: 10px 0 8px; }
.offer .btn { width: 100%; }
.users-pick { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.users-pick label { font-weight: 600; white-space: nowrap; }
.users-pick select { width: auto; min-width: 120px; }
.price-note { color: var(--muted); font-size: .92rem; margin-top: 16px; }

.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); background: var(--card); font-size: .9rem; }
.site-footer .wrap { padding-top: 16px; padding-bottom: 20px; }
.site-footer p { margin: 0 0 6px; }

.stub { text-align: center; padding-top: 12vh; }
.stub .logo { font-size: 1.4rem; }

.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; border: 1px solid; }
.alert p { margin: 0 0 6px; }
.alert p:last-child { margin-bottom: 0; }
.alert--error { background: #fdf0f0; border-color: #f0c4c4; color: var(--error); }
.alert--error .muted { color: var(--text); }
.alert--ok { background: #eef8f2; border-color: #bfe3cc; color: var(--ok); }
.send-email h2 { font-size: 1.1rem; margin: 0 0 12px; }
.items { width: 100%; border-collapse: collapse; margin: 4px 0 16px; font-size: .95rem; }
.items th, .items td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.items th { color: var(--muted); font-weight: 600; }
.items .num { text-align: right; white-space: nowrap; }
.save-link a { overflow-wrap: anywhere; }
