:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-translucent: rgba(255, 255, 255, 0.86);
    --surface-soft: rgba(255, 255, 255, 0.78);
    --text: #1d252c;
    --muted: #5f6b76;
    --line: #dce2e8;
    --accent: #2364aa;
    --accent-dark: #174a82;
    --green: #16845b;
    --green-soft: #e7f6ef;
    --header-bg: rgba(255, 255, 255, 0.84);
    --header-line: rgba(220, 226, 232, 0.86);
    --page-bg:
        linear-gradient(135deg, rgba(35, 100, 170, 0.12), transparent 42%),
        linear-gradient(315deg, rgba(22, 132, 91, 0.12), transparent 40%),
        var(--bg);
    --shadow: rgba(29, 37, 44, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    border-bottom: 1px solid var(--header-line);
    background: var(--header-bg);
}

.nav {
    width: min(1120px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.brand-logo {
    width: 58px;
    height: 44px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 56px;
    padding: 42px 0 52px;
}

.hero-content {
    max-width: 760px;
}

.hero-logo-wrap {
    display: grid;
    place-items: center;
}

.hero-logo {
    width: min(100%, 360px);
    height: auto;
    display: block;
}

.eyebrow {
    width: fit-content;
    margin: 0 0 22px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: clamp(46px, 9vw, 92px);
    line-height: 0.98;
    letter-spacing: 0;
}

.intro {
    max-width: 640px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.hero-panel {
    width: min(100%, 720px);
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-translucent);
    box-shadow: 0 18px 44px var(--shadow);
}

.hero-panel div {
    min-height: 118px;
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 8px;
}

.hero-panel div + div {
    border-left: 1px solid var(--line);
}

.hero-panel strong {
    color: var(--accent);
    font-size: 18px;
}

.hero-panel span {
    color: var(--muted);
    line-height: 1.45;
}

.about {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.about .eyebrow {
    margin-bottom: 16px;
}

.about h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: 0;
}

.about p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.mobile-app {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 30px;
    box-shadow: 0 18px 44px var(--shadow);
}

.mobile-app .eyebrow {
    margin-bottom: 16px;
}

.mobile-app h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    letter-spacing: 0;
}

.mobile-app p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.features {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.features article {
    min-height: 174px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 24px;
    box-shadow: 0 18px 44px var(--shadow);
}

.features h2 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: 0;
}

.features p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #07111f;
        --surface: #101b2b;
        --surface-translucent: rgba(16, 27, 43, 0.88);
        --surface-soft: rgba(13, 24, 39, 0.9);
        --text: #eef5fb;
        --muted: #b4c3d1;
        --line: #24364d;
        --accent: #58a6ff;
        --accent-dark: #8bc1ff;
        --green: #9ee20f;
        --green-soft: rgba(158, 226, 15, 0.12);
        --header-bg: rgba(7, 17, 31, 0.9);
        --header-line: rgba(36, 54, 77, 0.9);
        --page-bg:
            linear-gradient(135deg, rgba(88, 166, 255, 0.16), transparent 40%),
            linear-gradient(315deg, rgba(158, 226, 15, 0.1), transparent 36%),
            var(--bg);
        --shadow: rgba(0, 0, 0, 0.28);
    }

    .brand-logo,
    .hero-logo {
        filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.32));
    }
}

@media (max-width: 760px) {
    .nav {
        min-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 40px;
    }

    .hero-logo-wrap {
        order: -1;
        justify-content: start;
    }

    .hero-logo {
        width: min(100%, 280px);
    }

    .hero-panel,
    .about,
    .mobile-app {
        grid-template-columns: 1fr;
    }

    .hero-panel div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
