:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: #0d141e;
  --panel-2: #111b27;
  --ink: #f4f7fb;
  --muted: #99a7b8;
  --muted-2: #69788d;
  --line: rgba(166, 186, 211, .16);
  --cyan: #53d5df;
  --amber: #f0b54b;
  --display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 78% 0%, rgba(63, 122, 159, .12), transparent 35%), var(--bg); font-family: var(--body); }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 48px 48px; }
a { color: inherit; }
button { font: inherit; }
.shell { height: 100%; display: grid; grid-template-rows: 76px minmax(0, 1fr) 36px; padding: 0 30px; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 17px var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand-mark { position: relative; width: 27px; height: 27px; border: 1px solid rgba(83,213,223,.72); border-right-color: transparent; border-radius: 50%; }
.brand-mark::before, .brand-mark::after { position: absolute; right: -1px; width: 5px; height: 5px; content: ""; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px rgba(83,213,223,.8); }
.brand-mark::before { top: 2px; }
.brand-mark::after { bottom: 2px; }
.tabs { height: 100%; display: flex; align-items: center; gap: 7px; }
.tabs button { position: relative; height: 100%; padding: 0 19px; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.tabs button::after { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; content: ""; background: var(--cyan); transform: scaleX(0); transition: transform 180ms ease; }
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.top-cta { justify-self: end; color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; }
.top-cta span { margin-left: 9px; color: var(--cyan); }
.stage { position: relative; min-height: 0; }
.page { position: absolute; inset: 0; overflow: auto; opacity: 0; transform: translateY(7px); }
.page[hidden] { display: none !important; }
.page.active { animation: reveal 380ms cubic-bezier(.2,.75,.25,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--muted-2); border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .045em; }
footer > :last-child { text-align: right; }
footer b { color: var(--cyan); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--cyan); font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 24px; height: 1px; content: ""; background: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 19px; color: var(--ink); border: 1px solid transparent; border-radius: 999px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; }
.button.primary { color: #061013; background: var(--cyan); }
.button.primary span { margin-left: 18px; }
.button.quiet { border-color: var(--line); background: rgba(255,255,255,.035); }
.actions { display: flex; gap: 10px; margin-top: 31px; }

.hero-page { overflow: hidden; }
.hero-images, .hero-image { position: absolute; inset: 0; }
.hero-image { opacity: 0; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.86) contrast(1.02); transform: scale(1.015); transition: opacity 1.2s ease, transform 8s ease; }
.hero-image.active { opacity: 1; transform: scale(1); }
.hero-image-factory { background-image: url('assets/worldsense-scene-factory.webp'); }
.hero-image-warehouse { background-image: url('assets/worldsense-scene-warehouse.webp'); }
.hero-image-multibody { background-image: url('assets/worldsense-scene-multibody.webp'); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,18,.98) 0%, rgba(7,11,18,.91) 31%, rgba(7,11,18,.28) 58%, rgba(7,11,18,.08) 100%), linear-gradient(0deg, rgba(7,11,18,.52), transparent 46%); }
.hero-copy { position: absolute; top: 48%; left: clamp(35px, 4.1vw, 70px); z-index: 2; width: min(670px, 51vw); transform: translateY(-50%); }
.hero-copy h1 { margin: 20px 0 22px; font: 720 clamp(55px, 6vw, 96px)/.89 var(--display); letter-spacing: -.067em; }
.hero-copy h1 em { color: var(--cyan); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 610px; margin: 0; color: #b7c2cf; font-size: clamp(16px, 1.22vw, 19px); line-height: 1.57; }
.hero-architecture { position: absolute; right: clamp(24px, 3.5vw, 58px); bottom: 29px; z-index: 2; display: grid; grid-template-columns: auto 40px auto 40px auto; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(5,10,16,.78); backdrop-filter: blur(16px); }
.hero-architecture div { min-width: 118px; }
.hero-architecture span, .hero-architecture strong { display: block; }
.hero-architecture span { margin-bottom: 5px; color: var(--muted-2); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.hero-architecture strong { font-size: 11px; }
.hero-architecture i { height: 1px; margin: 0 10px; background: linear-gradient(90deg, var(--line), var(--cyan)); }
.hero-architecture .brain strong { color: var(--cyan); }
.hero-scenes { position: absolute; right: clamp(24px, 3.5vw, 58px); bottom: 101px; z-index: 3; display: flex; gap: 7px; }
.hero-scenes button { width: 20px; height: 3px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.28); cursor: pointer; transition: width 220ms ease, background 220ms ease; }
.hero-scenes button.active { width: 38px; background: var(--cyan); }

.technology-page, .company-page, .contact-page { padding: clamp(25px, 4vh, 46px) clamp(20px, 3.2vw, 55px); }
.page-heading { display: grid; grid-template-columns: 1.4fr .65fr; gap: 8vw; align-items: end; max-width: 1340px; margin: 0 auto 27px; }
.page-heading h2 { margin: 14px 0 0; font: 690 clamp(42px, 4.2vw, 67px)/.97 var(--display); letter-spacing: -.055em; }
.page-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.technology-workspace { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(560px, 1.38fr); max-width: 1340px; height: min(430px, calc(100vh - 260px)); min-height: 350px; margin: auto; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); }
.tech-nav { display: grid; grid-template-rows: repeat(6, 1fr); border-right: 1px solid var(--line); }
.tech-nav button { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 9px; padding: 12px 21px; color: var(--muted); border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.tech-nav button:last-child { border-bottom: 0; }
.tech-nav button > span { grid-row: 1 / 3; align-self: center; color: var(--muted-2); font-size: 9px; }
.tech-nav strong { color: var(--ink); font-size: 14px; }
.tech-nav small { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.tech-nav button[aria-selected="true"] { background: linear-gradient(90deg, rgba(83,213,223,.12), transparent); box-shadow: inset 2px 0 var(--cyan); }
.tech-nav button[aria-selected="true"] > span, .tech-nav button[aria-selected="true"] small { color: var(--cyan); }
.tech-stage { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 28%, rgba(83,213,223,.075), transparent 34%); }
.tech-detail { position: absolute; inset: 0; padding: clamp(30px, 3.5vw, 55px); opacity: 0; transform: translateX(8px); }
.tech-detail.visible { animation: reveal 330ms ease forwards; }
.tech-type { margin: 0 0 20px; color: var(--cyan); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.tech-detail h3 { max-width: 720px; margin: 0 0 18px; font: 660 clamp(30px, 3.1vw, 49px)/1.02 var(--display); letter-spacing: -.047em; }
.tech-detail > p:not(.tech-type) { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.62; }
.detail-link { display: inline-block; margin-top: 21px; color: var(--cyan); font-size: 11px; text-decoration: none; }
.detail-link span { margin-left: 8px; }
.detail-actions { display: flex; align-items: center; gap: 20px; margin-top: 21px; }
.detail-actions .detail-link { margin-top: 0; }
.detail-actions .detail-link.secondary { color: var(--muted); }
.tech-visual { position: absolute; right: 6%; bottom: 7%; width: 44%; height: 105px; color: var(--muted); }
.cluster-visual { display: flex; align-items: center; justify-content: space-between; }
.cluster-visual span { position: relative; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; color: var(--cyan); border: 1px solid rgba(83,213,223,.42); border-radius: 50%; background: #0a141d; font-size: 9px; }
.cluster-visual i { position: absolute; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--amber)); }
.model-visual, .runtime-visual { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.model-visual span, .runtime-visual span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }
.model-visual b, .runtime-visual b { position: absolute; left: 50%; bottom: -2px; color: var(--cyan); font-size: 11px; transform: translateX(-50%); }
.memory-visual { display: flex; align-items: center; gap: 13px; }
.memory-visual i { width: 15%; height: 58px; border: 1px solid var(--line); border-radius: 7px; background: rgba(83,213,223,.04); }
.memory-visual i:nth-child(2) { height: 72px; }
.memory-visual i:nth-child(3) { height: 88px; border-color: rgba(83,213,223,.36); }
.memory-visual i:nth-child(4) { height: 100px; border-color: rgba(83,213,223,.55); }
.memory-visual span { align-self: end; color: var(--cyan); font-size: 8px; }
.memory-visual b { position: absolute; right: 0; top: 0; color: var(--ink); font-size: 11px; }
.action-visual { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 13px; }
.action-visual span, .action-visual i, .action-visual b { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); border-radius: 10px; font-size: 9px; font-style: normal; }
.action-visual i { color: var(--amber); border-color: rgba(240,181,75,.34); }
.action-visual b { color: var(--cyan); border-color: rgba(83,213,223,.38); }
.fusion-visual { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 13px; }
.fusion-visual span, .fusion-visual i, .fusion-visual b { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); border-radius: 10px; font-size: 9px; font-style: normal; }
.fusion-visual i { color: var(--cyan); border-color: rgba(83,213,223,.34); }
.fusion-visual b { color: var(--amber); border-color: rgba(240,181,75,.34); }

.company-page { display: grid; grid-template-rows: 1fr auto; align-items: center; }
.company-copy { max-width: 1120px; margin: auto; text-align: center; }
.company-copy .eyebrow { justify-content: center; }
.company-copy h2 { margin: 18px 0 21px; font: 680 clamp(43px, 4.9vw, 75px)/.99 var(--display); letter-spacing: -.06em; }
.company-copy > p:not(.eyebrow) { max-width: 760px; margin: auto; color: var(--muted); font-size: 14px; line-height: 1.65; }
.company-principles { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1160px, 94%); margin: 0 auto 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.company-principles div { padding: 22px 25px; border-right: 1px solid var(--line); }
.company-principles div:last-child { border-right: 0; }
.company-principles span { color: var(--cyan); font-size: 9px; }
.company-principles strong { display: block; margin: 13px 0 7px; font-size: 15px; }
.company-principles p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.contact-page { display: grid; align-items: center; }
.contact-layout { display: grid; grid-template-columns: minmax(560px, 1.1fr) minmax(340px, .7fr); gap: 22px; width: min(1240px, 94%); margin: auto; }
.contact-card { min-height: 470px; padding: clamp(42px, 5vw, 70px); border: 1px solid rgba(83,213,223,.25); border-radius: 24px; background: radial-gradient(circle at 85% 10%, rgba(83,213,223,.13), transparent 38%), linear-gradient(145deg, var(--panel-2), #0b121b); }
.contact-card h2 { max-width: 820px; margin: 18px 0; font: 690 clamp(48px, 5.2vw, 78px)/.96 var(--display); letter-spacing: -.06em; }
.contact-card > p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.contact-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 17px; color: var(--muted-2); border-top: 1px solid var(--line); font-size: 10px; }
.contact-meta .email-link { padding: 0; color: var(--ink); border: 0; background: transparent; cursor: pointer; font-family: inherit; font-size: inherit; font-weight: 700; }
.company-contact { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 14px; margin: 23px 0 0; }
.company-contact div { min-width: 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.026); }
.company-contact dt { margin: 0 0 8px; color: var(--muted-2); font-size: 8px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.company-contact dd { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.35; }
.company-contact a { color: var(--ink); text-decoration: none; }
.contact-routes { display: grid; grid-template-rows: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(13,20,30,.72); }
.contact-routes article { padding: 27px 29px; border-bottom: 1px solid var(--line); }
.contact-routes article:last-child { border-bottom: 0; }
.contact-routes span { color: var(--cyan); font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.contact-routes strong { display: block; margin: 13px 0 8px; color: var(--ink); font-size: 17px; }
.contact-routes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 1050px) {
  .shell { padding-inline: 18px; }
  .tabs button { padding-inline: 12px; }
  .top-cta { font-size: 0; }
  .top-cta span { font-size: 14px; }
  .hero-architecture { display: none; }
  .hero-scenes { bottom: 26px; }
  .technology-workspace { grid-template-columns: 290px 1fr; }
}
@media (max-height: 750px) {
  .shell { grid-template-rows: 68px minmax(0, 1fr) 30px; }
  .technology-page, .company-page, .contact-page { padding-top: 17px; padding-bottom: 17px; }
  .page-heading { margin-bottom: 14px; }
  .page-heading h2 { font-size: 44px; }
  .technology-workspace { height: calc(100vh - 219px); min-height: 315px; }
  .tech-detail { padding: 32px 40px; }
  .tech-detail h3 { font-size: 39px; }
  .contact-card { padding: 40px 58px; }
  .contact-card h2 { font-size: 59px; }
  .contact-meta { margin-top: 28px; }
  .company-contact { margin-top: 17px; }
  .company-contact div { padding: 12px 14px; }
  .contact-layout { grid-template-columns: minmax(500px, 1fr) minmax(320px, .62fr); }
  .contact-routes article { padding: 21px 24px; }
}
@media (max-width: 760px) {
  html, body { height: auto; overflow-x: hidden; overflow-y: auto; }
  .shell { min-height: 100svh; height: auto; grid-template-rows: auto minmax(0, 1fr) auto; padding-inline: 16px; }
  .topbar { grid-template-columns: 1fr auto; grid-template-rows: 58px 42px; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; }
  .tabs button { padding-inline: 5px; font-size: 11px; }
  .tabs button::after { left: 5px; right: 5px; }
  .top-cta { grid-column: 2; grid-row: 1; font-size: 11px; }
  .top-cta span { margin-left: 3px; font-size: 12px; }
  .page { position: relative; inset: auto; overflow: visible; transform: none; }
  .hero-page { min-height: max(660px, calc(100svh - 136px)); overflow: hidden; }
  .hero-image { background-position: 57% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,11,18,.91) 0%, rgba(7,11,18,.73) 47%, rgba(7,11,18,.23) 100%); }
  .hero-copy { top: 62px; left: 20px; right: 20px; width: auto; transform: none; }
  .hero-copy h1 { margin: 19px 0; font-size: 51px; line-height: .95; }
  .hero-copy > p:not(.eyebrow) { max-width: 420px; font-size: 15px; }
  .hero-copy .actions { flex-wrap: wrap; margin-top: 25px; }
  .hero-scenes { right: 20px; bottom: 24px; }
  .technology-page, .company-page, .contact-page { padding: 30px 0 42px; }
  .page-heading { display: block; margin-bottom: 24px; }
  .page-heading h2 { font-size: 42px; }
  .page-heading > p { margin-top: 15px; font-size: 13px; }
  .technology-workspace { display: block; width: 100%; height: auto; min-height: 0; border-radius: 12px; }
  .tech-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(74px, auto)); border-right: 0; }
  .tech-nav button { grid-template-columns: 20px 1fr; gap: 3px; padding: 10px; border-right: 1px solid var(--line); }
  .tech-nav button:nth-child(even) { border-right: 0; }
  .tech-nav strong { font-size: 12px; }
  .tech-nav small { font-size: 9px; }
  .tech-stage { min-height: 370px; }
  .tech-detail { padding: 28px 23px; }
  .tech-detail h3 { font-size: 34px; }
  .tech-visual { right: 8%; bottom: 6%; width: 78%; }
  .company-page { display: block; }
  .company-copy { text-align: left; }
  .company-copy .eyebrow { justify-content: flex-start; }
  .company-copy h2 { font-size: 44px; }
  .company-principles { display: block; width: 100%; margin: 35px 0 0; border-radius: 12px; }
  .company-principles div { border-right: 0; border-bottom: 1px solid var(--line); }
  .company-principles div:last-child { border-bottom: 0; }
  .contact-page { display: block; }
  .contact-layout { display: block; width: 100%; }
  .contact-card { min-height: 0; padding: 30px 23px; border-radius: 12px; }
  .contact-card h2 { font-size: 46px; }
  .contact-card .actions { flex-wrap: wrap; }
  .contact-card .button { width: 100%; }
  .contact-meta { flex-wrap: wrap; }
  .company-contact { grid-template-columns: 1fr; gap: 8px; }
  .contact-routes { margin-top: 16px; border-radius: 12px; }
  .contact-routes article { padding: 20px 23px; }
  footer { min-height: 36px; grid-template-columns: 1fr auto; gap: 10px; font-size: 9px; }
  footer > :last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
