/* Светофор маркировки — лендинг
   Принцип: тот же инструментальный минимализм, что у HTML-отчёта.
   Никаких внешних шрифтов, картинок, JS-фреймворков. */

:root {
    --green:  #22c55e;
    --yellow: #eab308;
    --red:    #ef4444;
    --gray:   #94a3b8;
    --ink:    #1f2937;
    --mute:   #6b7280;
    --bg:     #ffffff;
    --line:   #e5e7eb;
    --accent: #2563eb;
    --bg-soft:#f9fafb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
    font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.brand .dot { color: var(--red); }

.nav a {
    color: var(--mute);
    text-decoration: none;
    font-size: 14px;
    margin-left: 18px;
}
.nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
    padding: 56px 0 24px;
    text-align: center;
}
.hero h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.hero .lede {
    font-size: 18px;
    color: var(--mute);
    margin: 0 0 28px;
    line-height: 1.5;
}
.cta {
    display: inline-block;
    background: var(--ink);
    color: white;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
}
.cta:hover { background: #111827; text-decoration: none; }
.cta .arrow { margin-left: 6px; }
.cta + .meta {
    margin-top: 10px;
    color: var(--mute);
    font-size: 13px;
}

/* ---------- waitlist (placeholder for CTA, пока бинарь не собран) ---------- */
.waitlist {
    max-width: 520px;
    margin: 0 auto;
}
.waitlist-lead {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
}
.waitlist-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.waitlist-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    color: var(--ink);
    background: white;
}
.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.waitlist-form button {
    flex: 0 0 auto;
    background: var(--ink);
    color: white;
    border: 0;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}
.waitlist-form button:hover:not([disabled]) { background: #111827; }
.waitlist-form button[disabled] { opacity: 0.7; cursor: progress; }
.waitlist-status {
    margin: 12px 0 0;
    font-size: 14px;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    line-height: 1.5;
}
.waitlist-status.ok  { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.waitlist-status.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.waitlist-status.info { background: var(--bg-soft); color: var(--mute); border: 1px solid var(--line); }
.waitlist-meta {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--mute);
}

@media (max-width: 600px) {
    .waitlist-form { flex-direction: column; }
    .waitlist-form button { width: 100%; }
}

/* ---------- traffic strip ---------- */
.strip {
    background: var(--bg-soft);
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 32px;
}
.strip .chain {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
}
.strip .link {
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 12px;
    color: var(--ink);
    white-space: nowrap;
}
.strip .arrow { color: var(--mute); }

/* ---------- sections ---------- */
section.block {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}
section.block:last-child { border-bottom: none; }

h2 {
    font-size: 22px;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.checks {
    margin: 0;
    padding: 0;
    list-style: none;
}
.checks li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
}
.checks li:last-child { border-bottom: none; }
.checks .ok { color: var(--green); font-weight: 600; flex-shrink: 0; }

/* ---------- "как это работает" ---------- */
.steps {
    counter-reset: step;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps > li {
    counter-increment: step;
    margin-bottom: 18px;
    padding-left: 44px;
    position: relative;
}
.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: var(--ink);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}
.steps b { display: block; margin-bottom: 4px; }

/* ---------- trust ---------- */
.trust-list {
    margin: 0; padding: 0; list-style: none;
}
.trust-list li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
}
.trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---------- faq ---------- */
.faq details {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    padding-right: 24px;
    position: relative;
    user-select: none;
}
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--mute);
    font-size: 22px;
    line-height: 22px;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--mute); }

/* ---------- contact ---------- */
.contact-line {
    margin: 0;
    color: var(--mute);
    font-size: 15px;
    line-height: 1.6;
}
.contact-line a {
    font-weight: 600;
}

/* ---------- footer ---------- */
.site-footer {
    padding: 28px 0;
    color: var(--mute);
    font-size: 13px;
    text-align: center;
}
.site-footer a { color: var(--mute); text-decoration: underline; }
.site-footer a:hover { color: var(--ink); }

/* ---------- cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    background: var(--ink);
    color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.cookie-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.cookie-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #e5e7eb;
}
.cookie-text a {
    color: white;
    text-decoration: underline;
}
.cookie-accept {
    flex-shrink: 0;
    background: white;
    color: var(--ink);
    border: 0;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.cookie-accept:hover { background: #f3f4f6; }

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cookie-accept { width: 100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 600px) {
    .hero { padding: 36px 0 12px; }
    .hero h1 { font-size: 28px; }
    .hero .lede { font-size: 16px; }
    .nav a { margin-left: 12px; }
}
