:root {
    --bg: #ffffff;
    --surface: #f8fafc;
    --surface-accent: #eff6ff;
    --text: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --accent: #1d4ed8;
    --accent-hover: #1e40af;
    --accent-soft: #dbeafe;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 760px;
}

/* ---------- Hero ---------- */

.hero {
    padding: 96px 0 80px;
    background:
        radial-gradient(ellipse at top, var(--accent-soft) 0%, transparent 60%),
        var(--bg);
    text-align: center;
}

.brand {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 52px;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero .lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ---------- CTA button ---------- */

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.cta:active {
    transform: translateY(0);
}

.cta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---------- Sections ---------- */

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 32px;
    text-align: center;
}

.problem {
    background: var(--surface);
}

.problem p {
    font-size: 18px;
    color: var(--text-muted);
}

/* ---------- Steps ---------- */

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.steps li {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.steps h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.steps p {
    color: var(--text-muted);
}

/* ---------- Features grid ---------- */

.features {
    background: var(--surface);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tile {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.tile h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent);
}

.tile p {
    color: var(--text-muted);
}

/* ---------- CTA block ---------- */

.cta-block {
    text-align: center;
    background: var(--surface-accent);
}

.cta-block p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ---------- Footer ---------- */

footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

footer a {
    color: var(--text-muted);
}

footer a:hover {
    color: var(--accent);
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
    .hero {
        padding: 64px 0 56px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .lead {
        font-size: 17px;
    }

    .section {
        padding: 56px 0;
    }

    .section h2 {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .steps,
    .grid {
        grid-template-columns: 1fr;
    }

    .tile {
        padding: 24px;
    }

    .cta {
        padding: 14px 22px;
        font-size: 15px;
    }
}
