/* Inter.do front-page experience */
.routing-home {
    --ink: #07111f;
    --ink-soft: #0c1b2d;
    --paper: #f4f1e9;
    --paper-soft: #ebe7dd;
    --white: #ffffff;
    --cyan: #28d7cf;
    --cyan-bright: #60fff2;
    --blue: #0d4c85;
    --amber: #ff9b50;
    --line: rgba(7, 17, 31, .14);
    --display: "Sora", "Segoe UI", sans-serif;
    --body: "Helvetica Neue", Arial, sans-serif;
    position: relative;
    width: 100vw;
    margin: -1rem 0 -1rem calc(50% - 50vw);
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

.routing-home *,
.routing-home *::before,
.routing-home *::after { box-sizing: border-box; }

.routing-home a { color: inherit; text-decoration: none; }
.routing-home button,
.routing-home input { font: inherit; }

html { scroll-behavior: smooth; }

body.routing-page { background: var(--paper, #f4f1e9); }
body.routing-page .navbar-fixed { height: 76px; }
body.routing-page nav {
    height: 76px;
    line-height: 76px;
    background: rgba(244, 241, 233, .94) !important;
    border-bottom: 1px solid rgba(7, 17, 31, .12);
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
body.routing-page nav .nav-wrapper.container {
    width: min(1240px, calc(100% - 64px));
    max-width: none;
}
body.routing-page nav .nav-wrapper > a:first-child {
    display: inline-flex;
    align-items: center;
    height: 76px;
}
body.routing-page nav .nav-wrapper > a:first-child img {
    width: 126px;
    height: auto !important;
}
body.routing-page nav ul a {
    color: #0b2034;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
body.routing-page footer.page-footer {
    margin: 0;
    padding: 0;
    background: #050d17 !important;
    color: rgba(255,255,255,.6);
}
body.routing-page footer .footer-copyright {
    min-height: 72px;
    background: transparent;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
    letter-spacing: .04em;
}

.route-progress {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--amber));
    box-shadow: 0 0 16px rgba(40, 215, 207, .7);
    pointer-events: none;
}

.signal-canvas {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .2;
    pointer-events: none;
}

.route-shell {
    position: relative;
    z-index: 3;
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

.route-hero {
    position: relative;
    min-height: calc(100vh - 76px);
    padding: 82px 0 0;
    overflow: hidden;
    background: #06111f;
    color: var(--white);
}

.route-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(3, 10, 20, .98) 0%, rgba(3, 11, 22, .84) 31%, rgba(3, 11, 22, .28) 63%, rgba(3, 11, 22, .12) 100%),
        linear-gradient(0deg, rgba(3, 10, 20, .88) 0%, transparent 42%),
        url('/content/images/routing-network-hero.png');
    background-position: center, center, center;
    background-size: cover;
    transform: scale(1.015);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.route-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: linear-gradient(to right, black, transparent 80%);
    mask-image: linear-gradient(to right, black, transparent 80%);
    pointer-events: none;
}

.hero-halo {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(40, 215, 207, .18);
    border-radius: 50%;
    pointer-events: none;
}
.hero-halo::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    top: 50%;
    left: -3px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 18px var(--cyan-bright);
}
.hero-halo-one { width: 740px; height: 740px; right: -260px; top: -230px; animation: haloSpin 22s linear infinite; }
.hero-halo-two { width: 460px; height: 460px; right: -75px; top: 90px; animation: haloSpin 15s linear infinite reverse; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
    gap: 72px;
    align-items: center;
    min-height: 650px;
    padding-bottom: 120px;
}

.hero-copy { position: relative; z-index: 5; max-width: 660px; }

.eyebrow,
.section-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.status-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 14px var(--cyan-bright);
}
.status-pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid var(--cyan-bright);
    border-radius: 50%;
    animation: ping 2s ease-out infinite;
}

.hero-copy h1 {
    max-width: 650px;
    margin: 28px 0 24px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(58px, 6vw, 92px);
    font-weight: 800;
    line-height: .97;
    letter-spacing: -.028em;
}
.hero-copy h1 span {
    display: inline-block;
    color: rgba(219, 239, 245, .94);
    text-shadow: 0 10px 34px rgba(37, 188, 173, .12);
}

.hero-lede {
    max-width: 590px;
    margin: 0;
    color: rgba(231, 242, 249, .76);
    font-size: 18px;
    line-height: 1.72;
}

.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 38px; }

.route-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.route-button svg,
.text-link svg,
.card-link svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.route-button:hover svg { transform: translateX(3px); }
.route-button svg { transition: transform .25s ease; }
.route-button:focus-visible,
.sample-routes button:focus-visible,
.routing-home input:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; }

.route-button-primary {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #06131f !important;
    box-shadow: 0 14px 40px rgba(40, 215, 207, .18);
}
.route-button-primary:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); box-shadow: 0 16px 45px rgba(40, 215, 207, .35); }
.route-button-ghost { border-color: rgba(255,255,255,.27); color: #fff !important; background: rgba(255,255,255,.035); }
.route-button-ghost:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.route-button-light { background: #fff; border-color: #fff; color: #07111f !important; }
.route-button-light:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); }

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.hero-proof div { display: flex; align-items: center; gap: 11px; padding-right: 16px; }
.hero-proof strong { color: #fff; font-family: var(--display); font-size: 24px; line-height: 1; }
.hero-proof span { max-width: 84px; color: rgba(255,255,255,.54); font-size: 10px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }

.hero-visual {
    position: relative;
    z-index: 4;
    min-height: 590px;
    perspective: 1200px;
}

.route-telemetry {
    position: absolute;
    z-index: 4;
    top: 86px;
    right: 0;
    width: min(430px, 92%);
    overflow: hidden;
    border: 1px solid rgba(136, 221, 231, .24);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(7, 21, 36, .91), rgba(5, 14, 26, .76));
    box-shadow: 0 40px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: perspective(1100px) rotateY(-6deg) rotateX(2deg);
    transform-style: preserve-3d;
}
.route-telemetry::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.06) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: glassSweep 6s ease-in-out infinite;
    pointer-events: none;
}
.telemetry-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 25px 21px; border-bottom: 1px solid rgba(255,255,255,.1); }
.telemetry-head > div { display: flex; flex-direction: column; gap: 4px; }
.telemetry-kicker { color: var(--cyan-bright); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.telemetry-head strong { color: #fff; font-size: 18px; letter-spacing: -.02em; }
.live-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(91, 255, 223, .25); border-radius: 999px; color: #a8fff1; background: rgba(31, 222, 188, .08); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.live-chip i, .lab-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 10px var(--cyan-bright); animation: softPulse 1.7s ease-in-out infinite; }
.telemetry-path { position: relative; padding: 22px 25px 16px; }
.path-line { position: absolute; left: 40px; top: 47px; bottom: 45px; width: 1px; background: rgba(255,255,255,.12); }
.path-line span { display: block; width: 100%; height: 0; background: linear-gradient(var(--cyan-bright), var(--amber)); box-shadow: 0 0 8px var(--cyan); animation: routeFill 4s ease-in-out infinite; }
.path-stop { position: relative; z-index: 2; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; min-height: 72px; }
.path-stop > i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: rgba(255,255,255,.55); background: #0b1c2d; font-style: normal; font-size: 9px; font-weight: 800; }
.path-stop.is-active > i { border-color: var(--cyan-bright); color: var(--cyan-bright); box-shadow: 0 0 0 5px rgba(40,215,207,.08), 0 0 20px rgba(40,215,207,.2); }
.path-stop > div { display: flex; flex-direction: column; gap: 4px; }
.path-stop strong { color: rgba(255,255,255,.91); font-size: 13px; }
.path-stop span { color: rgba(255,255,255,.42); font-family: Consolas, monospace; font-size: 10px; }
.path-stop b { color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .13em; }
.path-stop.is-active b { color: var(--cyan-bright); }
.telemetry-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 25px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.47); font-family: Consolas, monospace; font-size: 9px; letter-spacing: .08em; }
.telemetry-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.lock-mark { width: 7px; height: 8px; border: 1px solid var(--cyan); border-radius: 1px; }

.network-orbit { position: absolute; border: 1px solid rgba(96,255,242,.27); border-radius: 50%; transform: rotate(-18deg); }
.network-orbit::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 22px var(--cyan-bright); }
.orbit-one { width: 600px; height: 260px; right: -80px; top: 94px; animation: orbitFloat 6s ease-in-out infinite; }
.orbit-one::before { left: 22%; top: 3%; }
.orbit-two { width: 470px; height: 220px; right: -10px; top: 278px; border-color: rgba(255,155,80,.22); animation: orbitFloat 7s ease-in-out infinite reverse; }
.orbit-two::before { right: 17%; bottom: 4%; background: var(--amber); box-shadow: 0 0 20px var(--amber); }

.signal-badge { position: absolute; z-index: 5; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 2px; color: rgba(255,255,255,.65); background: rgba(5,14,25,.72); backdrop-filter: blur(8px); font-family: Consolas, monospace; font-size: 8px; letter-spacing: .14em; animation: badgeFloat 4s ease-in-out infinite; }
.signal-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 10px var(--cyan-bright); }
.badge-a { left: 4%; top: 22%; }
.badge-b { right: 5%; top: 18%; animation-delay: -1.2s; }
.badge-c { right: 13%; bottom: 18%; animation-delay: -2.4s; }
.badge-c i { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.signal-marquee { position: absolute; z-index: 5; bottom: 0; left: 0; width: 100%; overflow: hidden; border-top: 1px solid rgba(255,255,255,.13); background: rgba(3,10,20,.52); backdrop-filter: blur(12px); }
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; min-height: 62px; animation: marquee 26s linear infinite; }
.marquee-track span { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .2em; white-space: nowrap; }
.marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.route-section { position: relative; padding: 138px 0; }
.architecture-section { background: var(--paper); }
.architecture-section::before { content: ""; position: absolute; width: 450px; height: 450px; left: -240px; top: 50px; border: 1px solid rgba(7,17,31,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(7,17,31,.018), 0 0 0 140px rgba(7,17,31,.012); }

.section-number { color: #128980; }
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; margin-bottom: 68px; }
.section-heading h2,
.lab-copy h2,
.principle-copy h2,
.cta-inner h2 {
    margin: 22px 0 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(45px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.025em;
}
.section-heading h2 em,
.lab-copy h2 em,
.principle-copy h2 em,
.cta-inner h2 em { color: #158f87; font-style: normal; }
.section-heading > p { margin: 0 0 5px; color: #58636b; font-size: 16px; line-height: 1.75; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.capability-card {
    position: relative;
    min-height: 480px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(7,17,31,.13);
    background: rgba(255,255,255,.47);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    transform-style: preserve-3d;
}
.capability-card:hover { border-color: rgba(7,17,31,.3); box-shadow: 0 26px 70px rgba(22,34,45,.10); }
.featured-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured-card:hover { border-color: var(--cyan); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: #177d78; font-family: Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.card-top .material-icons { font-size: 21px; }
.featured-card .card-top { color: var(--cyan); }
.card-visual { position: relative; height: 185px; margin: 20px 0 25px; overflow: hidden; border-bottom: 1px solid rgba(7,17,31,.1); }
.featured-card .card-visual { border-color: rgba(255,255,255,.1); }
.capability-card h3 { margin: 0 0 15px; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.featured-card h3 { color: #fff; }
.capability-card p { margin: 0; color: #667078; font-size: 14px; line-height: 1.72; }
.featured-card p { color: rgba(255,255,255,.56); }
.card-link { position: absolute; left: 28px; right: 28px; bottom: 27px; display: flex; align-items: center; gap: 10px; color: #167c76; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.featured-card .card-link { color: var(--cyan-bright); }
.card-link i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.card-link svg { margin-left: auto; width: 16px; }

.decision-visual { display: grid; place-items: center; }
.radar-ring { position: absolute; border: 1px solid rgba(21,143,135,.24); border-radius: 50%; }
.ring-one { width: 140px; height: 140px; }
.ring-two { width: 82px; height: 82px; }
.radar-core { width: 13px; height: 13px; border: 3px solid var(--paper); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 0 20px rgba(40,215,207,.07), 0 0 30px rgba(40,215,207,.35); }
.decision-visual::before { content: ""; position: absolute; left: 50%; bottom: 50%; width: 70px; height: 70px; background: conic-gradient(from 0deg, rgba(40,215,207,.35), transparent 32%); transform-origin: left bottom; animation: radarSweep 4s linear infinite; }
.decision-visual::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); transform-origin: left; animation: radarLine 4s linear infinite; }

.rules-visual { background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 16px 16px; }
.rule-source,.rule-node { position: absolute; z-index: 2; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px rgba(40,215,207,.55); }
.rule-source { left: 13%; top: 50%; }
.rule-node { right: 13%; }
.node-a { top: 24%; }
.node-b { bottom: 24%; background: var(--amber); box-shadow: 0 0 18px rgba(255,155,80,.55); }
.rule-branch { position: absolute; left: calc(13% + 13px); width: 68%; height: 37%; border-right: 1px solid rgba(96,255,242,.55); }
.branch-a { top: 18%; border-top: 1px solid rgba(96,255,242,.55); transform: skewY(-13deg); }
.branch-b { bottom: 18%; border-bottom: 1px solid rgba(255,155,80,.55); border-right-color: rgba(255,155,80,.55); transform: skewY(13deg); }

.pulse-visual svg { width: 100%; height: 100%; overflow: visible; }
.pulse-grid { fill: none; stroke: rgba(7,17,31,.07); stroke-width: 1; }
.pulse-path { fill: none; stroke: #158f87; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 430; stroke-dashoffset: 430; animation: drawPulse 3.4s ease-in-out infinite; }

.route-lab-section { color: #fff; background: #07111f; }
.route-lab-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 25%, rgba(22,143,135,.18), transparent 28%), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; }
.lab-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 92px; align-items: center; }
.lab-copy h2 { color: #fff; }
.lab-copy p { max-width: 470px; margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.8; }
.lab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.lab-stats div { display: flex; flex-direction: column; gap: 7px; }
.lab-stats strong { color: var(--cyan-bright); font-family: Consolas, monospace; font-size: 26px; font-weight: 400; }
.lab-stats span { color: rgba(255,255,255,.4); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.route-lab { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(4,14,25,.76); box-shadow: 0 45px 100px rgba(0,0,0,.35); backdrop-filter: blur(20px); }
.route-lab::after { content: ""; position: absolute; width: 270px; height: 270px; right: -140px; top: -140px; border-radius: 50%; background: rgba(40,215,207,.1); filter: blur(40px); pointer-events: none; }
.lab-window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-family: Consolas, monospace; font-size: 9px; letter-spacing: .1em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); }
.window-dots i:nth-child(1) { background: #ff7d67; }
.window-dots i:nth-child(2) { background: #ffc766; }
.window-dots i:nth-child(3) { background: #53d89c; }
.lab-status { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: var(--cyan-bright); font-size: 8px; }
.lab-controls { padding: 28px 28px 23px; border-bottom: 1px solid rgba(255,255,255,.09); }
.lab-controls label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.input-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; min-height: 58px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.input-protocol { display: grid; place-items: center; height: 100%; border-right: 1px solid rgba(255,255,255,.12); color: var(--cyan); font-family: Consolas, monospace; font-size: 9px; font-weight: 800; }
.routing-home .input-row input { width: 100%; height: 56px; margin: 0; padding: 0 17px; border: 0 !important; box-shadow: none !important; color: #fff; background: transparent; font-family: Consolas, monospace; font-size: 12px; }
.routing-home .input-row input.invalid { color: #ff8d78; }
.input-row .route-button { min-height: 44px; margin-right: 6px; padding: 0 16px; white-space: nowrap; }
.sample-routes { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 15px; }
.sample-routes > span { color: rgba(255,255,255,.3); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.sample-routes button { padding: 5px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.48); background: transparent; cursor: pointer; font-size: 9px; transition: .2s ease; }
.sample-routes button:hover { border-color: var(--cyan); color: var(--cyan-bright); }
.trace-output { position: relative; padding: 18px 28px 16px; }
.trace-rail { position: absolute; left: 47px; top: 46px; bottom: 50px; width: 1px; overflow: hidden; background: rgba(255,255,255,.1); }
.trace-rail span { display: block; width: 100%; height: 0; background: linear-gradient(var(--cyan-bright), var(--amber)); box-shadow: 0 0 10px var(--cyan); transition: height .38s ease; }
.trace-step { position: relative; z-index: 2; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; min-height: 74px; opacity: .43; transition: opacity .3s ease, transform .3s ease; }
.trace-step > i { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #081523; font-style: normal; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.trace-step > i span { color: rgba(255,255,255,.5); font-family: Consolas, monospace; font-size: 9px; }
.trace-step > div { display: flex; flex-direction: column; gap: 3px; }
.trace-step > div > span { color: var(--cyan); font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.trace-step strong { color: #fff; font-size: 12px; }
.trace-step small { color: rgba(255,255,255,.43); font-family: Consolas, monospace; font-size: 9px; }
.trace-step > b { color: rgba(255,255,255,.36); font-size: 7px; letter-spacing: .13em; }
.trace-step.is-processing { opacity: 1; transform: translateX(4px); }
.trace-step.is-processing > i { border-color: var(--cyan-bright); box-shadow: 0 0 0 5px rgba(40,215,207,.07), 0 0 20px rgba(40,215,207,.2); }
.trace-step.is-processing > i::after { content: ""; position: absolute; width: 46px; height: 46px; border: 1px solid transparent; border-top-color: var(--cyan-bright); border-radius: 50%; animation: spin 1s linear infinite; }
.trace-step.is-complete { opacity: .8; }
.trace-step.is-complete > i { border-color: rgba(40,215,207,.52); background: rgba(40,215,207,.1); }
.trace-step.is-complete > b { color: var(--cyan-bright); }
.trace-step.is-error { opacity: 1; }
.trace-step.is-error > i { border-color: #ff826b; }
.trace-step.is-error > b { color: #ff826b; }
.lab-note { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 28px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.3); font-size: 9px; }
.lab-note .material-icons { color: rgba(40,215,207,.6); font-size: 14px; }

.principle-section { padding: 0; background: var(--paper-soft); }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.principle-visual { position: relative; min-height: 700px; overflow: hidden; background: #0b1a29; }
.principle-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 48% 48%, rgba(40,215,207,.22), transparent 35%), linear-gradient(135deg, rgba(255,255,255,.03), transparent 60%); }
.globe-grid { position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; border: 1px solid rgba(96,255,242,.3); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: inset 0 0 60px rgba(40,215,207,.08), 0 0 80px rgba(40,215,207,.08); background-image: radial-gradient(ellipse at center, transparent 48%, rgba(96,255,242,.15) 49%, transparent 50%), linear-gradient(90deg, transparent 49.8%, rgba(96,255,242,.16) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(96,255,242,.16) 50%, transparent 50.2%); background-size: 100% 32%, 100% 100%, 100% 100%; }
.globe-grid::before,.globe-grid::after { content: ""; position: absolute; inset: -1px 90px; border: 1px solid rgba(96,255,242,.18); border-radius: 50%; }
.globe-grid::after { inset: 90px -1px; }
.globe-node { position: absolute; width: 8px; height: 8px; border: 2px solid #0b1a29; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 1px var(--cyan-bright), 0 0 18px var(--cyan-bright); animation: softPulse 1.8s ease-in-out infinite; }
.gn-1 { left: 28%; top: 36%; }
.gn-2 { right: 25%; top: 29%; animation-delay: -.5s; }
.gn-3 { left: 42%; bottom: 22%; animation-delay: -1s; }
.gn-4 { right: 19%; bottom: 37%; background: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 18px var(--amber); animation-delay: -1.4s; }
.globe-label { position: absolute; left: 34px; bottom: 30px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-family: Consolas, monospace; font-size: 8px; letter-spacing: .14em; }
.globe-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 10px var(--cyan-bright); }
.principle-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 0 80px 90px; }
.principle-copy p { max-width: 515px; margin: 28px 0; color: #5c676f; font-size: 16px; line-height: 1.82; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #16877f; color: #126e68 !important; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.route-cta { position: relative; padding: 150px 0; overflow: hidden; text-align: center; background: linear-gradient(125deg, #0e827d, #0d4c85); color: #fff; }
.route-cta::before,.route-cta::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.route-cta::before { width: 700px; height: 700px; left: -260px; top: -340px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.route-cta::after { width: 460px; height: 460px; right: -170px; bottom: -290px; box-shadow: 0 0 0 60px rgba(255,255,255,.025); }
.cta-noise { position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(rgba(255,255,255,.25) .65px, transparent .65px); background-size: 7px 7px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .section-number { color: rgba(255,255,255,.66); }
.cta-inner h2 { color: #fff; font-size: clamp(60px, 7.5vw, 108px); line-height: .9; }
.cta-inner h2 em { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); text-stroke: 1px rgba(255,255,255,.72); }
.cta-inner p { max-width: 590px; margin: 28px auto 34px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.capability-card.reveal:nth-child(2) { transition-delay: .11s; }
.capability-card.reveal:nth-child(3) { transition-delay: .22s; }

@keyframes heroDrift { from { transform: scale(1.015) translate3d(0,0,0); } to { transform: scale(1.05) translate3d(-.6%, -.5%, 0); } }
@keyframes haloSpin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { opacity: .7; transform: scale(.65); } 80%,100% { opacity: 0; transform: scale(1.7); } }
@keyframes softPulse { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes glassSweep { 0%,55% { transform: translateX(-110%); } 80%,100% { transform: translateX(110%); } }
@keyframes routeFill { 0% { height: 0; } 55%,100% { height: 100%; } }
@keyframes orbitFloat { 0%,100% { transform: rotate(-18deg) translateY(0); } 50% { transform: rotate(-15deg) translateY(-10px); } }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 16px)); } }
@keyframes radarSweep { to { transform: rotate(360deg); } }
@keyframes radarLine { to { transform: rotate(360deg); } }
@keyframes drawPulse { 0% { stroke-dashoffset: 430; opacity: .25; } 48%,70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -430; opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr .8fr; gap: 28px; }
    .route-telemetry { right: -40px; }
    .signal-badge { display: none; }
    .lab-layout { grid-template-columns: 1fr; gap: 56px; }
    .lab-copy { max-width: 650px; }
    .section-heading { grid-template-columns: 1fr; gap: 25px; }
    .section-heading > p { max-width: 560px; }
    .principle-copy { padding-left: 60px; }
}

@media (max-width: 820px) {
    body.routing-page .navbar-fixed, body.routing-page nav, body.routing-page nav .nav-wrapper > a:first-child { height: 66px; line-height: 66px; }
    body.routing-page nav .nav-wrapper.container, .route-shell { width: min(calc(100% - 36px), 680px); }
    body.routing-page nav .nav-wrapper > a:first-child img { width: 108px; }
    .route-hero { min-height: auto; padding-top: 74px; }
    .route-hero::before { background-image: linear-gradient(180deg, rgba(3,10,20,.91) 0%, rgba(3,10,20,.75) 42%, rgba(3,10,20,.97) 100%), url('/content/images/routing-network-hero.png'); background-position: center, 64% center; }
    .hero-grid { display: block; padding-bottom: 105px; }
    .hero-copy { max-width: 650px; }
    .hero-copy h1 { font-size: clamp(52px, 12vw, 78px); }
    .hero-visual { min-height: 520px; }
    .route-telemetry { top: 80px; left: 50%; right: auto; width: min(430px, 96%); transform: translateX(-50%); }
    .route-section { padding: 100px 0; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: 450px; }
    .principle-grid { width: 100%; grid-template-columns: 1fr; }
    .principle-visual { min-height: 560px; }
    .principle-copy { padding: 85px 28px; }
    .route-cta { padding: 115px 0; }
}

@media (max-width: 560px) {
    body.routing-page nav .nav-wrapper.container, .route-shell { width: calc(100% - 28px); }
    .routing-home { margin-top: -1rem; }
    .hero-copy h1 { margin-top: 22px; font-size: 51px; }
    .hero-lede { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .route-button { width: 100%; }
    .hero-proof { gap: 10px; }
    .hero-proof div { display: block; }
    .hero-proof span { display: block; margin-top: 6px; }
    .hero-visual { min-height: 475px; }
    .route-telemetry { top: 62px; }
    .telemetry-head { padding: 20px; }
    .telemetry-path { padding-left: 20px; padding-right: 20px; }
    .path-line { left: 35px; }
    .section-heading h2, .lab-copy h2, .principle-copy h2 { font-size: 43px; }
    .route-section { padding: 82px 0; }
    .capability-card { padding: 24px; }
    .card-link { left: 24px; right: 24px; }
    .route-lab { width: calc(100% + 8px); margin-left: -4px; }
    .lab-window-bar { grid-template-columns: 1fr 1fr; }
    .lab-window-bar > span:nth-child(2) { display: none; }
    .input-row { grid-template-columns: 42px minmax(0, 1fr); }
    .input-row .route-button { grid-column: 1 / -1; width: calc(100% - 12px); margin: 0 6px 6px; }
    .lab-controls, .trace-output { padding-left: 18px; padding-right: 18px; }
    .trace-rail { left: 37px; }
    .trace-step { grid-template-columns: 40px 1fr; }
    .trace-step > b { grid-column: 2; margin-top: -17px; }
    .lab-note { padding: 10px 18px; line-height: 1.4; }
    .principle-visual { min-height: 430px; }
    .globe-grid { width: 340px; height: 340px; }
    .principle-copy { padding: 72px 20px; }
    .cta-inner h2 { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .routing-home *, .routing-home *::before, .routing-home *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
