:root {
    color-scheme: light;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
}

.platform-intro {
    overflow: hidden;
    background-image: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.status-panel {
    background: #eef5ff;
    border: 1px solid #cfe2ff;
}

.page-header {
    max-width: 58rem;
}

.content-section {
    scroll-margin-top: 1.5rem;
    margin-bottom: 3.5rem;
}

.content-section > h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.content-section p,
.content-section li,
.guide-definitions dd {
    line-height: 1.7;
}

.guide-navigation,
.source-panel {
    padding: 1.5rem;
    border: 1px solid #dfe4ea;
    border-radius: 1rem;
    background: #ffffff;
}

.guide-navigation a {
    display: block;
    padding: 0.45rem 0;
    text-decoration: none;
}

.guide-navigation a:hover,
.guide-navigation a:focus {
    text-decoration: underline;
}

.guide-callout {
    padding: 1.25rem 1.5rem;
    border-left: 0.35rem solid #0d6efd;
    border-radius: 0.5rem;
    background: #eef5ff;
}

.guide-callout-warning {
    border-left-color: #f0ad4e;
    background: #fff7e8;
}

.guide-callout-neutral {
    border-left-color: #6c757d;
    background: #f1f3f5;
}

.guide-steps li,
.guide-checklist li {
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
}

.guide-definitions dt,
.guide-definitions dd {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

pre {
    margin: 1.25rem 0;
    padding: 1.25rem;
    overflow-x: auto;
    border: 1px solid #2c374b;
    border-radius: 0.75rem;
    background: #172033;
    color: #f8f9fa;
}

pre code {
    color: inherit;
    white-space: pre;
}

.feature-item {
    padding: 1rem;
    border: 1px solid #dfe4ea;
    border-radius: 0.75rem;
    background: #ffffff;
}

.download-panel {
    background: #f7f9fc;
}

.usage-notice {
    border-color: #d7e3f4 !important;
    background: #f6f9fd;
}

.legal-page {
    max-width: 58rem;
    margin-inline: auto;
}

.program-actions {
    min-width: 13rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
    color: #0d6efd;
    text-decoration: underline;
}

.error-panel {
    max-width: 42rem;
    padding-block: 4rem;
}

@media (max-width: 575.98px) {
    pre {
        margin-inline: -0.5rem;
        padding: 1rem;
        border-radius: 0.5rem;
        font-size: 0.82rem;
    }
}
