:root {
    --primary: #2563eb;
    --primary-soft: rgba(37, 99, 235, 0.1);
    --primary-muted: #3b82f6;
    --ink: #0f172a;
    --dark: #0f172a;
    --soft-bg: #f8fafc;
    --soft-bg-alt: #f1f5f9;
    --card-bg: #f1f5f9;
    --white: #ffffff;
    --border-subtle: #e2e8f0;
    --text-gray: #64748b;
    --danger: #dc2626;
    --success: #16a34a;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    --radius: 14px;
    --radius-lg: 20px;
    --nav-h: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.section[id] {
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    background: var(--soft-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
video,
svg {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--nav-h);
    padding: 0 clamp(1rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand__logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.brand__text {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand__text em {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: center;
}

.nav-menu a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: var(--soft-bg-alt);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (уурхайн зураг — login шиг зөөлөн, тод) ── */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    min-height: min(78vh, 820px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 3rem) clamp(1rem, 5vw, 3rem) 4rem;
    text-align: center;
    background: #0f172a;
    color: var(--ink);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0f172a center / cover no-repeat;
}

.hero__bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%) scale(1.08);
    filter: blur(2px) brightness(0.88) contrast(1.06);
    -webkit-transform: translate(-50%, -50%) scale(1.08);
    will-change: transform;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.18) 38%, transparent 62%),
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(15, 23, 42, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 32%,
        rgba(248, 250, 252, 0.72) 58%,
        rgba(255, 255, 255, 0.94) 82%,
        var(--soft-bg) 100%
    );
    pointer-events: none;
}

.hero__badge,
.hero__title,
.hero__lead,
.hero__actions {
    position: relative;
    z-index: 3;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    margin-bottom: 1.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
    border-radius: 999px;
}

.hero__badge i {
    color: #fbbf24;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw + 0.5rem, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    max-width: 800px;
    margin-inline: auto;
    color: var(--ink);
    text-shadow: 0 2px 28px rgba(255, 255, 255, 0.95), 0 0 1px rgba(255, 255, 255, 0.8);
}

.hero__lead {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.15rem);
    color: #334155;
    max-width: 640px;
    margin: 0 auto 2rem;
    font-weight: 500;
}

.hero .btn--outline {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
    .hero__bg img {
        animation: heroKenBurns 28s ease-in-out infinite alternate;
    }
}

@keyframes heroKenBurns {
    from {
        transform: translate(-50%, -50%) scale(1.06);
    }
    to {
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg img {
        animation: none;
        transform: translate(-50%, -50%) scale(1.08);
        filter: blur(1px) brightness(0.9) contrast(1.04);
    }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.btn--outline {
    background: var(--white);
    color: var(--ink);
    border-color: var(--border-subtle);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ── Sections ── */
.section {
    padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
}

.section--alt {
    background: var(--soft-bg-alt);
    max-width: none;
    padding-inline: clamp(1rem, 5vw, 3rem);
}

.section--alt > * {
    max-width: 1200px;
    margin-inline: auto;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-desc {
    margin-top: 0.75rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.examples-disclaimer {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    max-width: 52rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #78350f;
}

.examples-disclaimer__icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.1rem;
    color: #d97706;
}

.examples-disclaimer__text strong {
    color: #92400e;
    font-weight: 800;
}

/* ── Comparison ── */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.comp-card {
    background: var(--white);
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.2s ease;
}

.comp-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.comp-card--problem {
    border-bottom: 4px solid var(--danger);
}

.comp-card--solution {
    border-bottom: 4px solid var(--primary);
}

.comp-card--wide {
    max-width: 900px;
    margin: 0 auto;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem 1.5rem;
}

.advantages-list li {
    margin-bottom: 0.65rem;
}

.comp-card h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.comp-card--problem h3 {
    color: var(--danger);
}

.comp-card--solution h3 {
    color: var(--primary);
}

.comp-card ul {
    list-style: none;
}

.comp-card li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.comp-card li i {
    margin-top: 4px;
    flex-shrink: 0;
}

.comp-card--problem li i {
    color: var(--danger);
}

.comp-card--solution li i {
    color: var(--success);
}

/* ── Portal / Modules (зургийн стиль) ── */
.portal-bg {
    background: var(--white);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--card-shadow);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.app-item {
    background: var(--card-bg);
    border: 1.5px solid transparent;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    font: inherit;
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
}

.app-item:hover,
.app-item:focus-visible {
    background: var(--white);
    outline: none;
}

.app-item:focus-visible {
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.app-item--active {
    border-color: var(--primary);
    background: var(--white);
}

.app-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.75rem;
    color: var(--primary);
    line-height: 1;
}

.app-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.custom-note {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
}

.custom-note i {
    font-size: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-note p {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ── Module preview (жишээ харагдац) ── */
.module-preview {
    max-width: 1100px;
    margin: 0 auto;
}

.module-preview__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.preview-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-gray);
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.preview-tab i {
    color: var(--primary);
    font-size: 0.9rem;
}

.preview-tab:hover,
.preview-tab:focus-visible {
    border-color: var(--primary);
    color: var(--ink);
    outline: none;
}

.preview-tab--active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.preview-tab--active i {
    color: var(--white);
}

.mock-app {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    max-width: 100%;
}

.mock-app__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-app__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.mock-app__title strong {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-app__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-app__dot:nth-child(1) { background: #fca5a5; }
.mock-app__dot:nth-child(2) { background: #fcd34d; }
.mock-app__dot:nth-child(3) { background: #86efac; }

.mock-app__badge {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 6px;
}

.mock-app__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    background: var(--soft-bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.mock-chip--action {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: rgba(37, 99, 235, 0.2);
}

.mock-chip--active {
    color: var(--primary);
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.mock-chip[data-chip] {
    cursor: pointer;
}

.mock-chip[data-chip]:hover {
    border-color: #93c5fd;
}

/* Замын хуудас — цахим ачилтын маягт */
.waybill {
    padding: 0.75rem 1rem 1rem;
}

.waybill__paper {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.waybill__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
    border-bottom: 2px solid #2563eb;
}

.waybill__brand {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #1d4ed8;
}

.waybill__titles {
    flex: 1;
    min-width: 180px;
}

.waybill__project {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-gray);
}

.waybill__title {
    margin: 0.15rem 0 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}

.waybill__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2563eb;
}

.waybill__op-media {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #94a3b8;
    box-shadow: none;
}

.waybill__op-media .waybill__op-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid #cbd5e1;
    border-radius: 1px;
    box-shadow: none;
}

.waybill__op-media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #94a3b8;
    font-size: 1.15rem;
}

.waybill__shift {
    display: flex;
    gap: 0.35rem;
}

.waybill__shift-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    color: var(--text-gray);
    background: #fff;
}

.waybill__shift-btn.is-on {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.waybill__meta {
    padding: 0.85rem 1.15rem;
    background: #fff;
    border-bottom: 1px solid var(--border-subtle);
}

.waybill__operator {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.waybill__op-photo {
    width: 56px;
    height: 56px;
}

.waybill__op-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.waybill__op-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-gray);
}

.waybill__op-info strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}

.waybill__op-info small {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-gray);
}

.waybill__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.55rem 1rem;
}

.waybill__field {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.waybill__field span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-gray);
}

.waybill__field strong {
    font-size: 0.92rem;
    color: var(--ink);
}

.waybill__park {
    color: #1d4ed8;
    font-size: 1.05rem !important;
}

.waybill__total {
    padding: 0.85rem 1.15rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
}

.waybill__total-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.65rem;
}

.waybill__total-main span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-gray);
}

.waybill__total-main strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: #1d4ed8;
}

.waybill__total-main small {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
}

.waybill__split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 0.45rem;
}

.waybill__split {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.55rem;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-gray);
}

.waybill__split strong {
    color: var(--ink);
}

.waybill__load {
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.waybill__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
}

.waybill__legend-hint {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
}

.waybill__scroll {
    max-height: 320px;
    overflow: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.waybill__scroll .waybill__table {
    min-width: 520px;
}

.waybill__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.waybill__table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f1f5f9;
}

.waybill__table th {
    padding: 0.55rem 0.65rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-gray);
    border-bottom: 1px solid #cbd5e1;
}

.waybill__table td {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.waybill-row {
    cursor: pointer;
    transition: background 0.12s ease;
}

.waybill-row:hover,
.waybill-row:focus-visible {
    background: #eff6ff;
    outline: none;
}

.waybill__no {
    width: 2rem;
    font-weight: 800;
    color: var(--text-gray);
}

.waybill__time strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.waybill__ex {
    font-weight: 700;
    color: #1d4ed8;
}

.waybill__mat {
    white-space: nowrap;
}

.mock-app__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
    padding: 0.85rem 1.15rem;
    background: #fafbfc;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-stat {
    padding: 0.65rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.mock-stat__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.15rem;
}

.mock-stat__val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.mock-stat__val--ok { color: var(--success); }
.mock-stat__val--warn { color: #d97706; }

.mock-app__body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mock-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.mock-table th,
.mock-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.mock-table th {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-gray);
    background: #f8fafc;
}

.mock-table tbody tr:hover {
    background: #fafbfc;
}

.mock-table td:first-child {
    font-weight: 700;
    color: var(--primary);
}

.status-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
}

.status-pill--ok {
    color: #15803d;
    background: #dcfce7;
}

.status-pill--warn {
    color: #b45309;
    background: #fef3c7;
}

.status-pill--idle {
    color: #475569;
    background: #e2e8f0;
}

.status-pill--danger {
    color: #b91c1c;
    background: #fee2e2;
}

/* Рейс — нүүрсний зэрэг H/M/L, Parting, хөрс */
.cargo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    cursor: help;
}

.cargo-pill--h {
    background: #1e3a8a;
    color: #fff;
}

.cargo-pill--m {
    background: #2563eb;
    color: #fff;
}

.cargo-pill--l {
    background: #93c5fd;
    color: #1e3a8a;
}

.cargo-pill--parting {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.cargo-pill--soil {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #6ee7b7;
    min-width: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.cargo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.fd__cargo-active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.fd__cargo-active small {
    color: var(--text-gray);
    font-weight: 600;
}

.fd__section--cargo {
    margin-top: 0.25rem;
}

.mock-app__note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.8rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.55;
    color: #475569;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
}

.mock-app__note i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.mock-app__note-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.mock-app__note-line {
    display: block;
}

.mock-app__note-text strong {
    font-weight: 700;
    color: #334155;
}

.mock-table tbody tr.mock-row--clickable {
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mock-table tbody tr.mock-row--clickable:hover,
.mock-table tbody tr.mock-row--active {
    background: #eff6ff;
    box-shadow: inset 3px 0 0 var(--primary);
}

.mock-table tbody tr.mock-row--active td:first-child {
    color: var(--primary);
}

/* ── Техникийн дэлгэрэнгүй (модуль шиг төв цонх) ── */
#fleetDrawerOverlay {
    z-index: 2100;
}

.modal--fleet {
    max-width: min(520px, 100%);
}

.modal__content--fleet {
    padding-top: 0;
}

.fd__hero {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    overflow: hidden;
}

.fd__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fd__hero--contain {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.fd__hero--contain img {
    object-fit: contain;
    object-position: center center;
    padding: 0.5rem;
}

.fd__hero--dump {
    height: clamp(150px, 32vw, 200px);
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
}

.fd__hero--dump img {
    object-fit: contain;
    object-position: center center;
    padding: 0.25rem 0.75rem;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .fd__hero--dump {
        height: 200px;
    }
}

.fd__hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.35;
}

.fd__park-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.fd__body {
    padding: 0 0 0.5rem;
}

.fd__sub {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-gray);
}

.fd__sub--lead {
    margin-top: 0;
}

.fd__section {
    margin-top: 1.1rem;
}

.fd__section h4 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-gray);
    margin: 0 0 0.55rem;
}

.fd__section h4 i {
    color: var(--primary);
}

.fd__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.fd__mini {
    padding: 0.55rem 0.65rem;
    background: var(--soft-bg-alt);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.fd__mini span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-gray);
}

.fd__mini strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}

.fd__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fd__list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.82rem;
    color: var(--ink);
    line-height: 1.45;
}

.fd__list li:last-child {
    border-bottom: none;
}

.fd__list small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 0.15rem;
}

.fd__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #e2e8f0;
    margin-left: 0.35rem;
}

.fd__timeline li {
    position: relative;
    padding: 0 0 0.85rem 1rem;
    font-size: 0.8rem;
}

.fd__timeline li::before {
    content: "";
    position: absolute;
    left: -0.4rem;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.fd__timeline li.fd__ev--stop::before {
    background: #d97706;
}

.fd__timeline li.fd__ev--repair::before {
    background: #dc2626;
}

.fd__timeline time {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-gray);
}

.fd__timeline strong {
    font-weight: 700;
    color: var(--ink);
}

.fd__list li strong {
    display: block;
    font-size: 0.84rem;
    color: var(--ink);
}

.fd__staff {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 1.15rem 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}

.fd__staff--compact {
    margin: 0.5rem 1.15rem;
    padding: 0.55rem 0.75rem;
}

.fd__staff-photo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.fd__staff-photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: var(--text-gray);
    font-size: 1.25rem;
}

.fd__staff-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.fd__staff-role {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d4ed8;
    line-height: 1.3;
}

.fd__staff-ovog {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}

.fd__staff-ner {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.fd__staff-info small {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 600;
}

@media (max-width: 640px) {
    .preview-tab {
        font-size: 0.78rem;
        padding: 0.5rem 0.75rem;
    }

    .mock-table {
        min-width: 560px;
        font-size: 0.78rem;
    }

    .mock-table th,
    .mock-table td {
        padding: 0.6rem 0.75rem;
    }
}

/* ── Timeline ── */
.timeline-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-subtle);
}

.timeline-line {
    position: absolute;
    top: 88px;
    left: 18%;
    right: 18%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 0;
    overflow: hidden;
}

.timeline-line-fill {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.time-step {
    flex: 1;
    min-width: 260px;
    max-width: 46%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.time-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: 50%;
    background: var(--soft-bg-alt);
    color: var(--primary);
    border: 4px solid var(--white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: background 0.25s, color 0.25s;
}

.time-step--active .time-icon {
    background: var(--primary);
    color: var(--white);
    border-color: #dbeafe;
}

.time-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-muted);
    border-radius: 999px;
}

.time-badge--navy {
    background: var(--primary);
}

.time-step h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.65rem;
}

.time-step p {
    font-size: 0.93rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ── Dashboard ── */
.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 1.5rem;
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-subtle);
}

.stat-box__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-gray);
}

.stat-box h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--ink);
    margin-top: 0.35rem;
    line-height: 1.2;
}

.stat-box h3 small {
    font-size: 0.55em;
    font-weight: 600;
    color: var(--text-gray);
}

.stat-box__trend {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.stat-box__trend--up {
    color: var(--success);
}

.stat-box--chart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 1.25rem;
}

/* ── Удирдлагын DEMO дашбоорд ── */
.exec-demo {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--card-shadow);
    width: 100%;
    box-sizing: border-box;
}

.exec-demo__banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink);
}

.exec-demo__banner strong {
    color: var(--primary);
}

.exec-demo__banner em {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
}

.exec-demo__live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: execLivePulse 2s ease-in-out infinite;
}

@keyframes execLivePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.exec-demo__block-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.exec-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.exec-outcome {
    padding: 1rem 1.1rem;
    background: var(--soft-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.exec-outcome:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.exec-outcome__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.65rem;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1rem;
}

.exec-outcome h4 {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ink);
}

.exec-outcome p {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-gray);
}

.exec-outcome__link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.exec-outcome__link:hover {
    text-decoration: underline;
}

.exec-ops {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
}

.exec-ops__item {
    padding: 0.65rem 0.75rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.exec-ops__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.exec-ops__val {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: #1d4ed8;
    line-height: 1.2;
}

.exec-ops__sub {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
}

.section-desc a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.section-desc a:hover {
    text-decoration: underline;
}

.exec-demo__kpi-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
}

.exec-demo__hint {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-tile {
    position: relative;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--white);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.kpi-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.kpi-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.kpi-tile:hover::before {
    opacity: 1;
}

.kpi-tile__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.kpi-tile__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: var(--primary);
    font-size: 1.1rem;
}

.kpi-tile__name {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
    padding-top: 0.35rem;
}

.kpi-tile__val {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
}

.kpi-tile__suffix {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--text-gray);
}

.kpi-tile__unit {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.35;
}

.kpi-tile--ok .kpi-tile__val {
    color: var(--success);
}

.kpi-tile--ok .kpi-tile__icon {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    color: var(--success);
}

.kpi-tile--warn .kpi-tile__val {
    color: #d97706;
}

.kpi-tile--warn .kpi-tile__icon {
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    color: #d97706;
}

@media (max-width: 900px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Цашид хөгжүүлэх төлөвлөгөө ── */
.roadmap-intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto 2rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink);
}

.roadmap-intro__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.15rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.roadmap-card {
    position: relative;
    padding: 1.5rem 1.35rem 1.35rem;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.roadmap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.roadmap-card--highlight {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 100%);
}

.roadmap-card__num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.45;
    letter-spacing: 0.05em;
}

.roadmap-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.25rem;
}

.roadmap-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    padding-right: 2rem;
}

.roadmap-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.roadmap-flow {
    max-width: 560px;
    margin: 0 auto 1.75rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.roadmap-flow__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.roadmap-flow__title i {
    color: var(--primary);
}

.roadmap-flow__steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.roadmap-flow__steps > li:not(.roadmap-flow__arrow) {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.roadmap-flow__step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fef2f2;
    color: #dc2626;
    font-size: 1rem;
}

.roadmap-flow__step-icon--ok {
    background: #ecfdf5;
    color: var(--success);
}

.roadmap-flow__steps strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.roadmap-flow__steps p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.55;
}

.roadmap-flow__arrow {
    display: flex;
    justify-content: center;
    padding: 0.35rem 0 0.35rem 2.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    opacity: 0.5;
}

.roadmap-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    border: 1px dashed var(--border-subtle);
    border-radius: 999px;
    background: var(--soft-bg);
}

.roadmap-more i {
    color: var(--primary);
}

.roadmap-unified {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.08);
}

.roadmap-unified__head {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.roadmap-unified__num {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    letter-spacing: 0.06em;
    padding-top: 0.35rem;
}

.roadmap-unified__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.roadmap-unified h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.roadmap-unified__lead {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.65;
}

.roadmap-unified__flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.roadmap-unified__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.roadmap-unified__step-num {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.roadmap-unified__step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.roadmap-unified__step-icon--muted {
    background: #fef2f2;
    color: #dc2626;
}

.roadmap-unified__step-icon--ok {
    background: #ecfdf5;
    color: var(--success);
}

.roadmap-unified__step strong {
    display: block;
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.roadmap-unified__step p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.45;
    max-width: 200px;
}

.roadmap-unified__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0;
    color: var(--primary);
    opacity: 0.4;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .roadmap-unified__flow {
        flex-direction: row;
        align-items: stretch;
        gap: 0.5rem;
    }

    .roadmap-unified__step {
        flex: 1;
    }

    .roadmap-unified__connector {
        flex: 0 0 auto;
        padding: 0 0.25rem;
        align-self: center;
    }

    .roadmap-unified__connector i {
        transform: none;
    }
}

@media (max-width: 767px) {
    .roadmap-unified__connector i {
        transform: rotate(90deg);
    }
}

@media (min-width: 640px) {
    .roadmap-flow__arrow {
        padding-left: 3.25rem;
    }
}

.exec-charts {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 1.25rem;
    align-items: stretch;
}

.chart-panel {
    background: var(--soft-bg);
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
}

.chart-panel__head {
    margin-bottom: 0.65rem;
}

.chart-panel__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 0.2rem;
    letter-spacing: -0.02em;
}

.chart-panel__sub {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-gray);
    font-weight: 500;
}

.chart-panel__canvas {
    flex: 1;
    position: relative;
    min-height: 240px;
    height: 260px;
}

.chart-panel__canvas--bar {
    min-height: 280px;
    height: 300px;
}

@media (max-width: 900px) {
    .exec-charts {
        grid-template-columns: 1fr;
    }

    .chart-panel__canvas--bar {
        min-height: 260px;
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .exec-demo__live {
        animation: none;
    }
}

/* ── Modal ── */
body.is-modal-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    overscroll-behavior: contain;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 540px;
    max-height: min(88vh, 88dvh);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-subtle);
    animation: modalPop 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 1.25rem 1.25rem 0.75rem;
}

.modal__content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 1.25rem 1.25rem;
}

.close-modal {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--text-gray);
    background: var(--soft-bg-alt);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.close-modal:hover {
    background: #e2e8f0;
    color: var(--ink);
}

.modal h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    padding-right: 0.25rem;
    line-height: 1.35;
}

.modal ul {
    list-style: none;
    margin-bottom: 1rem;
}

.modal li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.45;
}

.modal li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

.modal__note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 640px) {
    .modal-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .modal {
        max-width: 100%;
        max-height: min(90vh, 90dvh);
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        animation: modalSlideUp 0.28s ease-out;
    }

    .modal__head {
        padding: 1rem 1rem 0.65rem;
    }

    .modal__content {
        padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .modal h2 {
        font-size: 1.05rem;
    }

    .modal li {
        font-size: 0.84rem;
        padding: 0.5rem 0;
    }

    .modal__note {
        font-size: 0.75rem;
    }

    .close-modal {
        width: 34px;
        height: 34px;
        font-size: 1.25rem;
    }
}

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer__logo {
    height: 34px;
    width: auto;
    margin: 0 auto 1rem;
}

.site-footer p {
    margin: 0;
    color: var(--text-gray);
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .dashboard-row {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        display: none;
    }

    .time-step {
        max-width: 100%;
    }
}

/* Notebook / tablet — урт цэс багтахгүй, гар утасны цэс (mini laptop 1280px хүртэл) */
@media (max-width: 1280px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem clamp(1rem, 4vw, 3rem) 1.25rem;
        background: var(--white);
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease;
        max-height: calc(100dvh - var(--nav-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li a {
        display: block;
        padding: 0.75rem 0;
    }

    .brand__text {
        font-size: 0.85rem;
    }

    .brand__logo {
        height: 32px;
    }

    .module-preview__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.35rem;
    }

    .preview-tab {
        flex-shrink: 0;
    }

    .exec-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exec-ops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1281px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        flex-wrap: nowrap;
    }

    .nav-menu a {
        white-space: nowrap;
        font-size: 0.82rem;
    }
}

/* Notebook (жижиг дэлгэцтэй laptop) */
@media (min-width: 769px) and (max-width: 1280px) {
    .hero {
        min-height: min(58vh, 620px);
        padding-top: calc(var(--nav-h) + 2.5rem);
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exec-charts {
        gap: 1rem;
    }

    .section-desc {
        font-size: 0.98rem;
        padding-inline: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: min(72vh, 680px);
        padding-top: calc(var(--nav-h) + 2rem);
        padding-bottom: 3rem;
    }

    .hero__title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .hero__actions {
        width: 100%;
        max-width: 360px;
    }

    .hero .btn {
        flex: 1;
        min-width: 0;
    }

    .module-preview__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.35rem;
        margin-bottom: 0.85rem;
    }

    .preview-tab {
        flex-shrink: 0;
    }

    .mock-app__top,
    .mock-app__toolbar,
    .mock-app__stats {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .mock-app__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mock-app__note {
        padding: 0.75rem 0.85rem 1rem;
        font-size: 0.78rem;
    }

    .mock-app__note-line {
        display: block;
        margin-top: 0.35rem;
    }

    .mock-app__note-line:first-child {
        margin-top: 0;
    }

    .examples-disclaimer {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.82rem;
    }

    .waybill {
        padding: 0.5rem 0.65rem 0.85rem;
    }

    .waybill__head {
        padding: 0.85rem;
    }

    .waybill__titles {
        min-width: 0;
        flex: 1 1 100%;
        order: 2;
    }

    .waybill__brand {
        order: 1;
    }

    .waybill__shift {
        order: 3;
        width: 100%;
        justify-content: flex-end;
    }

    .waybill__meta {
        padding: 0.75rem 0.85rem;
    }

    .waybill__meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .waybill__split-grid {
        grid-template-columns: 1fr;
    }

    .waybill__legend {
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0.65rem 0.85rem;
    }

    .waybill__legend-hint {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

    .waybill__scroll {
        max-height: 50vh;
    }

    .fd__grid {
        grid-template-columns: 1fr;
    }

    .fd__hero {
        height: 120px;
    }

    .modal--fleet {
        max-height: min(92vh, 92dvh);
    }
}

@media (max-width: 480px) {
    :root {
        --nav-h: 68px;
    }

    .site-nav {
        padding: 0 0.85rem;
    }

    .brand__text em {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-bottom: 2.5rem;
    }

    .hero__actions {
        flex-direction: column;
        max-width: 100%;
    }

    .hero .btn {
        width: 100%;
    }

    .mock-app__stats {
        grid-template-columns: 1fr;
    }

    .mock-table {
        min-width: 520px;
        font-size: 0.76rem;
    }

    .waybill__meta-grid {
        grid-template-columns: 1fr;
    }

    .waybill__operator {
        align-items: flex-start;
    }

    .waybill__total {
        flex-direction: column;
        align-items: stretch;
    }

    .time-step {
        min-width: 100%;
        max-width: 100%;
    }

    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exec-outcomes {
        grid-template-columns: 1fr;
    }

    .exec-ops {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 380px) {
    .exec-ops {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
