:root {
    color-scheme: light;
    --brand-red: #ef0a17;
    --brand-ink: #17191f;
    --brand-muted: #667085;
    --brand-line: #e6e8ec;
    --brand-soft: #f6f7f9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #fff;
    color: var(--brand-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { color: inherit; }

.app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(23, 25, 31, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}

.app-header__inner,
.app-main,
.app-footer__inner {
    width: min(100% - 32px, 980px);
    margin: 0 auto;
}

.app-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-ink);
    font-weight: 800;
    text-decoration: none;
}

.app-brand img {
    width: 58px;
    height: 46px;
    object-fit: contain;
}

.app-nav { display: flex; gap: 8px; }

.app-nav a,
.app-button {
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.app-nav a:hover,
.app-button:hover { border-color: var(--brand-red); }

.app-main { padding: 60px 0 80px; }

.app-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid var(--brand-line);
    border-radius: 32px;
    background: linear-gradient(135deg, #fff 0%, #fff 64%, #fff1f2 100%);
    box-shadow: 0 20px 60px rgba(23, 25, 31, .08);
}

.app-hero::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -90px;
    bottom: -110px;
    border: 34px solid rgba(239, 10, 23, .12);
    border-radius: 50%;
}

.app-kicker {
    color: var(--brand-red);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 10px 0 16px;
    font-size: clamp(2.15rem, 7vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.app-lead {
    max-width: 720px;
    margin: 0;
    color: var(--brand-muted);
    font-size: clamp(1rem, 2.5vw, 1.22rem);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.app-card {
    padding: 26px;
    border: 1px solid var(--brand-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(23, 25, 31, .055);
}

.app-card--wide { grid-column: 1 / -1; }

.app-card h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.app-card h3 {
    margin: 24px 0 8px;
    font-size: 1.05rem;
}

.app-card p { margin: 8px 0; color: #343741; }
.app-card ul { margin: 10px 0 0; padding-left: 22px; }
.app-card li + li { margin-top: 8px; }

.app-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.app-step__number {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--brand-red);
    color: #fff;
    font-weight: 850;
}

.app-note {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 4px solid var(--brand-red);
    border-radius: 0 18px 18px 0;
    background: var(--brand-soft);
}

.app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.app-button--primary {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.app-footer {
    border-top: 1px solid var(--brand-line);
    background: var(--brand-soft);
}

.app-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
    color: var(--brand-muted);
    font-size: .92rem;
}

.app-footer a { color: var(--brand-ink); }

@media (max-width: 700px) {
    .app-header__inner { min-height: 66px; }
    .app-brand span { display: none; }
    .app-nav a { padding: 9px 12px; font-size: .88rem; }
    .app-nav a:first-child { display: none; }
    .app-main { padding: 24px 0 50px; }
    .app-hero { border-radius: 24px; }
    .app-grid { grid-template-columns: 1fr; }
    .app-card--wide { grid-column: auto; }
    .app-card { padding: 21px; border-radius: 20px; }
    .app-footer__inner { flex-direction: column; }
}

