/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    color-scheme: light;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    --border-color: #d2d2d7;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --text-line-spacing: 1.25;
    --text-letter-spacing: 0;
    --text-label-size: 13px;
    --text-note-size: 11px;

    /* Shared page-shell and card dimensions. */
    --nav-height: 44px;
    --card-gap: clamp(8px, .8vw, 12px);
    --adaptive-copy-gap-min: 14px;
    --adaptive-copy-gap-max: 24px;
    --adaptive-edge-gap: var(--adaptive-copy-gap-min);
    --adaptive-group-edge-gap: 0px;
    --copy-gap: var(--adaptive-copy-gap-max);
    --narrow-copy-gap: clamp(var(--adaptive-copy-gap-min), min(2.67svh, 3.33vw), var(--adaptive-copy-gap-max));
    --viewport-card-height: calc(100svh - var(--nav-height) - var(--card-gap));
    --text-title-size: clamp(32px, calc(29.77px + .57vw), 38px);
    --text-title-size-150: calc(var(--text-title-size) * 1.5);
    --primary-product-name-size: clamp(40px, 4.5vw, 64px);
}

/* One source of truth for spacing between consecutive copy elements. */
@media (max-aspect-ratio: 4 / 3) {
    :root { --copy-gap: var(--narrow-copy-gap); }
}

/* ===== Ecosystem product storytelling =====
   Shared in the root stylesheet so the ecosystem site uses the same global
   typography, colors, page shell, controls, and responsive rules as JLWeb. */
.ecosystem-page {
    --ecosystem-card-gap: clamp(18px, 2.2vw, 32px);
    scroll-behavior: smooth;
    background: #f5f5f7;
}
html.ecosystem-scroll-restoring .ecosystem-page { visibility: hidden; }
.ecosystem-showcase {
    --ecosystem-metric-gradient-on-dark: linear-gradient(180deg, #0792b5 20%, #5fbbc7 60%, #d3f9f4);
    --ecosystem-metric-gradient-on-light: linear-gradient(180deg, #007f9f 0%, #078ba8 50%, #1398b2 100%);
    width: min(1280px, calc(100% - clamp(24px, 5vw, 80px)));
    margin-inline: auto;
    padding-block: var(--ecosystem-card-gap) clamp(24px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    gap: var(--ecosystem-card-gap);
}
.ecosystem-showcase.technology-only,
.ecosystem-showcase.about-only { padding-bottom: 0; }
.ecosystem-card,
.ecosystem-card-pair {
    width: 100%;
    min-width: 0;
}
.ecosystem-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: clamp(24px, 2.5vw, 36px);
    background: #ffffff;
    color: var(--text-primary);
}
.ecosystem-card-wide {
    height: auto;
}
.ecosystem-card-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 32px);
}
.ecosystem-eyebrow {
    margin: 0 0 clamp(10px, 1.25vw, 18px);
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: .015em;
}
.ecosystem-eyebrow a {
    color: inherit;
    text-decoration: none;
}
.ecosystem-eyebrow a:hover { text-decoration: underline; }
.ecosystem-display-title,
.ecosystem-card-title,
.ecosystem-intro,
.ecosystem-card-lead {
    margin: 0;
}
.ecosystem-display-title {
    font-size: clamp(42px, 5.4vw, 78px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.ecosystem-card-title {
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
}
.ecosystem-intro,
.ecosystem-card-lead {
    color: var(--text-secondary);
    line-height: 1.4;
}
.ecosystem-link {
    width: fit-content;
    margin-top: clamp(18px, 2vw, 28px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
}
.ecosystem-link:hover { text-decoration: underline; }
.ecosystem-product-copy .ecosystem-link { color: #2997ff; }
.ecosystem-pill-link {
    width: fit-content;
    min-height: 40px;
    margin-top: clamp(18px, 2vw, 28px);
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0071e3;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.ecosystem-pill-link:hover {
    background: #0077ed;
    transform: translateY(-1px);
}

/* OpenArm + control + client hero. */
.ecosystem-hero-card {
    min-height: clamp(620px, 61vw, 780px);
    padding: clamp(40px, 6vw, 86px);
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    background: radial-gradient(circle at 82% 20%, #ffffff 0, #f0f5f9 36%, #e9eef3 72%, #e5ebf0 100%);
}
.ecosystem-hero-copy {
    position: relative;
    z-index: 4;
    max-width: 560px;
}
.ecosystem-hero-copy .ecosystem-intro {
    max-width: 520px;
    margin-top: clamp(20px, 2.4vw, 34px);
}
.ecosystem-intro-highlight {
    color: #007f9f;
    font-weight: 600;
}
.ecosystem-hero-system {
    position: relative;
    min-width: 0;
    height: clamp(470px, 43vw, 590px);
    display: flex;
    align-items: center;
}
.ecosystem-system-panel {
    --ecosystem-system-card-width: 46%;
    position: relative;
    width: 100%;
    height: 78%;
    min-height: 350px;
    overflow: visible;
}
.ecosystem-system-visual,
.ecosystem-system-core {
    position: absolute;
    width: var(--ecosystem-system-card-width);
    height: 82%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(29, 29, 31, .14);
    border-radius: clamp(17px, 1.8vw, 25px);
    box-shadow: 12px 28px 48px rgba(15, 31, 49, .24), inset -1px 0 rgba(255, 255, 255, .48);
    transform-origin: left center;
}
.ecosystem-system-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.ecosystem-system-arm {
    z-index: 1;
    top: 10%;
    left: 0;
    background: #d4d4d4;
    opacity: 1;
    transform: perspective(900px) rotateY(18deg) rotateX(1.5deg);
}
.ecosystem-system-arm img {
    object-position: 79% center;
    transform: scaleX(-1) scale(1.04);
}
.ecosystem-system-studio {
    z-index: 3;
    top: 10%;
    right: 0;
    background: #ffffff;
    opacity: 1;
    transform: perspective(900px) rotateY(16deg) rotateX(1.5deg);
}
.ecosystem-system-studio img { object-position: left center; }
.ecosystem-system-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}
.ecosystem-system-arm::after {
    background: linear-gradient(90deg, rgba(238, 243, 247, .08), transparent 62%, rgba(6, 26, 46, .2));
}
.ecosystem-system-studio::after {
    background: linear-gradient(90deg, rgba(6, 26, 46, .18), transparent 30%);
}
.ecosystem-system-visual figcaption {
    position: absolute;
    z-index: 5;
    bottom: 16px;
    left: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #263544;
    box-shadow: 0 6px 20px rgba(15, 31, 49, .12);
    backdrop-filter: blur(12px);
}
.ecosystem-system-visual.ecosystem-system-studio figcaption {
    right: 16px;
    left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    box-shadow: none;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .72);
    backdrop-filter: none;
}
.ecosystem-system-core {
    z-index: 2;
    top: 10%;
    left: 27%;
    padding: 22px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    background: radial-gradient(circle at 50% 42%, rgba(37, 123, 179, .36), transparent 42%), linear-gradient(160deg, #071b30, #0b3151);
    color: #ffffff;
    text-align: center;
    opacity: 1;
    transform: perspective(900px) rotateY(17deg) rotateX(1.5deg);
}
.ecosystem-system-core > p {
    width: 58%;
    margin-right: auto;
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    line-height: 1.22;
}
.ecosystem-system-core-capabilities {
    position: relative;
    z-index: 7;
    width: 58%;
    margin: auto auto auto 0;
    display: grid;
    gap: 8px;
}
.ecosystem-system-core-capabilities span {
    min-height: 34px;
    padding: 7px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(127, 228, 255, .28);
    border-radius: 10px;
    background: rgba(5, 36, 61, .82);
    color: #a1a1a6;
    font-size: clamp(9px, .83vw, 12px);
    font-weight: 600;
    line-height: 1.18;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ecosystem-system-flow {
    position: absolute;
    z-index: 4;
    right: calc(var(--ecosystem-system-card-width) / 2);
    left: calc(var(--ecosystem-system-card-width) / 2);
    height: 2px;
    background: #007f9f;
    box-shadow: none;
    pointer-events: none;
}
.ecosystem-system-command { top: 38%; }
.ecosystem-system-feedback { top: 64%; }
.ecosystem-system-flow span {
    position: absolute;
    bottom: 100%;
    left: 50%;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(7, 27, 48, .78);
    color: rgba(255, 255, 255, .84);
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
}
.ecosystem-system-command span { left: 82%; }
.ecosystem-system-feedback span { left: 5%; }
.ecosystem-system-flow::after {
    position: absolute;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    content: "";
}
.ecosystem-system-command::after {
    left: -1px;
    border-right: 7px solid #007f9f;
}
.ecosystem-system-feedback::after {
    right: -1px;
    border-left: 7px solid #007f9f;
}
.ecosystem-system-flow i {
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #007f9f;
    box-shadow: none;
}
.ecosystem-system-command i { animation: ecosystem-command-flow 3.2s linear infinite; }
.ecosystem-system-feedback i { animation: ecosystem-feedback-flow 3.2s linear infinite; }
@keyframes ecosystem-command-flow {
    from { left: calc(100% - 7px); }
    to { left: 0; }
}
@keyframes ecosystem-feedback-flow {
    from { left: 0; }
    to { left: calc(100% - 7px); }
}

/* OpenArm 2.0: official motion on the left, specifications on the right. */
.ecosystem-product-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #0b0b0d;
    color: #ffffff;
}
.ecosystem-product-media {
    position: relative;
    min-height: clamp(520px, 48vw, 690px);
    overflow: hidden;
    background: #000000;
}
.ecosystem-product-media .ecosystem-media-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity .6s ease;
}
.ecosystem-product-media img.ecosystem-media-slide {
    object-fit: contain;
    background: #d4d4d4;
}
.ecosystem-product-media video.ecosystem-media-slide {
    object-fit: cover;
}
.ecosystem-product-media .ecosystem-media-slide.is-active { opacity: 1; }
.ecosystem-media-credit {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .5);
    color: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
}
.ecosystem-product-media .ecosystem-media-credit {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #a1a1a6;
    opacity: 0;
    backdrop-filter: none;
    transition: opacity .3s ease;
}
.ecosystem-product-media.is-video .ecosystem-media-credit { opacity: 1; }
.ecosystem-media-dots {
    position: absolute;
    z-index: 5;
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 2px;
    transform: translateX(-50%);
}
.ecosystem-media-dots button {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ecosystem-media-dots button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(29, 29, 31, .28);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
    content: "";
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, transform .2s ease;
}
.ecosystem-media-dots button.is-active::before {
    background: rgba(29, 29, 31, .72);
    transform: translate(-50%, -50%) scale(1.18);
}
.is-video .ecosystem-media-dots button::before { background: rgba(255, 255, 255, .55); }
.is-video .ecosystem-media-dots button.is-active::before { background: #ffffff; }
.ecosystem-media-dots button:focus-visible { outline: 2px solid #ffffff; }
.ecosystem-product-copy {
    min-width: 0;
    padding: clamp(40px, 5vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ecosystem-product-copy .ecosystem-eyebrow { color: #a1a1a6; }
.ecosystem-product-copy .ecosystem-card-lead {
    max-width: 540px;
    margin-top: clamp(18px, 2vw, 28px);
    color: #a1a1a6;
}
.ecosystem-spec-grid {
    margin-top: clamp(28px, 3.4vw, 48px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 2.78vw, 40px) clamp(20px, 2.4vw, 34px);
}
.ecosystem-spec-grid div {
    min-width: 0;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #5fbbc7;
}
.ecosystem-spec-grid dt {
    order: 2;
    margin-top: 12px;
    color: #ffffff;
    font-family: "Outfit", var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: .02em;
    line-height: 1;
}
.ecosystem-spec-grid dd.text-metric {
    order: 1;
    margin-top: 0;
    background: var(--ecosystem-metric-gradient-on-dark);
    background-clip: text;
    color: transparent;
    font-family: "Outfit", var(--font-sans);
    font-size: clamp(44px, 4.72vw, 68px);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    white-space: nowrap;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ecosystem-spec-grid dd.text-metric small {
    background: var(--ecosystem-metric-gradient-on-dark);
    background-clip: text;
    color: transparent;
    font-family: "Outfit", var(--font-sans);
    font-size: clamp(19.2px, 1.667vw, 24px);
    font-weight: 600;
    line-height: 1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ecosystem-spec-grid .ecosystem-spec-dof dd.text-metric small {
    font-size: clamp(19.2px, 2.78vw, 40px);
}
.ecosystem-spec-grid .ecosystem-spec-payload dd.text-metric {
    font-size: clamp(36px, 3.06vw, 44px);
    line-height: 1.09;
}
/* Product pair: Apple-style media above a separate white copy field. */
.ecosystem-product-tile {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.ecosystem-tile-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0b0b0d;
}
.ecosystem-tile-media > img,
.ecosystem-tile-video {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    display: block;
    object-fit: cover;
    border: 0;
}
.ecosystem-tile-media .ecosystem-media-slide {
    opacity: 0;
    transition: opacity .6s ease;
}
.ecosystem-tile-media .ecosystem-media-slide.is-active { opacity: 1; }
.ecosystem-tile-media img.ecosystem-media-slide {
    object-fit: contain;
    background: #d4d4d4;
}
.ecosystem-tile-video {
    z-index: 2;
    pointer-events: none;
}
.ecosystem-tile-fallback { z-index: 1; }
.ecosystem-tile-media .ecosystem-media-credit {
    z-index: 3;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #a1a1a6;
    backdrop-filter: none;
}
.ecosystem-tile-media[data-media-carousel] .ecosystem-media-credit {
    opacity: 0;
    transition: opacity .3s ease;
}
.ecosystem-tile-media[data-media-carousel].is-video .ecosystem-media-credit { opacity: 1; }
.ecosystem-tile-copy {
    flex: 1;
    min-height: clamp(330px, 29vw, 420px);
    padding: clamp(32px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ecosystem-tile-description {
    max-width: 520px;
    margin-top: clamp(14px, 1.6vw, 22px);
    color: var(--text-secondary);
    line-height: 1.45;
}
.ecosystem-tile-specs {
    width: 100%;
    margin-top: clamp(18px, 2vw, 28px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.ecosystem-tile-specs div {
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}
.ecosystem-tile-specs dt { color: var(--text-muted); }
.ecosystem-tile-specs dd {
    margin-top: 4px;
    background: var(--ecosystem-metric-gradient-on-light);
    background-clip: text;
    color: transparent;
    font-family: "Outfit", var(--font-sans);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ecosystem-tile-copy .ecosystem-pill-link { margin-top: auto; }

/* Control algorithm: outcomes first, then a readable closed loop. */
.ecosystem-control-card {
    min-height: clamp(620px, 54vw, 760px);
    padding: clamp(42px, 6vw, 82px);
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(34px, 5vw, 80px);
    background: linear-gradient(145deg, #071524, #001f3d 55%, #063d6e);
    color: #ffffff;
}
.ecosystem-control-copy .ecosystem-eyebrow { color: #a1a1a6; }
.ecosystem-control-copy .ecosystem-card-lead {
    max-width: 520px;
    margin-top: clamp(18px, 2vw, 28px);
    color: rgba(255, 255, 255, .72);
}
.ecosystem-control-group-label,
.ecosystem-control-stage-label {
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
    letter-spacing: .025em;
}
.ecosystem-control-group-label {
    margin-top: clamp(28px, 3vw, 44px);
}
.ecosystem-control-capabilities {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ecosystem-control-capabilities div {
    --ecosystem-capability-accent: #a1a1a6;
    --ecosystem-capability-border: rgba(109, 216, 223, .34);
    --ecosystem-capability-tint: rgba(57, 184, 196, .1);
    min-width: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--ecosystem-capability-border);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--ecosystem-capability-tint), rgba(255, 255, 255, .035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.ecosystem-control-capabilities strong { color: var(--ecosystem-capability-accent); }
.ecosystem-control-capabilities span { color: rgba(255, 255, 255, .6); }
.ecosystem-control-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--copy-gap);
}
.ecosystem-control-diagram {
    position: relative;
    min-height: 310px;
    padding-bottom: 70px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(10px, 1.3vw, 18px);
}
.ecosystem-control-diagram::before {
    content: '';
    position: absolute;
    top: clamp(52px, 5.2vw, 72px);
    right: 7%;
    left: 7%;
    height: 2px;
    background: linear-gradient(90deg, #49a8ff 0%, #ffb45c 34%, #ad8cff 67%, #6bd9a5 100%);
    box-shadow: 0 0 22px rgba(73, 168, 255, .8);
}
.ecosystem-loop-node {
    --ecosystem-node-accent: #67c5ff;
    --ecosystem-node-border: rgba(103, 197, 255, .5);
    --ecosystem-node-tint: rgba(73, 168, 255, .16);
    position: relative;
    z-index: 2;
    min-width: 0;
    aspect-ratio: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ecosystem-node-border);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 18%, var(--ecosystem-node-tint), transparent 60%), rgba(4, 30, 55, .94);
    box-shadow: inset 0 0 28px var(--ecosystem-node-tint), 0 16px 34px rgba(0, 0, 0, .22);
    text-align: center;
}
.ecosystem-loop-safety {
    --ecosystem-node-accent: #ffbd6a;
    --ecosystem-node-border: rgba(255, 189, 106, .5);
    --ecosystem-node-tint: rgba(255, 161, 61, .14);
}
.ecosystem-loop-motion {
    --ecosystem-node-accent: #b59cff;
    --ecosystem-node-border: rgba(181, 156, 255, .5);
    --ecosystem-node-tint: rgba(140, 104, 255, .14);
}
.ecosystem-loop-robot {
    --ecosystem-node-accent: #7ee0b0;
    --ecosystem-node-border: rgba(126, 224, 176, .5);
    --ecosystem-node-tint: rgba(65, 198, 132, .14);
}
.ecosystem-loop-node > span,
.ecosystem-loop-node > strong { color: var(--ecosystem-node-accent); }
.ecosystem-loop-node small { color: rgba(255, 255, 255, .58); }
.ecosystem-loop-return {
    position: absolute;
    z-index: 1;
    top: clamp(52px, 5.2vw, 72px);
    right: 6.5%;
    bottom: 54px;
    left: 6.5%;
    border-right: 2px solid rgba(127, 228, 255, .72);
    border-bottom: 2px solid rgba(127, 228, 255, .72);
    border-left: 2px solid rgba(127, 228, 255, .72);
    border-radius: 0 0 34px 34px;
    box-shadow: 0 10px 22px rgba(73, 168, 255, .16);
}
.ecosystem-loop-return::after {
    position: absolute;
    top: -8px;
    left: -6px;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-bottom: 9px solid #7fe4ff;
    border-left: 5px solid transparent;
    content: "";
    filter: drop-shadow(0 0 5px rgba(127, 228, 255, .7));
}
.ecosystem-loop-feedback {
    position: absolute;
    z-index: 3;
    bottom: 8px;
    left: 50%;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: transparent;
    text-align: center;
    transform: translateX(-50%);
}
.ecosystem-loop-feedback strong { color: #7fe4ff; }
.ecosystem-loop-feedback small {
    color: rgba(255, 255, 255, .56);
    white-space: nowrap;
}

/* Creo Studio, presented as the software product rather than supporting copy. */
.ecosystem-software-card {
    padding: clamp(44px, 6vw, 84px);
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    grid-template-areas: "heading window" "features window";
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
    background: linear-gradient(145deg, #f8fbff, #e9f0f7);
}
.ecosystem-software-heading { grid-area: heading; align-self: end; }
.ecosystem-software-heading .ecosystem-card-lead {
    margin-top: clamp(18px, 2vw, 26px);
}
.ecosystem-software-window {
    grid-area: window;
    min-width: 0;
    margin: 0;
    padding: clamp(7px, .9vw, 12px);
    border: 1px solid rgba(29, 29, 31, .12);
    border-radius: clamp(16px, 1.8vw, 24px);
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(23, 44, 66, .19);
    transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
}
.ecosystem-software-window img {
    width: 100%;
    display: block;
    border-radius: clamp(10px, 1.1vw, 16px);
}
.ecosystem-software-features {
    grid-area: features;
    align-self: start;
    display: grid;
    gap: 10px;
}
.ecosystem-software-features article {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-top: 1px solid rgba(29, 29, 31, .14);
}
.ecosystem-software-features span { color: var(--text-muted); }

/* Two parallel ways to purchase. */
.ecosystem-purchase-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}
.ecosystem-purchase-card.about-demo-card { overflow: hidden; }
.ecosystem-purchase-column {
    min-width: 0;
    padding: clamp(38px, 5vw, 72px);
}
.ecosystem-order-column { background: #ffffff; }
.ecosystem-configure-column {
    background: #101114;
    color: #ffffff;
}
.ecosystem-purchase-intro {
    max-width: 500px;
    margin-top: 16px;
    color: var(--text-secondary);
    line-height: 1.45;
}
.ecosystem-configure-column .ecosystem-eyebrow,
.ecosystem-configure-column .ecosystem-purchase-intro,
.ecosystem-configure-column .ecosystem-form-actions span { color: #a1a1a6; }
.ecosystem-purchase-card .ecosystem-configure-column h2 { color: #ffffff; }
.ecosystem-purchase-column .contact-form { margin-top: clamp(20px, 2.5vw, 34px); }
.ecosystem-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ecosystem-form-row-wide { grid-column: 1 / -1; }
.ecosystem-purchase-card.about-demo-card .form-group input,
.ecosystem-purchase-card.about-demo-card .form-group select {
    height: 48px;
}
.ecosystem-message-field { margin-top: 12px; }
.ecosystem-purchase-card.about-demo-card .form-group textarea {
    min-height: 82px;
    resize: vertical;
}
.ecosystem-form-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.ecosystem-purchase-card.about-demo-card .contact-submit {
    margin: 0;
    border-color: #1d1d1f;
}
.ecosystem-purchase-card .contact-form-status {
    margin-inline: 0;
    text-align: left;
}
.ecosystem-marketplaces {
    margin-top: clamp(28px, 3.5vw, 48px);
    display: grid;
    gap: 12px;
}
.ecosystem-marketplace-button {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #1d1d1f;
    border-radius: 16px;
    background: #ffffff;
    color: #1d1d1f;
    text-align: left;
    box-shadow: none;
}
.ecosystem-marketplace-button small { color: rgba(29, 29, 31, .62); }
.ecosystem-marketplace-button:disabled { opacity: 1; }
.ecosystem-marketplace-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ecosystem-marketplace-logo {
    width: 64px;
    height: 30px;
    flex: 0 0 64px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ecosystem-marketplace-logo-ebay {
    gap: 0;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}
.ecosystem-marketplace-logo-ebay i { font-style: normal; }
.ecosystem-marketplace-logo-ebay i:nth-child(1) { color: #e53238; }
.ecosystem-marketplace-logo-ebay i:nth-child(2) { color: #0064d2; }
.ecosystem-marketplace-logo-ebay i:nth-child(3) { color: #f5af02; }
.ecosystem-marketplace-logo-ebay i:nth-child(4) { color: #86b817; }
.ecosystem-marketplace-logo-amazon {
    position: relative;
    color: #111111;
    font: 700 14px/1 Arial, sans-serif;
}
.ecosystem-marketplace-logo-amazon svg {
    position: absolute;
    width: 38px;
    height: 8px;
    left: 13px;
    bottom: 3px;
    fill: none;
    stroke: #ff9900;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}
.ecosystem-marketplace-logo-shopify svg { width: 24px; height: 27px; }
.ecosystem-marketplace-logo-shopify svg path:first-child { fill: #95bf47; }
.ecosystem-marketplace-logo-shopify svg path:nth-child(2),
.ecosystem-marketplace-logo-shopify svg path:nth-child(3) {
    fill: none;
    stroke: #5e8e3e;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}
.ecosystem-purchase-card .custom-select-trigger {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ecosystem-purchase-card .custom-select-menu button {
    min-height: 44px;
    padding-block: 9px;
    line-height: 1.35;
}
/* About view, using the same product-story components. */
.ecosystem-about-hero {
    min-height: clamp(600px, 54vw, 730px);
    padding: clamp(44px, 7vw, 94px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
    background: #001830;
    color: #ffffff;
}
.ecosystem-about-copy .ecosystem-intro {
    max-width: 660px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .74);
}
.ecosystem-about-hero .ecosystem-eyebrow { color: #73c4ff; }
.ecosystem-about-pillars { display: grid; gap: 12px; }
.ecosystem-about-pillars article {
    padding: 18px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}
.ecosystem-about-pillars span { grid-row: 1 / span 2; color: #73c4ff; }
.ecosystem-about-pillars p { color: rgba(255, 255, 255, .6); }
.ecosystem-business-card {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
}
.ecosystem-business-media { min-height: clamp(480px, 44vw, 650px); }
.ecosystem-business-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.ecosystem-business-copy {
    padding: clamp(40px, 5vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ecosystem-business-copy .ecosystem-card-lead { margin-top: 22px; }
.ecosystem-business-note {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.ecosystem-role-card {
    min-height: clamp(430px, 38vw, 540px);
    padding: clamp(36px, 4.5vw, 64px);
    display: flex;
    flex-direction: column;
}
.ecosystem-role-card > p:not(.ecosystem-eyebrow) {
    max-width: 520px;
    margin-top: 22px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.ecosystem-role-card .ecosystem-link { margin-top: auto; }
.ecosystem-role-upstream { background: #ffffff; }
.ecosystem-role-jl {
    background: #e8f3ff;
}

@media (max-width: 900px) {
    .ecosystem-page { --ecosystem-card-gap: 16px; }
    .ecosystem-showcase {
        width: min(100% - 24px, 680px);
        padding-block: var(--ecosystem-card-gap) 36px;
        gap: var(--ecosystem-card-gap);
    }
    .ecosystem-hero-card,
    .ecosystem-product-card,
    .ecosystem-control-card,
    .ecosystem-software-card,
    .ecosystem-purchase-card,
    .ecosystem-about-hero,
    .ecosystem-business-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .ecosystem-hero-card {
        min-height: 0;
        padding: 42px 28px 28px;
    }
    .ecosystem-hero-system { height: min(104vw, 560px); }
    .ecosystem-product-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .ecosystem-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ecosystem-control-card,
    .ecosystem-about-hero { min-height: 0; }
    .ecosystem-control-diagram { min-height: 320px; }
    .ecosystem-software-card {
        grid-template-areas: "heading" "window" "features";
    }
    .ecosystem-software-heading,
    .ecosystem-software-features { align-self: auto; }
    .ecosystem-software-window { transform: none; }
    .ecosystem-business-media { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
    .ecosystem-card { border-radius: 24px; }
    .ecosystem-card-pair { grid-template-columns: minmax(0, 1fr); }
    .ecosystem-display-title { font-size: clamp(38px, 12.5vw, 56px); }
    .ecosystem-card-title { font-size: clamp(30px, 9.5vw, 42px); }
    .ecosystem-hero-card,
    .ecosystem-control-card,
    .ecosystem-software-card,
    .ecosystem-about-hero { padding: 38px 24px 26px; }
    .ecosystem-product-copy,
    .ecosystem-purchase-column,
    .ecosystem-business-copy,
    .ecosystem-role-card { padding: 36px 24px; }
    .ecosystem-hero-system { height: min(115vw, 500px); }
    .ecosystem-system-panel {
        --ecosystem-system-card-width: 48%;
        height: 76%;
        min-height: 330px;
    }
    .ecosystem-system-visual,
    .ecosystem-system-core {
        height: 82%;
    }
    .ecosystem-system-arm {
        top: 10%;
        transform: perspective(760px) rotateY(15deg) rotateX(1.2deg);
    }
    .ecosystem-system-core {
        top: 10%;
        left: 26%;
        transform: perspective(760px) rotateY(14deg) rotateX(1.2deg);
    }
    .ecosystem-system-studio {
        top: 10%;
        transform: perspective(760px) rotateY(13deg) rotateX(1.2deg);
    }
    .ecosystem-system-core { padding: 16px 7px 14px; }
    .ecosystem-system-core > p,
    .ecosystem-system-core-capabilities { width: 52%; }
    .ecosystem-system-core > p { font-size: 10px; }
    .ecosystem-system-visual figcaption {
        bottom: 10px;
        left: 10px;
        padding: 5px 7px;
        font-size: 9px;
    }
    .ecosystem-system-studio figcaption { right: 10px; left: auto; }
    .ecosystem-spec-grid,
    .ecosystem-control-capabilities { gap: 14px 10px; }
    .ecosystem-tile-copy { min-height: 330px; padding: 34px 24px; }
    .ecosystem-tile-specs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .ecosystem-control-stage {
        min-height: 0;
    }
    .ecosystem-control-diagram {
        min-height: 500px;
        padding-bottom: 70px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 14px;
    }
    .ecosystem-control-diagram::before {
        top: 12%;
        bottom: 12%;
        left: 50%;
        width: 2px;
        height: auto;
    }
    .ecosystem-loop-return {
        top: 24%;
        right: 5%;
        bottom: 56px;
        left: 5%;
        border-right: 0;
    }
    .ecosystem-loop-return::before {
        position: absolute;
        top: 65%;
        right: -2px;
        bottom: -2px;
        width: 2px;
        background: rgba(127, 228, 255, .72);
        content: "";
    }
    .ecosystem-loop-feedback {
        right: auto;
        bottom: 6px;
        left: 50%;
    }
    .ecosystem-form-grid { grid-template-columns: minmax(0, 1fr); }
    .ecosystem-about-pillars article { padding: 15px; }
    .ecosystem-role-card { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
    .ecosystem-pill-link { transition: none; }
    .ecosystem-system-flow i { animation: none; }
}

html {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

/* English is revealed only after its DOM copy has been translated. */
html[data-language="en"]:not([data-i18n-ready="true"]) body {
    visibility: hidden;
}

body {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: var(--text-line-spacing);
    letter-spacing: var(--text-letter-spacing);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font-family: inherit;
    line-height: var(--text-line-spacing);
    letter-spacing: var(--text-letter-spacing);
}

/* The only four text formats used outside the status bar. */
.text-label {
    font-size: var(--text-label-size);
    font-weight: 400;
}
.text-title {
    font-size: var(--text-title-size);
    font-weight: 400;
}
.text-body {
    font-size: calc(var(--text-title-size) / 2);
    font-weight: 400;
}
.text-note {
    font-size: var(--text-note-size);
    font-weight: 400;
}
/* Keep normal line boxes across browsers. Experimental text-box trimming uses
   alphabetic edges and can clip CJK/Latin copy differently in WebKit. */
.text-justify {
    text-align: justify;
    text-align-last: start;
    text-justify: inter-character;
}
html[data-language="en"] .text-justify {
    text-align: left;
    text-align-last: auto;
    text-justify: auto;
}
.text-title.text-scale-150 {
    font-size: var(--text-title-size-150);
}
.text-title.primary-product-name {
    font-size: var(--primary-product-name-size);
    font-weight: 600;
}
.text-title.text-scale-60 {
    font-size: calc(var(--text-title-size) * .6);
}
.text-title.text-scale-50 {
    font-size: calc(var(--text-title-size) / 2);
}
.text-body.text-scale-150 {
    font-size: calc(var(--text-title-size-150) / 2);
}
.text-label.text-scale-150 {
    font-size: calc(var(--text-label-size) * 1.5);
}
.text-label.text-metric {
    color: #0071e3;
    font-size: calc(var(--text-label-size) * 2);
    font-weight: 600;
}
.text-label.text-emphasis {
    font-weight: 600;
}

/* ===== Page views: one visibility contract for every page family ===== */
html:not([data-page-view="home"]) .home-only,
html:not([data-page-view="technology"]) .technology-only,
html:not([data-page-view="industry"]) .industry-only,
html:not([data-page-view="lab"]) .lab-only,
html:not([data-page-view="education"]) .education-only,
html:not([data-page-view="about"]) .about-only { display: none !important; }

html[data-page-view="industry"] .case-card:not([data-category="industry"]),
html[data-page-view="lab"] .case-card:not([data-category="lab"]),
html[data-page-view="education"] .case-card:not([data-category="education"]) { display: none !important; }

/* ===== Contact form controls ===== */
.about-demo-card .form-group input,
.about-demo-card .form-group select,
.about-demo-card .form-group textarea {
    width: 100%; padding: 12px 16px; background: #ffffff; border: 1px solid #d2d2d7;
    border-radius: 12px; color: #1d1d1f; outline: none; transition: border-color .3s; font-family: inherit;
}
.about-demo-card .form-group input:focus,
.about-demo-card .form-group select:focus,
.about-demo-card .form-group textarea:focus { border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 113, 227, .12); }
.about-demo-card .form-group input::placeholder,
.about-demo-card .form-group textarea::placeholder { color: var(--text-muted); }

/* ===== Footer ===== */
.footer { margin-top: var(--card-gap); padding: 64px 0 24px; background: #ffffff; }
.footer-inner { width: 100%; }
.footer-content {
    width: 80%;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    align-items: start;
}
.footer-brand {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.footer-brand .logo-img-footer {
    width: auto;
    max-width: 100%;
    height: 44px;
    margin: 0;
    object-fit: contain;
    object-position: left top;
}
.ecosystem-footer .footer-content {
    grid-template-columns: repeat(3, max-content);
}
.ecosystem-footer { margin-top: var(--ecosystem-card-gap); }
.ecosystem-footer-brand { align-items: center; }
.ecosystem-footer-main-logo {
    display: block;
    flex: 0 0 auto;
}
.ecosystem-footer-site-name {
    height: 44px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #1d1d1f;
    display: flex;
    align-items: center;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.footer-links {
    display: contents;
}
.footer-col {
    width: max-content;
    max-width: 100%;
    text-align: left;
}
.footer-col h4 {
    height: 28px;
    margin: 0;
    display: flex;
    align-items: center;
    color: #1d1d1f;
}
.footer-col a {
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    color: #6e6e73;
    text-decoration: none;
    transition: color .3s;
}
.footer-col h4 .footer-heading-link { color: inherit; font-size: inherit; font-weight: inherit; padding: 0; }
.footer-col a:hover { color: #1d1d1f; }
.footer-bottom { width: 80%; margin-inline: auto; padding-top: 24px; text-align: center; }
.footer-bottom p { color: #6e6e73; }

/* ===== 全局滚动条美化 ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f5f7; }
::-webkit-scrollbar-thumb { background: #b8b8bd; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #86868b; }

/* ===== 选中文字高亮 ===== */
::selection { background: #0071e3; color: #ffffff; }

@media (max-aspect-ratio: 4 / 3) {
    .footer { padding-block: 48px 22px; }
    .footer-content { margin-bottom: 34px; }
}

/* ===== Page shell and navigation ===== */
.navbar {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--nav-height);
    background: #ffffff;
}

.page-scroll {
    position: fixed;
    z-index: 0;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-anchor: none;
    overscroll-behavior: contain;
    background: #f5f5f7;
}

@media (hover: hover) and (pointer: fine) {
    html.card-wheel-navigation-ready .page-scroll {
        scroll-snap-type: y proximity;
    }
    html.card-wheel-navigation-ready :is(
        .company-hero,
        .scenario-story,
        .legacy-model-card,
        .technology-architecture-card,
        .vertical-os-card,
        .scene-hero-card,
        .scene-system-card,
        .scene-cases-card,
        .scene-ecosystem-card,
        .about-page-card,
        .footer
    ) {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

html.page-entering .page-scroll {
    opacity: 0;
    transform: translateY(8px);
}
html.page-entering.page-enter-active .page-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
html.page-leaving .page-scroll {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease-in, transform 0.18s ease-in;
}

@media (prefers-reduced-motion: reduce) {
    html.page-entering .page-scroll,
    html.page-entering.page-enter-active .page-scroll,
    html.page-leaving .page-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.nav-container {
    --nav-edge: 32px;
    position: relative;
    width: 100%;
    height: var(--nav-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--nav-edge);
}
.nav-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
}
.nav-logo-graphic {
    display: flex;
    align-items: center;
    overflow: visible;
}
.nav-logo-en-name { display: none; }
html[data-language="en"] .navbar .nav-logo-graphic {
    width: 36px;
    height: 36px;
    overflow: hidden;
}
html[data-language="en"] .navbar .nav-logo-en-name {
    display: inline-block;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1;
    white-space: nowrap;
}
.nav-brand-title {
    color: var(--text-primary);
    white-space: nowrap;
}
.nav-brand-title.ecosystem-brand-title {
    height: 36px;
    padding-left: 8px;
    border-left: 1px solid currentColor;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
}
.ecosystem-main-logo { display: block; flex: 0 0 auto; }
.logo-img { width: auto; height: 36px; display: block; filter: brightness(0); }
.logo-img-footer { height: 40px; margin-bottom: 4px; filter: brightness(0); }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}
.nav-item { position: relative; }
.navbar > .nav-container > .nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-actions {
    position: relative;
    z-index: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    position: relative;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 400;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}
.nav-link:hover { color: #000000; opacity: 0.64; }
.btn-nav,
.nav-brand-title {
    font-size: 13px;
    font-weight: 500;
}
.btn-nav {
    width: 88px;
    height: 30px;
    padding: 2px;
    border: 2px solid #1d1d1f;
    border-radius: 999px;
    background: #ffffff;
    color: #1d1d1f;
    box-sizing: border-box;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.btn-nav:hover { background: #2c2c2e; color: #ffffff; }
.language-toggle {
    width: 88px;
    height: 30px;
    padding: 2px;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(26px, auto));
    align-items: center;
    border: 2px solid #1d1d1f;
    border-radius: 999px;
    background: #ffffff;
    color: #1d1d1f;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}
.language-option,
.btn-nav > span {
    height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease;
}
.language-option.is-active {
    background: #000000;
    color: #ffffff;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible {
    outline: none;
    background: #f5f5f7;
    box-shadow: inset 0 0 0 1px #d2d2d7;
    border-radius: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #1d1d1f;
    transition: .3s;
}
.nav-backdrop {
    position: fixed;
    z-index: 1;
    inset: var(--nav-height) 0 0;
    background: rgba(0, 0, 0, .24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility 0s linear .24s;
}
html.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
html.nav-open .page-scroll { overflow-y: hidden; }
.nav-item.has-dropdown { position: relative; height: 32px; }
.nav-item.has-dropdown::before {
    content: '';
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: -8px;
    width: calc(100% + 16px);
    height: 12px;
}
.dropdown-menu {
    position: absolute;
    z-index: 1001;
    top: calc(100% + 10px);
    left: -8px;
    min-width: 180px;
    max-height: 0;
    padding: 0 8px;
    display: grid;
    gap: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: rgba(250, 250, 252, 0.98);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: max-height 0.24s cubic-bezier(0.4, 0, 0.6, 1), padding 0.24s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.16s cubic-bezier(0.4, 0, 0.6, 1), transform 0.24s cubic-bezier(0.4, 0, 0.6, 1), visibility 0s linear 0.24s;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
    width: 100%;
    height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    color: #000000;
    font-size: 13px;

    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1), transform 0.24s cubic-bezier(0.4, 0, 0.6, 1), background 0.15s;
}
.dropdown-menu a:hover { color: #000000; background: #e8e8ed; opacity: 1; }
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
    max-height: 138px;
    padding-block: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}
.nav-item.has-dropdown:hover .dropdown-menu a,
.nav-item.has-dropdown:focus-within .dropdown-menu a { opacity: 1; transform: translateY(0); }
.nav-item.has-dropdown:hover .dropdown-menu li:nth-child(1) a,
.nav-item.has-dropdown:focus-within .dropdown-menu li:nth-child(1) a { transition-delay: 0.04s; }
.nav-item.has-dropdown:hover .dropdown-menu li:nth-child(2) a,
.nav-item.has-dropdown:focus-within .dropdown-menu li:nth-child(2) a { transition-delay: 0.08s; }
.nav-item.has-dropdown:hover .dropdown-menu li:nth-child(3) a,
.nav-item.has-dropdown:focus-within .dropdown-menu li:nth-child(3) a { transition-delay: 0.12s; }

/* Keep the original compact logo scale independently from drawer navigation. */
@media (max-width: 900px), (max-aspect-ratio: 4 / 3) {
    .nav-container { --nav-edge: clamp(12px, 3vw, 24px); }
    .logo-img { height: 30px; }
    html[data-language="en"] .navbar .nav-logo-graphic { width: 30px; height: 30px; }
    html[data-language="en"] .navbar .nav-logo-en-name { font-size: 17px; }
}

@media (max-width: 760px) {
    .nav-toggle {
        position: relative;
        z-index: 4;
        width: 32px;
        height: 32px;
        margin-left: 8px;
        padding: 7px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
    }
    .nav-toggle span {
        height: 1.5px;
        flex: 0 0 1.5px;
        transform-origin: center;
        transition: transform .24s ease, opacity .18s ease;
    }
    .nav-toggle.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
    .nav-toggle.active {
        border-radius: 8px;
        background: #f5f5f7;
    }

    .navbar > .nav-container > .nav-menu {
        position: fixed;
        z-index: 3;
        top: var(--nav-height);
        right: 0;
        bottom: 0;
        left: auto;
        width: min(400px, calc(100vw - 24px));
        max-height: none;
        padding: 32px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-left: 1px solid rgba(0, 0, 0, .08);
        background: rgba(255, 255, 255, .98);
        box-shadow: -18px 0 48px rgba(0, 0, 0, .14);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform .24s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .24s;
    }
    .navbar > .nav-container > .nav-menu.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }
    .navbar .nav-menu > li,
    .nav-item.has-dropdown {
        width: 100%;
        height: auto;
        padding: 0 0 24px;
        border-bottom: 1px solid #e8e8ed;
    }
    .navbar .nav-menu > li + li { padding-top: 24px; }
    .navbar .nav-menu > li:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .navbar .nav-menu > li > .nav-link {
        width: 100%;
        height: 44px;
        padding: 0 12px;
        justify-content: flex-start;
        color: #1d1d1f;
        font-size: 17px;
        font-weight: 500;
        opacity: 1;
        text-align: left;
        border-radius: 10px;
        transition: color .2s ease, opacity .2s ease, background-color .15s ease;
    }
    .nav-item.has-dropdown::before { display: none; }
    .navbar .nav-menu .dropdown-menu {
        position: static;
        min-width: 0;
        max-height: none;
        margin-top: 4px;
        padding: 0 0 0 12px;
        gap: 0;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .navbar .nav-menu .nav-item.has-dropdown:hover > .dropdown-menu,
    .navbar .nav-menu .nav-item.has-dropdown:focus-within > .dropdown-menu {
        max-height: none;
        padding: 0;
        transform: none;
        transition: none;
    }
    .navbar .nav-menu .dropdown-menu a {
        width: 100%;
        height: 40px;
        padding: 0 12px;
        justify-content: flex-start;
        border-radius: 10px;
        color: #6e6e73;
        background: transparent;
        font-size: 14px;
        text-align: left;
        opacity: 1;
        transform: none;
        transition: color .2s ease, opacity .2s ease, background-color .15s ease;
    }
    .navbar .nav-menu .nav-item.has-dropdown:hover > .dropdown-menu a,
    .navbar .nav-menu .nav-item.has-dropdown:focus-within > .dropdown-menu a {
        transition-delay: 0s;
    }
    .navbar .nav-menu > li > .nav-link:hover,
    .navbar .nav-menu > li > .nav-link:focus-visible,
    .navbar .nav-menu .dropdown-menu a:hover,
    .navbar .nav-menu .dropdown-menu a:focus-visible {
        color: #000000;
        background: #f5f5f7;
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .navbar > .nav-container > .nav-menu {
        width: 100%;
        padding: 28px clamp(20px, 6vw, 32px);
        border-left: 0;
        box-shadow: none;
    }
}

@media (max-width: 360px) {
    .nav-container { --nav-edge: 8px; }
    .logo-img { height: 26px; }
    .ecosystem-brand-title { height: 26px; padding-left: 6px; }
    html[data-language="en"] .navbar .nav-logo-graphic { width: 26px; height: 26px; }
    html[data-language="en"] .navbar .nav-logo-en-name { font-size: 14px; }
    .nav-actions { gap: 4px; }
    .btn-nav { width: 70px; height: 28px; }
    .btn-nav,
    .nav-brand-title { font-size: 11px; }
    .language-toggle { width: 70px; height: 28px; font-size: 10px; }
    .language-option,
    .btn-nav > span { height: 20px; padding-inline: 4px; }
    .nav-toggle { margin-left: 4px; }
}

@media (max-width: 280px) {
    .nav-container { --nav-edge: 4px; }
    .logo-img { height: 20px; }
    .ecosystem-brand-title { height: 20px; padding-left: 4px; }
    html[data-language="en"] .navbar .nav-logo-graphic { width: 20px; height: 20px; }
    html[data-language="en"] .navbar .nav-logo-en-name { font-size: 11px; }
    .nav-actions { gap: 2px; }
    .btn-nav { width: 56px; height: 26px; }
    .btn-nav,
    .nav-brand-title { font-size: 10px; }
    .language-toggle { width: 56px; height: 26px; font-size: 9px; }
    .language-option,
    .btn-nav > span { height: 18px; padding-inline: 2px; }
    .nav-toggle { width: 24px; height: 24px; flex-basis: 24px; margin-left: 2px; }
    .nav-toggle span { width: 20px; }
}

/* Homepage card type 1: company introduction. */
.company-hero {
    position: relative;
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;

    background: #001830;
}
:is(.company-hero, .about-company-card)::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -2.5%;
    background: url("site-assets/hero-wave.webp") center center / cover no-repeat;
    transform: scale(1.02);
}
:is(.company-hero, .about-company-card)::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse 38% 34% at 50% 42%, rgba(65, 150, 255, 0.20), transparent 72%),
        linear-gradient(90deg, rgba(0, 7, 18, 0.62) 0%, rgba(0, 12, 28, 0.30) 43%, rgba(0, 0, 0, 0.03) 72%);
}
.company-hero-content {
    position: absolute;
    top: 40%;
    left: 10%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(-50%);
}
.company-hero-title {
    width: 100%;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.26);
}
.company-hero-copy { width: 100%; }
.company-hero-copy p {
    width: 100%;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.company-hero-description { margin-top: var(--copy-gap); }
.company-hero .company-hero-stats {
    position: absolute;
    z-index: 3;
    inset: 60% 0 0;
    width: 84%;
    height: 40%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 6vw, 88px);
    align-content: center;
    align-items: start;
}
.company-hero .stat-item { text-align: center; }
.company-hero .stat-number {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}
.company-hero .stat-suffix {
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    vertical-align: baseline;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}
.company-hero .stat-label {
    width: 100%;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow-wrap: normal;
}
.company-hero .stat-label-part,
.company-hero .stat-label-separator {
    flex: 0 0 auto;
}
.company-hero .stat-label.is-stacked {
    flex-direction: column;
}
.company-hero .stat-label.is-stacked .stat-label-separator {
    display: none;
}

/* Homepage card type 2: alternating scene media and copy. */
.scenario-story {
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    margin-top: var(--card-gap);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;

    background: #ffffff;
}
.scenario-story-media {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #111318;
}
.scenario-story-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.scenario-video-note {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 14px;
    color: rgba(232, 232, 237, 0.82);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.72);
    pointer-events: none;
}
.industry-monitor-inset {
    position: absolute;
    z-index: 3;
    left: 4.4%;
    bottom: 4.8%;
    width: clamp(150px, 22vw, 320px);
    aspect-ratio: 2.05 / 1;
    overflow: hidden;
    background: #050505;
    opacity: .82;
}
.industry-monitor-inset img {
    position: absolute;
    left: -11.5%;
    bottom: 0;
    width: 220%;
    max-width: none;
    display: block;
}
#home-industry .scenario-story-video { object-position: 42% 30%; }
.scenario-story-copy {
    min-width: 0;
    width: 80%;
    margin-inline: auto;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--copy-gap);
    text-align: left;
}
.scenario-story-label {
    margin: 0;
    color: #86868b;
}
.scenario-story h2 {
    margin: 0;
    color: #1d1d1f;
}
.scenario-story-copy > p:not(.scenario-story-label) {
    margin: 0;
    color: #6e6e73;
}
.scenario-story-link {
    color: #86868b;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 180ms ease;
}
.scenario-story .scenario-story-link { display: inline-block; }
.scenario-story-link:hover { color: #6e6e73; text-decoration: underline; }

/* Technology card type 1: JLI Eureka model. */
.legacy-model-card {
    --model-copy-gap: var(--copy-gap);
    position: relative;
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    margin-top: 0;
    display: grid;
    grid-template-rows: 40% 60%;
    overflow: hidden;
    isolation: isolate;
    color: #1d1d1f;

    background: linear-gradient(180deg, #b4dff2 0%, #d9edf5 18%, #eef5f7 38%, #f5f5f7 62%, #f5f5f7 100%);
}
.legacy-model-copy {
    position: relative;
    z-index: 3;
    width: 80%;
    height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--model-copy-gap);
    text-align: center;
}
.legacy-model-copy > *,
.legacy-model-heading-stack > * {
    flex-shrink: 0;
}
.legacy-model-copy h2 {
    margin: 0;
    color: #1d1d1f;

    text-wrap: balance;
}
.legacy-model-description {
    margin: 0;
    color: #6e6e73;

    white-space: normal;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}
.legacy-model-module {
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.legacy-model-module h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 600;

}
.legacy-model-module > p {
    width: 100%;
    height: 2lh;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #424245;
    font-size: 13px;
    font-weight: 400;

    text-align: center;
}
.legacy-model-organ {
    position: relative;
    z-index: 2;
    width: 84%;
    height: 52%;
    margin-top: 0;
    display: grid;
    place-items: center;
}
.legacy-model-organ::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 19%;
    border-radius: 50%;
    background: rgba(78, 132, 255, .13);
    filter: blur(34px);
    animation: legacy-organ-glow 4.6s ease-in-out infinite;
}
.legacy-model-organ img { width: 94%; height: 100%; object-fit: contain; }
.legacy-model-brain .legacy-model-organ img,
.legacy-model-cerebellum .legacy-model-organ img { opacity: .78; filter: saturate(.72) brightness(1) drop-shadow(0 10px 14px rgba(58, 72, 108, .12)); }
.legacy-model-connector > p { width: 100%; }
.legacy-contract-core { width: min(190px, 100%); transform: scale(1.08); transform-origin: center; }
.legacy-contract-core::after { inset: 12%; background: rgba(112, 93, 222, .16); filter: blur(38px); }
.legacy-contract-core svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 16px rgba(63, 55, 110, .2)); animation: legacy-contract-float 5.6s ease-in-out infinite; }
.legacy-contract-orbit { fill: none; stroke: rgba(38, 103, 214, .48); stroke-width: 1.8; stroke-dasharray: 8 7; animation: legacy-orbit 12s linear infinite; }
.legacy-contract-shadow { fill: rgba(53, 35, 110, 0.92); stroke: rgba(213, 225, 255, 0.42); stroke-width: 2; }
.legacy-contract-side { fill: url(#legacy-contract-side); opacity: 0.92; }
.legacy-contract-side-right { filter: brightness(0.78); }
.legacy-contract-face { fill: url(#legacy-contract-face); stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; }
.legacy-contract-light { fill: url(#legacy-contract-center); stroke: rgba(255, 255, 255, 0.85); stroke-width: 2; animation: legacy-core-pulse 2.8s ease-in-out infinite; }
.legacy-contract-stack rect { fill: rgba(255, 255, 255, 0.88); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.65)); }
.legacy-contract-raw-signals path,
.legacy-contract-structured-signals path { fill: none; stroke: rgba(36, 101, 211, .42); stroke-width: 2; stroke-linecap: round; }
.legacy-contract-token { fill: #c8f4ff; filter: drop-shadow(0 0 8px rgba(112, 215, 255, 0.95)); transform-box: fill-box; transform-origin: center; animation: legacy-contract-token-in 3.2s ease-in-out infinite; }
.legacy-contract-token.legacy-token-b { fill: #c8baff; animation-delay: -1.05s; }
.legacy-contract-token.legacy-token-c { fill: #8ce8ff; animation-delay: -2.1s; }
.legacy-contract-packet { fill: rgba(226, 233, 255, 0.9); stroke: rgba(255, 255, 255, 0.8); stroke-width: 1; filter: drop-shadow(0 0 8px rgba(163, 133, 255, 0.8)); transform-box: fill-box; transform-origin: center; animation: legacy-contract-packet-out 3.2s ease-in-out infinite; }
.legacy-contract-packet.legacy-packet-b { fill: rgba(175, 157, 255, 0.95); animation-delay: -1.05s; }
.legacy-contract-packet.legacy-packet-c { fill: rgba(137, 220, 255, 0.94); animation-delay: -2.1s; }
.legacy-contract-prism { transform-box: view-box; transform-origin: 125px 97px; animation: legacy-contract-prism-float 4.8s ease-in-out infinite; }
.legacy-contract-feedback { fill: none; stroke: rgba(45, 103, 213, .52); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 8; animation: legacy-contract-feedback 4s linear infinite; }
.legacy-model-flow {
    position: relative;
    z-index: 1;
    height: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.legacy-model-card .legacy-model-flow span { position: absolute; left: 0; top: 50%; width: 100%; height: 2.1px; transform: translateY(-50%); }
.legacy-model-flow i { position: absolute; left: -4.2px; top: 50%; width: 8.4px; height: 8.4px; border-radius: 50%; opacity: .9; background: #0071e3; transform: translateY(-50%); animation: legacy-information-forward 3.8s linear infinite; }
@keyframes legacy-organ-glow { 50% { opacity: 0.45; transform: scale(1.2); } }
@keyframes legacy-contract-float { 50% { transform: perspective(760px) rotateX(7deg) rotateY(-4deg) translateY(-5px) scale(1.025); } }
@keyframes legacy-orbit { to { stroke-dashoffset: -120; } }
@keyframes legacy-core-pulse { 50% { opacity: 0.72; } }
@keyframes legacy-contract-token-in { 0%, 12% { opacity: 0; transform: translateX(-5px) scale(0.55); } 58%, 72% { opacity: 1; transform: translateX(61px) scale(1); } 100% { opacity: 0; transform: translateX(74px) scale(0.5); } }
@keyframes legacy-contract-packet-out { 0%, 28% { opacity: 0; transform: translateX(-22px) scale(0.55); } 52% { opacity: 1; } 88%, 100% { opacity: 0; transform: translateX(35px) scale(1); } }
@keyframes legacy-contract-prism-float { 50% { transform: translateY(-3px) scale(1.035); } }
@keyframes legacy-contract-feedback { to { stroke-dashoffset: 60; } }
@keyframes legacy-information-forward { to { left: calc(100% - 1px); } }

/* Technology card type 2: architecture. */
.technology-architecture-card {
    position: relative;
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    margin-top: var(--card-gap);
    padding: 0;
    overflow: hidden;

    background: #ffffff;
}
.technology-card-label {
    margin: 0;
    color: #86868b;
}
.technology-architecture-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 20% 80%;
}
.technology-architecture-heading {
    width: 80%;
    height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--copy-gap);
    text-align: center;
}
.technology-architecture-heading > * {
    flex-shrink: 0;
}
.technology-architecture-heading h2 {
    margin: 0;
    color: #1d1d1f;

    text-wrap: balance;
}
.technology-architecture-heading p {
    width: 100%;
    margin: 0;
    color: #6e6e73;

}

/* Fixed-height copy regions keep a visible safety gap before they are considered to fit. */
:is(
    .company-hero-stats,
    .legacy-model-copy,
    .technology-architecture-heading,
    .vertical-os-copy
) {
    --adaptive-group-edge-gap: var(--adaptive-edge-gap);
}
.technology-architecture-figure {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.technology-architecture-figure::-webkit-scrollbar {
    display: none;
}
.technology-architecture-image {
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* JLI Eureka: instruction-to-execution model workflow. */
.legacy-model-name {
    margin: 0;
    color: #1d1d1f;

    white-space: nowrap;
}
.legacy-model-heading-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--model-copy-gap);
}
.legacy-model-copy .legacy-model-heading-stack h2 {
    margin: 0;
}
.legacy-model-visual-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: safe center;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.legacy-model-visual-shell::-webkit-scrollbar { display: none; }
.legacy-model-canvas {
    position: relative;
    flex: 0 0 auto;
}
.diagram-scroll-control {
    position: absolute;
    z-index: 10;
    left: 10%;
    bottom: clamp(10px, 2svh, 18px);
    width: 80%;
    height: 8px;
    display: flex;
    align-items: center;
}
.diagram-scroll-control[hidden] { display: none; }
.diagram-scroll-range {
    --diagram-scroll-thumb-width: 72px;
    width: 100%;
    height: 8px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    outline: none;
    background: #e8e8ed;
    cursor: ew-resize;
}
.diagram-scroll-range::-webkit-slider-thumb {
    width: var(--diagram-scroll-thumb-width);
    height: 8px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: #9d9da3;
    cursor: ew-resize;
}
.diagram-scroll-range::-moz-range-track {
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #e8e8ed;
}
.diagram-scroll-range::-moz-range-thumb {
    width: var(--diagram-scroll-thumb-width);
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #9d9da3;
    cursor: ew-resize;
}
.legacy-model-visual {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1299px;
    min-width: 1299px;
    max-width: none;
    height: 367px;
    margin: 0;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr .3699fr .9fr .3151fr 1.1fr .3151fr .9fr .3699fr 1fr;
    align-items: center;
    transform: scale(1);
    transform-origin: left top;
    pointer-events: none;
}
.legacy-model-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 14%;
    right: 9%;
    top: 50%;
    height: 66px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(83, 112, 164, 0.12) 22%, rgba(103, 91, 184, 0.18) 50%, rgba(83, 112, 164, 0.10) 78%, transparent);
    filter: blur(22px);
    transform: translateY(-50%);
}
.legacy-model-visual > :not(.legacy-model-flow) {
    position: relative;
    z-index: 1;
}
.legacy-model-prompt {
    height: 70%;
    min-height: 0;
    padding: 0 8px;
    display: flex;
    align-items: center;
}
.legacy-model-typewriter {
    width: 100%;
    margin: 0;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 400;

}
.legacy-model-typewriter::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -0.12em;
    background: #4a4a4d;
    animation: legacy-typewriter-caret 0.8s steps(1) infinite;
}
.legacy-model-brain .legacy-model-organ,
.legacy-model-cerebellum .legacy-model-organ { opacity: 0.76; }
.legacy-model-flow span::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2.1px;
    background: #4a4a4d;
}
.legacy-model-flow span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8.4px;
    height: 8.4px;
    display: block;
    border-top: 2.1px solid #4a4a4d;
    border-right: 2.1px solid #4a4a4d;
    transform: translateY(-50%) rotate(45deg);
}
.legacy-model-demo {
    position: relative;
    height: 49%;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    -webkit-mask-image: radial-gradient(ellipse 78% 74% at center, #000 48%, rgba(0, 0, 0, 0.92) 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 74% at center, #000 48%, rgba(0, 0, 0, 0.92) 62%, transparent 100%);
}
.legacy-model-demo video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.92;
}
@keyframes legacy-typewriter-caret { 50% { opacity: 0; } }

/* Technology cards three to five: vertical-scene operating systems. */
.vertical-os-card {
    position: relative;
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    min-height: var(--viewport-card-height);
    margin-top: var(--card-gap);
    overflow: hidden;

    background: #ffffff;
}
.vertical-os-card-inner {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vertical-os-copy {
    width: 80%;
    height: 100%;
    margin-inline: auto;
    padding-block: var(--copy-gap);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--copy-gap);
    text-align: left;
}
.vertical-os-copy > * {
    flex-shrink: 0;
}
.vertical-os-copy h2 {
    margin: 0;
    color: #1d1d1f;

    text-wrap: balance;
}
.vertical-os-copy .product-specs {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-auto-rows: 1fr;
    border-block: 1px solid var(--border-color);
}
.vertical-os-copy .spec-item {
    min-width: 0;
    padding-block: clamp(8px, 1.4svh, 14px);
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
}
.vertical-os-copy .spec-label,
.vertical-os-copy .spec-value {
    text-align: left;
}
.vertical-os-copy .spec-label { color: var(--text-muted); }
.vertical-os-copy .spec-value { color: var(--text-primary); }
.vertical-os-copy > .scenario-story-link {
    display: block;
    width: max-content;
    margin: 0;
    text-align: left;
}
.vertical-os-visual {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #e8e8ed;
}
.vertical-os-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.vertical-os-card-media-left .vertical-os-visual {
    grid-column: 1;
    grid-row: 1;
}
.vertical-os-card-media-left .vertical-os-copy {
    grid-column: 2;
    grid-row: 1;
}
.vertical-os-card-media-left .vertical-os-visual img { object-position: 38% center; }
#vertical-os .vertical-os-visual img,
#education-os .vertical-os-visual img { object-position: 42% center; }

/* Compact viewports stack the OS cards into equal halves. */
@media (max-aspect-ratio: 4 / 3) {
    .vertical-os-card-inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }
    .vertical-os-copy,
    .vertical-os-card-media-left .vertical-os-copy {
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
    }
    .vertical-os-copy .product-specs {
        grid-template-columns: minmax(0, 1fr);
    }
    .vertical-os-copy .spec-item {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: var(--copy-gap);
        padding-block: calc(var(--copy-gap) / 2);
    }
    .vertical-os-visual,
    .vertical-os-card-media-left .vertical-os-visual {
        grid-column: 1;
        grid-row: 2;
        min-height: 0;
    }
    .vertical-os-visual img { object-position: center; }
}

:is(
    .legacy-model-card,
    .technology-architecture-card,
    .vertical-os-card,
    .industry-hero,
    .industry-challenge,
    .industry-close,
    .industry-robot,
    .about-page-card
) {
    container-type: inline-size;
}

:is(
    .legacy-model-copy,
    .technology-architecture-inner,
    .vertical-os-copy,
    .industry-hero-copy,
    .industry-solution-pain,
    .industry-solution-os,
    .industry-robot-copy,
    .industry-robot-visual,
    .case-body,
    .about-card-inner,
    .contact-form-wrap
) {
    min-width: 0;
    max-width: 100%;
}

:is(
    .scenario-story,
    .legacy-model-card,
    .technology-architecture-card,
    .vertical-os-card,
    .industry-challenge,
    .industry-robot,
    .about-page-card
) :is(h1, h2, h3, h4, p, a, span, strong, label, li) {
    max-width: 100%;
    overflow-wrap: anywhere;
}

:is(
    .case-card,
    .support-copy-card,
    .industry-hardware-product,
    .value-item,
    .education-content-cards article,
    .form-group
) {
    min-width: 0;
    max-width: 100%;
}
:is(.industry-robot-partners, .industry-hardware-products, .about-values, .education-content-cards) > * {
    min-width: 0;
}
/* About page: the same full-viewport card template used across the site. */
.about-page-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    margin: var(--card-gap) 0 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
}
.about-page-card:first-child { margin-top: 0; }
.about-company-card {
    color: #ffffff;
    background: #001830;
}
.about-card-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px clamp(48px, 6vw, 82px);
}
.about-card-heading {
    max-width: 940px;
    margin: 0 auto var(--copy-gap);
    display: flex;
    flex-direction: column;
    gap: var(--copy-gap);
    text-align: center;
}
.about-card-heading h2,
.about-demo-card h2 {
    margin: 0;
    color: #1d1d1f;
}
.about-company-card .about-lead {
    margin: 0;
    color: #ffffff;
}
.about-company-card .about-card-heading h2 { color: #ffffff; }
.about-company-card .about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--copy-gap);
}
.about-company-card .value-item {
    min-height: 102px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: var(--copy-gap);
    border: 1px solid #ffffff;
    border-radius: 16px;
    transition: transform .28s ease;
}
@media (hover: hover) and (pointer: fine) {
    .about-company-card .value-item:hover {
        transform: translateY(-4px);
    }
}
.about-company-card .value-index {
    width: 28px;
    flex: 0 0 28px;
    padding-top: 2px;
    color: #ffffff;
}
.about-company-card .value-item > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--copy-gap);
}
.about-company-card .value-item h4 { margin: 0; color: #ffffff; }
.about-company-card .value-item p { color: #ffffff; }
.about-demo-card { justify-content: center; overflow: visible; }
.about-demo-card .contact-form-wrap {
    position: relative;
    width: min(900px, calc(100% - 96px));
}
.about-demo-card h2 { margin-bottom: var(--copy-gap); text-align: center; }
.about-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--copy-gap);
    margin-bottom: var(--copy-gap);
}
.about-form-grid .form-group { margin: 0; }
.about-demo-card .form-group input,
.about-demo-card .form-group select { height: 48px; }
.custom-select-field { position: relative; z-index: 4; min-width: 0; }
.about-demo-card .form-group .custom-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    clip-path: inset(50%);
    opacity: 0;
}
.custom-select-trigger {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 48px;
    padding: 0 42px 0 16px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    background: #ffffff;
    color: #86868b;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
.custom-select-trigger.has-value { color: #1d1d1f; }
.custom-select-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 17px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #6e6e73;
    border-bottom: 1px solid #6e6e73;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}
.custom-select-field.is-open .custom-select-trigger::after { transform: translateY(-30%) rotate(225deg); }
.custom-select-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    max-width: 100%;
    max-height: min(420px, var(--custom-select-available-height, calc(100svh - clamp(80px, 12svh, 120px))));
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: rgba(250, 250, 252, 0.98);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s cubic-bezier(0.4, 0, 0.6, 1), transform 0.24s cubic-bezier(0.4, 0, 0.6, 1), visibility 0s linear 0.24s;
}
.custom-select-field.opens-upward .custom-select-menu {
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateY(4px);
}
.custom-select-field.opens-upward.is-open .custom-select-menu { transform: translateY(0); }
.custom-select-field.is-open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}
.custom-select-menu button {
    width: 100%;
    min-height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: #000000;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
.custom-select-menu button:hover,
.custom-select-menu button:focus,
.custom-select-menu button[aria-selected="true"] {
    outline: 0;
    background: #e8e8ed;
}
.about-demo-card .form-group textarea { min-height: 92px; resize: vertical; }
.about-demo-card .about-message-field { margin-bottom: var(--copy-gap); }
.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    pointer-events: none;
}
.contact-form-status {
    min-height: 20px;
    margin: 10px 2px 0;
    color: #6e6e73;
    text-align: center;
}
.contact-form-status.is-success { color: #237a52; }
.contact-form-status.is-error { color: #b42318; }
.contact-form .contact-submit:disabled {
    cursor: wait;
    opacity: .58;
}
.about-demo-card .contact-submit {
    width: fit-content;
    min-width: 80px;
    height: 34px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1d1d1f;
    background: #ffffff;
    color: #1d1d1f;
    font-weight: 500;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.about-demo-card .contact-submit:hover {
    background: #2c2c2e;
    color: #ffffff;
}
.about-demo-card .contact-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: var(--copy-gap);
}
.about-demo-card .contact-info p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.about-demo-card .contact-info-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-aspect-ratio: 4 / 3) {
    .about-card-inner { padding: 56px 28px; }
    .about-company-card .about-values { grid-template-columns: 1fr; }
    .about-demo-card .contact-form-wrap {
        width: 100%;
        padding: 56px 28px;
    }
}

@media (max-width: 600px) {
    .about-form-grid { grid-template-columns: 1fr; }
    .about-demo-card .contact-info {
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .about-company-card .about-card-inner {
        padding: 36px 24px;
    }
    .about-company-card .value-item {
        min-height: 0;
        padding: 12px 14px;
    }
}

/* Education-specific content inside the shared system-product card. */
#education-support .education-robot-partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 20px);
}
.education-openarm-partner b {
    height: var(--partner-logo-secondary-height);
    display: flex;
    align-items: center;
    color: #1d1d1f;
    font-weight: 600;
}
/* Education system product: preserve the established 5% + 30% + 40% + 25%
   landscape structure. Portrait layouts switch to independently adaptive rows. */
.scene-system-card.education-system-card {
    --education-copy-height: var(--viewport-card-height);
    height: auto;
    min-height: var(--viewport-card-height);
    overflow: hidden;
}
.scene-system-card.education-system-card .industry-system-layout {
    height: auto;
    min-height: 0;
    grid-template-rows: var(--education-copy-height);
}
.scene-system-card.education-system-card .industry-system-media {
    min-height: var(--education-copy-height);
}
.scene-system-card.education-system-card .industry-system-copy {
    width: 100%;
    height: var(--education-copy-height);
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    overflow: visible;
}
.scene-system-card.education-system-card .industry-system-copy::before {
    content: "";
    flex: 0 0 5%;
}
.education-system-card .education-system-top {
    flex: 30 1 0;
    width: 80%;
    margin-inline: auto;
    min-height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    gap: var(--system-flow-gap);
}
.education-system-card .education-system-heading-panels {
    flex: 1 1 auto;
    width: 100%;
    min-height: max-content;
    display: grid;
    align-items: center;
}
.education-system-card .education-system-heading {
    grid-area: 1 / 1;
    align-self: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--system-flow-gap);
}
.education-system-card .education-system-heading > * {
    flex-shrink: 0;
}
.education-system-card .education-system-heading[hidden] {
    display: none;
}
.education-system-card .education-system-heading > h2,
.education-system-card .education-system-heading > .industry-solution-lead {
    margin: 0;
}
.education-system-card .industry-system-copy-panels {
    flex: 65 1 0;
    min-height: max-content;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
        minmax(max-content, 40fr)
        minmax(max-content, 25fr);
}
.education-system-card .industry-system-copy-panel {
    display: contents;
}
.education-system-card .industry-solution-os.scene-system-content {
    display: contents;
}
.education-system-card .education-system-quadrant-region {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    min-height: max-content;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.education-system-card .education-quadrant-grid {
    flex: 0 0 auto;
    width: 80%;
    height: 95%;
    min-height: var(--education-quadrant-floor, 0px);
    margin: 0 0 0 10%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(max-content, 1fr));
}
.education-system-card .scene-system-content > .industry-solution-metric-block {
    grid-row: 2;
    grid-column: 1;
    width: 80%;
    margin-inline: auto;
    align-self: center;
    min-height: max-content;
    padding-top: 0;
    border-top: 0;
}
.education-system-card .education-quadrant-grid > article {
    position: relative;
    min-width: 0;
    min-height: max-content;
    padding: var(--system-flow-gap);
}
.education-system-card .education-quadrant-grid > article::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.education-system-card .education-quadrant-grid > article:nth-child(even)::after { border-left: 1px solid #d2d2d7; }
.education-system-card .education-quadrant-grid > article:nth-child(-n+2)::after { border-bottom: 1px solid #d2d2d7; }
.education-system-card .education-content-system-title,
.education-system-card .education-service-system-title {
    max-width: 100%;
    white-space: normal;
}
.education-system-card .education-content-cards {
    counter-reset: education-content-item;
}
.education-system-card .education-content-cards article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    column-gap: var(--system-flow-gap);
    counter-increment: education-content-item;
}
.education-content-cards article::before {
    content: counter(education-content-item, decimal-leading-zero);
    padding-top: 2px;
    color: #0071e3;
    font-size: var(--text-label-size);
    font-weight: 400;
}
.education-content-cards article > div {
    display: flex;
    flex-direction: column;
    gap: var(--system-flow-gap);
}
.education-content-cards h3 {
    margin: 0;
    color: #1d1d1f;
}
.education-content-cards p {
    margin: 0;
    color: #000;
}
.education-system-card .industry-solution-metrics.education-service-results {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    column-gap: var(--system-flow-gap);
}

@media (max-width: 768px) {
    .custom-select-trigger {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .custom-select-menu button {
        height: auto;
        padding-block: 9px;
        white-space: normal;
    }
    .custom-select-menu { border-radius: 14px; }

}

/* ===== Shared portrait / narrow-screen layout ===== */
@media (max-aspect-ratio: 4 / 3) {
    :root {
        --narrow-gutter: clamp(20px, 4.2vw, 32px);
    }

    /* Homepage card type 2 stacks into equal media and copy halves. */
    .scenario-story {
        display: flex;
        flex-direction: column;
    }
    .scenario-story-media {
        width: 100%;
        order: 1;
    }
    .scenario-story-media,
    .scenario-story-copy {
        height: 50%;
        min-height: 0;
        flex: 0 0 50%;
    }
    .scenario-story-copy {
        order: 2;
    }
}

@media (max-width: 600px) {
    :root { --narrow-gutter: 20px; }
    .about-card-inner,
    .about-demo-card .contact-form-wrap { padding: 48px var(--narrow-gutter); }
    .footer-brand .logo-img-footer { height: 36px; }
    .ecosystem-footer-site-name { height: 36px; font-size: 12px; }
    .footer-content {
        grid-template-columns: repeat(2, max-content);
        row-gap: var(--copy-gap);
    }
    .ecosystem-footer .footer-content { grid-template-columns: repeat(2, max-content); }
}

/* ===== Three scene pages: four shared responsive card templates ===== */
.scene-hero-card,
.scene-system-card,
.scene-ecosystem-card {
    width: 100%;
    height: var(--viewport-card-height);
    min-height: 0;
    margin-top: var(--card-gap);
}
.scene-hero-card {
    position: relative;
    height: var(--adaptive-card-height, var(--viewport-card-height));
    margin-top: 0;
    overflow: hidden;
    background: #050505;
    color: #ffffff;
}
.scene-system-card,
.scene-ecosystem-card {
    height: auto;
    min-height: var(--viewport-card-height);
}

/* Card 1: full-bleed scene media with one proportional copy group. */
.scene-hero-card .industry-hero-media { position: absolute; inset: 0; }
.scene-hero-card .industry-hero-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.scene-hero-card .industry-hero-copy {
    position: absolute;
    z-index: 2;
    top: 80%;
    left: 10%;
    width: 80%;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--copy-gap);
    transform: translateY(-50%);
}
.scene-hero-card .industry-hero-copy > .technology-card-label {
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .48);
}
.scene-hero-card .industry-hero-copy h1 {
    max-width: 100%;
    margin: 0;
    color: #ffffff;
    white-space: normal;
}
#education-solution .industry-hero-copy {
    left: 10%;
    width: 55%;
}
#education-solution .industry-hero-copy h1 { width: 100%; }

/* Card 2: the shared 50/50 media-and-copy template. */
.scene-system-card {
    --system-flow-gap: var(--copy-gap);
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}
.scene-system-card .industry-system-copy .technology-card-label {
    width: 100%;
    color: #86868b;
}
.scene-system-card .industry-system-layout {
    width: 100%;
    height: auto;
    min-height: var(--adaptive-card-height, var(--viewport-card-height));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(var(--adaptive-card-height, var(--viewport-card-height)), auto);
}
@media (min-aspect-ratio: 4 / 3) {
    .scene-system-card:not(.education-system-card) .industry-system-layout {
        height: var(--adaptive-card-height, var(--viewport-card-height));
        grid-template-rows: minmax(0, 1fr);
    }
}
.scene-system-card .industry-system-media {
    position: relative;
    min-width: 0;
    min-height: var(--viewport-card-height);
    overflow: hidden;
}
.scene-system-card .industry-solution-pain {
    position: absolute;
    inset: 0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}
.scene-system-card .industry-solution-pain::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 12, .04) 30%, rgba(3, 7, 12, .84) 100%);
}
.scene-system-card .industry-solution-pain figure {
    position: absolute;
    z-index: -2;
    inset: 0;
    margin: 0;
    overflow: hidden;
    background: #111111;
}
.scene-system-card .industry-solution-pain figure img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.scene-system-card .industry-solution-pain[hidden],
.scene-system-card .industry-system-copy-panel[hidden] {
    display: none !important;
}
.scene-system-card .industry-pain-copy {
    position: absolute;
    z-index: 2;
    top: 75%;
    left: 10%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--system-flow-gap);
    transform: translateY(calc(-50% + var(--adaptive-pain-copy-shift, 0px)));
}
.scene-system-card .industry-solution-pain h2 {
    margin: 0;
    padding: 0 0 5px;
    display: inline-block;
    align-self: flex-start;
    width: max-content;
    border-bottom: 2px solid #ff453a;
    color: #ffffff;
}
.scene-system-card .industry-pain-copy > p:last-child {
    width: 100%;
    margin: 0;
    color: #ffffff;
}
.scene-system-card .industry-solution-switch {
    z-index: 6;
    width: max-content;
    max-width: 100%;
    display: flex;
    gap: var(--system-flow-gap);
}
.scene-system-card .industry-solution-switch button {
    position: relative;
    min-width: 0;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 0;
    color: #86868b;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: color .18s ease;
}
.scene-system-card .industry-solution-switch button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #0071e3;
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
}
.scene-system-card .industry-solution-switch button:hover {
    color: #1d1d1f;
}
.scene-system-card .industry-solution-switch button[aria-selected="true"] {
    color: #0071e3;
}
.scene-system-card .industry-solution-switch button[aria-selected="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}
.scene-system-card .industry-solution-switch button:focus-visible {
    outline: 2px solid #6e6e73;
    outline-offset: 2px;
}
.scene-system-card .industry-system-copy {
    width: 80%;
    min-width: 0;
    margin-inline: auto;
    padding: var(--system-flow-gap) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--system-flow-gap);
    container-type: inline-size;
}
.scene-system-card:not(.education-system-card) .industry-system-copy > * {
    flex-shrink: 0;
}
.scene-system-card .industry-system-copy-panels {
    width: 100%;
    min-height: max-content;
    flex-shrink: 0;
}
.scene-system-card .industry-solution-os {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--system-flow-gap);
    color: #1d1d1f;
}
.scene-system-card .industry-solution-os > * {
    flex-shrink: 0;
}
.scene-system-card .industry-solution-os > h2 {
    margin: 0;
    color: #1d1d1f;
}
.scene-system-card .industry-solution-lead,
.scene-system-card .industry-solution-capabilities,
.scene-system-card .industry-solution-metric-block,
.scene-system-card .industry-solution-applications {
    width: 100%;
    margin: 0;
}
.scene-system-card .industry-solution-lead {
    color: #000000;
}
.scene-system-card .industry-solution-capabilities h3,
.scene-system-card .industry-solution-metric-block h3,
.scene-system-card .industry-solution-applications h3 {
    margin: 0;
    color: #86868b;
}
.scene-system-card .industry-solution-capabilities ul {
    margin: var(--system-flow-gap) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--system-flow-gap);
    column-gap: 6%;
    list-style: none;
}
.scene-system-card .industry-solution-capabilities li {
    position: relative;
    min-width: 0;
    padding-left: 1em;
    color: #000000;
}
.scene-system-card .industry-solution-capabilities li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: .3em;
    height: .3em;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}
#industry-challenge .industry-solution-capabilities,
#lab-system .industry-solution-capabilities,
.scene-system-card .industry-solution-metric-block,
.scene-system-card .industry-solution-applications {
    padding-top: var(--system-flow-gap);
    border-top: 1px solid var(--border-color);
}
.scene-system-card .industry-solution-metrics {
    margin: var(--system-flow-gap) 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--system-flow-gap) 6%;
}
.scene-system-card .industry-solution-metrics > div {
    min-width: max-content;
    flex: 1 1 max-content;
    display: grid;
    gap: var(--system-flow-gap);
}
.scene-system-card .industry-solution-metrics strong {
    color: #0071e3;
    white-space: nowrap;
    overflow-wrap: normal;
}
.scene-system-card .industry-solution-metrics span {
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
    overflow-wrap: normal;
}
.scene-system-card .industry-solution-application-list {
    margin: var(--system-flow-gap) 0 0;
    display: grid;
    gap: var(--system-flow-gap);
}
.scene-system-card .industry-solution-application-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: baseline;
    gap: 0;
}
.scene-system-card .industry-solution-application-row p {
    margin: 0;
    color: #000000;
}
.scene-system-card .industry-solution-applications { display: block; }
.scene-system-card .industry-solution-applications span + span::before {
    content: "·";
    margin: 0 10px;
    color: #86868b;
}

/* Card 3: content-driven customer cases, 80% centered. */
.scene-cases-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: var(--viewport-card-height);
    margin-top: var(--card-gap);
    padding: 4% 0;
    overflow: visible;
    background: #ffffff;
    color: #1d1d1f;

}
.scene-cases-card > .technology-card-label {
    width: 80%;
    margin: 0 auto var(--copy-gap);
}
.scene-cases-card .industry-case-grid {
    width: 80%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--copy-gap);
}
.scene-cases-card .case-card {
    container-type: inline-size;
    min-width: 0;
    height: auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    color: #1d1d1f;
    cursor: default;
    transition: all .3s;
}
.scene-cases-card .case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .09);
}
.scene-cases-card .case-body {
    height: 100%;
    padding: clamp(16px, 5cqw, 30px);
    display: flex;
    flex-direction: column;
    gap: var(--copy-gap);
}
.scene-cases-card :is(.case-tag, .case-title, .case-client, .case-desc, .case-details, .case-results, .case-quote) {
    margin: 0;
    max-width: 100%;
}
.scene-cases-card :is(.case-tag, .case-title, .case-client, .case-desc, .case-quote) {
    overflow-wrap: anywhere;
}
.scene-cases-card .case-tag {
    width: fit-content;
    padding: 4px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    background: #f0f0f2;
    color: #6e6e73;
}
.scene-cases-card .case-title {
    color: #1d1d1f;
}
.scene-cases-card .case-client {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #86868b;
}
.scene-cases-card .case-client-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.scene-cases-card .case-desc {
    color: #6e6e73;
}
.scene-cases-card .case-details {
    padding-block: clamp(8px, 2cqw, 12px);
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: var(--copy-gap);
    border-top: 1px solid #d2d2d7;
    border-bottom: 1px solid #d2d2d7;
}
.scene-cases-card .case-detail-row {
    display: contents;
}
.scene-cases-card .case-detail-row > span {
    min-width: 0;
    padding-block: 4px;
}
.scene-cases-card .case-detail-row span:first-child {
    color: #86868b;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.scene-cases-card .case-detail-row span:last-child {
    color: #1d1d1f;
    overflow-wrap: break-word;
    word-break: normal;
}
.scene-cases-card .case-results {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(6px, 1.4vw, 16px);
}
.scene-cases-card .result-item {
    min-width: max-content;
    flex: 1 1 max-content;
    text-align: center;
}
.scene-cases-card .result-number {
    display: block;
    color: #0071e3;
    font-family: inherit;
    white-space: nowrap;
    overflow-wrap: normal;
}
.scene-cases-card .result-label {
    display: block;
    color: #86868b;
    white-space: nowrap;
    overflow-wrap: normal;
}
.scene-cases-card .case-quote {
    padding: 12px 16px;
    border-left: 3px solid #d2d2d7;
    border-radius: 0 8px 8px 0;
    background: #f5f5f7;
}
.scene-cases-card .case-quote p {
    margin: 0 0 8px;
    color: #6e6e73;
    font-style: italic;
}
.scene-cases-card .case-quote span {
    color: #86868b;
}
/* Card 4: copy 40%, hardware 60%; both inner regions are 80% wide. */
.scene-ecosystem-card {
    --partner-logo-height: 19px;
    --partner-logo-max-width: 88px;
    --partner-logo-secondary-height: 22px;
    --partner-logo-secondary-max-width: 102px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto;
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    color: #111111;
}
.scene-ecosystem-card .industry-robot-copy > .technology-card-label {
    width: 100%;
    margin: 0 0 var(--copy-gap);
}
.scene-ecosystem-card .industry-robot-copy {
    position: relative;
    z-index: 2;
    width: 80%;
    min-height: 0;
    margin-inline: auto;
    padding: var(--nav-height) 0 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.scene-ecosystem-card .industry-robot-copy > * {
    flex-shrink: 0;
}
.scene-ecosystem-card .industry-robot-copy h2 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: #1d1d1f;
    white-space: normal;
}
.scene-ecosystem-card .industry-robot-statements {
    width: 100%;
    margin-top: var(--copy-gap);
    display: grid;
    gap: var(--copy-gap);
}
.scene-ecosystem-card .support-copy-card {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: clamp(14px, 2svh, 18px) 5%;
    overflow: hidden;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(29, 29, 31, .09);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    transition: transform .3s, border-color .3s;
}
.scene-ecosystem-card .support-copy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .1);
}
.scene-ecosystem-card .support-copy-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #1d1d1f;
}
.scene-ecosystem-card .support-copy-card h3 {
    margin: 0;
    color: #86868b;
}
.scene-ecosystem-card .support-copy-card > p {
    margin: var(--copy-gap) 0 0;
    color: #000000;
}
.scene-ecosystem-card .industry-robot-partners {
    position: relative;
    width: 100%;
    margin: 14px 0 0;
    padding: 13px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(7px, .9vw, 12px) clamp(10px, 1.4vw, 20px);
    list-style: none;
    border-top: 1px solid rgba(29, 29, 31, .08);
}
.scene-ecosystem-card .industry-robot-partners li {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.scene-ecosystem-card .industry-robot-partners img {
    width: auto;
    max-width: min(100%, var(--partner-logo-max-width));
    height: var(--partner-logo-height);
    object-fit: contain;
    object-position: left center;
}
.scene-ecosystem-card .industry-robot-partners li:nth-child(n + 4) img {
    max-width: min(100%, var(--partner-logo-secondary-max-width));
    height: var(--partner-logo-secondary-height);
}
.scene-ecosystem-card .industry-robot-partners span {
    margin-top: 10px;
    color: #6e6e73;
    white-space: nowrap;
}
.scene-ecosystem-card .industry-robot-visual {
    position: relative;
    z-index: 1;
    width: 80%;
    height: 100%;
    min-height: 0;
    margin-inline: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.scene-ecosystem-card .industry-hardware-board {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(var(--viewport-card-height) * .8);
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    row-gap: 4%;
    align-self: center;
}
.scene-ecosystem-card .industry-hardware-row {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: clamp(8px, 1.2svh, 14px);
}
.scene-ecosystem-card .industry-hardware-row h3 {
    margin: 0;
    color: #86868b;
}
.scene-ecosystem-card .industry-hardware-products {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: end;
    gap: clamp(8px, .9vw, 12px);
}
.scene-ecosystem-card .industry-hardware-row-self .industry-hardware-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.scene-ecosystem-card .industry-hardware-row-partners .industry-hardware-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.scene-ecosystem-card .industry-hardware-product {
    --hardware-label-height: 15px;
    --hardware-label-gap: 6px;
    position: relative;
    container-type: inline-size;
    min-width: 0;
    height: 100%;
    padding: 4% 5% 3%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) var(--hardware-label-height);
    row-gap: var(--hardware-label-gap);
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(29, 29, 31, .09);
    border-radius: 14px;
    transition: transform .3s, border-color .3s;
}
.scene-ecosystem-card .industry-hardware-product:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .1);
}
.scene-ecosystem-card .industry-hardware-product img {
    grid-row: 1;
    align-self: end;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center bottom;
}
.scene-ecosystem-card .industry-hardware-product p {
    grid-row: 2;
    width: 100%;
    height: var(--hardware-label-height);
    min-height: var(--hardware-label-height);
    min-width: 0;
    margin: 0;
    padding-inline: clamp(3px, .7vw, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
}

/* Compact viewports change the industrial cards to a single column. */
@media (max-aspect-ratio: 4 / 3) {
    .scene-system-card {
        overflow: visible;
    }
    .scene-system-card .industry-system-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(50svh, auto) minmax(50svh, auto);
    }
    .scene-system-card .industry-system-media {
        min-height: 50svh;
    }
    .scene-system-card .industry-system-copy {
        min-height: 50svh;
        padding-block: clamp(28px, 5svh, 44px);
    }
    .scene-system-card.education-system-card {
        --adaptive-copy-gap-max: 14px;
        --education-copy-height: 50svh;
        --education-spacer-height: 4%;
        --education-top-height: 31%;
        --education-middle-height: 40%;
        --education-bottom-height: 25%;
    }
    .scene-system-card.education-system-card .industry-system-layout {
        grid-template-rows: 50svh minmax(var(--education-copy-height), auto);
    }
    .scene-system-card.education-system-card .industry-system-media {
        min-height: 50svh;
    }
    .scene-system-card.education-system-card .industry-system-copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows:
            var(--education-spacer-height)
            var(--education-top-height)
            var(--education-middle-height)
            var(--education-bottom-height);
        justify-content: stretch;
    }
    .scene-system-card.education-system-card .industry-system-copy::before {
        grid-row: 1;
    }
    .education-system-card .education-system-top {
        grid-row: 2;
        align-self: stretch;
    }
    .education-system-card .industry-system-copy-panels {
        display: contents;
    }
    .education-system-card .education-system-quadrant-region {
        grid-row: 3;
    }
    .education-system-card .scene-system-content > .industry-solution-metric-block {
        grid-row: 4;
    }
    .scene-system-card .industry-solution-capabilities ul {
        grid-template-columns: minmax(0, 1fr);
    }
    .scene-system-card .industry-solution-applications span + span::before { margin-inline: 5px; }
    .scene-cases-card .industry-case-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .scene-ecosystem-card {
        --partner-logo-height: 13px;
        --partner-logo-max-width: 72px;
        --partner-logo-secondary-height: 16px;
        --partner-logo-secondary-max-width: 84px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(40svh, auto) minmax(60svh, auto);
        overflow: visible;
    }
    .scene-ecosystem-card .industry-robot-copy {
        min-height: 40svh;
        padding-block: clamp(54px, 8svh, 74px) clamp(24px, 4svh, 40px);
    }
    .scene-ecosystem-card .industry-robot-visual {
        width: 90%;
        min-height: 60svh;
        padding-block: 4svh;
    }
    .scene-ecosystem-card .industry-hardware-board {
        height: 52svh;
        min-height: 0;
    }
}
