:root {
    color-scheme: light dark;
    --bg: #071326;
    --panel: #0f2344;
    --panel-strong: #132e5c;
    --text: #f7fbff;
    --muted: #b7c6db;
    --line: rgba(255, 255, 255, 0.14);
    --accent: #45d8d0;
    --accent-2: #2f7df6;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 82% 12%, rgba(69, 216, 208, 0.22), transparent 30rem),
        linear-gradient(145deg, #071326 0%, #0a1731 52%, #08111f 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header,
.site-footer,
.section,
.legal-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a {
    text-decoration: none;
}

.nav a:hover {
    color: var(--text);
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 56px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.hero-copy h1,
.legal-page h1 {
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.98;
    margin: 0 0 22px;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.28rem);
    margin: 0 0 30px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    background: var(--accent);
    color: #061526;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--line);
}

.hero-visual {
    justify-self: center;
    width: min(100%, 430px);
}

.hero-visual img {
    display: block;
    width: 100%;
    border-radius: 86px;
    box-shadow: var(--shadow);
}

.section {
    padding: 56px 0;
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    background: rgba(15, 35, 68, 0.76);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.feature p,
.legal-page p,
.legal-page li {
    color: var(--muted);
}

.info-band {
    background: linear-gradient(135deg, rgba(47, 125, 246, 0.22), rgba(69, 216, 208, 0.14));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.legal-page {
    padding: 48px 0 80px;
}

.legal-page h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
}

.legal-page h2 {
    margin-top: 34px;
    font-size: 1.35rem;
}

.legal-card {
    background: rgba(15, 35, 68, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(20px, 4vw, 34px);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 34px 0 48px;
    color: var(--muted);
    font-size: 0.92rem;
    border-top: 1px solid var(--line);
}

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

@media (max-width: 820px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 24px;
    }

    .hero-visual {
        width: min(82vw, 330px);
        justify-self: start;
    }

    .hero-visual img {
        border-radius: 62px;
    }

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