/* Technology Global User (TGU) - base styles, shared components and page sections.
   Header: header.css | Footer: footer.css | Breakpoints: responsive.css */

/* Plus Jakarta Sans, hosted with the site (latin subset) */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
}

/* ==========================================================================
   1. Design tokens (light theme)
   ========================================================================== */
:root {
    --brand: #2F80FF;
    --navy: #0B1F3A;
    --teal: #19B5FE;
    --bg: #fff;
    --soft: #EAF2FF;
    --ink: #172033;
    --mut: #566985;
    --line: #DCE7F7;
    --card: #fff;
    --f: "Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
    color-scheme: light;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: env(safe-area-inset-bottom,0px);
}

/* ==========================================================================
   2. Base: reset, typography and layout elements
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 96px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 var(--f);
    overflow-x: hidden;
}

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

section {
    padding: 112px 0;
}

h1 {
    font-size: clamp(38px,5.4vw,64px);
    line-height: 1.05;
    margin: 24px 0;
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(30px,3.8vw,46px);
    line-height: 1.1;
    margin: 16px 0;
    letter-spacing: -1.2px;
}

h1 em {
    font-style: normal;
    background: linear-gradient(90deg,var(--brand),#6FB1FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 24px;
    margin-top: 16px;
}

summary {
    font-weight: 700;
    cursor: pointer;
}

details p {
    color: var(--mut);
    margin: 12px 0 0;
}

:focus-visible {
    outline: 3px solid #2F80FF;
    outline-offset: 3px;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.tgu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font: 700 15px var(--f);
    border: 2px solid var(--brand);
    transition: .2s;
    cursor: pointer;
}

.tgu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px #2F80FF44;
}

.tgu-btn.tgu-btn--ghost {
    background: none;
    color: var(--ink);
    border-color: var(--ink);
}

.tgu-btn.tgu-btn--sm {
    padding: 10px 22px;
    font-size: 14px;
}

.tgu-btn.tgu-btn--light {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.tgu-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 7px 7px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg,#1F6FEB 0%,#2F80FF 50%,#6FB1FF 100%);
    background-size: 170% 100%;
    background-position: 0 0;
    color: #fff;
    font: 700 15px var(--f);
    box-shadow: 0 12px 28px #2F80FF55,inset 0 1px 0 #ffffff66;
    transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,background-position .5s;
    cursor: pointer;
}

.tgu-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg,transparent 35%,#ffffff66 50%,transparent 65%);
    transform: translateX(-130%);
    transition: transform .7s;
}

.tgu-btn::after {
    content: "";
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat;
    transform: rotate(-45deg);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.tgu-btn:hover {
    transform: translateY(-3px);
    background-position: 100% 0;
    box-shadow: 0 18px 36px #2F80FF66,inset 0 1px 0 #ffffff66;
}

.tgu-btn:hover::before {
    transform: translateX(130%);
}

.tgu-btn:hover::after {
    transform: rotate(0) scale(1.08);
}

.tgu-btn>svg {
    display: none;
}

.tgu-btn.tgu-btn--sm {
    padding: 5px 5px 5px 20px;
    font-size: 14px;
}

.tgu-btn.tgu-btn--sm::after {
    width: 32px;
    height: 32px;
    background-size: 16px;
}

.tgu-btn.tgu-btn--ghost {
    background: #fff;
    color: #0B1F3A;
    box-shadow: inset 0 0 0 1.5px #BBD8FF,0 8px 20px #2F80FF1f;
}

.tgu-btn.tgu-btn--ghost::after {
    background-color: #EAF2FF;
}

.tgu-btn.tgu-btn--ghost:hover {
    box-shadow: inset 0 0 0 1.5px #2F80FF,0 14px 28px #2F80FF33;
}

.tgu-btn.tgu-btn--light {
    background: #fff;
    color: #1F6FEB;
    box-shadow: 0 10px 24px #0B1F3A33;
}

.tgu-btn.tgu-btn--light::after {
    background-color: #2F80FF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.tgu-btn.tgu-btn--light:hover {
    box-shadow: 0 16px 32px #0B1F3A44;
}

/* ==========================================================================
   4. Shared helpers: container, section head, eyebrow, lead, note, icon, link
   ========================================================================== */
svg.tgu-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tgu-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

.tgu-section-alt {
    background: var(--soft);
}

.tgu-lead {
    color: var(--mut);
    font-size: 18px;
    max-width: 580px;
    margin: 0;
}

.tgu-eyebrow {
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.tgu-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tgu-fineprint {
    font-size: 13px;
    color: var(--mut);
    margin: 16px 0 0;
}

.tgu-note {
    margin: 24px 0 0;
    font-size: 12.5px;
    color: var(--mut);
    text-align: center;
}

.tgu-link-arrow {
    margin-top: auto;
    font-weight: 700;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.tgu-section-head {
    max-width: 720px;
}

.tgu-link-arrow--light {
    color: #fff;
    border-color: #fff;
    display: inline-block;
}

.tgu-eyebrow {
    color: #1F6FEB;
}

.tgu-section-alt {
    background: linear-gradient(180deg,var(--soft),color-mix(in srgb,var(--soft) 35%,var(--bg)));
}

/* ==========================================================================
   5. Hero: dark navy, centred copy, three.js globe (static image on phones)
   ========================================================================== */
.tgu-hero {
    --hero-bg: #050d1f;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: clamp(800px, calc(100vh - 80px), 980px);
    padding: clamp(64px, 9vh, 104px) 0 0;
    background: var(--hero-bg);
    color: #fff;
    text-align: center;
}

.tgu-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 620px at 50% 108%, #1b4fd855, transparent 70%),
        radial-gradient(800px 500px at 50% -10%, #0f2a5c, transparent 70%),
        linear-gradient(180deg, #071431 0%, #050d1f 70%);
}

.tgu-hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#ffffff07 1px, transparent 1px),
        linear-gradient(90deg, #ffffff07 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}

.tgu-hero__aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.tgu-hero__aura--a {
    left: -10%;
    top: 20%;
    width: 520px;
    height: 520px;
    background: #2f80ff;
    opacity: 0.22;
}

.tgu-hero__aura--b {
    right: -8%;
    top: 4%;
    width: 480px;
    height: 480px;
    background: #7b61ff;
    opacity: 0.2;
}

/* Globe: canvas on desktop, still image elsewhere */
.tgu-hero__globe {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: -1;
    width: min(1600px, 140vw);
    aspect-ratio: 16 / 10;
    transform: translateX(-50%);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}

.tgu-hero__gl,
.tgu-hero__still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tgu-hero__gl {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.tgu-hero--live .tgu-hero__gl {
    opacity: 1;
}

.tgu-hero--live .tgu-hero__still {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.tgu-hero__still {
    object-fit: cover;
    object-position: 50% 100%;
}

/* Copy */
.tgu-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* A soft dark pool behind the copy keeps it readable over the globe */
.tgu-hero__inner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    z-index: -1;
    width: min(1100px, 100%);
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, #050d1fcc, #050d1f80 55%, transparent);
    pointer-events: none;
}

.tgu-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #8fc2ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.tgu-hero__kicker::before,
.tgu-hero__kicker::after {
    content: "";
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8fc2ff);
}

.tgu-hero__kicker::after {
    transform: scaleX(-1);
}

.tgu-hero__title {
    max-width: 1120px;
    margin: 22px 0 22px;
    color: #fff;
    font-size: clamp(40px, 5.6vw, 78px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.tgu-hero__line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.tgu-hero__line > span {
    display: inline-block;
}

.tgu-hero__title em {
    font-style: normal;
    background: linear-gradient(92deg, #5aa8ff 0%, #33d0ff 45%, #a48bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tgu-hero__lead {
    max-width: 620px;
    margin: 0 auto;
    color: #b6c6e3;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
}

.tgu-hero__actions {
    justify-content: center;
    margin-top: 34px;
}

.tgu-hero__proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: #c9d6ee;
    font-size: 14px;
    font-weight: 600;
}

.tgu-hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tgu-hero__proof svg {
    width: 18px;
    height: 18px;
    color: #3ee0b5;
}

/* Glass button for dark backgrounds */
.tgu-btn.tgu-btn--glass {
    background: #ffffff12;
    color: #fff;
    box-shadow: inset 0 0 0 1px #ffffff2e, 0 10px 30px #00000033;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.tgu-btn.tgu-btn--glass::after {
    background-color: #ffffff1f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.tgu-btn.tgu-btn--glass:hover {
    background: #ffffff1f;
    box-shadow: inset 0 0 0 1px #ffffff55, 0 14px 34px #2f80ff40;
}

/* Floating data cards around the globe */
.tgu-hero__floats {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.tgu-hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border: 1px solid #ffffff24;
    border-radius: 16px;
    background: linear-gradient(140deg, #ffffff1c, #ffffff08);
    box-shadow: 0 24px 50px #00000059, inset 0 1px 0 #ffffff26;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    text-align: left;
}

.tgu-hero__float b {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.tgu-hero__float small {
    display: block;
    color: #a9bbdb;
    font-size: 12.5px;
    font-weight: 600;
}

.tgu-hero__float-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--c1) 50%, transparent);
}

.tgu-hero__float-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.tgu-hero__float--a { left: 5%; bottom: 24%; }
.tgu-hero__float--b { right: 5%; bottom: 27%; }
.tgu-hero__float--c { left: 13%; bottom: 5%; }

.tgu-hero__float--d {
    right: 13%;
    bottom: 4%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 18px;
}

.tgu-hero__float--d b.tgu-hero__float-count {
    font-size: 30px;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff, #8fd3ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tgu-hero__float-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 30px;
    margin-top: 6px;
}

.tgu-hero__float-bars i {
    width: 12px;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #5aa8ff, #2f80ff80);
}

.tgu-hero__float-bars i:last-child {
    background: linear-gradient(180deg, #3ee0b5, #19b5fe);
}

/* Scroll cue */
.tgu-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 3;
    display: grid;
    place-items: start center;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    padding-top: 8px;
    border: 1.5px solid #ffffff55;
    border-radius: 14px;
}

.tgu-hero__scroll span {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
    animation: tguScrollCue 1.8s ease-in-out infinite;
}

@keyframes tguScrollCue {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Tablet and phone: no WebGL, no floating cards, image globe below the copy */
@media (max-width: 991px) {
    .tgu-hero {
        min-height: 0;
        padding: 64px 0 0;
    }

    .tgu-hero__globe {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(900px, 130%);
        margin: 0 auto -6%;
        transform: none;
        aspect-ratio: 4 / 3;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
        mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    }

    .tgu-hero__gl,
    .tgu-hero__floats,
    .tgu-hero__scroll {
        display: none;
    }

    .tgu-hero__still {
        opacity: 1 !important;
    }
}

@media (max-width: 600px) {
    .tgu-hero {
        padding-top: 48px;
    }

    .tgu-hero__title {
        letter-spacing: -0.035em;
    }

    .tgu-hero__actions .tgu-btn {
        width: 100%;
    }

    .tgu-hero__proof {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tgu-hero__globe {
        width: 150%;
        margin-left: -25%;
    }
}

/* ==========================================================================
   6. Technology logos strip
   ========================================================================== */
.tgu-logos {
    padding: 40px 0;
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.tgu-logos p {
    text-align: center;
    color: var(--mut);
    font-size: 14px;
    margin: 0 0 24px;
}

.tgu-logos__track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: mq 30s linear infinite;
    font-weight: 800;
    font-size: 22px;
    color: var(--mut);
    opacity: .7;
}

.tgu-logos__item {
    flex: none;
    height: 40px;
    width: auto;
    color: var(--ink);
    filter: grayscale(1);
    opacity: .55;
    transition: .3s;
}

.tgu-logos__item:hover {
    filter: none;
    opacity: 1;
}

.tgu-logos__track {
    align-items: center;
    gap: 72px;
    opacity: 1;
    animation: none !important;
}

/* ==========================================================================
   7. Use cases
   ========================================================================== */
.tgu-usecases__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex: none;
}

.tgu-usecases__tab-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
}

.tgu-usecases__layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    margin-top: 48px;
}

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

.tgu-usecases__tab {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: .25s;
}

.tgu-usecases__tab b {
    display: block;
    font-size: 16px;
}

.tgu-usecases__tab small {
    color: var(--mut);
    font-size: 13px;
}

.tgu-usecases__tab:hover {
    border-color: var(--brand);
}

.tgu-usecases__tab.tgu-is-active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateX(8px);
}

.tgu-usecases__tab.tgu-is-active small {
    color: #b9c6e4;
}

.tgu-usecases__tab.tgu-is-active .tgu-usecases__tab-icon {
    background: var(--brand);
    color: #fff;
}

.tgu-usecases__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-radius: 32px;
    padding: 44px;
    background: var(--g);
    color: #fff;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.tgu-usecases__panel::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #ffffff1a;
}

.tgu-usecases__intro .tgu-usecases__number {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.6px;
    opacity: .8;
}

.tgu-usecases__intro h3 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 10px 0;
    line-height: 1.1;
}

.tgu-usecases__intro p {
    margin: 0 0 20px;
    opacity: .92;
}

.tgu-usecases__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tgu-usecases__chips span {
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff26;
    font-size: 13px;
    font-weight: 600;
}

.tgu-usecases__features {
    display: grid;
    gap: 14px;
    align-content: center;
    position: relative;
    z-index: 1;
}

.tgu-usecases__feature {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #ffffff1f;
    border: 1px solid #ffffff33;
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(6px);
}

.tgu-usecases__feature .tgu-usecases__feature-icon {
    background: #fff;
    color: var(--brand);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0;
}

.tgu-usecases__feature b {
    display: block;
}

.tgu-usecases__feature p {
    margin: 2px 0 0;
    font-size: 13.5px;
    opacity: .9;
}

.tgu-usecases__tab {
    background: linear-gradient(180deg,var(--card),color-mix(in srgb,var(--soft) 60%,var(--card)));
}

.tgu-usecases__tab.tgu-is-active {
    background: linear-gradient(135deg,#1F6FEB,#4C97FF);
    border-color: transparent;
}

.tgu-usecases__tab.tgu-is-active .tgu-usecases__tab-icon {
    background: #fff;
    color: #1F6FEB;
}

.tgu-usecases__tab-icon {
    background: linear-gradient(135deg,#EAF2FF,#fff);
    box-shadow: inset 0 0 0 1px #DCE7F7;
}

.tgu-usecases__panel[hidden] {
    display: none;
}

/* ==========================================================================
   8. How it works
   ========================================================================== */
.tgu-steps__card {
    position: sticky;
    top: calc(104px + var(--i)*24px);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 32px;
    color: #fff;
    min-height: 300px;
}

.tgu-steps__card h3 {
    font-size: 28px;
    margin: 8px 0;
    letter-spacing: -.6px;
}

.tgu-steps__card p {
    margin: 0;
    opacity: .9;
}

.tgu-steps__card .tgu-steps__number {
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.6px;
    opacity: .8;
}

.tgu-steps__card .tgu-steps__summary {
    background: #ffffff1f;
    border: 1px solid #ffffff33;
    border-radius: 20px;
    padding: 24px;
    font-size: 14px;
}

.tgu-steps__card .tgu-steps__summary div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ffffff44;
}

.tgu-steps__card .tgu-steps__summary div:last-child {
    border: 0;
}

.tgu-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.tgu-steps__intro {
    position: sticky;
    top: 120px;
}

.tgu-steps__benefits {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    gap: 12px;
}

.tgu-steps__benefits li {
    display: flex;
    gap: 12px;
    font-weight: 600;
    align-items: center;
}

.tgu-steps__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.tgu-steps__stats div {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.tgu-steps__stats b {
    display: block;
    font-size: 30px;
    color: var(--brand);
    letter-spacing: -1px;
}

.tgu-steps__stats span {
    font-size: 13px;
    color: var(--mut);
}

.tgu-steps__stack .tgu-steps__card {
    grid-template-columns: 1fr;
    position: sticky;
    top: calc(110px + var(--i)*22px);
    padding: 36px;
    gap: 0;
    min-height: 0;
}

.tgu-steps__card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    gap: 10px;
}

.tgu-steps__card li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    align-items: center;
}

.tgu-steps__card li svg {
    color: #fff !important;
}

.tgu-steps__card .tgu-steps__summary {
    margin-top: 4px;
}

.tgu-steps__stats div {
    background: linear-gradient(180deg,var(--card),color-mix(in srgb,var(--soft) 60%,var(--card)));
}

/* ==========================================================================
   9. Teams sphere section
   ========================================================================== */
.tgu-teams {
    position: relative;
    width: 100%;
    background: #0e1830;
    overflow: hidden;
    padding-block: 80px;
}

.tgu-teams__inner {
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: 24px;
}

.tgu-teams canvas,
.tgu-teams .tgu-teams__stage svg {
    display: block;
}

.tgu-teams__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.tgu-teams__head h2 {
    color: #fff;
}

.tgu-teams__head p {
    color: #9db0d6;
    font-size: 18px;
    margin: 0;
}

.tgu-teams__stage {
    position: relative;
    margin-top: 40px;
    display: none;
    width: 100%;
    aspect-ratio: 1200/560;
}

.tgu-teams__stage canvas,
.tgu-teams__stage>svg {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.tgu-teams__beam {
    stroke: rgba(255,255,255,.18);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 1px 1px;
    stroke-dashoffset: 1px;
    transition: stroke-dashoffset .8s cubic-bezier(0,0,.58,1);
}

.tgu-teams__pulse {
    stroke: #2F80FF;
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: .22 .78;
    opacity: 0;
    transition: opacity .6s cubic-bezier(0,0,.58,1) .8s;
}

.tgu-teams__node {
    fill: #0e1830;
    stroke: rgba(255,255,255,.4);
    stroke-width: 1;
    opacity: 0;
    transition: opacity .4s cubic-bezier(0,0,.58,1);
}

.tgu-is-visible .tgu-teams__beam {
    stroke-dashoffset: 0;
}

.tgu-is-visible .tgu-teams__pulse {
    opacity: .9;
}

.tgu-is-visible .tgu-teams__node {
    opacity: 1;
}

.tgu-teams__label {
    position: absolute;
    pointer-events: none;
    transform: translateY(-50%) translateX(var(--from,0px));
    opacity: 0;
    transition: opacity .5s cubic-bezier(0,0,.58,1),transform .5s cubic-bezier(0,0,.58,1);
}

.tgu-teams__label--left {
    text-align: right;
    --from: -12px;
}

.tgu-teams__label--right {
    --from: 12px;
}

.tgu-is-visible .tgu-teams__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.tgu-teams__label span {
    display: inline-block;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.2);
    background: #0b1328;
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #e0e6f5;
}

.tgu-teams__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px) scale(.96);
    transition: opacity 1s cubic-bezier(.16,1,.3,1) .5s,transform 1s cubic-bezier(.16,1,.3,1) .5s;
}

.tgu-is-visible .tgu-teams__center {
    opacity: 1;
    transform: translateY(var(--cy,0px)) scale(1);
}

.tgu-teams__center-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 24px;
    text-align: center;
}

.tgu-teams__center-glow {
    position: absolute;
    inset-inline: -112px;
    inset-block: -80px;
    background: radial-gradient(ellipse 58% 56% at 50% 50%,rgba(14,24,48,.9) 0%,rgba(14,24,48,.5) 48%,transparent 74%);
}

.tgu-teams__center-title {
    position: relative;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0,0,0,.7);
}

.tgu-teams__center-subtitle {
    position: relative;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    margin: 10px 0 0;
}

.tgu-teams__mobile {
    margin-top: 48px;
}

.tgu-teams__mobile-stage {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
    border: 1px solid #1d2a47;
}

.tgu-teams__mobile-stage canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.tgu-teams__mobile-stage .tgu-teams__center {
    opacity: 1;
    transform: none;
    transition: none;
}

.tgu-teams__grid {
    margin-top: 5px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 5px;
    background: #1d2a47;
    border: 1px solid #1d2a47;
}

.tgu-teams__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1328;
    padding: 20px 12px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #e0e6f5;
}

.tgu-teams {
    background: linear-gradient(135deg,#1250C4 0%,#2F80FF 55%,#6FB1FF 115%);
}

.tgu-teams__head p {
    color: #E3EEFF;
}

.tgu-teams__pulse {
    stroke: #fff;
}

.tgu-teams__beam {
    stroke: rgba(255,255,255,.3);
}

.tgu-teams__node {
    fill: #1a5fe0;
    stroke: rgba(255,255,255,.7);
}

.tgu-teams__label span {
    background: rgba(11,31,58,.5);
    backdrop-filter: blur(6px);
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

.tgu-teams__center-glow {
    background: radial-gradient(ellipse 58% 56% at 50% 50%,rgba(22,86,208,.88) 0%,rgba(22,86,208,.45) 48%,transparent 74%);
}

.tgu-teams__center-subtitle {
    color: rgba(255,255,255,.85);
}

.tgu-teams__mobile-stage {
    border-color: #ffffff40;
}

.tgu-teams__grid {
    background: #ffffff33;
    border-color: #ffffff33;
}

.tgu-teams__cell {
    background: rgba(11,31,58,.5);
    color: #fff;
}

.tgu-teams {
    background: radial-gradient(820px 460px at 50% 55%,#2F80FF26,transparent),linear-gradient(180deg,#0B1F3A,#0A2347);
    color: #fff;
}

.tgu-teams__head h2 {
    color: #fff;
}

.tgu-teams__head p {
    color: #A9BEDF;
}

.tgu-teams__beam {
    stroke: rgba(255,255,255,.2);
}

.tgu-teams__pulse {
    stroke: #2F80FF;
    stroke-width: 2;
}

.tgu-teams__node {
    fill: #0B1F3A;
    stroke: rgba(255,255,255,.55);
}

.tgu-teams__label span {
    background: #0B1F3A;
    backdrop-filter: none;
    border: 1px solid rgba(255,255,255,.24);
    color: #E3ECFA;
    box-shadow: none;
    font-weight: 600;
}

.tgu-teams__center-glow {
    background: radial-gradient(ellipse 58% 56% at 50% 50%,rgba(11,31,58,.92) 0%,rgba(11,31,58,.55) 48%,transparent 74%);
}

.tgu-teams__center-title {
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,.7);
}

.tgu-teams__center-subtitle {
    color: rgba(255,255,255,.6);
    text-shadow: 0 1px 16px rgba(0,0,0,.6);
}

.tgu-teams__mobile-stage {
    border-color: #1d3558;
    background: transparent;
}

.tgu-teams__grid {
    background: #1d3558;
    border-color: #1d3558;
}

.tgu-teams__cell {
    background: #0B1F3A;
    color: #E3ECFA;
}

/* ==========================================================================
   10. Quality you can verify
   ========================================================================== */
.tgu-quality__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}

.tgu-quality__metrics {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-top: 48px;
}

.tgu-quality__metric {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
}

.tgu-quality__metric b {
    display: block;
    font-size: 48px;
    letter-spacing: -2px;
    color: var(--brand);
    line-height: 1.1;
}

.tgu-quality__metric span {
    color: var(--mut);
    font-size: 14px;
}

.tgu-quality__spark {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 44px;
    margin-top: 20px;
}

.tgu-quality__spark i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(var(--brand),#A9CDFF);
    height: var(--h);
}

.tgu-quality__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.tgu-quality__panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 36px;
}

.tgu-quality__panel h3 {
    margin: 0 0 4px;
    font-size: 22px;
}

.tgu-quality__subtitle {
    margin: 0 0 24px;
    color: var(--mut);
    font-size: 14px;
}

.tgu-quality__pipeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.tgu-quality__pipeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--line);
}

.tgu-quality__pipeline li {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 12px 0;
    position: relative;
}

.tgu-quality__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 5px var(--soft);
    position: relative;
    z-index: 1;
}

.tgu-quality__pipeline b {
    display: block;
}

.tgu-quality__pipeline p {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--mut);
}

.tgu-quality__pipeline em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    background: var(--soft);
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.tgu-quality__table {
    display: grid;
}

.tgu-quality__table-head,
.tgu-quality__row {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.tgu-quality__table-head {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--mut);
}

.tgu-quality__row span {
    color: var(--mut);
}

.tgu-quality__coverage {
    height: 8px;
    border-radius: 9px;
    background: var(--line);
    overflow: hidden;
}

.tgu-quality__coverage i {
    display: block;
    height: 100%;
    border-radius: 9px;
    background: linear-gradient(90deg,var(--brand),#6FB1FF);
}

.tgu-quality__metric,
.tgu-quality__panel {
    background: linear-gradient(180deg,var(--card),color-mix(in srgb,var(--soft) 60%,var(--card)));
}

.tgu-quality__pipeline .tgu-quality__dot {
    background: linear-gradient(135deg,#1F6FEB,#6FB1FF);
}

/* ==========================================================================
   11. Trusted by data-driven teams
   ========================================================================== */
.tgu-loved__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    margin-top: 48px;
}

.tgu-loved__card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tgu-loved__card h3 {
    font-size: 24px;
    letter-spacing: -.5px;
    margin: 12px 0;
}

.tgu-loved__card p {
    color: var(--mut);
    margin: 0 0 24px;
    max-width: 340px;
}

.tgu-loved__rating {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tgu-loved__rating b {
    margin-left: 8px;
}

.tgu-loved__card small {
    font-weight: 600;
}

.tgu-loved__badges {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0 24px;
}

.tgu-loved__promise-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--bg);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex: none;
}

.tgu-loved__card--promise {
    align-items: stretch;
    text-align: left;
}

.tgu-loved__card--promise h3 {
    margin-top: 0;
}

.tgu-loved__promises {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 12px;
}

.tgu-loved__promises li {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
}

.tgu-loved__promises .tgu-loved__promise-icon {
    background: var(--soft);
}

.tgu-loved__promises b {
    display: block;
    font-size: 15px;
}

.tgu-loved__promises small {
    color: var(--mut);
    font-size: 13px;
}

.tgu-loved__card,
.tgu-loved__promises li {
    background: linear-gradient(180deg,var(--card),color-mix(in srgb,var(--soft) 60%,var(--card)));
}

.tgu-loved__badge {
    
    height: auto;
}

/* ==========================================================================
   12. Case studies
   ========================================================================== */
.tgu-cases__list {
    display: flex;
    gap: 16px;
    height: 500px;
    margin-top: 48px;
}

.tgu-cases__card {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    background: var(--g);
    transition: flex .7s cubic-bezier(.2,.8,.2,1);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tgu-cases__card.tgu-is-active {
    flex: 7;
    cursor: default;
}

.tgu-cases__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 300px at 85% 0,#ffffff26,transparent);
}

.tgu-cases__card>* {
    position: relative;
}

.tgu-cases__industry {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -.5px;
    white-space: nowrap;
}

.tgu-cases__body {
    max-width: 640px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .5s .2s,max-height .6s;
}

.tgu-cases__card.tgu-is-active .tgu-cases__body {
    opacity: 1;
    max-height: 380px;
    margin-bottom: 28px;
}

.tgu-cases__body p {
    font-size: clamp(20px,2.4vw,30px);
    font-weight: 600;
    line-height: 1.35;
    margin: 20px 0;
}

.tgu-cases__card {
    background-size: cover;
    background-position: center;
}

.tgu-cases__card::before {
    background: linear-gradient(to top,#0b1328e6,#0b132840);
}

.tgu-cases__card.tgu-is-active .tgu-cases__industry {
    opacity: .85;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tgu-cases__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    opacity: .85;
}

.tgu-cases__body h3 {
    font-size: clamp(24px,2.8vw,36px);
    letter-spacing: -1px;
    margin: 10px 0;
    line-height: 1.1;
}

.tgu-cases__body p {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px;
    opacity: .92;
}

.tgu-cases__metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 20px;
}

.tgu-cases__metrics b {
    display: block;
    font-size: 40px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #A9CDFF;
}

.tgu-cases__metrics span {
    font-size: 13px;
    opacity: .85;
}

.tgu-cases__card::before {
    background: linear-gradient(to top,#0B1F3Acc,#0B1F3A22);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.tgu-faq__list {
    max-width: 840px;
    margin: 48px auto 0;
}

.tgu-faq__item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    margin-top: 16px;
    transition: .3s;
}

.tgu-faq__item.tgu-is-open {
    border-color: var(--brand);
    box-shadow: 0 14px 32px #2F80FF14;
}

.tgu-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    background: none;
    border: 0;
    color: var(--ink);
    font: 700 17px var(--f);
    text-align: left;
    cursor: pointer;
}

.tgu-faq__question i {
    font-style: normal;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 20px;
    transition: .3s;
    flex: none;
}

.tgu-faq__item.tgu-is-open .tgu-faq__question i {
    transform: rotate(45deg);
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.tgu-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease;
}

.tgu-faq__item.tgu-is-open .tgu-faq__answer {
    grid-template-rows: 1fr;
}

.tgu-faq__answer-inner {
    overflow: hidden;
}

.tgu-faq__answer-inner p {
    margin: 0;
    padding: 0 26px 24px;
    color: var(--mut);
}

.tgu-faq__item {
    background: linear-gradient(180deg,var(--card),color-mix(in srgb,var(--soft) 60%,var(--card)));
}

.tgu-faq__answer {
    visibility: hidden;
    transition: grid-template-rows .4s ease, visibility 0s .4s;
}

.tgu-faq__item.tgu-is-open .tgu-faq__answer {
    visibility: visible;
    transition: grid-template-rows .4s ease, visibility 0s;
}

.tgu-faq__item h3 {
    margin: 0;
    font: inherit;
}

/* ==========================================================================
   14. Call-to-action band
   ========================================================================== */
.tgu-cta-band {
    background: linear-gradient(120deg,#D5E6FF,#fff 45%,#DDEFFF);
    color: var(--navy);
    text-align: center;
    padding: 112px 0 96px;
}

.tgu-cta-band p {
    max-width: 620px;
    margin: 0 auto 32px;
    color: #46557a;
    font-size: 18px;
}

.tgu-cta-band .tgu-actions {
    justify-content: center;
}

.tgu-cta-band .tgu-btn.tgu-btn--ghost {
    border-color: var(--navy);
    color: var(--navy);
}

/* Cursor blink in the hero search box */
@keyframes tguBlink {
    50% {
        opacity: 0;
    }
}

/* ==========================================================================
   Dark theme overrides (colours that are not driven by the tokens)
   ========================================================================== */

/* ==========================================================================
   Assistant section: prompt wheel (left) and product mockup (right)
   ========================================================================== */
.tgu-assistant {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, #f8f9fe, #f2f6ff);
}

.tgu-assistant__head {
    position: relative;
    z-index: 2;
    padding-top: 88px;
    padding-bottom: 0;
}

/* The track holds the pinned-looking stage; the wheel cycles on its own (see main.js section 9). */
.tgu-assistant__track {
    position: relative;
}

.tgu-assistant__pin {
    position: relative;
    /* Compact: the demo starts right under the heading, no empty scroll gap */
    height: clamp(520px, 68vh, 600px);
    margin-top: -12px;
    overflow: hidden;
}

.tgu-assistant__glow {
    position: absolute;
    right: -8%;
    bottom: -22%;
    width: 62%;
    height: 78%;
    background:
        radial-gradient(closest-side at 35% 45%, #9b8cff66, transparent),
        radial-gradient(closest-side at 70% 60%, #4fd8ff66, transparent),
        radial-gradient(closest-side at 55% 80%, #7bf0c855, transparent);
    filter: blur(36px);
    pointer-events: none;
}

/* ---------- Prompt wheel ---------- */
.tgu-assistant__wheel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 52%;
}

.tgu-assistant__pill {
    position: absolute;
    top: 50%;
    left: 0;
    width: 280px;
    height: 66px;
    margin-top: -33px;
    padding: 0 20px;
    border: 1.5px solid #e1e5ef;
    border-radius: 999px;
    background: #fff;
    color: #9aa0b4;
    font: 400 20px var(--f);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tgu-assistant__pill:hover {
    color: #4b5167;
}

.tgu-assistant__pill.tgu-is-active {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #7b61ff, #2f80ff 55%, #19d3a5) border-box;
    color: #4b5167;
    box-shadow: 0 16px 32px #7b61ff26;
}

/* ---------- Layout and window ---------- */
.tgu-assistant__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    height: 100%;
}

.tgu-assistant__stage {
    grid-column: 2;
}

.tgu-assistant__window {
    overflow: visible;
    border: 1px solid #e6e9f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 30px 70px #2f80ff1f;
}

.tgu-assistant__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e6e9f2;
    color: #3d4358;
    font-size: 13.5px;
}

.tgu-assistant__bar-title,
.tgu-assistant__bar-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tgu-assistant__bar svg {
    width: 16px;
    height: 16px;
    color: #7b61ff;
}

.tgu-assistant__body {
    position: relative;
    padding: 24px 24px 28px;
    min-height: 400px;
}

.tgu-assistant__headline {
    margin: 0 0 18px;
    color: #1f2438;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

/* ---------- Result card ---------- */
.tgu-assistant__app {
    width: 64%;
    overflow: hidden;
    border: 1px solid #e6e9f2;
    border-radius: 12px;
    background: #fff;
}

.tgu-assistant__app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #2fc9d9, #2f80ff);
    color: #fff;
}

.tgu-assistant__app-head b {
    font-size: 16px;
}

.tgu-assistant__app-head span {
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff33;
    font-size: 11px;
    font-weight: 700;
}

.tgu-assistant__rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tgu-assistant__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #eef1f7;
    color: #3d4358;
    font-size: 14px;
}

.tgu-assistant__row small {
    display: block;
    color: #8a91a8;
    font-size: 12px;
}

.tgu-assistant__value {
    flex: none;
    color: #566985;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.tgu-assistant__app-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid #eef1f7;
    background: #f6f9ff;
    color: #566985;
    font-size: 13px;
}

.tgu-assistant__app-foot b {
    color: #1f6feb;
    font-size: 20px;
}

/* ---------- Chat overlay ---------- */
.tgu-assistant__chat {
    position: absolute;
    top: 78px;
    right: -14px;
    width: 46%;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #7b61ff, #ff9a62 55%, #19d3a5) border-box;
    box-shadow: 0 22px 44px #7b61ff24;
}

.tgu-assistant__prompt {
    margin: 0 0 14px 28px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef1fb;
    color: #2b3148;
    font-size: 13px;
    line-height: 1.4;
}

.tgu-assistant__status {
    margin: 0 0 4px;
    color: #9aa0b4;
    font-size: 12px;
}

.tgu-assistant__steps {
    margin: 0 0 14px;
    color: #2b3148;
    font-size: 13px;
    line-height: 1.45;
}

.tgu-assistant__done {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding-top: 14px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #ff9a62, #19d3a5) 1;
    color: #2b3148;
    font-size: 13px;
    font-weight: 700;
}

.tgu-assistant__check {
    display: grid;
    flex: none;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #19b66f;
}

.tgu-assistant__check::after {
    content: "";
    width: 4px;
    height: 8px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tgu-assistant__input {
    padding: 10px 12px;
    border: 1px solid #e1e5ef;
    border-radius: 8px;
    color: #9aa0b4;
    font-size: 12.5px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.tgu-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* ==========================================================================
   Motion helpers (see motion.js)
   ========================================================================== */
.tgu-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

.tgu-word > span {
    display: inline-block;
    transform-origin: 0 100%;
}

/* Below 992px: no animation, only smooth scrolling. Marquees become swipeable rows. */
@media (max-width: 991px) {
    .tgu-logos__track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 26px 40px;
        width: auto;
        padding: 0 24px;
        transform: none !important;
    }

    .tgu-logos__item {
        height: 30px;
    }
}

@media (max-width: 991px) {
    .tgu-hero__inner {
        order: 1;
    }

    .tgu-hero__globe {
        order: 2;
    }
}

@media (max-width: 600px) {
    .tgu-hero__kicker::before,
    .tgu-hero__kicker::after {
        display: none;
    }
}

/* Assistant on large screens: the section fills the screen below the header and holds there
   while scrolling moves through the goals (see main.js 9.4). */
@media (min-width: 992px) {
    .tgu-motion .tgu-assistant {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 80px);
        min-height: 660px;
    }

    .tgu-motion .tgu-assistant__head {
        width: 100%;
        padding-top: clamp(32px, 6vh, 64px);
    }

    .tgu-motion .tgu-assistant__track {
        flex: 1;
        min-height: 0;
    }

    .tgu-motion .tgu-assistant__pin {
        height: 100%;
        margin-top: 0;
    }
}

/* How it works: each step has its own colour and a soft glow */
.tgu-steps__card {
    position: sticky;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 30px 60px #0b1f3a2e, inset 0 1px 0 #ffffff33;
}

.tgu-steps__card::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--glow, #fff), transparent);
    opacity: 0.45;
}

.tgu-steps__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(#ffffff1f 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000);
    mask-image: linear-gradient(120deg, transparent 40%, #000);
}

.tgu-steps__card li svg {
    color: #fff !important;
    opacity: 0.9;
}

.tgu-steps__card .tgu-steps__summary {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}


/* Hero live query (desktop): a search that types itself above the globe */
.tgu-hero__query {
    position: absolute;
    left: 50%;
    bottom: 13%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 440px;
    padding: 14px 16px 14px 18px;
    border: 1px solid #ffffff2e;
    border-radius: 18px;
    background: linear-gradient(140deg, #0b1a3ae6, #0b1a3ab3);
    box-shadow: 0 30px 60px #00000080, 0 0 0 6px #2f80ff14, inset 0 1px 0 #ffffff1f;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    text-align: left;
    transform: translateX(-50%);
}

.tgu-hero__query svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: #7cc4ff;
}

.tgu-hero__query span {
    flex: 1;
    white-space: nowrap;
}

.tgu-hero__caret {
    width: 2px;
    height: 18px;
    margin-left: -10px;
    background: #7cc4ff;
    animation: tguBlink 1s steps(1) infinite;
}

.tgu-hero__query-tag {
    flex: none;
    padding: 5px 10px;
    border-radius: 9px;
    background: #ffffff14;
    color: #a9bbdb;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    transition: background 0.3s, color 0.3s;
}

.tgu-hero__query-tag.tgu-is-done {
    background: #12b8862e;
    color: #5ff0c0;
}

.tgu-hero__float [data-q] {
    display: block;
}

@media (max-width: 991px) {
    .tgu-hero__query {
        display: none;
    }
}

/* Desktop fallback: if the live globe cannot start, the still image fills its place */
@media (min-width: 992px) {
    .tgu-hero__still {
        object-fit: cover;
        object-position: 50% 100%;
    }
}
