:root {
        color-scheme: light;
        --background: #f8fafc;
        --surface: #ffffff;
        --border: #d8dee9;
        --accent: #1d4ed8;
        --text: #0f172a;
        --muted: #475569;
}

*,
*::before,
*::after {
        box-sizing: border-box;
}

html,
body {
        height: 100%;
}

body {
        margin: 0;
        font-family: "Segoe UI", Arial, sans-serif;
        background: var(--background);
        color: var(--text);
}

.app {
        min-height: 100%;
        display: flex;
        flex-direction: column;
}

.app-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        background: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 20;
}

.app-header__region {
        display: flex;
        align-items: center;
        gap: 12px;
}

.app-logo {
        width: 32px;
        height: 32px;
        object-fit: contain;
}

.app-title {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--text);
}

.app-body {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        padding: 32px 16px 48px;
}

.app-body__inner {
        width: min(960px, 100%);
        display: flex;
        flex-direction: column;
        gap: 24px;
}

.app-footer {
        background: rgba(255, 255, 255, 0.92);
        border-top: 1px solid var(--border);
        padding: 16px 24px;
        text-align: center;
        color: var(--muted);
}

.app-footer--spacer {
        margin-top: auto;
}

.surface {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        display: flex;
        flex-direction: column;
        gap: 16px;
}

.surface-header {
        display: flex;
        flex-direction: column;
        gap: 8px;
}

.surface-title {
        margin: 0;
        font-size: 2rem;
        font-weight: 600;
}

.surface-subtitle {
        margin: 0;
        color: var(--muted);
        font-size: 1rem;
}

.surface-content {
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 1.7;
}

.quick-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 16px;
}

.quick-link {
        padding: 10px 18px;
        border-radius: 999px;
        border: 1px solid var(--border);
        text-decoration: none;
        color: var(--accent);
        font-weight: 600;
        background: rgba(29, 78, 216, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link:hover,
.quick-link:focus {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(29, 78, 216, 0.18);
}

a {
        color: inherit;
}

@media (max-width: 768px) {
        .app-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
        }

        .surface {
                padding: 24px;
        }
}

.quick-link.is-hovered {
        box-shadow: 0 8px 20px rgba(29, 78, 216, 0.24);
}

.feature-list {
        margin: 16px 0 0;
        padding-left: 20px;
        color: var(--muted);
}

.feature-list li {
        margin-bottom: 8px;
}

.faq-section {
        max-width: 1100px;
}

.faq-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
}

@media (min-width: 768px) {
        .faq-grid {
                gap: 1.5rem;
        }
}

.faq-card {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
        padding: 1.75rem;
        transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.faq-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
        border-color: #cbd5e1;
}

.faq-card h3 {
        color: #0f172a;
}

.faq-card p,
.faq-card ol,
.faq-card ul {
        color: #475569;
        margin-bottom: 0;
        line-height: 1.7;
}

.faq-card ol,
.faq-card ul {
        padding-left: 1.1rem;
}

.faq-card ol li,
.faq-card ul li {
        margin-bottom: 0.35rem;
}

.faq-number {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 10px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #0f172a;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
}
