:root {
    --navy-1000: #04131f;
    --navy-950: #071c2d;
    --navy-900: #0d2941;
    --navy-850: #12334f;
    --navy-800: #173b59;
    --navy-700: #24516f;
    --blue-600: #2f8d9a;
    --blue-500: #4cb7c5;
    --blue-300: #8fd0d8;
    --blue-150: #d8edf0;
    --ice-100: #edf4f7;
    --ice-50: #f7fafc;
    --white: #ffffff;
    --ink: #0d2941;
    --muted: #607487;
    --line: rgba(20, 55, 88, 0.16);
    --watch: #f2b84b;
    --risk: #e36b6b;
    --shell: 1780px;
    --header-height: 76px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body.roadmonitor-landing {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    color: var(--ink);
    background: var(--ice-50);
    font-family: "Segoe UI Variable", Aptos, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.roadmonitor-landing.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--navy-900);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.lm-shell {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 72px), var(--shell));
    margin-inline: auto;
}

.lm-section {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.lm-dark {
    overflow: hidden;
    color: var(--white);
    background: var(--navy-900);
}

.lm-light {
    color: var(--ink);
    background: rgba(247, 250, 252, 0.56);
}

.lm-osm-backdrop {
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    background-color: var(--ice-100);
    transition: opacity 400ms ease;
}

.lm-osm-backdrop::before,
.lm-osm-backdrop::after {
    content: "";
    position: absolute;
    inset: -12%;
    pointer-events: none;
}

.lm-osm-backdrop::before {
    opacity: 0.5;
    background:
        linear-gradient(24deg, transparent 47.8%, rgba(30, 82, 129, 0.45) 48%, rgba(30, 82, 129, 0.45) 48.35%, transparent 48.55%),
        linear-gradient(112deg, transparent 55%, rgba(30, 82, 129, 0.32) 55.2%, rgba(30, 82, 129, 0.32) 55.45%, transparent 55.65%);
}

.lm-osm-backdrop::after {
    background: rgba(241, 247, 252, 0.08);
}

.lm-osm-backdrop .leaflet-pane,
.lm-osm-backdrop .leaflet-map-pane,
.lm-osm-backdrop .leaflet-tile-pane {
    pointer-events: none !important;
}

.lm-osm-backdrop .leaflet-tile-pane {
    filter: grayscale(1) sepia(0.1) hue-rotate(168deg) saturate(0.8) brightness(1.04) contrast(0.96);
}

.lm-map-attribution {
    position: fixed;
    z-index: 6;
    right: 10px;
    bottom: 7px;
    margin: 0;
    padding: 2px 5px;
    color: rgba(7, 26, 47, 0.62);
    background: rgba(255, 255, 255, 0.74);
    font-size: 10px;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

body.is-light-section .lm-map-attribution {
    opacity: 1;
    pointer-events: auto;
}

.lm-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--white);
    border-bottom: 1px solid transparent;
    transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.lm-header.is-scrolled,
.lm-header.is-menu-open {
    background: rgba(4, 20, 38, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 34px rgba(0, 10, 23, 0.16);
    backdrop-filter: blur(18px);
}

.lm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.lm-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    letter-spacing: -0.025em;
}

.lm-brand strong {
    font-size: 18px;
    font-weight: 720;
    letter-spacing: -0.035em;
}

.lm-brand-mark {
    display: block;
    width: 34px;
    height: 24px;
    flex: 0 0 auto;
    overflow: visible;
}

.lm-brand-mark-primary { fill: currentColor; }
.lm-brand-mark-junction { fill: var(--blue-500); }

.lm-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lm-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    transition: color 180ms ease;
}

.lm-nav a:not(.lm-nav-login)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 1px;
    background: var(--white);
    transition: right 220ms var(--ease);
}

.lm-nav a:hover,
.lm-nav a:focus-visible {
    color: var(--white);
}

.lm-nav a:hover::after,
.lm-nav a:focus-visible::after {
    right: 0;
}

.lm-nav-login {
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.lm-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lm-menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition: transform 220ms ease;
}

.lm-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.lm-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.lm-photo-bg {
    --photo-shift: 0px;
    position: absolute;
    z-index: 0;
    inset: -7% 0;
    transform: translate3d(0, var(--photo-shift), 0) scale(1.08);
    will-change: transform;
}

.lm-photo-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-photo-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lm-photo-hero .lm-photo-media { object-position: center 47%; }

.lm-photo-hero::after {
    background:
        linear-gradient(90deg, rgba(7, 28, 45, 0.92) 0%, rgba(7, 28, 45, 0.72) 54%, rgba(7, 28, 45, 0.48) 100%),
        linear-gradient(0deg, rgba(7, 28, 45, 0.82) 0%, transparent 58%);
}

.lm-photo-ecosystem .lm-photo-media {
    object-position: center 24%;
    filter: saturate(0.58) contrast(1.06) brightness(0.88);
}

.lm-photo-ecosystem::after {
    background: rgba(7, 28, 45, 0.78);
}

.lm-photo-final .lm-photo-media {
    object-position: center 76%;
    filter: saturate(0.58) contrast(1.05) brightness(0.88);
}

.lm-photo-final::after {
    background: linear-gradient(90deg, rgba(7, 28, 45, 0.9), rgba(7, 28, 45, 0.66));
}

.lm-hero {
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 28px) 0 0;
}

.lm-hero-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: var(--shell);
    padding-top: 22px;
    padding-bottom: 34px;
}

.lm-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(48px, 4.4vw, 76px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.lm-hero p {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(19px, 1.45vw, 25px);
    line-height: 1.34;
    letter-spacing: -0.025em;
}

.lm-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 650;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 120ms ease, box-shadow 200ms ease;
}

.lm-button:active {
    transform: scale(0.97);
}

.lm-button:focus-visible,
.lm-nav a:focus-visible,
.lm-brand:focus-visible,
.lm-scroll-cue:focus-visible,
.lm-menu-toggle:focus-visible {
    outline: 2px solid var(--blue-300);
    outline-offset: 4px;
}

.lm-button-primary {
    color: var(--navy-950);
    background: var(--white);
    box-shadow: 0 16px 36px rgba(0, 8, 20, 0.18);
}

.lm-light .lm-button-primary {
    color: var(--white);
    background: var(--navy-900);
}

.lm-button-primary:hover {
    background: var(--ice-100);
}

.lm-light .lm-button-primary:hover {
    background: var(--navy-800);
}

.lm-button-secondary {
    color: var(--navy-900);
    border-color: rgba(6, 26, 51, 0.3);
    background: rgba(255, 255, 255, 0.58);
}

.lm-button-secondary:hover {
    border-color: var(--navy-900);
    background: var(--white);
}

.lm-dark .lm-button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(4, 20, 38, 0.28);
}

.lm-dark .lm-button-secondary:hover {
    color: var(--navy-950);
    border-color: var(--white);
    background: var(--white);
}

.lm-hero .lm-button {
    margin-top: 34px;
}

.lm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.lm-hero .lm-hero-actions .lm-button {
    margin-top: 0;
}

.lm-scroll-cue {
    position: absolute;
    z-index: 4;
    right: max(32px, calc((100vw - var(--shell)) / 2));
    bottom: 194px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lm-scroll-cue::before,
.lm-scroll-cue::after {
    content: "";
    position: absolute;
    left: 50%;
    background: var(--white);
}

.lm-scroll-cue::before {
    top: 10px;
    width: 1px;
    height: 18px;
}

.lm-scroll-cue::after {
    bottom: 11px;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    background: transparent;
    transform: translateX(-50%) rotate(45deg);
}

.lm-stats {
    padding: clamp(24px, 2.4vw, 34px) 0;
}

.lm-hero-stats {
    flex: 0 0 auto;
    padding-top: 12px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.lm-hero-stats .lm-stats-grid {
    border-color: rgba(255, 255, 255, 0.18);
}

.lm-hero-stats .lm-stat strong,
.lm-hero-stats .lm-stat span {
    color: var(--white);
}

.lm-hero-stats .lm-stat small {
    color: rgba(255, 255, 255, 0.56);
}

.lm-hero-stats .lm-stat:not([hidden]) ~ .lm-stat:not([hidden]) {
    border-color: rgba(255, 255, 255, 0.18);
}

.lm-hero-stats[hidden] ~ .lm-scroll-cue {
    bottom: 34px;
}


.lm-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lm-stat {
    min-width: 0;
    padding: 18px clamp(22px, 2.2vw, 38px) 17px;
}

.lm-stat:not([hidden]) ~ .lm-stat:not([hidden]) {
    border-left: 1px solid var(--line);
}

.lm-stats-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-stats-grid[data-count="1"] {
    grid-template-columns: minmax(0, 1fr);
}

.lm-stat strong {
    display: block;
    min-height: 1.05em;
    color: var(--navy-900);
    font-size: clamp(38px, 3vw, 50px);
    font-weight: 580;
    line-height: 0.95;
    letter-spacing: -0.065em;
    font-variant-numeric: tabular-nums;
}

.lm-stat span {
    display: block;
    max-width: 280px;
    margin-top: 15px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
}

.lm-stat small {
    display: block;
    max-width: 285px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

.lm-stats-grid[aria-busy="true"] .lm-stat strong {
    width: min(68%, 230px);
    height: 0.78em;
    min-height: 0;
    margin-top: 4px;
    background: rgba(37, 108, 183, 0.12);
    animation: lm-pulse 1.4s ease-in-out infinite;
}

.lm-services,
.lm-modules,
.lm-analytics {
    padding: clamp(70px, 6vw, 92px) 0;
}

.lm-services {
    border-bottom: 1px solid rgba(20, 55, 88, 0.12);
    background: rgba(237, 244, 247, 0.82);
}

.lm-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
    gap: clamp(44px, 7vw, 110px);
    align-items: end;
    margin-bottom: clamp(42px, 4.5vw, 64px);
}

.lm-section-heading h2 {
    margin: 0;
    font-size: clamp(40px, 3.8vw, 60px);
    font-weight: 580;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.lm-section-heading p {
    max-width: 520px;
    margin: 0 0 5px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.15vw, 19px);
    font-weight: 520;
    line-height: 1.55;
}

.lm-section-heading-dark p {
    color: var(--ink);
}

.lm-work-modes {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) 52px minmax(0, 1.08fr);
    align-items: stretch;
}

.lm-work-mode {
    position: relative;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(34px, 3.4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(20, 55, 88, 0.14);
    border-radius: 18px;
}

.lm-work-mode-platform {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(6, 26, 51, 0.05);
}

.lm-work-mode-turnkey {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.08);
    background: var(--navy-950);
    box-shadow: 0 10px 30px rgba(7, 28, 45, 0.14);
}

.lm-work-mode h3 {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 0 18px;
    font-size: clamp(34px, 2.9vw, 48px);
    font-weight: 580;
    line-height: 1;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.lm-work-mode > p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.62;
}

.lm-work-mode-turnkey > p {
    color: rgba(255, 255, 255, 0.78);
}

.lm-work-mode > .lm-button {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.lm-work-choice {
    z-index: 2;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
    border: 1px solid rgba(20, 55, 88, 0.16);
    border-radius: 50%;
    background: var(--ice-50);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.04em;
}

.lm-service-list {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    margin: 27px 0 34px;
    padding: 0;
    list-style: none;
}

.lm-service-list li {
    position: relative;
    padding: 12px 8px 12px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    line-height: 1.35;
}

.lm-service-list li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 2px;
    width: 10px;
    height: 1px;
    background: var(--blue-300);
}

.lm-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.5vw, 24px);
}

.lm-module {
    position: relative;
    min-height: 410px;
    padding: clamp(30px, 3vw, 46px);
    color: var(--ink);
    border: 1px solid rgba(20, 55, 88, 0.12);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(6, 26, 51, 0.06);
}

.lm-module + .lm-module {
    padding: clamp(30px, 3vw, 46px);
}

.lm-module h3 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(32px, 2.6vw, 40px);
    font-weight: 560;
    line-height: 1;
    letter-spacing: -0.05em;
}

.lm-module > p {
    max-width: 480px;
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
}

.lm-module ul {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.lm-module li {
    position: relative;
    padding: 10px 10px 10px 23px;
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.lm-module li::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 2px;
    width: 9px;
    height: 1px;
    background: var(--blue-300);
}

.lm-ecosystem {
    padding: clamp(68px, 5.3vw, 82px) 0;
}

.lm-ecosystem-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
    gap: clamp(52px, 7vw, 118px);
    align-items: start;
}

.lm-ecosystem-copy h2 {
    margin: 0;
    font-size: clamp(40px, 3.8vw, 60px);
    font-weight: 580;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.lm-ecosystem-copy p {
    max-width: 480px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.15vw, 19px);
    font-weight: 520;
    line-height: 1.55;
}

.lm-ecosystem-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lm-ecosystem-item {
    min-width: 0;
    min-height: 168px;
    padding: 28px;
    border-top: 2px solid var(--blue-500);
    background: rgba(7, 28, 45, 0.78);
    box-shadow: 0 8px 24px rgba(2, 12, 24, 0.14);
}

.lm-ecosystem-item h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 21px;
    font-weight: 630;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.lm-ecosystem-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
}

.lm-analytics-visual {
    overflow: hidden;
    margin: 0;
    color: var(--white);
    border: 1px solid rgba(20, 55, 88, 0.14);
    border-radius: 24px;
    background: var(--navy-950);
    box-shadow: 0 24px 64px rgba(7, 28, 45, 0.16);
}

.lm-analytics-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
}

.lm-analytics-pane {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 600px;
    flex-direction: column;
    padding: clamp(32px, 3.2vw, 52px);
    isolation: isolate;
}

.lm-analytics-pane::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
}

.lm-analytics-diagnostics {
    background: var(--navy-950);
}

.lm-analytics-diagnostics::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(76, 183, 197, 0.18), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 54%);
}

.lm-analytics-traffic {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a2236;
}

.lm-analytics-traffic::before {
    background:
        radial-gradient(circle at 88% 10%, rgba(242, 184, 75, 0.15), transparent 34%),
        linear-gradient(215deg, rgba(255, 255, 255, 0.028), transparent 52%);
}

.lm-analytics-pane-header {
    display: flex;
    min-height: 150px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.lm-analytics-pane-header > div:first-child {
    max-width: 570px;
}

.lm-analytics-eyebrow,
.lm-analytics-outcome-copy > span {
    display: block;
    color: var(--blue-300);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lm-analytics-traffic .lm-analytics-eyebrow {
    color: var(--watch);
}

.lm-analytics-pane h3 {
    margin: 12px 0 0;
    font-size: clamp(30px, 2.55vw, 43px);
    font-weight: 610;
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.lm-analytics-pane-header p {
    max-width: 53ch;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
}

.lm-network-fact {
    display: grid;
    flex: 0 0 142px;
    gap: 2px;
    padding: 14px 16px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(8, 33, 51, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 30px rgba(0, 10, 23, 0.16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.lm-network-fact[hidden] {
    display: none;
}

.lm-network-fact span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-network-fact strong {
    color: var(--white);
    font-size: 30px;
    font-weight: 670;
    line-height: 1;
    letter-spacing: -0.055em;
    font-variant-numeric: tabular-nums;
}

.lm-network-fact small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    line-height: 1.3;
}

.lm-diagnostic-plot,
.lm-traffic-plot {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    margin: 22px 0 16px;
}

.lm-diagnostic-plot svg,
.lm-traffic-plot svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.lm-diagnostic-grid path,
.lm-traffic-grid path {
    fill: none;
    stroke: rgba(178, 207, 220, 0.09);
    stroke-width: 1;
}

.lm-diagnostic-threshold {
    fill: none;
    stroke: rgba(242, 184, 75, 0.58);
    stroke-width: 1.5;
    stroke-dasharray: 5 8;
}

.lm-diagnostic-threshold-label,
.lm-diagnostic-axis text,
.lm-diagnostic-focus text,
.lm-traffic-labels text {
    font-family: "Segoe UI Variable", Aptos, "Segoe UI", sans-serif;
}

.lm-diagnostic-threshold-label {
    fill: rgba(242, 184, 75, 0.8);
    font-size: 11px;
    font-weight: 650;
}

.lm-diagnostic-area {
    fill: url("#diagnosticArea");
}

.lm-diagnostic-profile {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(76, 183, 197, 0.24));
}

.lm-diagnostic-focus path {
    fill: none;
    stroke: rgba(227, 107, 107, 0.55);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.lm-diagnostic-focus circle {
    fill: var(--risk);
    stroke: var(--navy-950);
    stroke-width: 4;
}

.lm-diagnostic-focus text {
    fill: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 620;
}

.lm-condition-ribbon path {
    fill: none;
    stroke-linecap: round;
}

.lm-condition-ribbon .lm-condition-base {
    stroke: rgba(2, 12, 24, 0.7);
    stroke-width: 22;
}

.lm-condition-ribbon .is-ok,
.lm-condition-ribbon .is-watch,
.lm-condition-ribbon .is-risk {
    stroke-width: 13;
}

.lm-condition-ribbon .is-ok {
    stroke: var(--blue-300);
}

.lm-condition-ribbon .is-watch {
    stroke: var(--watch);
}

.lm-condition-ribbon .is-risk {
    stroke: var(--risk);
}

.lm-condition-ribbon circle {
    fill: var(--navy-950);
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2;
}

.lm-diagnostic-axis text {
    fill: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    font-weight: 620;
    font-variant-numeric: tabular-nums;
}

.lm-traffic-roads path,
.lm-traffic-lanes path,
.lm-traffic-flows path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lm-traffic-roads path {
    stroke: rgba(3, 15, 27, 0.78);
    stroke-width: 34;
}

.lm-traffic-lanes path {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1.5;
    stroke-dasharray: 8 10;
}

.lm-traffic-flows path {
    stroke-width: 5;
    stroke-dasharray: 8 17;
    animation: lm-traffic-flow 2.4s linear infinite;
}

.lm-traffic-flows .is-forward {
    stroke: var(--blue-500);
}

.lm-traffic-flows .is-return {
    stroke: var(--blue-300);
    animation-direction: reverse;
}

.lm-traffic-flows .is-branch {
    stroke: var(--watch);
    animation-delay: -0.9s;
}

.lm-traffic-node circle:first-child {
    fill: rgba(7, 28, 45, 0.92);
    stroke: rgba(143, 208, 216, 0.46);
    stroke-width: 2;
}

.lm-traffic-node circle:nth-child(2) {
    fill: var(--watch);
    stroke: #0a2236;
    stroke-width: 4;
}

.lm-traffic-node path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
}

.lm-traffic-labels rect {
    fill: rgba(7, 28, 45, 0.88);
    stroke: rgba(255, 255, 255, 0.13);
}

.lm-traffic-labels text {
    fill: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    font-weight: 620;
}

.lm-traffic-endpoints circle {
    fill: var(--white);
    stroke: #0a2236;
    stroke-width: 4;
}

.lm-analytics-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: auto 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.lm-analytics-signals div {
    min-width: 0;
    padding: 17px 14px 0 0;
}

.lm-analytics-signals div + div {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lm-analytics-signals dt,
.lm-analytics-signals dd {
    margin: 0;
}

.lm-analytics-signals dt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 680;
}

.lm-analytics-signals dd {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    line-height: 1.35;
}

.lm-analytics-outcome {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 28px 54px;
    align-items: center;
    padding: clamp(28px, 3vw, 42px) clamp(32px, 3.2vw, 52px);
    color: var(--ink);
    background:
        linear-gradient(110deg, rgba(216, 237, 240, 0.58), transparent 42%),
        var(--white);
}

.lm-analytics-outcome-copy > span {
    color: var(--blue-600);
}

.lm-analytics-outcome-copy p {
    max-width: 760px;
    margin: 10px 0 0;
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 520;
    line-height: 1.45;
    letter-spacing: -0.018em;
    text-wrap: pretty;
}

.lm-analytics-outcome-copy strong {
    font-weight: 720;
}

.lm-analytics-outcome ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lm-analytics-outcome li {
    display: grid;
    min-height: 72px;
    align-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-left: 1px solid rgba(20, 55, 88, 0.14);
    color: var(--ink);
    font-size: 12px;
    font-weight: 660;
    line-height: 1.3;
}

.lm-analytics-outcome li i {
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue-500);
    box-shadow: 8px 0 0 rgba(76, 183, 197, 0.22);
}

.lm-analytics-outcome small {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}
.lm-final {
    display: flex;
    align-items: flex-start;
    min-height: 54svh;
    padding: 68px 0 86px;
}

.lm-final-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(64px, 8vw, 140px);
    align-items: start;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.lm-final-content {
    align-self: start;
}

.lm-final-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--white);
    font-size: 18px;
    font-weight: 720;
    letter-spacing: -.035em;
}

.lm-final-brand svg { width: 38px; height: 27px; overflow: visible; }

.lm-final h2 {
    max-width: 720px;
    margin: 0;
    color: var(--white);
    font-size: clamp(38px, 3.3vw, 56px);
    font-weight: 620;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.lm-final-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    margin-top: 30px;
}

.lm-final-contact-slot {
    display: grid;
    align-content: end;
    gap: 8px;
    min-height: 210px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.5;
}

.lm-final-contact-slot strong { color: #fff; font-size: 17px; }
.lm-final-requisites { color: rgba(255,255,255,.72); font-size: 13px; }
.lm-final-contact-slot address { max-width: 48ch; font-style: normal; }
.lm-final-contact-links, .lm-final-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.lm-final-contact-slot a { color: #fff; text-decoration-color: rgba(255,255,255,.38); text-underline-offset: 3px; }
.lm-final-legal { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
.lm-final-legal a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    line-height: 1.35;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="80"] { --reveal-delay: 80ms; }
[data-delay="100"] { --reveal-delay: 100ms; }
[data-delay="160"] { --reveal-delay: 160ms; }

@keyframes lm-traffic-flow {
    to { stroke-dashoffset: -50; }
}

@keyframes lm-pulse {
    0%, 100% { opacity: 0.38; }
    50% { opacity: 0.76; }
}

@media (max-width: 1024px) {
    :root { --header-height: 70px; }

    .lm-shell {
        width: min(calc(100% - 48px), var(--shell));
    }

    .lm-section-heading {
        grid-template-columns: 1fr 0.72fr;
        gap: 52px;
    }

    .lm-stat {
        padding-inline: 26px;
    }

    .lm-module {
        min-height: 400px;
    }

    .lm-analytics-split {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    }

    .lm-analytics-pane {
        padding: 32px;
    }

    .lm-analytics-pane-header {
        min-height: 210px;
    }

    .lm-network-fact {
        width: 150px;
        margin-top: 18px;
    }

    .lm-ecosystem-layout {
        grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
        gap: 36px;
    }

    .lm-ecosystem-item {
        padding: 24px;
    }
}

@media (max-width: 820px) {
    .lm-menu-toggle {
        display: block;
    }

    .lm-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: grid;
        align-content: start;
        gap: 0;
        height: calc(100svh - var(--header-height));
        padding: 30px 24px;
        background: rgba(4, 20, 38, 0.985);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        visibility: hidden;
        transition: opacity 220ms ease, transform 320ms var(--ease), visibility 320ms;
    }

    .lm-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
        visibility: visible;
    }

    .lm-nav a {
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 20px;
    }

    .lm-nav a::after {
        display: none;
    }

    .lm-nav-login {
        margin-top: 20px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
    }

    .lm-section-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lm-section-heading p {
        max-width: 620px;
    }

    .lm-stats-grid,
    .lm-stats-grid[data-count="2"],
    .lm-stats-grid[data-count="1"] {
        grid-template-columns: 1fr;
    }

    .lm-stat {
        display: grid;
        grid-template-columns: minmax(160px, 0.8fr) 1.2fr;
        gap: 10px 30px;
        align-items: end;
        padding: 22px 0;
    }

    .lm-stat + .lm-stat {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .lm-stat strong {
        grid-row: 1 / span 2;
    }

    .lm-stat span,
    .lm-stat small {
        margin-top: 0;
    }

    .lm-module-grid,
    .lm-analytics-split {
        grid-template-columns: 1fr;
    }

    .lm-work-modes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lm-work-choice {
        margin-block: -8px;
    }

    .lm-work-mode {
        min-height: 0;
    }

    .lm-work-mode > .lm-button {
        margin-top: 34px;
    }

    .lm-module {
        min-height: 0;
        padding: 36px;
    }

    .lm-module + .lm-module {
        padding: 36px;
    }

    .lm-ecosystem-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lm-ecosystem-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .lm-ecosystem-item {
        min-height: 150px;
    }

    .lm-analytics-pane {
        min-height: 0;
        padding: 38px;
    }

    .lm-analytics-pane-header {
        min-height: 0;
    }

    .lm-analytics-traffic {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .lm-diagnostic-plot,
    .lm-traffic-plot {
        width: min(100%, 720px);
        margin: 22px auto 16px;
    }

    .lm-analytics-outcome {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

@media (max-width: 600px) {
    :root { --header-height: 64px; }

    .lm-shell {
        width: calc(100% - 36px);
    }

    .lm-header .lm-shell {
        width: calc(100% - 28px);
    }

    .lm-brand strong {
        font-size: 16px;
    }

    .lm-hero {
        min-height: 100dvh;
        padding-bottom: 0;
    }

    .lm-photo-bg {
        inset: 0;
        transform: none !important;
        will-change: auto;
    }

    .lm-photo-hero {
        background-position: 56% center;
    }

    .lm-photo-hero::after {
        background: linear-gradient(90deg, rgba(2, 12, 24, 0.72), rgba(6, 26, 51, 0.4));
    }

    .lm-hero h1 {
        font-size: clamp(36px, 10.5vw, 46px);
        letter-spacing: -0.055em;
    }

    .lm-hero p {
        margin-top: 32px;
        font-size: 19px;
        line-height: 1.42;
    }

    .lm-hero .lm-button {
        width: 100%;
        margin-top: 28px;
    }

    .lm-hero-actions {
        display: grid;
        width: 100%;
        gap: 10px;
        margin-top: 28px;
    }

    .lm-hero .lm-hero-actions .lm-button {
        margin-top: 0;
    }

    .lm-scroll-cue {
        display: none;
    }

    .lm-stats {
        padding: 18px 0;
    }

    .lm-stat {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 4px 18px;
        align-items: center;
        padding: 17px 0;
    }

    .lm-stat strong {
        grid-row: 1 / span 2;
        font-size: 36px;
    }

    .lm-stat span {
        margin-top: 0;
        font-size: 14px;
    }

    .lm-stat small {
        margin-top: 0;
        font-size: 11px;
    }

    .lm-services,
    .lm-modules,
    .lm-analytics,
    .lm-ecosystem {
        padding: 68px 0;
    }

    .lm-work-mode {
        padding: 30px 24px;
        border-radius: 14px;
    }

    .lm-work-mode h3 {
        font-size: 34px;
    }

    .lm-service-list {
        margin-bottom: 28px;
    }

    .lm-work-mode > .lm-button {
        width: 100%;
    }

    .lm-section-heading {
        margin-bottom: 38px;
    }

    .lm-section-heading h2 {
        font-size: 38px;
    }

    .lm-section-heading p {
        font-size: 17px;
    }

    .lm-module h3 {
        font-size: 34px;
    }

    .lm-module ul {
        margin-top: 26px;
    }

    .lm-ecosystem-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0;
    }

    .lm-ecosystem-copy h2 {
        font-size: 38px;
    }

    .lm-ecosystem-copy p {
        margin-top: 22px;
        font-size: 17px;
    }

    .lm-ecosystem-item {
        min-height: 0;
        padding: 18px;
        border-top-width: 1px;
    }

    .lm-ecosystem-item h3 {
        font-size: 18px;
    }

    .lm-ecosystem-item p {
        font-size: 12px;
    }

    .lm-analytics-visual {
        border-radius: 18px;
    }

    .lm-analytics-pane {
        padding: 28px 20px;
    }

    .lm-analytics-pane-header {
        display: block;
    }

    .lm-analytics-pane h3 {
        font-size: 32px;
    }

    .lm-analytics-pane-header p {
        margin-top: 14px;
        font-size: 14px;
    }

    .lm-network-fact {
        width: 100%;
        margin: 20px 0 0;
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .lm-network-fact small {
        grid-column: 1 / -1;
    }

    .lm-diagnostic-plot,
    .lm-traffic-plot {
        width: calc(100% + 12px);
        margin: 18px -6px 12px;
    }

    .lm-diagnostic-threshold-label,
    .lm-diagnostic-focus text,
    .lm-traffic-labels text {
        font-size: 10px;
    }

    .lm-analytics-signals {
        grid-template-columns: 1fr;
    }

    .lm-analytics-signals div,
    .lm-analytics-signals div + div {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
    }

    .lm-analytics-signals div:first-child {
        border-top: 0;
    }

    .lm-analytics-signals dd {
        margin-top: 0;
    }

    .lm-analytics-outcome {
        gap: 22px;
        padding: 28px 20px;
    }

    .lm-analytics-outcome ul {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lm-analytics-outcome li {
        min-height: 0;
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: center;
        padding: 11px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .lm-analytics-outcome li:last-child {
        border-bottom: 1px solid var(--line);
    }

    .lm-analytics-outcome small {
        padding-top: 0;
        border-top: 0;
    }

    .lm-final {
        min-height: 52svh;
        padding: 56px 0;
    }

    .lm-final-inner {
        grid-template-columns: 1fr;
        padding-top: 38px;
    }

    .lm-final-contact-slot {
        min-height: 0;
        margin-top: 42px;
        padding-top: 24px;
        border-top: 1px solid rgba(255,255,255,.16);
    }

    .lm-final-legal {
        gap: 2px 16px;
    }

    .lm-final-legal a {
        min-height: 44px;
        font-size: 14px;
    }

    .lm-final h2 {
        font-size: clamp(38px, 11vw, 48px);
    }

    .lm-final-actions {
        display: grid;
        margin-top: 30px;
    }

    .lm-final-actions .lm-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .lm-photo-bg {
        transform: scale(1.04);
        will-change: auto;
    }
}
