:root {
    color-scheme: light dark;
    --panel-bg: rgba(255, 255, 255, 0.58);
    --surface-bg: rgba(255, 255, 255, 0.68);
    --surface-border: rgba(255, 255, 255, 0.48);
    --radius-panel: 32px;
    --radius-section: 24px;
    --body-bg: rgb(233, 239, 245);
    --hero-title-color: rgb(15, 23, 42);
    --hero-description-color: rgba(30, 41, 59, 0.78);
    --feature-title-muted: rgba(15, 23, 42, 0.68);
    --footer-color: rgba(15, 23, 42, 0.58);
    --overlay-gradient:
        linear-gradient(135deg, rgba(238, 246, 255, 0.52), rgba(255, 247, 240, 0.42)),
        rgba(255, 255, 255, 0.26);
    --hero-shadow: 0 20px 60px rgba(58, 89, 127, 0.16);
    --item-divider: rgba(148, 163, 184, 0.18);
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 24px;
    box-sizing: border-box;
    font-family: "Noto Sans", "Noto Sans SC", sans-serif;
    overflow-x: hidden;
    background-color: var(--body-bg);
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.page-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--overlay-gradient);
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.shell {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    display: grid;
    gap: 18px;
    align-content: center;
}

.hero {
    padding: 28px;
    border-radius: var(--radius-panel);
    background: var(--panel-bg);
    backdrop-filter: blur(14px);
    box-shadow: var(--hero-shadow);
}

.hero-copy {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-heading {
    display: grid;
    gap: 8px;
}

.hero-title {
    margin: 0;
    color: var(--hero-title-color);
}

.hero-description {
    margin: 0;
    max-width: 62ch;
    color: var(--hero-description-color);
}

.feature-list {
    overflow: hidden;
    border-radius: var(--radius-section);
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.feature-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

.feature-item+.feature-item {
    border-top: 1px solid var(--item-divider);
}

.feature-title {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.feature-title strong {
    font-size: 18px;
}

.feature-title span {
    color: var(--feature-title-muted);
    font-size: 13px;
}

.feature-status {
    justify-self: start;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.actions mdui-button {
    flex: 1 1 220px;
}

.page-footer {
    justify-self: center;
    padding: 2px 12px 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--footer-color);
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    :root {
        --panel-bg: rgba(10, 18, 31, 0.72);
        --surface-bg: rgba(16, 27, 45, 0.78);
        --surface-border: rgba(125, 161, 206, 0.22);
        --body-bg: rgb(7, 12, 22);
        --hero-title-color: rgb(233, 242, 255);
        --hero-description-color: rgba(214, 229, 255, 0.8);
        --feature-title-muted: rgba(196, 216, 245, 0.74);
        --footer-color: rgba(191, 210, 238, 0.62);
        --overlay-gradient:
            linear-gradient(135deg, rgba(7, 23, 46, 0.5), rgba(7, 43, 79, 0.26)),
            rgba(3, 10, 18, 0.34);
        --hero-shadow: 0 24px 70px rgba(2, 6, 15, 0.5);
        --item-divider: rgba(125, 161, 206, 0.16);
    }
}

.status-content,
.action-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ui-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-block;
    background-color: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.feature-status .ui-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 880px) {
    body {
        padding: 18px;
    }

    .page-background img {
        object-position: 60% center;
    }

    .feature-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .feature-status {
        grid-column: 1 / 2;
    }

    .feature-item mdui-switch {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
}

@media (max-width: 560px) {
    body {
        padding: 14px;
    }

    .page-background img {
        object-position: 64% center;
    }

    .hero {
        padding: 22px 18px;
        border-radius: 28px;
    }

    .feature-list {
        border-radius: 22px;
    }

    .actions mdui-button {
        flex-basis: 100%;
    }
}
