:root {
    --bg: #020305;
    --bg-soft: #080b10;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-strong: rgba(255, 255, 255, 0.09);
    --line: rgba(255, 255, 255, 0.13);
    --text: #f8fbff;
    --muted: rgba(248, 251, 255, 0.68);
    --dim: rgba(248, 251, 255, 0.44);
    --cyan: #75e7ff;
    --blue: #5f8cff;
    --mint: #89ffd4;
    --pink: #ff8ecb;
    --radius: 8px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.setq-site,
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    letter-spacing: 0;
    overflow-x: hidden;
}

body.setq-site {
    background: #000;
}

a {
    color: inherit;
}

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

.site-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    pointer-events: none;
}

.header-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 78px;
    padding: 0;
    pointer-events: auto;
}

.brand img,
.custom-logo {
    width: 128px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.brand {
    grid-column: 2;
    justify-self: center;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.16));
}

.header-menu {
    position: relative;
    grid-column: 1;
    justify-self: start;
}

.hamburger-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hamburger-toggle:hover,
.hamburger-toggle[aria-expanded="true"] {
    border-color: rgba(117, 231, 255, 0.34);
    background: rgba(255, 255, 255, 0.11);
}

.hamburger-lines {
    width: 18px;
    display: grid;
    gap: 5px;
}

.hamburger-lines span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger-toggle[aria-expanded="true"] .hamburger-lines span:first-child {
    transform: translateY(3.5px) rotate(18deg);
}

.hamburger-toggle[aria-expanded="true"] .hamburger-lines span:last-child {
    transform: translateY(-3.5px) rotate(-18deg);
}

.menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 240px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 7, 11, 0.82);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top left;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.menu-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.menu-panel a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    color: rgba(248, 251, 255, 0.76);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.menu-panel a:hover {
    background: rgba(117, 231, 255, 0.08);
    color: #fff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav {
    display: none;
}

.menu a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 520;
    text-decoration: none;
    transition: color 180ms ease;
}

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

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
    grid-column: 3;
    justify-self: end;
    min-height: 38px;
    padding-inline: 16px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.site-header.is-scrolled .nav-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-cta,
.button-primary {
    background: #f8fbff;
    color: #03060b;
    box-shadow: 0 0 30px rgba(117, 231, 255, 0.18);
}

.button-secondary {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(117, 231, 255, 0.28);
}

.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 116px 0 118px;
    isolation: isolate;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 280px;
    z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(117, 231, 255, 0.035), transparent 42%),
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58) 42%, #000 100%);
    pointer-events: none;
}

.hero-canvas,
.hero-veil {
    position: absolute;
    inset: 0;
}

.hero-canvas {
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 1;
}

.hero-veil {
    z-index: -2;
    background:
        radial-gradient(circle at 50% 49%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.36) 43%, rgba(0, 0, 0, 0.82) 88%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), #000 98%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-layout--center {
    min-height: calc(100svh - 188px);
    text-align: center;
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 940px;
    margin: 0;
    font-size: clamp(48px, 6.6vw, 92px);
    line-height: 1.02;
    font-weight: 620;
    letter-spacing: 0;
    background: linear-gradient(180deg, #fff 0%, rgba(248, 251, 255, 0.72) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 20px 52px rgba(0, 0, 0, 0.72));
}

.hero-lead {
    max-width: 760px;
    margin: 28px auto 0;
    color: rgba(248, 251, 255, 0.7);
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.6;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.client-logo-card span,
.card-number,
.timeline-step span {
    display: block;
    color: var(--dim);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 82px;
    width: 30px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 9px;
    border-radius: 999px;
    background: var(--cyan);
    transform: translateX(-50%);
    animation: scrollCue 1.5s ease-in-out infinite;
}

.trust-section {
    position: relative;
    overflow: hidden;
    margin-top: -82px;
    padding: 142px 0 76px;
    border-top: 0;
    border-bottom: 0;
    background:
        radial-gradient(circle at 50% 36%, rgba(248, 251, 255, 0.052), transparent 31rem),
        radial-gradient(circle at 48% 76%, rgba(117, 231, 255, 0.038), transparent 40rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 18%, rgba(255, 255, 255, 0.01) 48%, rgba(0, 0, 0, 0));
}

.trust-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    width: min(900px, 86vw);
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.09), rgba(117, 231, 255, 0.035) 38%, transparent 70%);
    filter: blur(10px);
    opacity: 0.52;
    transform: translate(-50%, -50%);
    animation: trustAurora 9s ease-in-out infinite;
    pointer-events: none;
}

.trust-section::after {
    display: none;
}

.trust-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
    z-index: 1;
}

.trust-section .section-kicker {
    text-align: center;
    color: var(--dim);
    margin: 0;
}

.client-strip {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(24px, 5vw, 74px);
    padding: 26px 0 38px;
    z-index: 1;
}

.client-strip::before,
.client-strip::after {
    content: "";
    position: absolute;
    left: 50%;
    width: min(880px, 88vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.client-strip::before {
    top: 0;
}

.client-strip::after {
    bottom: 0;
}

.client-logo-card {
    position: relative;
    width: min(330px, 30vw);
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
    transition:
        opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 820ms ease,
        clip-path 820ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--slot) * 120ms);
}

.client-logo-card.is-waiting:not(.is-visible) {
    opacity: 0.01;
    transform: translateY(28px) scale(0.97);
    filter: blur(12px);
    clip-path: inset(36% 0 36% 0);
}

.client-logo-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
}

.client-logo-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 28px;
    width: min(300px, 92%);
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(137, 255, 212, 0.12), rgba(117, 231, 255, 0.04) 48%, transparent 74%);
    opacity: 0.42;
    filter: blur(12px);
    transform: translateX(-50%) translateY(8px) scaleX(0.72);
    pointer-events: none;
}

.client-logo-card.is-visible::before {
    animation: clientLightWake 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--slot) * 120ms + 110ms);
}

.client-logo-card::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: min(310px, 96%);
    height: 82px;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(117, 231, 255, 0), rgba(117, 231, 255, 0.32), rgba(248, 251, 255, 0.12), rgba(117, 231, 255, 0)),
        repeating-linear-gradient(90deg, rgba(117, 231, 255, 0) 0 7px, rgba(117, 231, 255, 0.36) 7px 8px, rgba(137, 255, 212, 0.14) 8px 10px, transparent 10px 18px),
        repeating-linear-gradient(180deg, rgba(137, 255, 212, 0.42) 0 2px, transparent 2px 7px, rgba(117, 231, 255, 0.2) 7px 8px, transparent 8px 15px);
    background-size: 100% 190%, 36px 100%, 100% 20px;
    background-position: 0 -170%, 0 0, 0 -80px;
    mix-blend-mode: screen;
    filter: blur(0.1px) drop-shadow(0 0 16px rgba(117, 231, 255, 0.28));
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    transform: translateX(-50%) translateY(-64px) scaleY(1.15);
    opacity: 0;
    pointer-events: none;
}

.client-logo-card.is-visible::after {
    animation: clientMatrixAssemble 1.28s steps(14, end) both;
    animation-delay: calc(var(--slot) * 140ms);
}

.client-card__beam {
    display: none;
}

.client-logo-card:hover {
    transform: translateY(-8px);
}

.client-logo-card:hover::before {
    opacity: 0.95;
}

.client-logo-card:hover::after {
    opacity: 0;
}

.client-logo-card img {
    position: relative;
    z-index: 2;
    max-width: min(270px, 100%);
    max-height: 70px;
    object-fit: contain;
    opacity: 0.62;
    filter: grayscale(1) drop-shadow(0 16px 34px rgba(255, 255, 255, 0.08));
    transition: opacity 260ms ease, filter 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card.is-waiting:not(.is-visible) img {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    filter: blur(14px) grayscale(1);
    clip-path: inset(0 0 0 0);
}

.client-logo-card.is-visible img {
    animation: clientLogoFocus 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--slot) * 140ms + 180ms);
}

.client-logo-card:hover img {
    opacity: 1;
    filter: grayscale(0) drop-shadow(0 18px 40px rgba(255, 255, 255, 0.16));
    transform: translateY(-5px) scale(1.035);
}

.client-logo-card span:not(.client-card__beam) {
    color: rgba(248, 251, 255, 0.34);
    font-size: 11px;
    letter-spacing: 0.16em;
    transition: color 260ms ease, transform 260ms ease;
}

.client-logo-card.is-waiting:not(.is-visible) span:not(.client-card__beam) {
    opacity: 0;
    transform: translateY(8px);
}

.client-logo-card.is-visible span:not(.client-card__beam) {
    animation: clientLabelResolve 720ms ease both;
    animation-delay: calc(var(--slot) * 120ms + 720ms);
}

.client-logo-card:hover span:not(.client-card__beam) {
    color: rgba(248, 251, 255, 0.64);
    transform: translateY(2px);
}

.section {
    padding: 96px 0;
}

.scroll-reactive-zone {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: -18px;
    background:
        radial-gradient(circle at 18% 8%, rgba(95, 140, 255, 0.08), transparent 34rem),
        radial-gradient(circle at 82% 64%, rgba(137, 255, 212, 0.07), transparent 34rem),
        #000;
}

.scroll-reactive-zone::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 220px;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

.scroll-reactive-zone > section {
    position: relative;
    z-index: 3;
}

.scroll-reactive-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.82;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.agents-section {
    position: relative;
    overflow: hidden;
    padding-top: 92px;
    background:
        radial-gradient(circle at 50% 48%, rgba(117, 231, 255, 0.08), transparent 34rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.018) 48%, rgba(255, 255, 255, 0));
}

.section-intro {
    max-width: 740px;
    margin-bottom: 54px;
}

.section-intro--center {
    margin-inline: auto;
    text-align: center;
}

.section-intro h2,
.method-copy h2,
.final-cta h2,
.generic-content h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1;
    font-weight: 760;
    letter-spacing: 0;
}

.section-intro p:not(.eyebrow),
.final-cta p,
.generic-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.bento-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(284px, auto);
    gap: 18px;
    perspective: 1200px;
}

.bento-grid::before,
.bento-grid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    z-index: 0;
}

.bento-grid::before {
    width: min(360px, 34vw);
    aspect-ratio: 1;
    border: 1px solid rgba(117, 231, 255, 0.16);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 231, 255, 0.13), rgba(117, 231, 255, 0.025) 38%, transparent 70%);
    box-shadow: 0 0 70px rgba(117, 231, 255, 0.09), inset 0 0 40px rgba(117, 231, 255, 0.07);
    transform: translate(-50%, -50%);
    animation: deckCore 12s linear infinite;
}

.bento-grid::after {
    width: 78%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(117, 231, 255, 0.18), rgba(255, 255, 255, 0.12), rgba(137, 255, 212, 0.14), transparent);
    transform: translate(-50%, -50%);
    animation: deckRail 5.8s ease-in-out infinite;
}

.bento-card,
.case-card,
.timeline-step {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
}

.bento-card {
    position: relative;
    z-index: 1;
    grid-column: span 2;
    min-height: 284px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    isolation: isolate;
    transform-style: preserve-3d;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.bento-card--wide {
    grid-column: span 2;
}

.bento-card--accent {
    background:
        radial-gradient(circle at 82% 20%, rgba(137, 255, 212, 0.14), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
        rgba(255, 255, 255, 0.035);
}

.bento-card:nth-child(1) {
    transform: translateY(-10px) rotateX(0.8deg) rotateY(-1deg);
}

.bento-card:nth-child(2) {
    transform: translateY(10px) rotateX(0.8deg) rotateY(1deg);
}

.bento-card:nth-child(3) {
    transform: translateY(-2px) rotateX(-0.8deg) rotateY(-1deg);
}

.bento-card:nth-child(4) {
    transform: translateY(18px) rotateX(-0.8deg) rotateY(1deg);
}

.bento-card:hover {
    transform: translateY(-8px) rotateX(0) rotateY(0);
    border-color: rgba(117, 231, 255, 0.36);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4), 0 0 58px rgba(117, 231, 255, 0.08);
}

.bento-orbit {
    display: none;
}

.bento-matrix {
    position: absolute;
    top: 26px;
    right: 30px;
    width: min(190px, 34%);
    height: 98px;
    opacity: 0.72;
    z-index: -1;
    overflow: hidden;
    border-right: 1px solid rgba(117, 231, 255, 0.18);
    background:
        linear-gradient(90deg, rgba(117, 231, 255, 0.24) 0 1px, transparent 1px 100%),
        linear-gradient(rgba(117, 231, 255, 0.14) 0 1px, transparent 1px 100%);
    background-size: 28px 100%, 100% 18px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 74%, transparent 100%);
}

.bento-orbit::before,
.bento-orbit::after {
    display: none;
}

.bento-matrix::before,
.bento-matrix::after {
    content: "";
    position: absolute;
}

.bento-scan {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 0%, rgba(117, 231, 255, 0.09) 48%, transparent 100%);
    opacity: 0;
    transform: translateY(-100%);
    animation: bentoScan 6.5s ease-in-out infinite;
}

.bento-card:nth-child(2) .bento-scan {
    animation-delay: 0.8s;
}

.bento-card:nth-child(3) .bento-scan {
    animation-delay: 1.6s;
}

.bento-card:nth-child(4) .bento-scan {
    animation-delay: 2.4s;
}

.bento-signal {
    position: absolute;
    left: 32px;
    top: 32px;
    width: 92px;
    display: grid;
    gap: 7px;
    opacity: 0.52;
}

.bento-signal i {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(117, 231, 255, 0.92), transparent);
    transform-origin: left;
    animation: signalRead 3.8s ease-in-out infinite;
}

.bento-signal i:nth-child(2) {
    width: 72%;
    animation-delay: 0.28s;
}

.bento-signal i:nth-child(3) {
    width: 46%;
    animation-delay: 0.56s;
}

.bento-matrix::before {
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(117, 231, 255, 0.36), transparent),
        repeating-linear-gradient(180deg, rgba(248, 251, 255, 0.2) 0 2px, transparent 2px 13px);
    transform: translateX(-100%);
    animation: matrixSweep 5.6s ease-in-out infinite;
}

.bento-matrix::after {
    right: 0;
    top: 18px;
    width: 7px;
    height: 58px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(117, 231, 255, 0.78), transparent);
    box-shadow: 0 0 20px rgba(117, 231, 255, 0.42);
    animation: matrixCursor 3.4s ease-in-out infinite;
}

.bento-card::after,
.case-card::after,
.timeline-step::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% 20%;
    height: 130px;
    background: radial-gradient(circle, rgba(117, 231, 255, 0.22), transparent 70%);
    opacity: 0;
    transition: opacity 180ms ease;
    z-index: -1;
}

.bento-card:hover::after,
.case-card:hover::after,
.timeline-step:hover::after {
    opacity: 1;
}

.bento-card h3,
.case-card h3,
.timeline-step h3 {
    margin: 38px 0 12px;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: 0;
}

.bento-card:hover .bento-matrix {
    opacity: 1;
}

.bento-card:hover .bento-signal {
    opacity: 0.9;
}

.bento-card p,
.case-card p,
.timeline-step p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.62;
}

.capability-stack {
    position: relative;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.capability-stack::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(117, 231, 255, 0.12), transparent);
    transform: translateX(-100%);
    animation: capabilitySweep 9s ease-in-out infinite;
    pointer-events: none;
}

.capability-row {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) minmax(190px, 0.36fr);
    align-items: center;
    gap: 28px;
    min-height: 172px;
    padding: 30px 34px;
    overflow: hidden;
    background: rgba(4, 6, 10, 0.58);
    transition: background 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, rgba(117, 231, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 260ms ease;
}

.capability-row::after {
    content: "";
    position: absolute;
    left: 92px;
    right: 34px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(117, 231, 255, 0.36), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-row:hover {
    background: rgba(12, 18, 24, 0.78);
    transform: translateX(8px);
}

.capability-row:hover::before {
    opacity: 1;
}

.capability-row:hover::after {
    transform: scaleX(1);
}

.capability-index {
    color: rgba(248, 251, 255, 0.24);
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 760;
    line-height: 0.9;
}

.capability-copy h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1;
    letter-spacing: 0;
}

.capability-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(248, 251, 255, 0.68);
    font-size: 17px;
    line-height: 1.58;
}

.capability-visual {
    position: relative;
    min-height: 104px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.capability-visual::before,
.capability-visual::after,
.capability-visual span {
    content: "";
    position: absolute;
    left: 22px;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(117, 231, 255, 0.9), transparent);
    transform-origin: left;
    animation: capabilitySignal 3.8s ease-in-out infinite;
}

.capability-visual::before {
    top: 24px;
}

.capability-visual span:nth-child(1) {
    top: 44px;
    right: 28%;
    animation-delay: 0.25s;
}

.capability-visual span:nth-child(2) {
    top: 64px;
    right: 46%;
    animation-delay: 0.5s;
}

.capability-visual span:nth-child(3) {
    top: 84px;
    right: 18%;
    animation-delay: 0.75s;
}

.capability-visual::after {
    left: auto;
    right: 16px;
    top: 18px;
    width: 1px;
    height: 72px;
    background: linear-gradient(180deg, transparent, rgba(117, 231, 255, 0.72), transparent);
    animation: capabilityCursor 3s ease-in-out infinite;
}

.apple-capabilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.apple-capability {
    position: relative;
    min-height: 330px;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.026)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 34px 100px rgba(0, 0, 0, 0.28);
    transform: translateY(0);
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.apple-capability--large {
    min-height: 390px;
}

.apple-capability--cool {
    background:
        radial-gradient(circle at 78% 18%, rgba(137, 255, 212, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.026)),
        rgba(255, 255, 255, 0.035);
}

.apple-capability::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.11), transparent 32%, rgba(117, 231, 255, 0.045) 70%, transparent);
    opacity: 0.32;
    pointer-events: none;
}

.apple-capability::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
    opacity: 0.6;
}

.apple-capability__glow {
    position: absolute;
    width: 380px;
    aspect-ratio: 1;
    right: -150px;
    top: -150px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(117, 231, 255, 0.18), rgba(95, 140, 255, 0.04) 42%, transparent 70%);
    filter: blur(4px);
    transform: translate3d(0, 0, 0);
    animation: appleGlow 10s ease-in-out infinite;
    pointer-events: none;
}

.apple-capability:nth-child(2) .apple-capability__glow {
    right: auto;
    left: -170px;
    top: -130px;
    animation-delay: 1.2s;
}

.apple-capability:nth-child(3) .apple-capability__glow {
    top: auto;
    right: -130px;
    bottom: -170px;
    animation-delay: 2.4s;
}

.apple-capability:nth-child(4) .apple-capability__glow {
    background: radial-gradient(circle, rgba(137, 255, 212, 0.16), rgba(117, 231, 255, 0.045) 42%, transparent 70%);
    animation-delay: 3.6s;
}

.apple-capability__index {
    position: absolute;
    left: clamp(26px, 3vw, 42px);
    top: clamp(26px, 3vw, 42px);
    color: rgba(248, 251, 255, 0.4);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.apple-capability h3 {
    position: relative;
    max-width: 560px;
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(30px, 3.8vw, 58px);
    line-height: 0.98;
    font-weight: 720;
    letter-spacing: 0;
}

.apple-capability p {
    position: relative;
    max-width: 620px;
    margin: 0;
    color: rgba(248, 251, 255, 0.66);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.58;
}

.apple-capability:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.034)),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 42px 120px rgba(0, 0, 0, 0.36), 0 0 54px rgba(117, 231, 255, 0.05);
}

.apple-capability:hover .apple-capability__glow {
    animation-duration: 6s;
}

.method-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006));
}

.method-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
}

.method-copy {
    position: sticky;
    top: 130px;
    align-self: start;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-step {
    isolation: isolate;
    padding: 28px;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.timeline-step::after {
    inset: 0;
    height: auto;
    z-index: 0;
    background:
        radial-gradient(circle at 52% 105%, rgba(117, 231, 255, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 48%);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step h3 {
    margin-top: 20px;
}

.timeline-step span,
.timeline-step h3,
.timeline-step p {
    position: relative;
    z-index: 1;
}

.timeline-step:hover {
    transform: translateY(-5px);
    border-color: rgba(248, 251, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.034)),
        rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 74px rgba(0, 0, 0, 0.3);
}

.timeline-step:hover::after {
    opacity: 1;
    transform: scale(1);
}

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

.case-card {
    isolation: isolate;
    min-height: 240px;
    padding: 30px;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.case-card::after {
    inset: 0;
    height: auto;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 105%, rgba(117, 231, 255, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 46%);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card h3 {
    margin-top: 0;
}

.case-card h3,
.case-card p {
    position: relative;
    z-index: 1;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 251, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.034)),
        rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 28px 80px rgba(0, 0, 0, 0.32);
}

.case-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.final-cta {
    padding: 126px 0 138px;
    background:
        radial-gradient(circle at center, rgba(117, 231, 255, 0.18), transparent 30rem),
        linear-gradient(180deg, rgba(2, 3, 5, 0), rgba(2, 3, 5, 0.82));
}

.final-cta__inner {
    max-width: 860px;
    text-align: center;
}

.final-cta p:not(.eyebrow) {
    max-width: 650px;
    margin: 24px auto 34px;
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: #020305;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand img {
    width: 118px;
}

.site-footer p {
    max-width: 430px;
    margin: 0;
    color: var(--dim);
    font-size: 14px;
    line-height: 1.5;
}

.footer-nav:empty {
    display: none;
}

.generic-content {
    padding: 150px 0 90px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scrollCue {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 18px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes trustScanner {
    0%,
    100% {
        transform: translateX(-48%);
        opacity: 0.14;
    }
    50% {
        transform: translateX(48%);
        opacity: 0.28;
    }
}

@keyframes trustAurora {
    0%,
    100% {
        transform: translate(-50%, -50%) scaleX(0.86);
        opacity: 0.48;
    }
    50% {
        transform: translate(-50%, -50%) scaleX(1.08);
        opacity: 0.82;
    }
}

@keyframes clientFloatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clientLogoFocus {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.92);
        filter: blur(16px) grayscale(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    52% {
        opacity: 1;
        transform: translateY(-4px) scale(1.045);
        filter: blur(0) grayscale(1) drop-shadow(0 0 26px rgba(117, 231, 255, 0.22));
    }
    100% {
        opacity: 0.62;
        transform: translateY(0) scale(1);
        filter: grayscale(1) drop-shadow(0 16px 34px rgba(255, 255, 255, 0.08));
    }
}

@keyframes clientLightWake {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scaleX(0.4);
    }
    45% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(0) scaleX(1.08);
    }
    100% {
        opacity: 0.42;
        transform: translateX(-50%) translateY(8px) scaleX(0.92);
    }
}

@keyframes clientHorizon {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px) scaleX(0.2);
    }
    55% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(-4px) scaleX(1.12);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scaleX(1);
    }
}

@keyframes clientMatrixAssemble {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-74px) scaleY(1.25);
        background-position: 0 -180%, 0 0, 0 -120px;
        clip-path: inset(0 0 100% 0);
    }
    16% {
        opacity: 0.92;
        transform: translateX(-50%) translateY(-28px) scaleY(1.12);
        clip-path: inset(0 0 56% 0);
    }
    42% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(0) scaleY(1);
        clip-path: inset(0 0 8% 0);
    }
    68% {
        opacity: 0.58;
        clip-path: inset(0 0 0 0);
        background-position: 0 94%, 72px 0, 0 48px;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(42px) scaleY(0.9);
        clip-path: inset(0 0 0 0);
        background-position: 0 190%, 128px 0, 0 108px;
    }
}

@keyframes clientLabelResolve {
    0%,
    34% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clientBreathe {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -5px;
    }
}

@keyframes trustPulse {
    0%,
    100% {
        transform: scale(0.72);
        opacity: 0.48;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes clientBeam {
    0%,
    64% {
        left: -42%;
        opacity: 0;
    }
    74% {
        opacity: 0.7;
    }
    88% {
        left: 112%;
        opacity: 0;
    }
    100% {
        left: 112%;
        opacity: 0;
    }
}

@keyframes bentoOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes matrixSweep {
    0%,
    48% {
        transform: translateX(-100%);
        opacity: 0;
    }
    58% {
        opacity: 0.65;
    }
    78% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes matrixCursor {
    0%,
    100% {
        transform: translateY(-12px);
        opacity: 0.28;
    }
    50% {
        transform: translateY(28px);
        opacity: 0.88;
    }
}

@keyframes bentoScan {
    0%,
    58% {
        opacity: 0;
        transform: translateY(-100%);
    }
    68% {
        opacity: 0.68;
    }
    82% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes signalRead {
    0%,
    100% {
        transform: scaleX(0.38);
        opacity: 0.36;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes deckCore {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes deckRail {
    0%,
    100% {
        opacity: 0.26;
        transform: translate(-50%, -50%) scaleX(0.82);
    }
    50% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scaleX(1);
    }
}

@keyframes capabilitySweep {
    0%,
    58% {
        transform: translateX(-100%);
        opacity: 0;
    }
    70% {
        opacity: 0.8;
    }
    88%,
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes capabilitySignal {
    0%,
    100% {
        transform: scaleX(0.18);
        opacity: 0.24;
    }
    48% {
        transform: scaleX(1);
        opacity: 0.86;
    }
}

@keyframes capabilityCursor {
    0%,
    100% {
        transform: translateY(-16px);
        opacity: 0.18;
    }
    50% {
        transform: translateY(22px);
        opacity: 0.86;
    }
}

@keyframes appleGlow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.72;
    }
    50% {
        transform: translate3d(-42px, 48px, 0) scale(1.16);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 900px) {
    .site-shell {
        width: min(100% - 28px, 720px);
    }

    .header-shell {
        min-height: 58px;
    }

    .brand img,
    .custom-logo {
        width: 118px;
    }

    .hero-section {
        padding-top: 118px;
    }

    .hero-layout,
    .method-layout {
        gap: 34px;
    }

    .client-strip,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .client-strip {
        display: grid;
        gap: 18px;
    }

    .client-logo-card {
        width: 100%;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card--wide,
    .bento-card--accent {
        grid-column: auto;
    }

    .bento-card {
        min-height: 240px;
        transform: none !important;
    }

    .bento-grid::before,
    .bento-grid::after {
        display: none;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        padding: 26px;
        transform: none !important;
    }

    .capability-index {
        font-size: 42px;
    }

    .capability-visual {
        min-height: 70px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .apple-capabilities {
        grid-template-columns: 1fr;
    }

    .apple-capability,
    .apple-capability--large {
        grid-column: auto;
        min-height: 280px;
    }

    .method-copy {
        position: static;
    }

    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 24px, 420px);
    }

    .nav-cta {
        min-height: 40px;
        padding-inline: 14px;
        font-size: 13px;
    }

    .hero-copy h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hamburger-toggle {
        min-height: 38px;
        padding-inline: 11px;
    }

    .hamburger-toggle > span:last-child {
        display: none;
    }

    .menu-panel {
        width: min(240px, calc(100vw - 24px));
    }

    .section {
        padding: 86px 0;
    }
}
