/* v19-second — «Сейчас»: one deep indigo owns the page; the present second is the hero. */
:root {
  --ink: #15213a;          /* page ground */
  --ink-deep: #101a2f;     /* alternate sections */
  --pale: #e9edf5;         /* primary text, numerals, button */
  --tint: #aab5cb;         /* secondary text, tinted from the hue (≈7.6:1 on --ink) */
  --line: rgba(233, 237, 245, 0.18);
  --field: #1c2a47;
  --focus: #ffd166;
  --measure: 68ch;
  --gutter: 1rem;
  --font: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--pale);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pale); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- hero: now ---------- */
.hero { padding: 2.5rem 0 4rem; }
.now {
  margin: 0;
  font-weight: 700;
  font-size: clamp(3.75rem, 18.5vw, 15rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.now__sep { opacity: 0.45; }
.now__static { font-size: 2.5rem; }
.now-line { margin: 1.25rem 0 0; font-size: 1.35rem; font-weight: 500; }
.then-line { margin: 3rem 0 0; font-size: 1.35rem; font-weight: 500; color: var(--tint); }

h1 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede { margin: 0; font-size: 1.25rem; line-height: 1.4; max-width: var(--measure); }
.support { margin: 0.75rem 0 0; color: var(--tint); max-width: var(--measure); }

.facts { list-style: none; margin: 2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; font-weight: 500; }

.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.75rem 0 0; }
.picker__label { color: var(--tint); margin-right: 0.25rem; }
.picker a {
  display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--tint); border-radius: 999px;
  color: var(--pale); text-decoration: none; font-weight: 500;
}
.picker a:hover { border-color: var(--pale); }
.picker a[aria-pressed="true"] { background: var(--pale); color: var(--ink); border-color: var(--pale); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 1rem 1.5rem; border-radius: 10px; font: inherit; font-weight: 700; line-height: 1.3;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center;
}
.btn--primary { background: var(--pale); color: var(--ink); margin-top: 1.75rem; width: 100%; }
.btn--primary:hover { background: #ffffff; }
.btn--primary:active { transform: translateY(1px); }
.btn--primary:disabled, .btn--primary[data-loading] { opacity: 0.6; cursor: progress; }
.btn--primary[data-loading]::after { content: "…"; }
.btn--secondary { background: transparent; color: var(--pale); border-color: var(--pale); margin-top: 1rem; }
.btn--secondary:hover { background: var(--pale); color: var(--ink); }
.textlink { display: inline-block; margin-top: 1.25rem; color: var(--tint); text-decoration: underline; text-underline-offset: 0.2em; }
.textlink:hover { color: var(--pale); }
@media (min-width: 40rem) { .btn--primary { width: auto; } }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--ink-deep); }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
h3 { margin: 0 0 0.75rem; font-size: 1.35rem; line-height: 1.3; }
.section p { max-width: var(--measure); }
.muted { color: var(--tint); }
.small { font-size: 0.93rem; }
a { color: var(--pale); text-underline-offset: 0.2em; }

.concepts { margin: 2rem 0 0; padding: 0; max-width: var(--measure); }
.concepts div { display: grid; grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.concepts dt { font-weight: 700; }
.concepts dd { margin: 0; color: var(--tint); }
@media (min-width: 36rem) { .concepts div { grid-template-columns: 12rem 1fr; gap: 1rem; } }

.steps { margin: 1.5rem 0; padding-left: 1.5rem; max-width: var(--measure); }
.steps li { padding: 0.35rem 0; }
.steps li::marker { color: var(--tint); font-weight: 700; }

.people { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.photo { aspect-ratio: 4 / 5; max-width: 16rem; border: 1px dashed var(--tint); border-radius: 10px; display: grid; place-items: center; color: var(--tint); padding: 1rem; }
.person-name { font-weight: 700; font-size: 1.2rem; margin: 0 0 0.5rem; }
@media (min-width: 40rem) { .people { grid-template-columns: 14rem 1fr; } }

/* ---------- form ---------- */
.note { display: inline-block; padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; color: var(--tint); font-size: 0.93rem; }
form { margin-top: 1.5rem; max-width: 36rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; padding: 0; margin-bottom: 0.6rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border: 1px solid var(--tint); border-radius: 999px; cursor: pointer; }
.choice:has(input:checked) { background: var(--pale); color: var(--ink); border-color: var(--pale); }
.choice input { margin: 0; accent-color: var(--ink); }
.field { margin: 0 0 1.25rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--pale); background: var(--field);
  border: 1px solid var(--tint); border-radius: 8px; padding: 0.8rem 0.9rem; caret-color: var(--pale);
}
input::placeholder, textarea::placeholder { color: #b3bdd1; }
input:focus, textarea:focus { border-color: var(--pale); }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0 0 1.5rem; max-width: var(--measure); }
.consent input { margin-top: 0.35rem; accent-color: var(--pale); }
form .btn--primary { margin-top: 0; }
.done { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; max-width: 36rem; }

.faq { margin: 2.5rem 0 0; padding: 0; max-width: var(--measure); }
.faq div { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 700; }
.faq dd { margin: 0.25rem 0 0; color: var(--tint); }

/* ---------- countdown ---------- */
.countdown { text-align: left; }
.countdown__label { margin: 0 0 0.5rem; color: var(--tint); }
.countdown__nums { margin: 0 0 0.5rem; font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.countdown__word { font-size: 1.125rem; font-weight: 500; color: var(--tint); margin-right: 0.25em; }
.countdown__status { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 700; line-height: 1.3; }
.countdown__live, .countdown__ended { display: none; }
.countdown[data-state="live"] .countdown__before, .countdown[data-state="ended"] .countdown__before { display: none; }
.countdown[data-state="live"] .countdown__live { display: block; }
.countdown[data-state="ended"] .countdown__ended { display: block; }

/* ---------- footer ---------- */
.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--tint); font-size: 0.95rem; }
.footer p { margin: 0 0 0.5rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
