:root {
    color-scheme: light;
    --paper: #f7f5f0;
    --ink: #101927;
    --muted: #536176;
    --line: #d4d9df;
    --blue: #075bcb;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #050609; color: var(--ink); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4c9eff; outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
section[id], main { scroll-margin-top: 80px; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 12px 18px; background: white; color: #101927; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: #f5f6f7; background: rgba(5, 9, 15, .94); border-bottom: 1px solid #ffffff1f; }
.header-inner { position: relative; min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; flex-wrap: wrap; font-size: 17px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; text-decoration: none; }
.site-header .wordmark { pointer-events: auto; padding-block: 12px; text-shadow: 0 2px 8px #000; }
.wordmark span { color: #94bbef; }
.primary-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.primary-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 4px; }
.primary-nav a:hover { background: #ffffff12; }
.primary-nav .nav-app { border: 1px solid #ffffff45; }
/* The showroom occupies the opening screen and scrolls away with the page. */
.showcase { position: relative; height: max(400px, 100svh); overflow: hidden; color: white; }
.showcase-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #050609; }
.showcase-canvas, .showcase-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.showcase-canvas { opacity: 0; }
.showcase-fallback { object-fit: cover; filter: brightness(.65); }
.showcase.is-interactive .showcase-canvas { opacity: 1; }
.showcase.is-interactive .showcase-fallback { visibility: hidden; }
main, .site-footer { position: relative; z-index: 1; }
main { isolation: isolate; overflow: hidden; background: #080e18; padding-block: 56px; }
main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 15% 25%, #122238, transparent 65%), radial-gradient(ellipse at 90% 80%, #101e30, transparent 60%); }
.content-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .6; }

body { color: #f4f6fa; --ink: #f4f6fa; --muted: #c0ccdc; --line: #435065; --blue: #a3caff; }
.section { padding-block: clamp(56px, 10vh, 100px); }
.dock-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; }
.dock-card { min-width: 0; padding: 16px 24px; }
.dock-left { grid-column: 1 / span 6; }
.dock-right { grid-column: 7 / -1; }
.overview h1 { font-size: clamp(32px, 4vw, 48px); }
h1, h2 { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.2; letter-spacing: -.035em; font-weight: 550; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; }
p { color: var(--muted); }
.dock-card > p { margin-top: 12px; max-width: 36ch; font-size: 15px; line-height: 1.6; }
summary { cursor: pointer; font-size: 14px; font-weight: 600; padding-block: 4px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 8px; color: var(--blue); font-size: 14px; }
.team-list, .partner-list { list-style: none; margin: 24px 0 0; padding: 0; }
.team-list { display: grid; gap: 24px; }
.team-list li { display: flex; align-items: center; gap: 16px; }
.team-list img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-list p { font-size: 14px; }
.partners { padding-block: 40px; }
.partner-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; padding: 24px; background: rgba(6, 13, 23, .9); border-block: 1px solid #ffffff24; }
.partner-banner h2 { font-size: 18px; letter-spacing: 0; }
.partner-list { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin: 0; }
.partner-list img { width: auto; max-width: 140px; height: 40px; object-fit: contain; }
.site-footer { background: rgba(6,13,23,.95); color: white; padding: 40px 0 80px; }
.footer-inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.site-footer p { font-size: 12px; color: #aebaca; }
@media (max-width: 820px) {
    .shell { width: calc(100% - 40px); }
    section[id], main { scroll-margin-top: 72px; }
    .header-inner { min-height: 72px; }
    .primary-nav { gap: 2px; }
    .primary-nav a { padding-inline: 10px; font-size: 13px; }
    .header-inner { gap: 8px; }
    .site-header .wordmark { font-size: 13px; flex-wrap: nowrap; }
    .dock-left { grid-column: 1 / span 8; }
    .dock-right { grid-column: 5 / -1; }
    .wordmark { font-size: 15px; }
}
@media (max-width: 560px) {
    .dock-grid { grid-template-columns: 1fr; }
    .dock-left, .dock-right { grid-column: 1; }
    .dock-card { padding: 20px; text-align: left; }
    .section { padding-block: 48px; }
    .overview { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .showcase-canvas, .content-canvas { display: none; }
    .showcase.is-interactive .showcase-fallback { visibility: visible; }
}
@media (forced-colors: active) {
    .showcase-scene, .content-canvas, main::before { display: none; }
    main { background: Canvas; }
    .showcase { color: CanvasText; }
    .dock-card, .partner-banner { background: Canvas; color: CanvasText; border-color: CanvasText; }
    .site-header { background: Canvas; color: CanvasText; }
}
@media print {
    .showcase, .site-header, .skip-link, .content-canvas, main::before { display: none; }
    .dock-card, .partner-banner { background: white; color: black; border-color: #ccc; }
    p, .text-link { color: black; }
    .dock-grid { display: block; }
    main, .site-footer { color: black; background: white; }
    .section { padding-block: 24px; }
    details > * { display: block; }
}

/* A compact cylinder of labels rotates around a shared horizontal axle. */
.phrase-wheel { position: absolute; z-index: 2; top: 34%; left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 40px)); height: 300px; perspective: 700px; perspective-origin: 50% 110px; padding: 0; border: 0; background: transparent; color: #fff; text-align: center; isolation: isolate; }
.phrase-wheel::before { content: ""; position: absolute; inset: -60px -5% -30px; z-index: -1; background: radial-gradient(ellipse, #040b16ba, transparent 70%); pointer-events: none; }
.phrase { position: absolute; top: 90px; left: 0; width: 100%; font-size: clamp(20px, 3.6vw, 44px); backface-visibility: hidden; will-change: transform, opacity; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; text-shadow: 0 3px 20px #000; transform-origin: center; white-space: nowrap; }
.phrase:not(:first-child) { opacity: 0; }
.phrase-wheel:focus-visible { outline-offset: -8px; }
.dock-grid { align-items: center; }
.dock-card, .system-visual { grid-row: 1; }
.system-visual { min-width: 0; perspective: 900px; }
.visual-right { grid-column: 7 / -1; }
.visual-left { grid-column: 1 / span 6; }
.visual-stage { position: relative; transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .5s ease-out; }
.visual-stage img { width: 100%; }
.connection-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.connection-flow path { fill: none; stroke: #b2e5ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 110; filter: drop-shadow(0 0 4px #65baff); animation: connection-travel 5s linear infinite; animation-play-state: paused; }
.in-view .connection-flow path { animation-play-state: running; }
.animations-hidden .connection-flow path { animation-play-state: paused; }
.system-visual.revealed { animation: visual-entrance .8s ease-out both; }
.system-visual figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 0 20px; color: #9cafc5; font-size: 11px; letter-spacing: .06em; }
.system-visual figcaption span:last-child { color: #91a4ba; }
@keyframes connection-travel { to { stroke-dashoffset: -234; } }
@keyframes visual-entrance { from { opacity: .1; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 561px) and (max-width: 820px) {
    .dock-left { grid-column: 1 / span 6; }
    .dock-right { grid-column: 7 / -1; }
    .dock-card { padding-inline: 8px; }
    .dock-card h2 { font-size: 24px; }
}
@media (max-width: 560px) {
    .phrase { font-size: clamp(16px, 4.2vw, 23px); }
    .phrase-wheel { top: 35%; }
    .dock-card { grid-row: 1; }
    .system-visual { grid-column: 1; grid-row: 2; margin-top: 24px; }
    .section { padding-block: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .system-visual.revealed, .connection-flow path { animation: none; }
    .visual-stage { transition: none; transform: none; }
}
@media (forced-colors: active) {
    .phrase-wheel { color: CanvasText; }
    .phrase-wheel::before { display: none; }
    .phrase { text-shadow: none; }
}

.visual-dashboard { position: absolute; color: #b7cee0; font-size: clamp(9px, 1vw, 13px); font-weight: 500; }
.inventory-label { left: 63%; top: 25%; }
.activity-label { left: 59%; top: 12%; }
