/* VirtualHub marketing page – colors and font follow webapp/src/styles/definitions.scss */

@font-face {
    font-family: Figtree;
    src: url("assets/fonts/Figtree-VariableFont_wght.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

:root {
    --bg: #0B1217;
    --surface: #141F27;
    --surface-2: #1A2832;
    --line: rgba(245, 246, 246, 0.08);
    --line-strong: rgba(245, 246, 246, 0.16);
    --text: #F5F6F6;
    --muted: #9BA7AF;
    --accent: #46BCE8;
    --accent-dark: #177EA4;
    /* Darkened for 4.5:1 contrast with --text on filled surfaces (WCAG AA) */
    --accent-button: color-mix(in srgb, var(--accent-dark) 86%, #000);
    --accent-button-hover: color-mix(in srgb, var(--accent-dark) 94%, #000);
    --assistant: #7C5CD6;
    --warning: #F2B134;
    --record: #E5484D;

    --radius: 18px;
    --radius-sm: 10px;
    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(80px, 11vw, 150px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 132px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) - 60px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Figtree, system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

h1, h2, h3, h4, p, figure, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

main, .footer, .nav {
    position: relative;
    z-index: 1;
}

/* ---------- Typography ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.h2 {
    font-size: clamp(36px, 5.2vw, 68px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.lead {
    font-size: clamp(17px, 1.4vw, 19px);
    color: var(--muted);
    max-width: 560px;
}

.text-accent {
    color: var(--accent);
}

h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3DD68C;
    box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(61, 214, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}

/* ---------- Buttons (label slides on hover) ---------- */

.btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    height: 46px;
    padding: 0 20px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    cursor: pointer;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn__label {
    display: grid;
    height: 1.3em;
    overflow: hidden;
    line-height: 1.3em;
}

.btn__label span {
    grid-area: 1 / 1;
    transition: transform 0.45s var(--ease);
}

.btn__label span:last-child {
    transform: translateY(110%);
}

.btn:hover .btn__label span:first-child {
    transform: translateY(-110%);
}

.btn:hover .btn__label span:last-child {
    transform: translateY(0);
}

.btn__arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: -10px;
    border-radius: 50%;
    background: rgba(11, 18, 23, 0.25);
    transition: transform 0.45s var(--ease);
}

.btn__arrow img {
    width: 14px;
    height: 14px;
}

.btn:hover .btn__arrow {
    transform: rotate(-45deg);
}

.btn--primary {
    background: var(--accent-button);
    border-color: var(--accent);
    box-shadow: 0 6px 24px rgba(70, 188, 232, 0.28);
}

.btn--primary:hover {
    background: var(--accent-button-hover);
    box-shadow: 0 8px 34px rgba(70, 188, 232, 0.45);
}

.btn--ghost {
    border-color: var(--line-strong);
    background: rgba(245, 246, 246, 0.04);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    border-color: var(--accent);
    background: rgba(70, 188, 232, 0.12);
}

.btn--lg {
    height: 54px;
    padding: 0 26px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(11, 18, 23, 0.78);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--nav-h);
    padding-top: 12px;
}

.nav__logo img {
    width: 300px;
    height: auto;
    transform-origin: left center;
    transition: transform 0.4s var(--ease);
}

.nav.is-scrolled .nav__logo img {
    transform: scale(0.75);
}

.nav__links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.nav__links a {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    border-radius: 999px;
    transition: color 0.2s, background-color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
    color: var(--text);
    background: rgba(245, 246, 246, 0.06);
}

.nav__toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: none;
    cursor: pointer;
}

.nav__toggle span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
}

.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 24px; }

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

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    margin-top: calc(-1 * var(--nav-h));
    padding: calc(var(--nav-h) + 84px) 0 clamp(48px, 7vw, 90px);
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 40%;
    animation: heroZoom 18s var(--ease) both;
}

@keyframes heroZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 18, 23, 0.75) 0%, rgba(11, 18, 23, 0.05) 30%, rgba(11, 18, 23, 0.25) 55%, rgba(11, 18, 23, 0.96) 100%),
        linear-gradient(90deg, rgba(11, 18, 23, 0.7) 0%, rgba(11, 18, 23, 0) 60%);
}

.hero__content {
    position: relative;
}

.hero__title {
    max-width: 1000px;
    font-size: clamp(48px, 8.6vw, 118px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-shadow: 0 2px 24px rgba(11, 18, 23, 0.45), 0 1px 3px rgba(11, 18, 23, 0.3);
}

.hero__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 40px;
    margin-top: clamp(28px, 4vw, 48px);
}

.hero__lead {
    max-width: 520px;
    font-size: clamp(17px, 1.5vw, 20px);
    color: rgba(245, 246, 246, 0.82);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Marquee ---------- */

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
    padding: var(--section) 0;
}

.section--tight {
    padding: calc(var(--section) * 0.7) 0;
}

.section--alt {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-top: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px 60px;
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 80px);
}

/* Devices showcase */

.showcase {
    padding-top: var(--section);
    overflow: hidden;
}

.showcase .section-head {
    margin-bottom: clamp(32px, 5vw, 60px);
}

.showcase__media {
    position: relative;
}

.showcase__media img {
    display: block;
    width: 100%;
    height: auto;
}

.showcase__media::before,
.showcase__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 8%;
    z-index: 1;
    pointer-events: none;
}

.showcase__media::before {
    top: 0;
    background: linear-gradient(180deg, rgba(11, 18, 23, 0.45) 0%, rgba(11, 18, 23, 0) 100%);
}

.showcase__media::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(11, 18, 23, 0.45) 0%, rgba(11, 18, 23, 0) 100%);
}

/* Intro */

.intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.intro__text .lead {
    margin-top: 28px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.pillar__num,
.device-card__num,
.use-case__num,
.diff span,
.xr-item > span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.pillar h3 {
    margin: 8px 0 8px;
}

.pillar p {
    font-size: 15px;
    color: var(--muted);
}

.intro__media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
}

.media-card--tall {
    aspect-ratio: 16 / 10;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.media-card:hover img {
    transform: scale(1.05);
}

.media-card figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(11, 18, 23, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.media-card figcaption span:last-child:not(:first-child) {
    color: var(--accent);
    font-weight: 500;
}

/* Devices */

.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.device-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.4s, transform 0.5s var(--ease);
}

.device-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.device-card--accent {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(70, 188, 232, 0.22) 0%, rgba(70, 188, 232, 0) 60%),
        var(--surface);
    border-color: rgba(70, 188, 232, 0.35);
}

.device-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 48px;
    border-radius: 14px;
    background: rgba(70, 188, 232, 0.12);
    border: 1px solid rgba(70, 188, 232, 0.3);
}

.device-card__icon img {
    width: 28px;
    height: 28px;
}

.device-card h3 {
    margin: 6px 0 10px;
    font-size: 24px;
}

.device-card p {
    color: var(--muted);
    font-size: 15px;
}

.checks {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checks li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(70, 188, 232, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2346BCE8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Use cases */

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.use-case {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.4s, transform 0.5s var(--ease);
}

.use-case:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.use-case__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.use-case__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.use-case:hover .use-case__media img {
    transform: scale(1.05);
}

.use-case__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 32px 32px;
}

.use-case__body h3 {
    margin: 6px 0 10px;
    font-size: 24px;
}

.use-case__body p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15px;
}

.use-case__body .checks {
    margin-top: auto;
}

/* Stats */

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    position: relative;
    padding: 44px 24px;
    border-left: 1px solid var(--line);
    overflow: hidden;
    transition: background-color 0.4s;
}

.stat:last-child {
    border-right: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat strong small {
    font-size: 0.45em;
    margin-left: 4px;
    color: var(--accent);
    letter-spacing: 0;
}

.stat > span {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    color: var(--muted);
}

/* Feature grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature {
    position: relative;
    padding: 28px 24px 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s;
    overflow: hidden;
}

.feature::after,
.stat::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.feature:hover,
.stat:hover {
    background: rgba(70, 188, 232, 0.05);
}

.feature:hover::after,
.stat:hover::after {
    transform: scaleX(1);
}

.feature__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.feature__top img {
    width: 30px;
    height: 30px;
}

.feature h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14.5px;
    color: var(--muted);
}

.swatches {
    display: flex;
}

.swatches i {
    width: 22px;
    height: 22px;
    margin-right: -6px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--c);
}

/* Bento (learn) */

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento__item {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.bento__item h3 {
    margin: 18px 0 10px;
    font-size: 24px;
}

.bento__item p {
    color: var(--muted);
    font-size: 15px;
}

.bento__item--ai {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background:
        radial-gradient(80% 120% at 100% 50%, rgba(124, 92, 214, 0.28) 0%, rgba(124, 92, 214, 0) 60%),
        var(--surface);
    border-color: rgba(124, 92, 214, 0.35);
}

.bento__item--ai h3 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.03em;
}

.bento__item--wide {
    grid-column: span 1;
}

.tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--line-strong);
    background: rgba(245, 246, 246, 0.04);
}

.tag img {
    width: 18px;
    height: 18px;
}

.tag--ai {
    border-color: rgba(124, 92, 214, 0.6);
    background: rgba(124, 92, 214, 0.18);
}

/* Images are cropped to 4:3 and sit at the bottom of the card,
   so cards in the same row show them at the same size and height */
.bento__img {
    position: relative;
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.bento__item > p:has(+ .bento__img) {
    margin-bottom: 28px;
}

.bento__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento__img--white {
    background: #fff;
}

.bento__img figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(11, 18, 23, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bento__img figcaption span:last-child:not(:first-child) {
    color: var(--accent);
    font-weight: 500;
}

/* Chat mockup */

.chat {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(11, 18, 23, 0.7);
    font-size: 14.5px;
    line-height: 1.5;
}

.chat__msg {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--surface-2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.chat__msg b {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    color: var(--muted);
}

.chat__msg--user {
    justify-self: end;
    background: var(--accent-button);
}

.chat__msg--user b {
    color: rgba(245, 246, 246, 0.9);
}

.chat__msg--action {
    justify-self: center;
    max-width: 100%;
    padding: 6px 12px;
    font-size: 12.5px;
    color: #C7B8F5;
    background: rgba(124, 92, 214, 0.16);
    border: 1px dashed rgba(124, 92, 214, 0.5);
}

.chat__msg--ai {
    background: rgba(124, 92, 214, 0.22);
    border: 1px solid rgba(124, 92, 214, 0.4);
}

.chat__msg--ai b {
    color: #C7B8F5;
}

.chat.is-visible .chat__msg {
    opacity: 1;
    transform: none;
}

.chat.is-visible .chat__msg:nth-child(2) { transition-delay: 0.7s; }
.chat.is-visible .chat__msg:nth-child(3) { transition-delay: 1.4s; }

.chat__input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
}

.chat__input img {
    width: 20px;
    height: 20px;
}

/* Tour steps */

.tour-steps {
    display: grid;
    gap: 8px;
    margin-top: 28px;
    counter-reset: none;
}

.tour-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--muted);
}

.tour-steps li span {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.tour-steps li.is-done {
    color: var(--text);
}

.tour-steps li.is-done span {
    color: var(--accent);
}

.tour-steps li.is-active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(70, 188, 232, 0.1);
}

.tour-steps li.is-active span {
    color: var(--accent);
}

/* Collaborate */

.collab {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 5vw, 70px);
    align-items: start;
}

.collab__visual {
    position: sticky;
    top: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3.4;
}

/* World map: people from different places joining one live room */
.world {
    container-type: inline-size;
    background:
        radial-gradient(70% 55% at 50% 78%, rgba(70, 188, 232, 0.14) 0%, rgba(70, 188, 232, 0) 70%),
        var(--surface);
}

.world__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.world__land {
    fill: url(#worldDots);
}

.world__map pattern circle {
    fill: rgba(245, 246, 246, 0.3);
}

.world__line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    stroke-opacity: 0.7;
    stroke-dasharray: 3 4;
    animation: worldFlow 1.6s linear infinite;
    animation-delay: var(--d);
}

@keyframes worldFlow {
    to { stroke-dashoffset: -14; }
}

.world__pin {
    fill: var(--accent);
}

.world__ping {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: worldPing 2.4s var(--ease) infinite;
    animation-delay: var(--d);
}

@keyframes worldPing {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.6); opacity: 0; }
}

.world__person {
    --gap: 2cqw;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65em;
    padding: 0.5em 0.85em 0.5em 0.5em;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(11, 18, 23, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: clamp(9.5px, 2cqw, 12.5px);
    line-height: 1.2;
    white-space: nowrap;
    transform: translate(calc(-50% + var(--shift, 0%)), calc(-100% - var(--gap)));
}

.world__person--below {
    transform: translate(calc(-50% + var(--shift, 0%)), var(--gap));
}

.world__avatars {
    display: flex;
}

.world__avatars i {
    display: grid;
    place-items: center;
    width: 2em;
    height: 2em;
    margin-right: -0.5em;
    border: 2px solid var(--bg);
    border-radius: 50%;
    font-size: 1em;
    font-style: normal;
    font-weight: 700;
    color: var(--bg);
    background: var(--c);
}

.world__avatars i:last-child {
    margin-right: 0;
}

.world__who {
    display: grid;
}

.world__who small {
    font-size: 0.9em;
    color: var(--muted);
}

@container (max-width: 520px) {
    .world__who small { display: none; }
}

.world__badge {
    padding: 0.2em 0.6em;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(70, 188, 232, 0.14);
}

.world__badge--xr {
    color: color-mix(in srgb, var(--assistant) 55%, var(--text));
    background: rgba(124, 92, 214, 0.22);
}

.world__badge--tablet {
    color: var(--warning);
    background: rgba(242, 177, 52, 0.16);
}

/* Pulsing dot where all lines meet the room */
.world__room::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    animation: worldHub 2s ease-out infinite;
}

@keyframes worldHub {
    0% { box-shadow: 0 0 0 0 rgba(70, 188, 232, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(70, 188, 232, 0); }
    100% { box-shadow: 0 0 0 0 rgba(70, 188, 232, 0); }
}

/* The shared virtual room all lines lead into */
.world__room {
    position: absolute;
    left: 50%;
    top: 74%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 14px 18px;
    border: 1px solid rgba(70, 188, 232, 0.45);
    border-radius: 16px;
    background: rgba(20, 31, 39, 0.92);
    box-shadow: 0 0 40px rgba(70, 188, 232, 0.2);
    font-size: 13px;
    transform: translateX(-50%);
}

.world__live {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--record);
}

.world__code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    color: var(--accent);
}

.world__avatars--room {
    flex-basis: 100%;
    justify-content: center;
    font-size: 12px;
}

.world__count {
    color: var(--muted);
}

.collab__list {
    display: grid;
}

.collab-item {
    display: flex;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.collab-item:first-child {
    padding-top: 0;
}

.collab-item img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 12px;
    background: rgba(70, 188, 232, 0.1);
    border: 1px solid rgba(70, 188, 232, 0.28);
}

.collab-item h3 {
    margin-bottom: 6px;
}

.collab-item p {
    color: var(--muted);
    font-size: 15px;
}

/* XR */

.xr__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.xr__text .lead {
    margin-top: 24px;
}

.xr__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    margin-top: 44px;
}

.xr-item {
    display: grid;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line-strong);
}

.xr-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.xr-item p {
    font-size: 14.5px;
    color: var(--muted);
}

.xr__visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        radial-gradient(60% 60% at 50% 50%, rgba(70, 188, 232, 0.25) 0%, rgba(70, 188, 232, 0) 70%),
        repeating-linear-gradient(0deg, rgba(245, 246, 246, 0.04) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(90deg, rgba(245, 246, 246, 0.04) 0 1px, transparent 1px 40px),
        var(--surface);
    overflow: hidden;
}

.xr__kit {
    position: relative;
    align-self: start;
    width: 72%;
    height: auto;
    margin-top: 4%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.xr__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(11, 18, 23, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.xr__badge img {
    width: 30px;
    height: 30px;
}

.xr__badge b {
    display: block;
    font-size: 14px;
    color: var(--accent);
}

.xr__badge span {
    font-size: 13px;
    color: var(--muted);
}

/* Library gallery */

.gallery {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.gallery__track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
}

.gallery:hover .gallery__track {
    animation-play-state: paused;
}

.g-card {
    position: relative;
    flex: none;
    width: clamp(260px, 28vw, 380px);
    margin-right: 16px; /* instead of gap, so the track is exactly two equal halves */
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.g-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.g-card:hover img {
    transform: scale(1.06);
}

.g-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 2px 12px;
    padding: 40px 18px 16px;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(11, 18, 23, 0) 0%, rgba(11, 18, 23, 0.9) 100%);
}

.g-card figcaption span {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}

/* Process flow diagram */

.flow {
    --chip-h: 56px;
    --chip-gap: 10px;
    --lane-gap: 28px;
    --link-w: 72px;
    --flow-line: rgba(70, 188, 232, 0.55);
    --flow-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 10'%3E%3Cpath d='M0 0l8 5-8 5z' fill='%2346BCE8'/%3E%3C/svg%3E");
    display: grid;
    grid-template-columns: auto var(--link-w) minmax(0, 1fr) var(--link-w) minmax(0, 1fr);
    grid-template-rows: auto 1fr 1fr;
    grid-template-areas:
        "p1 p1 p2 p2 p3"
        "g1 l1 n1 m  t"
        "g2 l2 n2 m  t";
    row-gap: var(--lane-gap);
    margin-bottom: clamp(48px, 6vw, 80px);
}

.flow ul {
    list-style: none;
}

.flow__phase {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.flow__phase span {
    letter-spacing: 0.06em;
    color: var(--accent);
}

.flow__phase--data { grid-area: p1; margin-right: 16px; }
.flow__phase--convert { grid-area: p2; margin-right: 16px; }
.flow__phase--run { grid-area: p3; }

.flow__group {
    display: grid;
    gap: var(--chip-gap);
    align-self: center;
}

.flow__group--model { grid-area: g1; }
.flow__group--knowledge { grid-area: g2; }

/* Data sources: label on the left, colored circle at the line */
.flow__chip {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
    height: var(--chip-h);
    font-size: 15px;
    font-weight: 500;
    text-align: right;
}

.flow__dot {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: var(--chip-h);
    height: var(--chip-h);
    border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 20%, var(--surface));
    box-shadow: 0 0 24px color-mix(in srgb, var(--c) 22%, transparent);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.flow__chip:hover .flow__dot {
    transform: scale(1.08);
    box-shadow: 0 0 32px color-mix(in srgb, var(--c) 40%, transparent);
}

.flow__dot img {
    width: 24px;
    height: 24px;
}

/* Bracket from the three chips into one arrow */
.flow__link {
    position: relative;
}

.flow__link--model { grid-area: l1; }
.flow__link--knowledge { grid-area: l2; }

.flow__link::before,
.flow__merge::before {
    content: "";
    position: absolute;
    left: 0;
    width: 45%;
    border: 1px solid var(--flow-line);
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.flow__link::before {
    top: calc(50% - var(--chip-h) - var(--chip-gap));
    height: calc(2 * (var(--chip-h) + var(--chip-gap)) + 1px);
}

.flow__link::after,
.flow__merge::after {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    right: 4px;
    height: 10px;
    background:
        linear-gradient(var(--flow-line), var(--flow-line)) left center / calc(100% - 7px) 1px no-repeat,
        var(--flow-arrow) right center / 8px 10px no-repeat;
}

.flow__merge::after {
    left: 45%;
}

.flow__node {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.flow__node--model { grid-area: n1; }
.flow__node--knowledge { grid-area: n2; }

.flow__node img {
    width: 28px;
    height: 28px;
    margin-bottom: 18px;
}

.flow__node h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.flow__node p {
    font-size: 14px;
    color: var(--muted);
}

/* Bracket from both results into the platform */
.flow__merge {
    grid-area: m;
    position: relative;
}

.flow__merge::before {
    top: calc(25% - var(--lane-gap) / 4);
    bottom: calc(25% - var(--lane-gap) / 4);
}

.flow__platform {
    grid-area: t;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border: 1px solid rgba(70, 188, 232, 0.35);
    border-radius: var(--radius);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(70, 188, 232, 0.22) 0%, rgba(70, 188, 232, 0) 60%),
        var(--surface);
}

.flow__platform-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.flow__twin {
    margin: 14px 0 4px;
    padding: 18px 20px;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: rgba(70, 188, 232, 0.12);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    box-shadow: 0 0 40px rgba(70, 188, 232, 0.18);
}

/* Difference */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.diff {
    padding: 36px 32px 40px 0;
    border-bottom: 1px solid var(--line);
}

.diff:not(:nth-child(3n + 1)) {
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.diff h3 {
    margin: 14px 0 10px;
    font-size: 22px;
}

.diff p {
    color: var(--muted);
    font-size: 15px;
}

/* CTA */

.cta {
    position: relative;
    padding: var(--section) 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

.cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7);
}

.cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 18, 23, 0.97) 0%, rgba(11, 18, 23, 0.85) 50%, rgba(11, 18, 23, 0.6) 100%),
        linear-gradient(180deg, var(--bg) 0%, rgba(11, 18, 23, 0) 25%, rgba(11, 18, 23, 0) 75%, var(--bg) 100%);
}

.cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.cta__text .lead {
    margin-top: 24px;
}

.cta__side {
    display: grid;
    gap: 16px;
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(20, 31, 39, 0.75);
}

.contact-person img {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-person > div {
    min-width: 0;
}

.contact-person__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-person__name {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
}

.contact-person__role {
    font-size: 14px;
    color: var(--muted);
}

.contact-person__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 10px;
    font-size: 14px;
}

.contact-person__links a {
    overflow-wrap: anywhere;
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.contact-person__links a:hover {
    text-decoration-color: var(--accent);
}

.form {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background: rgba(20, 31, 39, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.form input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(11, 18, 23, 0.6);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(70, 188, 232, 0.2);
}

.form input.is-invalid {
    border-color: var(--record);
}

/* Honeypot field: hidden from people, filled in by simple bots */
.form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form .btn:disabled {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

.form__note {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.form__note a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__status {
    font-weight: 600;
    color: var(--text);
}

.form__status:empty {
    display: none;
}

.form__note.is-success {
    color: #3DD68C;
}

/* Footer */

.footer {
    padding-top: 80px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    overflow: hidden;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__brand p {
    max-width: 340px;
    margin-top: 20px;
    font-size: 15px;
    color: var(--muted);
}

.footer__brand img {
    width: 160px;
    height: auto;
}

.footer__col {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer__col h3 {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: inherit;
    color: var(--muted);
}

.footer__col a {
    font-size: 15px;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__wb {
    display: block;
    width: 140px;
    margin-bottom: 6px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer__wb:hover {
    opacity: 1;
}

.footer__wb img {
    display: block;
    width: 100%;
    height: auto;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 28px 0 32px;
    margin-top: 56px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__bottom a:hover {
    color: var(--text);
}

/* ---------- Legal pages (imprint, privacy policy) ---------- */

.nav__back {
    margin-left: auto;
}

.legal {
    padding-top: clamp(24px, 4vw, 48px);
}

.legal__intro {
    margin-top: 24px;
}

.legal__body {
    max-width: 780px;
    margin-top: clamp(40px, 6vw, 72px);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal__body h2 {
    margin: 48px 0 16px;
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text);
}

.legal__body h3 {
    margin: 28px 0 8px;
    font-size: 17px;
    color: var(--text);
}

.legal__body > :first-child {
    margin-top: 0;
}

.legal__body p + p,
.legal__body ul + p,
.legal__body p + ul {
    margin-top: 14px;
}

.legal__body strong {
    color: var(--text);
    font-weight: 600;
}

.legal__body ul {
    padding-left: 22px;
    list-style: disc;
}

.legal__body li + li {
    margin-top: 6px;
}

.legal__body li::marker {
    color: var(--accent);
}

.legal__body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__body a:focus-visible,
.footer a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .nav__logo img { width: 220px; }
}

@media (max-width: 1100px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__item--ai { grid-column: span 2; }
    .bento__item--wide { grid-column: span 2; }
    .use-case__body { padding: 24px; }
}

@media (max-width: 1180px) {
    .nav__links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 12px var(--gutter) 24px;
        background: rgba(11, 18, 23, 0.97);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    }

    .nav__links.is-open {
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .nav__links a {
        padding: 14px 4px;
        font-size: 18px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }

    .nav__toggle { display: block; }
    .nav__cta { margin-left: auto; }
}

@media (max-width: 960px) {
    .section-head,
    .intro__grid,
    .collab,
    .xr__grid,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .collab__visual { position: relative; top: 0; }
    .device-grid { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: 1fr; max-width: 640px; }
    .hero__media img { object-position: 60% 40%; }

    .flow {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: "p1" "g1" "g2" "p2" "n1" "n2" "p3" "t";
        row-gap: 12px;
    }

    .flow__phase { margin-right: 0; }
    .flow__phase--convert,
    .flow__phase--run { margin-top: 28px; }
    .flow__link,
    .flow__merge { display: none; }
    .flow__group,
    .flow__node { align-self: stretch; }
    .flow__chip { flex-direction: row; text-align: left; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 1px solid var(--line); }
    .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .diff-grid { grid-template-columns: 1fr 1fr; }
    .diff, .diff:not(:nth-child(3n + 1)) { padding: 32px 24px 32px 0; border-left: none; }
    .diff:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .xr__visual { max-width: 520px; width: 100%; justify-self: center; }
}

@media (max-width: 680px) {
    :root { --nav-h: 96px; }
    body { font-size: 16px; }
    .nav__inner { padding-top: 8px; }
    .nav__logo img { width: 200px; }
    .nav__cta { display: none; }
    .nav__back { height: 40px; padding: 0 16px; font-size: 14px; }
    .nav__logo img { max-width: 100%; }
    .nav__logo { min-width: 0; }
    .nav__toggle { margin-left: auto; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature { padding: 22px 16px 24px; }
    .feature__top { margin-bottom: 24px; }
    .pillars { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .bento__item--ai, .bento__item--wide { grid-column: span 1; grid-template-columns: 1fr; }
    .bento__item { padding: 24px; }
    .xr__list { grid-template-columns: 1fr; }
    .diff-grid { grid-template-columns: 1fr; }
    .diff:nth-child(2n) { padding-left: 0; border-left: none; }
    .form__row { grid-template-columns: 1fr; }
    .contact-person { gap: 16px; padding: 16px; }
    .contact-person img { width: 64px; height: 64px; }
    .stat { padding: 32px 16px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .device-card { padding: 24px; }
    .use-case__body { padding: 22px 24px 24px; }
}

@media (max-width: 420px) {
    .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .gallery__track { animation: none; }
    .gallery { overflow-x: auto; }
}
