:root {
    --site-bg: #f4f7fb;
    --site-surface: rgba(255, 255, 255, 0.9);
    --site-surface-strong: #ffffff;
    --site-border: rgba(15, 23, 42, 0.08);
    --site-border-strong: rgba(15, 23, 42, 0.14);
    --site-text: #0f172a;
    --site-muted: #475569;
    --site-muted-soft: #64748b;
    --site-brand: #0f4c81;
    --site-brand-strong: #0b3458;
    --site-brand-soft: #dbeafe;
    --site-accent: #14b8a6;
    --site-accent-soft: #ccfbf1;
    --site-highlight: #f59e0b;
    --site-success: #15803d;
    --site-danger: #b91c1c;
    --site-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    --site-radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.08), transparent 34%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, var(--site-bg) 100%);
    color: var(--site-text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: -1;
}

.site-header-shell {
    position: sticky;
    top: 0;
    z-index: 1200;
    padding: 14px 18px 0;
}

.site-header {
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.site-brand:hover {
    color: inherit;
}

.site-brand-mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(20, 184, 166, 0.16));
    padding: 6px;
    flex-shrink: 0;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand-copy strong {
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.site-brand-copy span {
    font-size: 0.78rem;
    color: var(--site-muted-soft);
    margin-top: 4px;
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: var(--site-surface-strong);
    color: var(--site-text);
}

.site-nav-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav-link,
.site-nav-dropdown-summary,
.site-footer-link,
.site-footer-contact a {
    color: var(--site-muted);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-nav-link,
.site-nav-dropdown-summary {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.site-nav-link:hover,
.site-nav-link.is-active,
.site-nav-dropdown.is-active .site-nav-dropdown-summary,
.site-nav-dropdown-summary:hover {
    color: var(--site-brand);
    background: rgba(15, 76, 129, 0.08);
}

.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.site-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 250px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--site-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--site-shadow);
    display: grid;
    gap: 6px;
}

.site-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    color: var(--site-text);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 600;
}

.site-nav-dropdown-menu a small {
    display: block;
    color: var(--site-muted-soft);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 3px;
}

.site-nav-dropdown-menu a:hover {
    background: rgba(15, 76, 129, 0.08);
    color: var(--site-brand);
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-button,
.site-button-secondary,
.site-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-button {
    background: linear-gradient(135deg, var(--site-brand), #14639f);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(15, 76, 129, 0.24);
}

.site-button:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 76, 129, 0.28);
}

.site-button.is-active {
    background: linear-gradient(135deg, var(--site-brand-strong), var(--site-brand));
}

.site-button-secondary {
    background: rgba(15, 76, 129, 0.08);
    border-color: rgba(15, 76, 129, 0.12);
    color: var(--site-brand);
}

.site-button-secondary:hover {
    color: var(--site-brand-strong);
    transform: translateY(-1px);
    background: rgba(15, 76, 129, 0.12);
}

.site-button-ghost {
    background: transparent;
    border-color: var(--site-border);
    color: var(--site-text);
}

.site-button-ghost:hover {
    color: var(--site-brand);
    border-color: rgba(15, 76, 129, 0.18);
    background: rgba(15, 76, 129, 0.05);
}

.site-button-inline {
    padding: 10px 14px;
    font-size: 0.88rem;
}

.site-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.site-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--site-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.page-banner {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(255, 255, 255, 0.96));
    box-shadow: var(--site-shadow);
}

.page-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.1);
    color: var(--site-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-banner-title {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-banner-subtitle {
    max-width: 780px;
    color: var(--site-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.surface-card {
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow);
}

.site-feedback,
.site-inline-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--site-border);
    background: rgba(255, 255, 255, 0.82);
    color: var(--site-muted);
}

.site-feedback {
    display: none;
}

.site-feedback.is-visible {
    display: block;
}

.site-feedback.success {
    border-color: rgba(21, 128, 61, 0.18);
    background: rgba(240, 253, 244, 0.94);
}

.site-feedback.error {
    border-color: rgba(185, 28, 28, 0.18);
    background: rgba(254, 242, 242, 0.94);
}

.site-feedback.info {
    border-color: rgba(15, 76, 129, 0.18);
    background: rgba(239, 246, 255, 0.96);
}

.site-feedback h3,
.site-inline-note h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--site-text);
}

.site-feedback p,
.site-inline-note p {
    margin: 0;
    line-height: 1.65;
}

.site-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.site-feedback pre {
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 0.86rem;
    color: var(--site-text);
}

.site-footer-shell {
    padding: 40px 18px 28px;
}

.site-footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.24);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.site-footer-brand {
    max-width: 360px;
}

.site-footer-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
}

.site-footer-brand h3,
.site-footer-column h4 {
    margin: 18px 0 12px;
    font-size: 1rem;
    color: #ffffff;
}

.site-footer-brand p,
.site-footer-column p,
.site-footer-contact {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.site-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.site-footer-link:hover,
.site-footer-contact a:hover {
    color: #ffffff;
}

.site-footer-contact {
    display: grid;
    gap: 8px;
}

.site-footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

@media (max-width: 1080px) {
    .site-nav-panel {
        gap: 14px;
    }

    .site-nav-link,
    .site-nav-dropdown-summary {
        padding-inline: 11px;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header-shell {
        padding-inline: 12px;
    }

    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--site-border);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--site-shadow);
        display: none;
    }

    .site-nav-panel.is-open {
        display: flex;
    }

    .site-nav-links,
    .site-nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .site-nav-dropdown {
        width: 100%;
    }

    .site-nav-dropdown-menu {
        position: static;
        min-width: auto;
        margin-top: 8px;
        box-shadow: none;
        background: rgba(15, 76, 129, 0.04);
    }
}

@media (max-width: 720px) {
    .page-banner {
        margin-top: 24px;
        padding: 24px;
        border-radius: 24px;
    }

    .site-footer-shell {
        padding-inline: 12px;
    }

    .site-footer {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}
