:root {
    --dc-navy: #071257;
    --dc-royal: #1646B8;
    --dc-gold: #D6A73A;
    --dc-white: #FFFFFF;
    --dc-mist: #F4F7FB;
    --dc-charcoal: #111827;
    --dc-muted: #5b667a;
    --dc-line: rgba(7, 18, 87, .12);
    --dc-shadow: 0 18px 48px rgba(7, 18, 87, .10);
    --dc-shadow-lg: 0 30px 80px rgba(7, 18, 87, .18);
    --dc-radius: 24px
}

html,
body {
    max-width: 100%;
    overflow-x: hidden
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dc-charcoal);
    background: var(--dc-white);
    font-size: 16px
}

.container {
    max-width: 1180px
}

.text-dc-royal {
    color: var(--dc-royal) !important
}

.text-dc-muted {
    color: var(--dc-muted) !important
}

.bg-dc-white {
    background: #fff !important
}

.bg-dc-mist {
    background: var(--dc-mist) !important
}

.site-header {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(7, 18, 87, .08);
    box-shadow: 0 8px 30px rgba(7, 18, 87, .04)
}

.navbar {
    min-height: 84px
}

.dc-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0
}

.dc-nav-mark-wrap {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--dc-mist);
    border: 1px solid rgba(7, 18, 87, .08)
}

.dc-nav-mark,
.brand-mark {
    object-fit: contain !important;
    display: block !important
}

.dc-nav-mark {
    width: 34px !important;
    height: 34px !important
}

.brand-mark {
    max-width: 56px !important;
    max-height: 56px !important
}

.dc-nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.05
}

.dc-nav-brand-text strong {
    font-family: Montserrat, Inter, sans-serif;
    font-size: 1.05rem;
    color: var(--dc-navy);
    letter-spacing: -.02em
}

.dc-nav-brand-text small {
    font-size: .78rem;
    color: var(--dc-muted);
    font-weight: 700
}

.navbar .nav-link {
    font-weight: 800;
    color: #334155;
    border-radius: 999px;
    padding: .62rem .8rem
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--dc-royal);
    background: rgba(22, 70, 184, .07)
}

.btn {
    border-radius: 999px;
    font-weight: 900;
    padding: .78rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem
}

.btn-lg {
    padding: .9rem 1.3rem;
    font-size: 1rem
}

.btn-primary {
    background: var(--dc-royal);
    border-color: var(--dc-royal);
    box-shadow: 0 12px 26px rgba(22, 70, 184, .18)
}

.btn-primary:hover {
    background: var(--dc-navy);
    border-color: var(--dc-navy)
}

.btn-gold {
    background: var(--dc-gold) !important;
    border-color: var(--dc-gold) !important;
    color: var(--dc-navy) !important;
    box-shadow: 0 14px 28px rgba(214, 167, 58, .20)
}

.btn-outline-primary {
    border-color: rgba(22, 70, 184, .35);
    color: var(--dc-royal);
    background: #fff
}

.btn-outline-primary:hover {
    background: var(--dc-royal);
    color: #fff
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .42);
    color: #fff
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--dc-navy)
}

.dc-kicker {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--dc-mist);
    background: rgba(214, 167, 58, .16);
    border: 1px solid rgba(214, 167, 58, .34);
    border-radius: 999px;
    padding: .46rem .78rem
}

.dc-kicker.gold {
    background: rgba(214, 167, 58, .20);
    color: #fff;
    border-color: rgba(214, 167, 58, .40)
}

.dc-section {
    padding: 5rem 0
}

.dc-section-heading {
    max-width: 720px;
    margin-bottom: 2.25rem
}

.dc-section-heading h2 {
    font-family: Montserrat, Inter, sans-serif;
    color: var(--dc-navy);
    letter-spacing: -.035em;
    font-weight: 900
}

.dc-section-heading p {
    color: var(--dc-muted);
    font-size: 1.04rem;
    line-height: 1.7
}

.dc-card,
.card,
.dc-form-panel {
    border-radius: var(--dc-radius) !important;
    border: 1px solid var(--dc-line) !important;
    box-shadow: var(--dc-shadow);
    background: #fff
}

.dc-landing-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 18%, rgba(214, 167, 58, .24), transparent 24rem), linear-gradient(135deg, var(--dc-navy) 0%, #0a1d7a 58%, #1237a8 100%);
    padding: 6.5rem 0;
    color: #fff
}

.dc-landing-hero:after {
    content: "";
    position: absolute;
    right: -16rem;
    bottom: -18rem;
    width: 40rem;
    height: 40rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06)
}

.dc-landing-hero .container {
    position: relative;
    z-index: 1
}

.dc-landing-title {
    font-family: Montserrat, Inter, sans-serif;
    font-size: clamp(2.6rem, 5.8vw, 5.4rem);
    line-height: .97;
    letter-spacing: -.055em;
    font-weight: 900;
    max-width: 10.5ch;
    margin: 0 0 1.25rem;
    color: #fff
}

.dc-landing-copy {
    font-size: 1.13rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
    max-width: 58ch;
    margin-bottom: 1.8rem
}

.dc-landing-actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap
}

.dc-facility-card {
    background: #fff;
    color: var(--dc-charcoal);
    border-radius: 32px;
    padding: 1.35rem;
    box-shadow: var(--dc-shadow-lg);
    border: 1px solid rgba(255, 255, 255, .5)
}

.dc-facility-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--dc-line);
    padding-bottom: 1rem;
    margin-bottom: 1rem
}

.dc-facility-card-head strong {
    display: block;
    color: var(--dc-navy);
    font-size: 1.12rem
}

.dc-facility-card-head span {
    color: var(--dc-muted);
    font-weight: 700
}

.dc-progress-panel.compact {
    background: var(--dc-mist);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem
}

.progress {
    height: .72rem;
    background: rgba(7, 18, 87, .09);
    border-radius: 999px
}

.progress-bar {
    background: linear-gradient(90deg, var(--dc-royal), var(--dc-gold));
    border-radius: 999px
}

.dc-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem
}

.dc-status-grid div,
.mini-stat-card {
    background: #fff;
    border: 1px solid var(--dc-line);
    border-radius: 18px;
    padding: .9rem
}

.dc-status-grid span,
.mini-stat-card span {
    display: block;
    color: var(--dc-muted);
    font-weight: 800;
    font-size: .78rem
}

.dc-status-grid strong,
.mini-stat-card strong {
    display: block;
    color: var(--dc-navy);
    font-weight: 900;
    margin-top: .1rem
}

.dc-action-card {
    display: block;
    height: 100%;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid var(--dc-line);
    background: #fff;
    text-decoration: none;
    color: var(--dc-charcoal);
    box-shadow: var(--dc-shadow);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease
}

.dc-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dc-shadow-lg);
    border-color: rgba(22, 70, 184, .24);
    color: var(--dc-charcoal)
}

.dc-action-card span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--dc-royal);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.dc-action-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--dc-navy);
    margin-bottom: .55rem
}

.dc-action-card p {
    color: var(--dc-muted);
    margin: 0;
    line-height: 1.65
}

.dc-brand-band {
    padding: 4rem 0;
    background: radial-gradient(circle at 88% 20%, rgba(214, 167, 58, .26), transparent 18rem), linear-gradient(135deg, var(--dc-navy), #0b237f);
    color: #fff
}

.dc-brand-band h2 {
    font-family: Montserrat, Inter, sans-serif;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.035em
}

.dc-brand-band p {
    color: rgba(255, 255, 255, .76);
    font-size: 1.03rem;
    line-height: 1.7
}

.site-footer {
    background: var(--dc-navy);
    color: #fff
}

.footer-link {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
    text-decoration: none
}

.footer-link:hover {
    color: #fff
}

.dc-sim-route-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.dc-sim-route-card {
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--dc-line);
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 18, 87, .07);
    text-decoration: none;
    color: var(--dc-charcoal);
    min-height: 120px
}

.dc-sim-route-card:hover {
    border-color: rgba(22, 70, 184, .26);
    box-shadow: var(--dc-shadow);
    color: var(--dc-charcoal)
}

.dc-sim-route-card strong {
    display: block;
    color: var(--dc-navy);
    font-weight: 900;
    margin-bottom: .35rem
}

.dc-sim-route-card span {
    display: block;
    color: var(--dc-muted);
    margin-bottom: .5rem
}

.dc-sim-route-card small {
    color: var(--dc-royal);
    font-weight: 800;
    word-break: break-word
}

.dc-admin-simulation-window {
    display: grid;
    grid-template-columns: 250px 1fr;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--dc-shadow-lg);
    border: 1px solid var(--dc-line)
}

.dc-admin-sim-sidebar {
    background: linear-gradient(180deg, var(--dc-navy), #0e2385);
    color: #fff;
    padding: 1.4rem
}

.dc-admin-sim-sidebar a {
    display: block;
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
    border-radius: 14px;
    padding: .72rem .85rem;
    font-weight: 800
}

.dc-admin-sim-sidebar a.active,
.dc-admin-sim-sidebar a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff
}

.dc-admin-sim-main {
    padding: 1.5rem
}

.dc-stat-card {
    border: 1px solid var(--dc-line);
    border-radius: 20px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(7, 18, 87, .07)
}

.dc-stat-card span {
    color: var(--dc-muted);
    font-weight: 800
}

.dc-stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--dc-navy);
    letter-spacing: -.04em
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--dc-navy), #0e2385) !important
}

.admin-layout a[href^="/admin"],
.admin-layout a[href^="/docs"],
.admin-layout a[href^="/design-system"] {
    word-break: normal
}

@media(max-width:991.98px) {
    .navbar {
        min-height: 72px
    }

    .dc-landing-hero {
        padding: 4.8rem 0
    }

    .dc-landing-title {
        max-width: 13ch
    }

    .dc-sim-route-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .dc-admin-simulation-window {
        grid-template-columns: 1fr
    }

    .dc-admin-sim-sidebar {
        display: flex;
        gap: .5rem;
        overflow: auto
    }

    .dc-section {
        padding: 4rem 0
    }
}

@media(max-width:575.98px) {
    .container {
        padding-left: 1.1rem;
        padding-right: 1.1rem
    }

    .dc-nav-brand-text strong {
        font-size: .98rem
    }

    .dc-nav-mark-wrap {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important
    }

    .dc-landing-hero {
        padding: 3.4rem 0
    }

    .dc-landing-title {
        font-size: clamp(2.25rem, 13vw, 3.35rem)
    }

    .dc-landing-actions .btn,
    .mobile-full-width {
        width: 100%
    }

    .dc-facility-card {
        border-radius: 24px;
        padding: 1rem
    }

    .dc-status-grid {
        grid-template-columns: 1fr
    }

    .dc-sim-route-grid {
        grid-template-columns: 1fr
    }

    .dc-section {
        padding: 3rem 0
    }

    .dc-brand-band {
        padding: 3rem 0
    }
}