:root {
    --global-tabbar-h: 44px;
    --nav-h: 70px;
    --site-nav-top: calc(var(--global-tabbar-h) + 52px);
    --font: "Avenir Next", "Avenir", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bg: #ffffff;
    --ink: #101115;
    --ink-soft: rgba(16, 17, 21, 0.68);
    --muted: rgba(16, 17, 21, 0.48);
    --line: rgba(16, 17, 21, 0.12);
    --cream: #f8f6ee;
    --accent: #0b7a55;
    --red: #e63946;
    --blue: #17324d;
    --shadow: none;
}

@font-face {
    font-family: "Public Sans";
    src: url("/fonts/PublicSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("/fonts/PublicSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("/fonts/PublicSans-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
}

body.home-body {
    scroll-snap-type: y proximity;
}

a {
    color: inherit;
}

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

button,
a,
model-viewer {
    -webkit-tap-highlight-color: transparent;
}

/* Legacy ecosystem tabbar support for internal tools. */
.global-tabbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--global-tabbar-h);
    z-index: 500;
    display: flex;
    align-items: center;
    padding: 0 12px 0 8px;
    background: linear-gradient(180deg, #1e253c 0%, #141828 100%);
    border-bottom: 1px solid rgba(168, 218, 220, 0.1);
    box-shadow: 0 1px 0 rgba(168, 218, 220, 0.08), 0 4px 16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.global-tabbar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 218, 220, 0.2), transparent);
    pointer-events: none;
}

.tabbar-logo {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 6px;
    overflow: hidden;
    transition: opacity 0.15s;
}

.tabbar-logo:hover {
    opacity: 0.8;
    text-decoration: none;
}

.tabbar-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.tabbar-tabs {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-width: 0;
}

.tabbar-tab {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: rgba(225, 235, 248, 0.6);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}

.tabbar-tab:hover {
    color: #f1faee;
    background: rgba(69, 123, 157, 0.15);
    text-decoration: none;
}

.tabbar-tab.active {
    color: #f1faee;
    font-weight: 600;
}

.tabbar-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #e63946;
}

.tabbar-spacer {
    flex: 1;
}

.site-nav {
    position: fixed;
    top: var(--site-nav-top);
    left: 50%;
    z-index: 450;
    min-height: var(--nav-h);
    width: auto;
    max-width: calc(100vw - 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0.72rem;
    color: var(--ink);
    transform: translateX(-50%);
    border: 1px solid rgba(16, 17, 21, 0.06);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(16, 17, 21, 0.08);
    backdrop-filter: none;
}

.site-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.85rem;
    height: 2.72rem;
    min-width: 0;
    text-decoration: none;
}

.site-ident {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    border-radius: 0;
    filter: none;
}

.site-ident img,
.site-ident video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-ident video {
    opacity: 0;
    transform: none;
}

.site-logo.is-ident-playing .site-ident img {
    opacity: 0;
}

.site-logo.is-ident-playing .site-ident video {
    opacity: 1;
    transform: none;
}

/* Pagination indicator hidden for now; may return later. */
.home-section-indicator {
    display: none;
    position: fixed;
    top: calc(var(--site-nav-top) - 1.25rem);
    left: 50%;
    z-index: 455;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.34rem 0.5rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 26px rgba(16, 17, 21, 0.08);
}

.home-section-indicator a {
    width: 0.42rem;
    height: 0.42rem;
    display: block;
    border-radius: 999px;
    background: rgba(16, 17, 21, 0.24);
    transition: width 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.home-section-indicator a.is-active {
    width: 1.15rem;
    background: rgba(16, 17, 21, 0.82);
    transform: scaleY(1.12);
}

.logo-mark {
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 17, 21, 0.14);
    border-radius: 0.85rem;
    color: white;
    background: #101115;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    box-shadow: 0 8px 22px rgba(16, 17, 21, 0.14);
}

.logo-video-placeholder {
    color: rgba(16, 17, 21, 0.5);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-links {
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 1.4vw, 1rem);
}

.site-links a {
    position: relative;
    padding: 0.72rem clamp(0.72rem, 1.55vw, 1.05rem);
    border-radius: 999px;
    color: rgba(16, 17, 21, 0.72);
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.site-links .site-logo-link {
    flex: 0 0 auto;
    padding: 0.16rem 0.28rem;
}

.site-links .site-logo-link[aria-current="page"]::after {
    display: none;
}

.site-links .site-logo-link:hover,
.site-links .site-logo-link[aria-current="page"] {
    background: transparent;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
    color: var(--ink);
    background: rgba(16, 17, 21, 0.035);
}

.site-links a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #66a9ff, #ff8ccf, #101115);
}

.page-scroll {
    position: relative;
    z-index: 2;
}

.home-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--global-tabbar-h) + var(--nav-h) + 5.5rem) clamp(1.1rem, 6vw, 6rem) 4rem;
    background: #ffffff;
    scroll-snap-align: start;
}

.splash-page {
    justify-content: flex-start;
    gap: clamp(2rem, 7vw, 7rem);
    overflow: hidden;
}

.hero-splash {
    min-height: 100vh;
    height: 100vh;
    align-items: stretch;
    justify-content: center;
    padding: var(--global-tabbar-h) 0 0;
    isolation: isolate;
}

.hero-art {
    position: absolute;
    inset: var(--global-tabbar-h) 0 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    background: #ffffff;
}

.hero-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left top;
}

.hero-art .hero-image-portrait {
    display: none;
}

.hero-safe-zone {
    position: relative;
    z-index: 4;
    width: 75vw;
    min-width: min(75vw, 100%);
    height: 100%;
    margin: 0 auto;
    display: grid;
    align-items: center;
    justify-items: end;
    padding: 0 clamp(1.1rem, 4.2vw, 4.8rem);
    pointer-events: none;
}

.hero-safe-zone .splash-shell {
    width: min(46rem, 100%);
    margin-left: auto;
    text-align: right;
}

.hero-eyebrow {
    margin: 0 0 clamp(0.32rem, 0.8vw, 0.7rem);
    color: var(--ink);
    font-size: clamp(1.17rem, 1.76vw, 1.76rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
}

.hero-title {
    max-width: none;
    margin-bottom: 0.55rem;
    font-size: clamp(1.85rem, 3.36vw, 3.85rem);
    font-weight: 700;
    letter-spacing: -0.052em;
    line-height: 0.96;
    color: var(--ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
    animation: none;
}

.hero-subtitle {
    margin: 0;
    color: rgba(16, 17, 21, 0.78);
    font-size: clamp(1.15rem, 2.1vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.site-footer {
    position: relative;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: clamp(1.8rem, 4vw, 2.8rem);
    padding: clamp(2.4rem, 5vw, 4rem) clamp(1.1rem, 6vw, 6rem);
    color: rgba(241, 250, 238, 0.66);
    background: #000000;
    border-top: 1px solid rgba(241, 250, 238, 0.08);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer p {
    max-width: 38rem;
    margin: 0;
    font-size: clamp(0.88rem, 1vw, 1rem);
    line-height: 1.55;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 650;
}

.site-footer nav a {
    color: rgba(241, 250, 238, 0.82);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer nav a:hover {
    color: #f1faee;
    text-decoration: underline;
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.18em;
}

.footer-funding {
    display: flex;
    align-items: center;
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-top: clamp(1.4rem, 3vw, 2rem);
    border-top: 1px solid rgba(241, 250, 238, 0.08);
}

.footer-funding img {
    width: auto;
    height: clamp(3.2rem, 6vw, 4.4rem);
    object-fit: contain;
}

@media (min-aspect-ratio: 4 / 3) and (max-aspect-ratio: 16 / 9) {
    .hero-safe-zone {
        align-items: start;
        padding-top: clamp(8.8rem, 25vh, 16rem);
    }
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: max(clamp(0.75rem, 1.9vw, 1.45rem), calc(100% - 100vh + 1rem));
    bottom: max(clamp(0.75rem, 1.9vw, 1.45rem), calc(100% - 100dvh + 1rem));
    z-index: 5;
    color: rgba(16, 17, 21, 0.74);
    font-size: clamp(0.78rem, 1vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transform: translateX(-50%);
    animation: scroll-cue-bounce 1.7s ease-in-out infinite;
}

.scroll-cue::after {
    content: "";
    display: block;
    width: 0.46rem;
    height: 0.46rem;
    margin: 0.32rem auto 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.splash-shell,
.page-copy,
.wide-copy {
    position: relative;
    z-index: 4;
}

.splash-shell {
    width: min(62rem, 94vw);
}

.kicker {
    margin: 0 0 1.05rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

h1 {
    max-width: 15ch;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 4.3vw, 4rem);
}

.lede,
.page-copy p,
.wide-copy > p,
.feature-grid p {
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
}

.home-page p a,
.info-main p a {
    color: var(--accent);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(11, 122, 85, 0.4);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease, text-decoration-thickness 0.15s ease;
}

.home-page p a:hover,
.info-main p a:hover {
    color: #0a5d41;
    text-decoration-color: currentColor;
    text-decoration-thickness: 0.13em;
}

.lede {
    max-width: 42rem;
    margin-bottom: 1.6rem;
}

.text-link {
    color: var(--accent);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(11, 122, 85, 0.4);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.text-link:hover {
    color: #0a5d41;
    text-decoration-color: currentColor;
}

/* Brand pill button for calls to action. */
.button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.72rem 1.3rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 750;
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(11, 122, 85, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button-link:hover {
    background: #0a5d41;
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(11, 122, 85, 0.3);
    text-decoration: none;
}

.model-page {
    background: transparent;
}

/* Readability fades behind the text on the model-bearing sections.
   Each fade sits above the device model but below the copy, on the
   same side as the text it protects. */
.model-page-intro::before,
.model-page-research::before,
.model-page-prototype::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Device (text left) and Act (text left): fade in from the left. */
.model-page-intro::before,
.model-page-prototype::before {
    background: linear-gradient(90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.92) 26%,
        rgba(255, 255, 255, 0.6) 44%,
        rgba(255, 255, 255, 0) 64%);
}

/* Observe (text right): fade in from the right. */
.model-page-research::before {
    background: linear-gradient(270deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.92) 26%,
        rgba(255, 255, 255, 0.6) 44%,
        rgba(255, 255, 255, 0) 64%);
}

.page-copy {
    width: min(38rem, 92vw);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateY(1rem);
    opacity: 0.62;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-page.is-active .page-copy {
    opacity: 1;
    transform: translateY(0);
}

.page-copy.right {
    margin-left: auto;
}

.page-copy p {
    margin-bottom: 1.35rem;
}

.quiet-page {
    z-index: 5;
    background: #ffffff;
}

.usb-c-page {
    justify-content: center;
}

.usb-c-layout {
    width: min(72rem, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.usb-c-layout .page-copy {
    width: 100%;
    opacity: 1;
    transform: none;
}

.usb-c-media {
    display: grid;
    place-items: center;
}

.usb-c-video {
    width: min(26rem, 100%);
    height: auto;
    display: block;
    background: #ffffff;
    mix-blend-mode: multiply;
}

/* Pixels in -> policy -> HID out triad on the device section. */
.loop-triad {
    list-style: none;
    margin: clamp(1.6rem, 3.5vw, 2.6rem) 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.loop-triad li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 0.9rem;
    row-gap: 0.15rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.5;
}

.loop-triad li:last-child {
    border-bottom: 1px solid var(--line);
}

.loop-triad .loop-step {
    grid-row: span 2;
    align-self: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.loop-triad strong {
    grid-column: 2;
    color: var(--ink);
    font-weight: 750;
    letter-spacing: -0.02em;
}

.interaction-page {
    padding-inline: clamp(1rem, 4vw, 3rem);
    padding-top: calc(var(--global-tabbar-h) + var(--nav-h) + 3.2rem);
    align-items: start;
}

.interaction-layout {
    width: min(74rem, 100%);
    min-height: min(42rem, calc(100vh - var(--global-tabbar-h) - var(--nav-h) - 7rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(18rem, 0.76fr) minmax(26rem, 1.24fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    transform: translateY(clamp(-3rem, -4vh, -1rem));
}

.interaction-copy.page-copy {
    width: min(31rem, 100%);
    margin: 0;
}

.inspect-stage {
    position: relative;
    width: 100%;
    min-height: clamp(25rem, 55vh, 42rem);
    overflow: hidden;
    border: 1px solid rgba(16, 17, 21, 0.12);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    background:
        radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.88), transparent 16rem),
        radial-gradient(circle at 36% 52%, rgba(102, 169, 255, 0.08), transparent 24rem),
        linear-gradient(180deg, rgba(250, 249, 244, 0.96), rgba(244, 243, 238, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.inspect-stage::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(circle at 70% 17%, rgba(255, 255, 255, 0.62), transparent 18rem),
        radial-gradient(circle at 42% 38%, rgba(168, 218, 220, 0.12), transparent 22rem),
        radial-gradient(circle at center, transparent 0 34%, rgba(255, 255, 255, 0.28) 78%);
    filter: blur(12px);
    pointer-events: none;
}

.inspect-model {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.inspect-model:active {
    cursor: grabbing;
}

.wide-copy {
    width: min(74rem, 100%);
    margin-inline: auto;
}

@keyframes scroll-cue-bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
        opacity: 0.58;
    }

    45% {
        transform: translate(-50%, 0.52rem);
        opacity: 1;
    }
}

.wide-copy h2 {
    max-width: 12ch;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2rem, 5vw, 4rem);
}

.wide-copy .text-link {
    margin-top: 1.25rem;
}

.feature-grid article {
    min-height: 18rem;
    padding: 1rem;
    border: 1px solid rgba(16, 17, 21, 0.1);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 18px 60px rgba(16, 17, 21, 0.08);
}

.feature-grid img {
    width: 4.2rem;
    height: 4.2rem;
    object-fit: contain;
    margin-bottom: 2.8rem;
}

.feature-grid h3 {
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.fixed-device-stage {
    position: fixed;
    inset: calc(var(--global-tabbar-h) + var(--nav-h) + 34px) 0 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(1.4rem) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.fixed-device-stage.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.device-halo {
    display: none;
}

.device-model {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    cursor: grab;
}

.device-model:active {
    cursor: grabbing;
}

.model-fallback {
    height: 100%;
    min-height: 24rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    color: var(--muted);
}

.model-fallback img {
    width: min(20rem, 70%);
    opacity: 0.28;
}

.model-fallback a {
    color: var(--accent);
    font-weight: 850;
}

.ar-button {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 5;
    border: 1px solid rgba(16, 17, 21, 0.16);
    border-radius: 999px;
    padding: 0.72rem 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 40px rgba(16, 17, 21, 0.12);
    backdrop-filter: blur(18px);
    font: 800 0.82rem var(--font);
    cursor: pointer;
}

.cable-energy {
    position: absolute;
    left: 48%;
    top: 58%;
    width: min(18rem, 34vw);
    height: 1rem;
    opacity: 0;
    transform: rotate(86deg);
    transform-origin: left center;
    pointer-events: none;
    transition: opacity 0.28s ease;
    filter: blur(0.2px) drop-shadow(0 0 18px rgba(41, 255, 128, 0.58));
}

.fixed-device-stage.has-cable-pulse .cable-energy {
    opacity: 1;
}

.cable-energy span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(224, 255, 232, 0.95), rgba(54, 255, 126, 0.42) 42%, transparent 74%);
    opacity: 0;
    animation: cableFlow 1.12s linear infinite;
}

.cable-energy span:nth-child(2) {
    width: 44%;
    animation-delay: 0.18s;
    background: radial-gradient(ellipse at center, rgba(122, 255, 166, 0.6), rgba(39, 230, 105, 0.2) 48%, transparent 78%);
}

.cable-energy span:nth-child(3) {
    width: 54%;
    animation-delay: 0.36s;
    background: radial-gradient(ellipse at center, rgba(113, 255, 156, 0.38), rgba(37, 210, 96, 0.14) 55%, transparent 82%);
}

.info-main {
    min-height: 100vh;
    padding: calc(var(--global-tabbar-h) + var(--nav-h) + 7rem) clamp(1.1rem, 7vw, 7rem) 7rem;
    background: #ffffff;
}

.info-article {
    width: min(72rem, 100%);
    margin: 0 auto;
}

.info-hero {
    margin-bottom: clamp(4rem, 8vw, 7rem);
}

.research-lede {
    max-width: 58rem;
    margin: clamp(-2rem, -2vw, -1rem) 0 clamp(3.4rem, 7vw, 5.8rem);
    padding: clamp(1.35rem, 3vw, 2.1rem) 0 0;
    border-top: 1px solid rgba(16, 17, 21, 0.12);
}

.research-lede p {
    max-width: 56rem;
    font-size: clamp(1.12rem, 1.75vw, 1.42rem);
    line-height: 1.72;
}

.info-main h1 {
    max-width: 13ch;
    margin-bottom: 1.4rem;
    font-size: clamp(3.2rem, 7.5vw, 6.5rem);
}

.info-main p {
    max-width: 44rem;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.7;
}

.info-video-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.78fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-bottom: clamp(4rem, 8vw, 7rem);
}

/* "At a glance" specification strip on the hardware page. */
.spec-strip {
    margin-bottom: clamp(4rem, 8vw, 7rem);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid var(--line);
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--cream);
}

.spec-strip-title {
    margin: 0 0 clamp(1.2rem, 2.5vw, 1.8rem);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.spec-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: clamp(1.2rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
}

.spec-grid div {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.spec-grid dt {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.spec-grid dd {
    margin: 0;
    color: var(--ink);
    font-size: clamp(0.96rem, 1.2vw, 1.1rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.info-video-placeholder {
    min-height: clamp(18rem, 42vw, 34rem);
    display: grid;
    place-items: center;
    border-radius: 2rem;
    color: rgba(16, 17, 21, 0.42);
    background:
        linear-gradient(135deg, rgba(16, 17, 21, 0.06), rgba(16, 17, 21, 0.015)),
        radial-gradient(circle at 68% 32%, rgba(102, 169, 255, 0.14), transparent 28%),
        radial-gradient(circle at 30% 70%, rgba(255, 140, 207, 0.12), transparent 26%);
    font-size: clamp(0.78rem, 1.1vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-figure,
.inline-figure,
.prototype-hero-figure,
.prototype-gallery figure {
    margin: 0;
}

.info-figure,
.inline-figure,
.prototype-hero-figure {
    padding: clamp(0.7rem, 1.4vw, 1rem);
    border: 1px solid rgba(16, 17, 21, 0.1);
    border-radius: clamp(1.1rem, 2.4vw, 1.8rem);
    background: linear-gradient(180deg, #ffffff, rgba(248, 247, 242, 0.72));
    box-shadow: 0 20px 70px rgba(16, 17, 21, 0.07);
}

.info-figure img,
.inline-figure img,
.prototype-hero-figure img,
.prototype-gallery img {
    width: 100%;
    border-radius: clamp(0.75rem, 1.8vw, 1.25rem);
    object-fit: contain;
    background: #ffffff;
}

.info-figure figcaption,
.inline-figure figcaption,
.prototype-hero-figure figcaption,
.prototype-gallery figcaption {
    margin: 0.85rem 0.2rem 0.15rem;
    color: rgba(16, 17, 21, 0.58);
    font-size: clamp(0.82rem, 1vw, 0.95rem);
    line-height: 1.5;
}

.inline-figure {
    margin-top: 1.4rem;
}

.figure-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.35rem);
    margin: clamp(1.3rem, 2.4vw, 2rem) 0;
}

.figure-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-top: 1.1rem;
}

.link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.56rem 0.84rem;
    border: 1px solid rgba(16, 17, 21, 0.12);
    border-radius: 999px;
    color: var(--ink);
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 32px rgba(16, 17, 21, 0.05);
}

.link-list a:hover {
    color: var(--ink);
    border-color: rgba(16, 17, 21, 0.24);
    text-decoration: none;
}

.research-flow {
    display: grid;
    gap: 0.7rem;
    max-width: 48rem;
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
    counter-reset: flow;
}

.research-flow li {
    counter-increment: flow;
    position: relative;
    padding: 0.9rem 1rem 0.95rem 3.3rem;
    border: 1px solid rgba(16, 17, 21, 0.1);
    border-radius: 1.1rem;
    color: var(--ink-soft);
    background: linear-gradient(180deg, #ffffff, rgba(248, 247, 242, 0.72));
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.5;
}

.research-flow li::before {
    content: counter(flow, decimal-leading-zero);
    position: absolute;
    top: 0.95rem;
    left: 1rem;
    color: rgba(16, 17, 21, 0.36);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.research-flow span {
    display: block;
    margin-bottom: 0.1rem;
    color: var(--ink);
    font-weight: 800;
}

.prototype-feature {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(16rem, 0.7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.prototype-feature-reversed {
    grid-template-columns: minmax(16rem, 0.74fr) minmax(18rem, 0.92fr);
}

.prototype-feature h2 {
    max-width: 12ch;
    margin-bottom: 1.1rem;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -0.055em;
}

.prototype-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.prototype-gallery figure {
    padding: 0.65rem;
    border: 1px solid rgba(16, 17, 21, 0.1);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 16px 50px rgba(16, 17, 21, 0.06);
}

.prototype-gallery img {
    aspect-ratio: 1 / 1.14;
}

.info-section-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(16, 17, 21, 0.12);
}

.info-section,
.prototype-timeline li {
    display: grid;
    grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    padding: clamp(1.65rem, 4vw, 3.2rem) 0;
    border-bottom: 1px solid rgba(16, 17, 21, 0.12);
}

.info-section h2,
.prototype-timeline h2 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    letter-spacing: -0.045em;
}

.info-section p,
.prototype-timeline p {
    max-width: 46rem;
    margin-bottom: 0.9rem;
}

.prototype-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: prototype;
    border-top: 1px solid rgba(16, 17, 21, 0.12);
}

.timeline-index {
    color: rgba(16, 17, 21, 0.34);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

@keyframes cableFlow {
    0% {
        opacity: 0;
        transform: translateX(0) scaleX(0.42);
    }
    14% {
        opacity: 0.9;
    }
    72% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translateX(190%) scaleX(0.62);
    }
}

@media (max-aspect-ratio: 4 / 3), (max-width: 900px) and (max-aspect-ratio: 3 / 2) {
    .hero-splash {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-content: stretch;
        align-items: stretch;
        justify-content: stretch;
        padding: calc(var(--global-tabbar-h) + var(--nav-h) + clamp(4.2rem, 8vw, 5.2rem)) 0 0;
    }

    .hero-art {
        position: absolute;
        inset: auto auto 0 50%;
        z-index: 2;
        order: 2;
        width: min(92vw, 38rem);
        max-width: none;
        height: auto;
        margin-top: auto;
        align-self: center;
        overflow: visible;
        transform: translateX(-50%);
    }

    .hero-art img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center bottom;
    }

    .hero-art .hero-image-landscape {
        display: none;
    }

    .hero-art .hero-image-portrait {
        display: block;
    }

    .hero-safe-zone {
        order: 1;
        width: 100%;
        min-height: 0;
        flex: 0 1 auto;
        margin: 0;
        align-items: center;
        justify-items: center;
        padding: clamp(1.5rem, 5vh, 3.4rem) clamp(1.15rem, 7vw, 6rem) clamp(42vh, 48vh, 54vh);
    }

    .hero-safe-zone .splash-shell {
        width: min(38rem, 100%);
        margin: 0;
        text-align: center;
    }

    .hero-eyebrow {
        font-size: clamp(1.36rem, 6.25vw, 2.08rem);
    }

    .hero-title {
        font-size: clamp(2.15rem, 8.75vw, 4.1rem);
        font-weight: 600;
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 5.6vw, 2.1rem);
    }
}

@media (max-width: 860px) {
    :root {
        --nav-h: 92px;
        --site-nav-top: calc(var(--global-tabbar-h) + 12px);
    }

    .home-section-indicator {
        top: calc(var(--site-nav-top) - 0.95rem);
    }

    .site-nav {
        align-items: center;
        min-height: var(--nav-h);
        flex-direction: row;
        padding-block: 0.65rem;
        border-radius: 1.45rem;
    }

    .site-links {
        width: auto;
        max-width: 100%;
        justify-content: center;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .site-links::-webkit-scrollbar {
        display: none;
    }

    .logo-video-placeholder {
        display: none;
    }

    .home-page {
        align-items: start;
        padding: calc(var(--global-tabbar-h) + var(--nav-h) + 4.5rem) 1rem 2rem;
    }

    .home-page.hero-splash {
        align-items: stretch;
        padding: calc(var(--global-tabbar-h) + var(--nav-h) + clamp(4.2rem, 8vw, 5.2rem)) 0 0;
    }

    .scroll-cue {
        bottom: 0.8rem;
    }

    .splash-card {
        display: none;
    }

    h1 {
        font-size: clamp(3.15rem, 15vw, 5.6rem);
    }

    h2 {
        font-size: clamp(2.15rem, 10.5vw, 3.8rem);
    }

    .page-copy,
    .page-copy.right {
        width: min(100%, 34rem);
        margin: 0;
        opacity: 0.82;
    }

    .home-page.is-active .page-copy {
        opacity: 1;
    }

    .page-copy p {
        max-width: 32rem;
        font-size: clamp(0.98rem, 4.2vw, 1.12rem);
        line-height: 1.55;
    }

    .model-page .page-copy {
        margin-top: clamp(1.8rem, 7vh, 4rem);
    }

    .quiet-page {
        align-items: center;
    }

    .usb-c-page .page-copy {
        width: min(100%, 34rem);
    }

    .usb-c-layout {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .interaction-page {
        align-items: center;
        padding-inline: 1rem;
        padding-top: calc(var(--global-tabbar-h) + var(--nav-h) + 2.4rem);
    }

    .interaction-layout {
        width: 100%;
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        transform: translateY(0);
    }

    .interaction-copy.page-copy {
        width: 100%;
        margin-top: 0;
    }

    .inspect-stage {
        min-height: min(52vh, 32rem);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .info-panel-grid {
        grid-template-columns: 1fr;
    }

    .info-main {
        padding: calc(var(--global-tabbar-h) + var(--nav-h) + 5.5rem) 1rem 4rem;
    }

    .info-hero {
        margin-bottom: 3rem;
    }

    .info-video-feature,
    .info-section,
    .prototype-timeline li,
    .prototype-feature {
        grid-template-columns: 1fr;
    }

    .info-video-feature {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .info-video-placeholder {
        min-height: min(54vw, 18rem);
        border-radius: 1.35rem;
    }

    .prototype-gallery {
        grid-template-columns: 1fr;
    }

    .figure-grid-two {
        grid-template-columns: 1fr;
    }

    .prototype-feature {
        margin-bottom: 2.4rem;
    }

    .prototype-feature h2 {
        font-size: clamp(2.15rem, 10.5vw, 3.8rem);
    }

    .info-section,
    .prototype-timeline li {
        gap: 0.8rem;
        padding-block: 1.55rem;
    }

    .timeline-index {
        font-size: 2rem;
        letter-spacing: -0.05em;
    }

    .fixed-device-stage {
        inset: calc(var(--global-tabbar-h) + var(--nav-h) + 24px) 0 20%;
    }

    .site-footer {
        padding: 2.4rem 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .footer-funding {
        flex-wrap: wrap;
        gap: 1.4rem 2rem;
    }

    .footer-funding img {
        height: clamp(2.8rem, 11vw, 3.6rem);
    }

    .cable-energy {
        left: 44%;
        top: 56%;
        width: 42vw;
    }
}

@media (max-width: 620px) {
    .site-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
