:root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #5d6978;
    --line: #d9e1ea;
    --panel: #ffffff;
    --soft: #f4f7fb;
    --brand: #116a7b;
    --brand-dark: #0b4d59;
    --accent: #d88b18;
    --success: #287d4f;
    --shadow: 0 18px 50px rgba(20, 36, 52, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
}

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

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

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

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(17, 106, 123, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a,
.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav a:hover {
    color: var(--ink);
    background: #edf3f8;
}

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

.button.secondary {
    background: #ffffff;
    color: var(--brand-dark);
    border-color: var(--line);
}

.hero {
    background:
        linear-gradient(90deg, rgba(9, 54, 64, 0.9), rgba(17, 106, 123, 0.82)),
        url("app-icon.svg") right 9vw center / min(42vw, 440px) no-repeat;
    color: #ffffff;
    min-height: min(720px, calc(100vh - 72px));
    display: flex;
    align-items: center;
}

.hero .section {
    padding: 76px 0 96px;
}

.hero-content {
    width: min(720px, 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #d7f3f7;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero p {
    width: min(620px, 100%);
    margin: 24px 0 0;
    color: #eefcff;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-actions .button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.section {
    padding: 72px 0;
}

.section-header {
    width: min(760px, 100%);
    margin-bottom: 28px;
}

.section-header h2,
.content-page h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.section-header p,
.content-page p,
.feature p,
.status p {
    color: var(--muted);
}

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

.feature,
.status,
.content-page {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature {
    padding: 20px;
    min-height: 160px;
}

.feature strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.status {
    padding: 28px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.status ul,
.content-page ul {
    margin: 0;
    padding-left: 20px;
}

.status li,
.content-page li {
    margin: 8px 0;
}

.content-page {
    padding: min(8vw, 56px);
}

.content-page h1 {
    margin-bottom: 18px;
}

.content-page h2 {
    margin: 34px 0 12px;
    font-size: 1.35rem;
}

.footer {
    margin-top: auto;
    background: #101820;
    color: #d9e4ef;
}

.footer-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 860px) {
    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav {
        justify-content: flex-start;
    }

    .hero {
        background:
            linear-gradient(180deg, rgba(9, 54, 64, 0.95), rgba(17, 106, 123, 0.86)),
            url("app-icon.svg") right -80px top 42px / 280px no-repeat;
        min-height: auto;
    }

    .hero .section {
        padding-top: 112px;
    }

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

@media (max-width: 520px) {
    .topbar-inner,
    .section,
    .footer-inner {
        width: min(100% - 22px, 1120px);
    }

    .nav a,
    .button {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
