/* Homepage-only design tokens: other pages keep the existing shared theme. */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
.tgb-home {
    --tgb-blue: #0085e8;
    --tgb-blue-dark: #006dbb;
    --tgb-navy: #071a2b;
    --tgb-muted: #586581;
    --tgb-line: #dce9f3;
    --tgb-soft: #f1f9fe;
    --home-shadow: 0 12px 38px rgba(30, 81, 119, .12), 0 2px 8px rgba(30, 81, 119, .05);
    color: var(--tgb-navy);
    background: #fff;
    font-family: "Manrope", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.tgb-home .tgb-container { width: min(1280px, calc(100% - 96px)); }
.tgb-home .tgb-header { height: 72px; border-bottom: 1px solid var(--tgb-line); background: rgba(255,255,255,.97); }
.tgb-home .tgb-header__inner { gap: 28px; }
.tgb-home .tgb-brand img { width: 226px; }
.tgb-home .tgb-nav { gap: 28px; }
.tgb-home .tgb-nav a { padding: 25px 0; color: #394561; font-size: 14px; font-weight: 600; }
.tgb-home .tgb-nav a::after { bottom: 16px; }
.tgb-home .tgb-nav a[aria-current="page"] { color: var(--tgb-blue); }
.tgb-home .tgb-header__actions { gap: 14px; }
.tgb-home .tgb-header__actions .tgb-button { min-height: 46px; padding-inline: 25px; font-size: 14px; }
.tgb-home .tgb-header__actions svg { display: none; }
.tgb-home .tgb-button { min-height: 50px; border-radius: 7px; font-family: inherit; font-size: 16px; font-weight: 700; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.tgb-home .tgb-button--secondary { color: var(--tgb-blue) !important; }
.tgb-home .tgb-button--secondary:hover { color: #fff !important; }
.tgb-home :is(a, button, input):focus-visible { outline: 3px solid #73c4fa; outline-offset: 5px; }
.tgb-home-skip { position: fixed; top: 8px; left: 16px; z-index: 10001; padding: 12px 18px; border-radius: 6px; background: #fff; color: var(--tgb-blue-dark); font-weight: 700; transform: translateY(-160%); }
.tgb-home-skip:focus { transform: translateY(0); }

.tgb-home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 22px; background: linear-gradient(180deg, #fff 0%, #f2faff 40%, #eef8fe 100%); border-bottom: 1px solid var(--tgb-line); }
.tgb-home-hero__copy { position: relative; z-index: 1; text-align: center; }
.tgb-home-hero h1 { margin: 0; color: #06182f; font-size: clamp(46px, 5.25vw, 76px); font-weight: 800; line-height: .96; letter-spacing: -.047em; }
.tgb-home-hero h1 strong { display: block; color: var(--tgb-blue); font-weight: inherit; }
.tgb-home-hero__copy > p { margin: 15px auto 0; color: var(--tgb-muted); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.tgb-home-hero .tgb-actions { justify-content: center; gap: 15px; margin-top: 18px; }
.tgb-home-hero .tgb-actions .tgb-button { min-width: 234px; }
.tgb-home-hero .tgb-platform-line { justify-content: center; gap: 22px; margin-top: 14px; color: #4d5971; font-size: 13px; font-weight: 500; }
.tgb-home-hero .tgb-platform-line > span + span::before { width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: #65738b; content: ""; }
.tgb-home-hero .tgb-os-icon { width: 20px; height: 21px; }
.tgb-home-routes { position: absolute; top: 8px; right: 0; left: 0; z-index: -1; height: 350px; pointer-events: none; }
.tgb-home-routes > svg:first-child { width: 100%; height: 100%; fill: #d5f0ff; }
.tgb-home-routes path { fill: none; stroke: #c6eaff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tgb-home-routes .tgb-home-route-ring { fill: #f6fcff; stroke: #bae5ff; stroke-width: 1.2; }
.tgb-home-routes .tgb-home-plane { position: absolute; top: 107px; right: 9%; width: 39px; height: 39px; transform: rotate(-7deg); }
.tgb-home-routes .tgb-home-plane path { fill: #8bd2fc; stroke: none; }
.tgb-home-preview { display: block; width: 100%; min-width: 0; overflow: hidden; padding: 0; border: 1px solid #d7e5ef; border-radius: 9px; background: #fff; box-shadow: var(--home-shadow); color: inherit; font: inherit; cursor: zoom-in; transition: transform .22s ease, box-shadow .22s ease; }
.tgb-home-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
.tgb-home-preview:hover { transform: translateY(-3px); box-shadow: 0 17px 44px rgba(30,81,119,.17); }
.tgb-home-hero__preview { position: relative; max-width: 1156px; margin: 12px auto 0; }
.tgb-home-mobile-actions { display: none; }
.tgb-home-workspace { padding: 24px 0 78px; background: #fff; }
.tgb-home-workspace h2 { margin: 0; text-align: center; font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; }
.tgb-home-topics { display: flex; justify-content: center; gap: 39px; margin-top: 14px; border-bottom: 1px solid var(--tgb-line); }
.tgb-home-topics a { position: relative; padding: 5px 0 15px; color: #4f5b76; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.tgb-home-topics a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--tgb-blue); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.tgb-home-topics a[aria-current="location"], .tgb-home-topics a:hover { color: var(--tgb-blue); }
.tgb-home-topics a[aria-current="location"]::after, .tgb-home-topics a:hover::after { transform: scaleX(1); }
.tgb-home-workspace__details { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 56px; }
.tgb-home-workspace__details article { min-width: 0; scroll-margin-top: 112px; }
.tgb-home-workspace__details article + article { padding-left: 64px; border-left: 1px solid var(--tgb-line); }
.tgb-home-index { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; color: var(--tgb-blue); font-size: 13px; font-weight: 700; }
.tgb-home-index::after { width: 100%; height: 1px; background: #cbdfee; content: ""; }
.tgb-home-workspace h3 { margin: 0; color: var(--tgb-navy); font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.tgb-home-workspace p { margin: 18px 0 23px; color: var(--tgb-muted); font-size: 16px; line-height: 1.75; }
.tgb-home-link { display: inline-flex; align-items: center; gap: 12px; color: var(--tgb-blue-dark); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tgb-home-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.tgb-home-link:hover svg { transform: translateX(4px); }

.tgb-home-section { padding: 86px 0; scroll-margin-top: 70px; background: #fff; }
.tgb-home-section--soft { background: #f1f9fe; }
.tgb-home-feature { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 64px; }
.tgb-home-feature--reverse { grid-template-columns: 1.22fr .78fr; }
.tgb-home-feature--reverse .tgb-home-feature__copy { grid-column: 2; grid-row: 1; }
.tgb-home-feature--reverse .tgb-home-preview { grid-column: 1; grid-row: 1; }
.tgb-home-feature__copy { min-width: 0; }
.tgb-home-section h2, .tgb-home-cta h2 { margin: 0; color: var(--tgb-navy); font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; }
.tgb-home-feature__copy > p { margin: 22px 0; color: var(--tgb-muted); font-size: 16px; line-height: 1.75; }
.tgb-home .tgb-check-list { gap: 12px; margin: 24px 0 0; padding: 0; }
.tgb-home .tgb-check-list li { margin: 0; padding-left: 25px; color: #4d6075; font-size: 14px; line-height: 1.65; }
.tgb-home .tgb-check-list li::before { top: 7px; width: 10px; height: 6px; border: 0; border-bottom: 2px solid #229eea; border-left: 2px solid #229eea; border-radius: 0; background: transparent; content: ""; transform: rotate(-45deg); }
.tgb-home .tgb-check-list a { color: var(--tgb-blue-dark); text-underline-offset: 3px; }
.tgb-home-feature__copy > .tgb-home-note { margin: 22px 0 0; font-size: 12px; }
.tgb-home .tgb-section-head { gap: 30px; margin-bottom: 32px; }
.tgb-home .tgb-gallery-grid { gap: 30px; }
.tgb-home .tgb-gallery-card { overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; font-family: inherit; box-shadow: none; }
.tgb-home .tgb-gallery-card__image { border: 1px solid #d7e5ef; border-radius: 9px; background: #fff; box-shadow: var(--home-shadow); }
.tgb-home .tgb-gallery-card__copy { padding: 23px 0 0; }
.tgb-home .tgb-gallery-card strong { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.tgb-home .tgb-gallery-card small { max-width: 500px; font-size: 14px; line-height: 1.65; }
.tgb-home-cta { padding: 78px 0 80px; text-align: center; background: #fff; }
.tgb-home-cta h2 { max-width: 800px; margin-inline: auto; }
.tgb-home-cta p { margin: 20px 0 28px; color: var(--tgb-muted); font-size: 16px; line-height: 1.7; }
.tgb-home-cta .tgb-actions { justify-content: center; }
.tgb-home-cta .tgb-button { min-width: 180px; }

/* Shared newsletter markup, data, submission and security handlers stay intact. */
.tgb-home .tgb-footer { padding-top: 0; border-top: 0; }
.tgb-home .tgb-footer-newsletter { gap: 48px; margin-bottom: 52px; padding: 38px; border: 1px solid #e6f4fd; border-radius: 12px; background: #eef8fe; color: var(--tgb-muted); box-shadow: none; }
.tgb-home .tgb-footer-newsletter::before, .tgb-home .tgb-footer-newsletter__orb { display: none; }
.tgb-home .tgb-footer-newsletter__eyebrow { margin-bottom: 9px; color: var(--tgb-blue-dark); font-size: 11px; }
.tgb-home .tgb-footer-newsletter h2 { max-width: 420px; color: var(--tgb-navy); font-size: 28px; line-height: 1.2; }
.tgb-home .tgb-footer-newsletter__copy p { margin-top: 12px; color: var(--tgb-muted); font-size: 13px; line-height: 1.65; }
.tgb-home .tgb-footer-newsletter__form { min-width: 0; gap: 12px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.tgb-home .tgb-footer-newsletter__fields { min-width: 0; }
.tgb-home .tgb-footer-newsletter__fields label > span { color: #4f5e78; font-size: 12px; font-weight: 600; }
.tgb-home .tgb-footer-newsletter__fields input { height: 46px; border: 1px solid #cbdfee; border-radius: 6px; background: #fff; font-family: inherit; font-size: 13px; }
.tgb-home .tgb-footer-newsletter__submit { min-width: 116px; height: 46px; border-radius: 6px; background: var(--tgb-blue); color: #fff; font-size: 13px; font-weight: 700; }
.tgb-home .tgb-footer-newsletter__submit:hover { background: var(--tgb-blue-dark); }
.tgb-home .tgb-footer-newsletter__privacy { color: #61708a; font-size: 11px; }
.tgb-home .tgb-footer__grid { gap: 48px; padding-bottom: 38px; }
.tgb-home .tgb-footer__brand .tgb-brand img { width: 205px; }
.tgb-home .tgb-footer__brand p { font-size: 13px; line-height: 1.7; }
.tgb-home .tgb-footer__grid h2 { font-size: 14px; }
.tgb-home .tgb-footer__grid > div:not(:first-child) a { font-size: 13px; }
.tgb-home .tgb-footer__bottom { padding-right: 76px; font-size: 11px; line-height: 1.7; }

@media (prefers-reduced-motion: no-preference) {
    .tgb-home-hero__copy { animation: home-intro .65s cubic-bezier(.2,.65,.3,1) both; }
    .tgb-home-hero__preview { animation: home-intro .8s .12s cubic-bezier(.2,.65,.3,1) both; }
    .tgb-home-plane { animation: home-plane 7s ease-in-out infinite; }
    .tgb-home-motion [data-home-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.65,.3,1); }
    .tgb-home-motion [data-home-reveal].is-revealed { opacity: 1; transform: none; }
}
@keyframes home-intro { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes home-plane { 0%,100% { transform: translate(0,0) rotate(-7deg); } 50% { transform: translate(5px,-6px) rotate(-4deg); } }
@media (max-width: 1200px) {
    .tgb-home .tgb-container { width: calc(100% - 64px); }
    .tgb-home .tgb-header__inner { gap: 18px; }
    .tgb-home .tgb-header .tgb-brand img { width: 184px; }
    .tgb-home .tgb-nav { gap: 18px; }
    .tgb-home .tgb-nav a { font-size: 13px; }
    .tgb-home .tgb-header__actions { gap: 9px; }
    .tgb-home .tgb-header__actions .tgb-button { padding-inline: 16px; font-size: 13px; }
    .tgb-home-feature { gap: 40px; }
    .tgb-home-workspace__details { gap: 40px; }
    .tgb-home-workspace__details article + article { padding-left: 40px; }
}
@media (max-width: 1030px) {
    .tgb-home .tgb-header { height: 68px; }
    .tgb-home .tgb-header__inner { justify-content: space-between; }
    .tgb-home .tgb-nav-toggle { display: flex; margin-left: auto; }
    .tgb-home .tgb-nav { position: absolute; top: 68px; right: 24px; left: 24px; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--tgb-line); border-radius: 10px; background: #fff; box-shadow: var(--home-shadow); }
    .tgb-home .tgb-nav.is-open { display: grid; }
    .tgb-home .tgb-nav a { padding: 13px 16px; border-radius: 5px; font-size: 15px; }
    .tgb-home .tgb-nav a::after { display: none; }
    .tgb-home .tgb-nav a[aria-current="page"] { background: #eef8fe; }
    .tgb-home .tgb-header__actions { display: flex; }
    .tgb-home-hero { padding-top: 40px; }
    .tgb-home-feature, .tgb-home-feature--reverse { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tgb-home-section { padding-block: 68px; }
    .tgb-home-topics { gap: 24px; }
    .tgb-home-topics a { font-size: 13px; }
    .tgb-home .tgb-footer-newsletter { grid-template-columns: 1fr; gap: 26px; }
    .tgb-home .tgb-footer-newsletter h2 { max-width: none; }
}
@media (max-width: 760px) {
    .tgb-home .tgb-container { width: calc(100% - 40px); }
    .tgb-home .tgb-header .tgb-brand img { width: 166px; }
    .tgb-home .tgb-header__actions { display: none; }
    .tgb-home .tgb-nav { right: 20px; left: 20px; }
    .tgb-home-mobile-actions { display: flex; gap: 10px; padding: 12px 14px 8px; border-top: 1px solid var(--tgb-line); }
    .tgb-home .tgb-nav .tgb-home-mobile-actions .tgb-button { flex: 1; min-height: 44px; padding: 10px; font-size: 13px; }
    .tgb-home-hero h1 { font-size: clamp(37px, 7.4vw, 56px); }
    .tgb-home-hero__copy > p { max-width: 530px; font-size: 17px; }
    .tgb-home-desktop-break { display: none; }
    .tgb-home-hero .tgb-actions .tgb-button { min-width: 0; padding-inline: 23px; font-size: 14px; }
    .tgb-home-hero .tgb-platform-line { gap: 10px; font-size: 11px; }
    .tgb-home-hero .tgb-platform-line > span + span::before { display: none; }
    .tgb-home-hero .tgb-os-icon { width: 17px; height: 18px; }
    .tgb-home-hero__preview { margin-top: 25px; border-radius: 6px; }
    .tgb-home-routes { top: 65px; height: 260px; opacity: .65; }
    .tgb-home-routes .tgb-home-plane { top: 15px; right: 3%; width: 25px; height: 25px; }
    .tgb-home-workspace { padding-top: 30px; padding-bottom: 52px; }
    .tgb-home-workspace h2 { max-width: 500px; margin-inline: auto; font-size: 30px; }
    .tgb-home-topics { flex-wrap: wrap; gap: 5px 24px; margin-top: 20px; }
    .tgb-home-topics a { padding-bottom: 10px; font-size: 13px; }
    .tgb-home-workspace__details { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
    .tgb-home-workspace__details article + article { padding-left: 0; border-left: 0; }
    .tgb-home-workspace h3 { font-size: 23px; }
    .tgb-home-workspace p { font-size: 15px; }
    .tgb-home-section { padding-block: 52px; }
    .tgb-home-feature, .tgb-home-feature--reverse { grid-template-columns: 1fr; gap: 30px; }
    .tgb-home-feature--reverse .tgb-home-feature__copy, .tgb-home-feature--reverse .tgb-home-preview { grid-column: auto; grid-row: auto; }
    .tgb-home-index { margin-bottom: 20px; }
    .tgb-home-feature__copy > p { margin-block: 18px; font-size: 15px; }
    .tgb-home .tgb-check-list { margin-top: 20px; }
    .tgb-home .tgb-section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .tgb-home .tgb-gallery-grid { grid-template-columns: 1fr; gap: 35px; }
    .tgb-home-cta { padding-block: 54px; }
    .tgb-home-cta p { font-size: 15px; }
    .tgb-home-cta .tgb-button { min-width: 0; font-size: 14px; }
    .tgb-home .tgb-footer-newsletter { margin-bottom: 38px; padding: 26px 22px; border-radius: 9px; }
    .tgb-home .tgb-footer-newsletter h2 { font-size: 26px; }
    .tgb-home .tgb-footer-newsletter__form { grid-template-columns: 1fr; gap: 14px; }
    .tgb-home .tgb-footer-newsletter__fields { grid-template-columns: 1fr; gap: 14px; }
    .tgb-home .tgb-footer-newsletter__submit { width: 100%; }
    .tgb-home .tgb-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .tgb-home .tgb-footer__brand { grid-column: 1 / -1; }
    .tgb-home .tgb-footer__bottom { flex-direction: column; gap: 8px; padding-right: 0; padding-bottom: 82px; }
}
@media (max-width: 380px) {
    .tgb-home-hero h1 { font-size: 33px; }
    .tgb-home-hero .tgb-actions { gap: 10px; }
    .tgb-home-hero .tgb-actions .tgb-button { padding-inline: 17px; font-size: 13px; }
    .tgb-home-hero .tgb-platform-line { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .tgb-home-motion [data-home-reveal] { opacity: 1; transform: none; }
}
