:root {
    --bg: #f7f7fb;
    --surface: #ffffff;
    --text: #16172b;
    --muted: #5d6078;
    --accent: #ff5a36;
    --accent-dark: #e2441f;
    --border: #e6e6ef;
    --radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 460px; }

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--text); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--text); font-weight: 500; }
.nav form { margin: 0; }
.link-button {
    background: none; border: none; padding: 0; cursor: pointer;
    font: inherit; font-weight: 500; color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 26px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav a.btn { color: #fff; }
.btn-small { padding: 8px 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-full { width: 100%; }

/* Headings */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 18px 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 32px; letter-spacing: -0.01em; }
h3 { margin: 8px 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }

/* Hero */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.badge {
    display: inline-block;
    background: #ffe9e3;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
    background: var(--text);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 30px 60px rgba(22, 23, 43, 0.18);
}
.phone-msg { background: #fff; border-radius: 16px; padding: 14px 16px; }
.phone-msg p { margin: 2px 0; }
.msg-title { font-weight: 700; }
.msg-meta { color: var(--accent-dark); font-weight: 600; }
.msg-time { font-size: 0.8rem; color: var(--muted); }

/* Sections and cards */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--bg); }
.card p { color: var(--muted); margin: 0; }
.step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #fff; font-weight: 700;
}

/* Pricing */
.pricing { text-align: center; }
.price-card {
    max-width: 380px;
    margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 36px;
}
.price { font-size: 2.8rem; font-weight: 800; margin: 0; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-card li { padding: 6px 0; }
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.small { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final call to action */
.cta { text-align: center; background: var(--text); color: #fff; padding: 72px 0; }
.cta p { color: #c9cad8; margin-bottom: 28px; }

/* Forms */
.form-card { padding: 36px; }
.form-card h1 { font-size: 1.8rem; margin-top: 0; }
form p { margin: 0 0 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}
input:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
form p:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; }
form p:has(input[type="checkbox"]) label { margin: 0; }
.errorlist { color: #c62828; list-style: none; padding: 0; margin: 0 0 8px; font-size: 0.9rem; }

/* Dashboard */
.alert-success { background: #e8f7ee; color: #1b7a3d; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; align-items: start; }
.status-ok { color: #1b7a3d; font-weight: 600; }

/* Footer */
.site-footer { padding: 28px 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* Phones */
@media (max-width: 800px) {
    .hero-inner, .grid-3, .dashboard-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
    .section { padding: 48px 0; }
}

.note {
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: 12px;
}