:root {
    --bg: #f5f3ec;
    --panel: rgba(255, 255, 255, 0.82);
    --ink: #18202c;
    --muted: #6e7686;
    --line: rgba(24, 32, 44, 0.1);
    --line-strong: rgba(24, 32, 44, 0.16);
    --accent: #118fe5;
    --accent-soft: rgba(17, 143, 229, 0.08);
    --shadow: 0 22px 70px rgba(24, 32, 44, 0.07);
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(17, 143, 229, 0.09), transparent 28%),
        linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
    color: var(--ink);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    max-width: 1160px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 16px 20px 14px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
}

.site-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-copy {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "hero"
        "steps"
        "cta";
    gap: 12px;
    align-items: start;
    min-height: 0;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 22px 26px 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), var(--panel));
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-copy {
    grid-area: hero;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0;
    padding-right: 0;
}

.eyebrow,
.section-title {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    max-width: 11ch;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero-copy h1 span {
    display: block;
    margin-top: 4px;
}

.lead {
    max-width: 36rem;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.48;
    font-weight: 500;
    text-align: center;
}

.steps-block {
    grid-area: steps;
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
}

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

.step-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 80px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.step-card h2 {
    margin: 0 0 4px;
    font-size: 0.88rem;
    line-height: 1.25;
    font-weight: 600;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.42;
    font-weight: 500;
}

.cta-block {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    text-align: center;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a0fb 0%, #138ad9 58%, #106fae 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow:
        0 12px 28px rgba(17, 143, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 32px rgba(17, 143, 229, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cta-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.38;
    font-weight: 500;
    text-align: center;
}

.legal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
    padding: 0;
    text-align: center;
}

.legal-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
}

.animate-in,
.step-card {
    opacity: 0;
    transform: translateY(14px);
}

body.is-ready .animate-in,
body.is-ready .step-card {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 520ms ease,
        transform 520ms ease;
}

body.is-ready .delay-2 {
    transition-delay: 100ms;
}

body.is-ready .delay-3 {
    transition-delay: 180ms;
}

@media (max-width: 960px) {
    .page-shell {
        min-height: auto;
    }

    .hero-panel {
        padding: 22px 22px 20px;
    }

    .hero-copy h1 {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 14px 14px 18px;
    }

    .hero-panel {
        padding: 18px;
        gap: 14px;
    }

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

    .primary-button {
        width: 100%;
    }

    .legal-strip {
        justify-content: flex-start;
        text-align: left;
    }

    .legal-note {
        text-align: left;
    }
}
