:root {
    --background: #f4f7fa;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #172033;
    --text-soft: #667085;
    --primary: #244f73;
    --primary-dark: #1d405e;
    --primary-soft: #eaf1f7;
    --border: #dfe5ec;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

.container {
    width: min(calc(100% - 32px), 1120px);
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav > a:not(.button) {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav > a:not(.button):hover {
    color: var(--primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.button-primary:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
}

.button-secondary {
    border: 1px solid var(--primary);
    background: var(--surface);
    color: var(--primary);
}

.button-secondary:hover {
    background: var(--primary-soft);
}

.hero {
    padding: 84px 0 96px;
}

.hero-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);
    gap: 56px;
    align-items: center;
}

.eyebrow,
.panel-label {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-text {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.panel-quote {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.panel-text {
    margin: 0;
    color: var(--text-soft);
}

.how-it-works {
    padding: 88px 0 96px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-intro {
    margin: 0;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.step-number {
    display: block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.step-card p {
    margin: 0;
    color: var(--text-soft);
}

.steps-principle {
    margin: 32px 0 0;
    color: var(--primary);
    font-size: 1.05rem;
}

@media (max-width: 820px) {
    .site-nav > a:not(.button) {
        display: none;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 20px), 1120px);
    }

    .header-inner {
        min-height: 64px;
    }

    .hero {
        padding-top: 42px;
        padding-bottom: 64px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }
}
