:root {
    --tg-ink: #102033;
    --tg-muted: #4d6277;
    --tg-surface: #ffffff;
    --tg-bg: #f5f8fc;
    --tg-border: #dce4ee;
    --tg-accent: #ff5a36;
    --tg-accent-2: #ffb347;
    --tg-cobalt: #0f2d55;
    --tg-cobalt-soft: #1f4576;
    --tg-shadow: 0 18px 40px rgba(16, 32, 51, 0.12);
    --tg-radius-lg: 24px;
    --tg-radius-md: 16px;
}

.tg-hero *,
.tg-section *,
.tg-site-header *,
.tg-site-footer *,
.tg-demo-card *,
.auth-modal * {
    box-sizing: border-box;
}

.tg-hero,
.tg-section,
.tg-site-header,
.tg-site-footer,
.tg-demo-card,
.auth-modal {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    color: var(--tg-ink);
    line-height: 1.55;
}

.tg-section h1,
.tg-section h2,
.tg-section h3,
.tg-section h4,
.tg-site-footer h4 {
    margin: 0;
    color: var(--tg-ink);
    letter-spacing: -0.02em;
}

.tg-hero h1,
.tg-hero h2,
.tg-hero h3,
.tg-hero h4 {
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.tg-hero p,
.tg-section p,
.tg-site-footer p,
.tg-cta-band p {
    margin: 0;
}

.tg-container {
    width: min(1160px, 92vw);
    margin: 0 auto;
}

.mdl-layout__header.tg-site-header {
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(10px);
    color: var(--tg-ink);
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.tg-header-row {
    min-height: 64px;
}

.tg-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.tg-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    box-shadow: 0 10px 24px rgba(15, 45, 85, 0.22);
}

.tg-brand-text {
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--tg-ink) !important;
    letter-spacing: -0.01em;
}

.tg-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tg-site-header .tg-nav-link {
    color: var(--tg-ink) !important;
    display: inline-flex !important;
    opacity: 0.88;
    font-size: 0.84rem;
    font-weight: 520;
    border-radius: 999px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    padding: 0.44rem 0.72rem;
}

.tg-site-header .tg-nav-link:hover {
    opacity: 1;
    background: rgba(15, 45, 85, 0.07);
}

.tg-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 650;
    font-size: 0.84rem;
    line-height: 1;
    padding: 0.62rem 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.tg-header-auth,
.tg-header-drawer-auth {
    display: none;
    align-items: center;
    gap: 6px;
}

.tg-header-drawer-auth {
    width: 100%;
}

.tg-header-auth--logged-in .header-account {
    min-width: 92px;
    justify-content: center;
}

.tg-btn:hover {
    transform: translateY(-1px);
}

.tg-btn--primary {
    color: #fff !important;
    background: linear-gradient(120deg, var(--tg-accent), var(--tg-accent-2));
    box-shadow: 0 14px 24px rgba(255, 90, 54, 0.28);
}

.tg-btn--primary:hover {
    box-shadow: 0 16px 28px rgba(255, 90, 54, 0.34);
}

.tg-btn--secondary {
    color: var(--tg-cobalt) !important;
    background: rgba(15, 45, 85, 0.08);
}

.tg-btn--secondary:hover {
    background: rgba(15, 45, 85, 0.15);
}

.tg-btn--ghost {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.12);
}

.tg-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.23);
}

.tg-btn--light {
    color: var(--tg-cobalt) !important;
    background: #fff;
}

.tg-btn--light:hover {
    background: #f4f8ff;
}

.tg-btn--xl {
    padding: 0.95rem 1.45rem;
    font-size: 0.97rem;
}

.tg-drawer .mdl-layout-title {
    padding: 20px 16px 8px;
}

.tg-drawer .mdl-navigation__link {
    color: var(--tg-ink) !important;
    font-weight: 510;
}

.tg-drawer .mdl-navigation__link i {
    margin-right: 12px;
    font-size: 20px;
    vertical-align: middle;
}

.tg-drawer .tg-drawer-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--tg-ink) !important;
    font-weight: 700;
}

.tg-drawer .tg-drawer-brand img {
    border-radius: 10px;
}

.tg-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 118px 0 96px;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.05), transparent 34%),
        linear-gradient(180deg, #173f71 0%, #0f2d55 48%, #091e3b 100%);
    color: #fff;
}

.tg-hero::before,
.tg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.tg-hero::before {
    background:
        linear-gradient(110deg, rgba(255, 179, 71, 0.18) 0%, rgba(255, 179, 71, 0.05) 20%, transparent 36%),
        linear-gradient(292deg, rgba(255, 90, 54, 0.16) 0%, rgba(255, 90, 54, 0.04) 16%, transparent 32%),
        radial-gradient(120% 95% at 50% -10%, rgba(255, 255, 255, 0.1), transparent 44%);
}

.tg-hero::after {
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 144px 144px;
}

.tg-hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 42px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
}

.tg-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #b9ffda;
}

.tg-hero-title {
    font-size: clamp(2.15rem, 4vw, 3.75rem);
    line-height: 1.08;
    color: #fff !important;
    margin-bottom: 18px;
}

.tg-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    max-width: 58ch;
    font-size: 1.06rem;
}

.tg-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tg-metrics {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tg-metric {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 14px;
    padding: 12px 14px;
}

.tg-metric strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #fff;
}

.tg-metric span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.77);
}

.tg-demo-card {
    border-radius: var(--tg-radius-lg);
    padding: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.tg-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tg-demo-tab {
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tg-demo-tab.is-active {
    color: var(--tg-cobalt);
    background: #fff;
}

.tg-demo-panel {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(4, 14, 27, 0.42);
    font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
    font-size: 0.89rem;
    line-height: 1.5;
    color: #dfefff;
    min-height: 220px;
    padding: 16px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.tg-demo-output {
    color: #baf8d5;
    margin-top: 8px;
    font-weight: 500;
}

.tg-inline-link {
    display: inline-block !important;
    margin-top: 14px;
    color: #fff !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.tg-hero a:not(.tg-btn):not(.tg-inline-link),
.tg-section a:not(.tg-btn):not(.tg-inline-link),
.tg-cta-band a:not(.tg-btn):not(.tg-inline-link),
.tg-site-footer a:not(.tg-btn):not(.tg-inline-link) {
    color: inherit !important;
    font-weight: inherit;
    display: inline !important;
}

.tg-site-footer a.tg-footer-brand {
    display: inline-flex !important;
}

.tg-section {
    padding: 86px 0;
}

.tg-section--white {
    background: #fff;
}

.tg-section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tg-section-title h2 {
    font-size: clamp(1.85rem, 3vw, 2.85rem);
    margin-bottom: 14px;
}

.tg-section-title p {
    color: var(--tg-muted);
    font-size: 1.03rem;
}

.tg-gradient-text {
    background: linear-gradient(100deg, #ff5a36, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tg-tool-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tg-tool-card {
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-md);
    padding: 24px;
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tg-shadow);
}

.tg-tool-card .material-icons {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(120deg, var(--tg-accent), var(--tg-accent-2));
    margin-bottom: 14px;
}

.tg-tool-card h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
}

.tg-tool-card p {
    color: var(--tg-muted);
    font-size: 0.95rem;
}

.tg-feature-layout {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tg-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-md);
    padding: 20px;
}

.tg-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-cobalt);
    background: rgba(15, 45, 85, 0.1);
    flex-shrink: 0;
}

.tg-feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.tg-feature-item p {
    color: var(--tg-muted);
    font-size: 0.92rem;
}

.tg-trust-showcase {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, rgba(244, 248, 252, 0.5), rgba(255, 255, 255, 0.98));
    overflow: hidden;
}

.tg-trust-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.tg-trust-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tg-muted);
}

.tg-trust-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tg-trust-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 45, 85, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--tg-cobalt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tg-trust-arrow:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(15, 45, 85, 0.24);
    box-shadow: 0 12px 24px rgba(16, 32, 51, 0.1);
}

.tg-trust-arrow:disabled {
    cursor: default;
    opacity: 0.34;
    box-shadow: none;
}

.tg-trust-scroller {
    padding: 0 max(4vw, 20px) 10px;
}

.tg-trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.tg-trust-logo {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 1 150px;
    max-width: 200px;
    max-height: 180px;
    padding: 20px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(15, 45, 85, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
    text-decoration: none !important;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.tg-trust-logo:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 45, 85, 0.2);
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.1);
}

.tg-trust-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-trust-name {
    display: block !important;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(16, 32, 51, 0.76);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.tg-trust-logo img {
    display: block;
    max-width: 140px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.68;
    transition: filter 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.tg-trust-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

.tg-trust-logo:hover .tg-trust-name {
    opacity: 1;
    transform: translateY(0);
    color: var(--tg-cobalt);
}

.tg-cta-band {
    margin-top: 42px;
    border-radius: 26px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: linear-gradient(120deg, #ff5a36, #ffb347);
    color: #fff;
    box-shadow: 0 18px 34px rgba(255, 90, 54, 0.34);
}

.tg-cta-band h3 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.7rem;
}

.tg-cta-band p {
    opacity: 0.95;
}

.tg-site-footer {
    margin-top: 82px;
    background: #0c1f37;
    color: #d6e2f0;
    padding-top: 56px;
}

.tg-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tg-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.tg-footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.tg-site-footer h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.tg-site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tg-site-footer li {
    margin-bottom: 8px;
}

.tg-site-footer a:not(.tg-btn) {
    color: #d6e2f0 !important;
    text-decoration: none;
}

.tg-site-footer a:not(.tg-btn):hover {
    color: #fff !important;
}

.tg-site-footer .tg-btn--light {
    background: #1f4576;
    color: #fff !important;
}

.tg-site-footer .tg-btn--light:hover {
    background: #2a5a96;
    color: #fff !important;
}

.tg-site-footer .tg-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #d6e2f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tg-site-footer .tg-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

.tg-footer-subtext {
    color: #9eb3cb;
    max-width: 38ch;
    font-size: 0.92rem;
}

.tg-footer-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tg-footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0 26px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: #a4bad2;
}

.tg-footer-bottom-links {
    display: flex;
    gap: 14px;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', 'Segoe UI', sans-serif;
}

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 21, 39, 0.64);
}

.auth-modal-content {
    position: relative;
    width: min(92vw, 430px);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 46px rgba(16, 32, 51, 0.28);
    animation: tg-modal-up 0.16s ease;
}

@keyframes tg-modal-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.auth-modal-header {
    position: relative;
    padding: 34px 30px 14px;
    text-align: center;
}

.auth-logo img {
    border-radius: 8px;
}

.auth-modal-title {
    margin-top: 12px;
    font-size: 1.45rem;
    font-weight: 720;
    color: var(--tg-ink);
}

.auth-modal-subtitle {
    margin-top: 6px;
    font-size: 0.93rem;
    color: var(--tg-muted);
}

.auth-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    color: var(--tg-muted);
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.auth-modal-close:hover {
    background: #eff4fa;
}

.auth-modal-body {
    padding: 10px 30px 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--tg-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--tg-ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #1e4f86;
    box-shadow: 0 0 0 3px rgba(30, 79, 134, 0.12);
}

.auth-input.auth-input-error {
    border-color: #d0363d;
}

.auth-input.auth-input-error:focus {
    box-shadow: 0 0 0 3px rgba(208, 54, 61, 0.14);
}

.auth-help-text {
    font-size: 0.75rem;
    color: var(--tg-muted);
}

.auth-error {
    border-radius: 10px;
    border: 1px solid #ffc8cb;
    background: #fff1f2;
    color: #ba1b22;
    padding: 10px 12px;
    font-size: 0.84rem;
}

.auth-button {
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--tg-accent), var(--tg-accent-2));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 650;
    cursor: pointer;
    position: relative;
}

.auth-button:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}

.auth-button-text {
    transition: opacity 0.2s ease;
}

.auth-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.auth-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top: 2px solid #fff;
    border-radius: 999px;
    animation: tg-spin 0.9s linear infinite;
}

@keyframes tg-spin {
    100% {
        transform: rotate(360deg);
    }
}

.auth-divider {
    margin: 18px 0;
    text-align: center;
    color: #8ba0b6;
    font-size: 0.8rem;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--tg-border);
}

.auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #fff;
}

.auth-footer {
    text-align: center;
    font-size: 0.86rem;
    color: var(--tg-muted);
}

.auth-link,
.auth-link-small {
    color: #1e4f86 !important;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover,
.auth-link-small:hover {
    text-decoration: underline;
}

.auth-help-links {
    margin-top: 6px;
}

@media (max-width: 1120px) {
    .tg-hero-grid {
        grid-template-columns: 1fr;
    }

    .tg-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 860px) {
    .tg-hero {
        padding-top: 92px;
        padding-bottom: 68px;
    }

    .tg-metrics {
        grid-template-columns: 1fr;
    }

    .tg-tool-grid,
    .tg-feature-layout,
    .tg-footer-grid {
        grid-template-columns: 1fr;
    }

    .tg-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .tg-trust-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tg-trust-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .tg-site-footer {
        margin-top: 62px;
    }
}

@media (max-width: 480px) {
    .tg-section {
        padding: 68px 0;
    }

    .auth-modal-header {
        padding: 30px 22px 12px;
    }

    .auth-modal-body {
        padding: 8px 22px 24px;
    }

    .tg-footer-bottom {
        flex-direction: column;
    }

    .tg-trust-grid {
        gap: 12px;
    }

    .tg-trust-logo {
        flex: 1 1 120px;
        max-width: 160px;
        max-height: 160px;
        padding: 16px 12px 14px;
    }

    .tg-trust-logo img {
        max-width: 100px;
        max-height: 44px;
    }
}

/* Unified model-router experience */
.tg-hero--router {
    min-height: 720px;
    box-sizing: border-box;
    padding: 104px 0 88px;
    background:
        linear-gradient(115deg, rgba(37, 101, 166, 0.2), transparent 38%),
        radial-gradient(circle at 82% 18%, rgba(255, 141, 88, 0.16), transparent 28%),
        #07182c;
}

.tg-hero--router::before {
    background-image:
        linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.tg-hero--router::after { display: none; }
.tg-hero--router .tg-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); gap: 64px; }
.tg-hero--router .tg-hero-title { font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.065em; margin-bottom: 24px; }
.tg-hero-accent { color: #ff9f69; }
.tg-hero--router .tg-hero-subtitle { font-size: 1.08rem; color: #b8c9dc; line-height: 1.75; max-width: 620px; }
.tg-hero--router .tg-btn i { margin-left: 8px; font-size: 18px; }
.tg-github-mark { margin-right: 8px; font: 700 1rem/1 'IBM Plex Mono', monospace; }
.tg-hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #a9bfd5; font-size: .78rem; }
.tg-hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.tg-hero-proof .material-icons { color: #74d5a4; font-size: 16px; }
.tg-hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .16; pointer-events: none; }
.tg-hero-glow--one { width: 340px; height: 340px; background: #ff774e; right: -160px; top: 12%; }
.tg-hero-glow--two { width: 280px; height: 280px; background: #3d9bff; left: -120px; bottom: -100px; }

.tg-routing-console { position: relative; border: 1px solid rgba(148, 186, 224, .22); border-radius: 20px; background: rgba(5, 19, 37, .84); box-shadow: 0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; backdrop-filter: blur(18px); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.tg-routing-console::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.035), transparent 30%); pointer-events: none; }
.tg-console-header, .tg-console-footer { display: flex; align-items: center; border-color: rgba(148,186,224,.15); color: #8fa9c3; font: 500 .7rem/1 'IBM Plex Mono', monospace; }
.tg-console-header { min-height: 48px; padding: 0 18px; border-bottom: 1px solid rgba(148,186,224,.15); }
.tg-console-header > span { display: flex; gap: 6px; margin-right: 18px; }
.tg-console-header > span i { width: 8px; height: 8px; border-radius: 50%; background: #324c67; }
.tg-console-header > span i:first-child { background: #ff795f; }.tg-console-header > span i:nth-child(2) { background: #ffc866; }.tg-console-header > span i:last-child { background: #63d49b; }
.tg-console-header strong { color: #c8d7e7; font-weight: 500; }.tg-console-header small { margin-left: auto; color: #72d4a1; }
.tg-console-request { margin: 18px; padding: 16px 18px; border: 1px solid rgba(148,186,224,.12); border-radius: 12px; background: #061425; color: #8099b2; font: 500 .77rem/1.8 'IBM Plex Mono', monospace; }
.tg-code-key { color: #8cc8ff; }.tg-code-string { color: #c7e8a6; }
.tg-route-trace { padding: 10px 26px 22px; }
.tg-trace-step { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 14px; align-items: center; }
.tg-trace-step > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #284867; border-radius: 10px; color: #7190af; font: 500 .7rem/1 'IBM Plex Mono', monospace; }
.tg-trace-step div strong, .tg-trace-step div small { display: block; }.tg-trace-step div strong { color: #e7f0f9; font: 600 .76rem/1.2 'IBM Plex Mono', monospace; letter-spacing: .08em; }.tg-trace-step div small { margin-top: 5px; color: #7892ab; font-size: .72rem; }
.tg-trace-step > i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(94,211,153,.13); color: #6bd6a0; font-size: 14px; }.tg-trace-step > em { color: #ff9f69; font: normal 600 .72rem/1 'IBM Plex Mono', monospace; }
.tg-trace-line { width: 1px; height: 22px; margin: 4px 0 4px 18px; background: linear-gradient(#31516f, #1d3853); }
.tg-trace-step.is-live > span { border-color: rgba(255,159,105,.5); color: #ffae7e; box-shadow: 0 0 0 5px rgba(255,159,105,.06); }
.tg-console-footer { min-height: 44px; justify-content: space-between; padding: 0 18px; border-top: 1px solid rgba(148,186,224,.15); background: rgba(2,11,22,.35); }
.tg-console-footer span { display: inline-flex; align-items: center; gap: 7px; }.tg-console-footer i { font-size: 15px; color: #ff9f69; }

.tg-provider-strip { padding: 26px 0 30px; border-bottom: 1px solid #e1e8f0; background: #fff; font-family: 'Sora',sans-serif; }
.tg-strip-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: #667d94; font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.tg-strip-heading a { display: inline-flex; align-items: center; gap: 6px; color: #1c4774; text-decoration: none; letter-spacing: 0; text-transform: none; }.tg-strip-heading i { font-size: 15px; }
.tg-provider-logo-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.tg-provider-logo-row a { min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; text-decoration: none; color: #6a7e91; transition: background .2s, transform .2s; }
.tg-provider-logo-row a:hover { background: #f3f7fb; transform: translateY(-2px); }.tg-provider-logo-row img { width: 28px; height: 28px; object-fit: contain; filter: grayscale(1); opacity: .62; }.tg-provider-logo-row a:hover img { filter: none; opacity: 1; }.tg-provider-logo-row img[src$="openai.svg"],.tg-provider-logo-row img[src$="anthropic.svg"],.tg-provider-logo-row a:hover img[src$="openai.svg"],.tg-provider-logo-row a:hover img[src$="anthropic.svg"] { filter: brightness(0) saturate(100%); }.tg-provider-logo-row span { font-size: .63rem; font-weight: 600; }

.tg-kicker { display: inline-flex; align-items: center; gap: 8px; color: #e8f2fc; font: 600 .72rem/1 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.tg-kicker::before { content:''; width: 18px; height: 2px; background: #ff9f69; }
.tg-kicker--light { color: #4d6680; }.tg-kicker--light::before { background: #ff6c43; }
.tg-catalog-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.tg-catalog-heading h2, .tg-platform-copy h2, .tg-api-showcase h2, .tg-open-source-panel h2, .tg-final-cta h2, .tg-model-detail-grid h2, .tg-fallback-block h2 { margin: 14px 0 0; color: #102033; font-size: clamp(2rem, 3.3vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.tg-catalog-heading p { color: #61758a; line-height: 1.7; }

.tg-auto-section { padding-top: 104px; }
.tg-auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tg-auto-card { position: relative; min-height: 190px; display: flex !important; flex-direction: column; gap: 18px; padding: 22px; border: 1px solid #dce6ef; border-radius: 18px; background: #f9fbfd; color: #102033 !important; text-decoration: none !important; transition: transform .22s, box-shadow .22s, border-color .22s; }
.tg-auto-card:hover { transform: translateY(-4px); border-color: #b9cde0; box-shadow: 0 22px 50px rgba(16,32,51,.1); }
.tg-auto-card--featured { grid-column: span 2; background: #0d2948; border-color: #0d2948; color: #fff !important; }.tg-auto-card--featured .tg-auto-card-copy strong { color: #fff; }.tg-auto-card--featured .tg-auto-card-copy > span { color: #adc1d6; }.tg-auto-card--featured .tg-auto-card-copy small { color: #78a6d2; }
.tg-auto-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #154a7a; background: #e7f1fa; }.tg-auto-card--featured .tg-auto-icon { color: #fff; background: linear-gradient(135deg,#ff7048,#ffa86d); }.tg-auto-icon i { font-size: 21px; }
.tg-auto-card-copy { display: flex; flex-direction: column; gap: 7px; }.tg-auto-card-copy small { color: #71869a; font: 500 .67rem/1 'IBM Plex Mono', monospace; }.tg-auto-card-copy strong { font-size: 1.25rem; }.tg-auto-card-copy > span { color: #5d7287; font-size: .84rem; line-height: 1.55; }
.tg-auto-arrow { position: absolute; top: 22px; right: 22px; color: #91a5b8; font-size: 18px; }
.tg-auto-tech { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) 2.2fr; border: 1px solid #dfe8f1; border-radius: 16px; overflow: hidden; }
.tg-auto-tech > div { padding: 16px 18px; border-right: 1px solid #dfe8f1; }.tg-auto-tech strong, .tg-auto-tech span { display:block; }.tg-auto-tech strong { color: #174d7d; font: 700 1rem/1.2 'IBM Plex Mono',monospace; }.tg-auto-tech span { margin-top: 4px; color: #758a9d; font-size: .68rem; }.tg-auto-tech p { margin: 0; padding: 14px 20px; align-self: center; color: #657b90; font-size: .76rem; line-height:1.55; }.tg-auto-tech a { color:#174d7d !important; font-weight:700 !important; }

.tg-platform-section { background: #eef3f8; }.tg-platform-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items:center; }.tg-platform-copy p, .tg-api-showcase > div > p { margin: 22px 0; color:#5c7186; line-height:1.75; }.tg-text-link { display:inline-flex !important; align-items:center; gap:7px; color:#174d7d !important; font-weight:700 !important; text-decoration:none; }.tg-text-link i {font-size:18px;}
.tg-capability-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }.tg-capability-grid article { padding:24px; border:1px solid #d9e3ed; border-radius:17px; background:rgba(255,255,255,.7); }.tg-capability-grid article > i { width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#e3edf7;color:#174d7d;font-size:20px; }.tg-capability-grid h3 { margin:17px 0 8px; font-size:1.05rem; }.tg-capability-grid p { color:#667b8f;font-size:.82rem;line-height:1.6; }

.tg-api-showcase { display:grid;grid-template-columns:1.08fr .92fr;gap:76px;align-items:center; }.tg-code-window { overflow:hidden;border:1px solid #1c3854;border-radius:18px;background:#07192d;box-shadow:0 28px 70px rgba(11,31,51,.22); }.tg-code-tabs { min-height:48px;display:flex;align-items:center;gap:20px;padding:0 18px;border-bottom:1px solid #1a354f;color:#6f8ba7;font:500 .7rem/1 'IBM Plex Mono',monospace; }.tg-code-tabs span.is-active { color:#fff; }.tg-code-tabs em { margin-left:auto;font-style:normal;color:#6fd49e; }.tg-code-window pre { margin:0;padding:25px;overflow:auto;color:#b9cee2;font:500 .76rem/1.8 'IBM Plex Mono',monospace; }.tg-code-window code { font:inherit; }.tg-code-purple {color:#cf9fff}.tg-code-green{color:#bfe99e}.tg-check-list{list-style:none;margin:24px 0 28px;padding:0}.tg-check-list li{display:flex;gap:9px;align-items:center;margin:12px 0;color:#536b81;font-size:.86rem}.tg-check-list i{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#e1f5e9;color:#238355;font-size:14px}

.tg-open-source-section { background:#07182c; }.tg-open-source-panel { display:grid;grid-template-columns:auto 1fr auto;gap:38px;align-items:center;color:#d3e1ef; }.tg-open-source-panel h2 { color:#fff; }.tg-open-source-panel p { max-width:680px;color:#9db4cb;line-height:1.7; }.tg-oss-mark { display:flex;align-items:center;gap:8px;color:#ff9f69;font:700 2rem/1 'IBM Plex Mono',monospace; }.tg-oss-mark img { width:66px;height:66px;border-radius:17px; }.tg-open-source-panel .tg-btn i { margin-left:8px;font-size:18px; }
.tg-final-cta-section { padding-bottom:20px; }.tg-final-cta { display:flex;align-items:end;justify-content:space-between;gap:40px;padding:46px;border-radius:24px;background:linear-gradient(120deg,#f4f8fc,#fff1e9);border:1px solid #e1e8ef; }.tg-final-cta p {margin-top:12px;color:#657a8e}.tg-final-cta .tg-cta-row{margin:0;flex-shrink:0}

/* Provider and model catalogue */
.tg-catalog-page { font-family:'Sora','Segoe UI',sans-serif;color:#102033; }.tg-catalog-page * {box-sizing:border-box}.tg-catalog-hero,.tg-detail-hero{position:relative;overflow:hidden;background:#07182c;color:#fff}.tg-catalog-hero{padding:92px 0 80px}.tg-catalog-hero::after,.tg-detail-hero::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgba(255,133,79,.16),transparent 28%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:auto,48px 48px,48px 48px;pointer-events:none}.tg-catalog-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center}.tg-catalog-hero h1{margin:20px 0;color:#fff;font-size:clamp(2.8rem,5vw,5.2rem);line-height:.98;letter-spacing:-.06em}.tg-catalog-hero h1 span{color:#ff9f69}.tg-catalog-hero p{max-width:650px;color:#afc2d5;font-size:1.02rem;line-height:1.75}.tg-catalog-hero--compact .tg-container{position:relative;z-index:1}.tg-catalog-hero--compact p{max-width:760px}.tg-catalog-hero code,.tg-detail-hero code{padding:3px 7px;border-radius:6px;background:rgba(255,255,255,.08);color:#c8e5ff;font:500 .84em/1.4 'IBM Plex Mono',monospace}
.tg-router-visual{position:relative;min-height:330px;display:grid;place-items:center}.tg-router-core{position:relative;z-index:2;width:190px;height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(13,43,73,.9);box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 56px rgba(255,255,255,.018)}.tg-router-core img{width:52px;height:52px;border-radius:14px}.tg-router-core strong{margin-top:12px}.tg-router-core span{margin-top:4px;color:#7f9db9;font:500 .58rem/1 'IBM Plex Mono',monospace}.tg-router-orbits{position:absolute;inset:0;animation:tg-orbit 40s linear infinite}.tg-router-orbits img{position:absolute;width:42px;height:42px;padding:9px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#fff;object-fit:contain}.tg-router-orbits img[src$="openai.svg"],.tg-router-orbits img[src$="anthropic.svg"]{filter:brightness(0) saturate(100%)}.tg-router-orbits img:nth-child(1){left:10%;top:14%}.tg-router-orbits img:nth-child(2){right:12%;top:8%}.tg-router-orbits img:nth-child(3){right:2%;top:45%}.tg-router-orbits img:nth-child(4){right:16%;bottom:5%}.tg-router-orbits img:nth-child(5){left:17%;bottom:3%}.tg-router-orbits img:nth-child(6){left:0;top:48%}.tg-router-orbits img:nth-child(7){left:33%;top:0}.tg-router-orbits img:nth-child(8){right:36%;bottom:0}@keyframes tg-orbit{to{transform:rotate(360deg)}}.tg-router-orbits img{animation:tg-counter-orbit 40s linear infinite}@keyframes tg-counter-orbit{to{transform:rotate(-360deg)}}
.tg-catalog-content{min-height:520px}.tg-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.tg-provider-card{display:grid!important;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:20px;border:1px solid #dce6ef;border-radius:16px;background:#fafcfe;color:#102033!important;text-decoration:none!important;transition:transform .2s,border-color .2s,box-shadow .2s}.tg-provider-card:hover{transform:translateY(-3px);border-color:#bdcfdf;box-shadow:0 18px 40px rgba(16,32,51,.08)}.tg-provider-logo{width:52px;height:52px;display:grid;place-items:center;border:1px solid #e0e8f0;border-radius:14px;background:#fff;flex-shrink:0}.tg-provider-logo img{max-width:30px;max-height:30px;object-fit:contain}.tg-provider-logo img[src$="openai.svg"],.tg-provider-logo img[src$="anthropic.svg"]{filter:brightness(0) saturate(100%)}.tg-provider-logo--small{width:32px;height:32px;border-radius:9px}.tg-provider-logo--small img{max-width:19px;max-height:19px}.tg-provider-card-copy{display:flex;flex-direction:column;color:#657a8e;font-size:.78rem;line-height:1.5}.tg-provider-title{display:flex;align-items:center;gap:10px;margin-bottom:5px}.tg-provider-title strong{color:#102033;font-size:1rem}.tg-provider-title small{padding:3px 7px;border-radius:999px;background:#e8f0f7;color:#557088;font-size:.61rem}.tg-provider-card>i{color:#8aa0b4;font-size:18px}.tg-open-source-band{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:42px;border:1px solid #dce5ed;border-radius:22px;background:#fff}.tg-open-source-band h2{margin:12px 0 6px;font-size:2rem;letter-spacing:-.04em}.tg-open-source-band p{color:#637a8f}
.tg-model-toolbar{display:grid;grid-template-columns:1fr 220px auto;gap:12px;align-items:center;margin-bottom:22px}.tg-search-field{height:50px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid #d5e0ea;border-radius:12px;background:#f8fafc}.tg-search-field i{color:#71889e;font-size:20px}.tg-search-field input{width:100%;border:0;outline:0;background:transparent;color:#102033;font:500 .84rem/1 'Sora',sans-serif}.tg-model-toolbar select{height:50px;padding:0 14px;border:1px solid #d5e0ea;border-radius:12px;background:#fff;color:#304a63;font-family:inherit}.tg-model-toolbar>span{color:#71869a;font-size:.75rem;white-space:nowrap}.tg-model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tg-model-card{min-height:280px;display:flex!important;flex-direction:column;padding:20px;border:1px solid #dce6ef;border-radius:17px;background:#fafcfe;color:#102033!important;text-decoration:none!important;transition:transform .2s,box-shadow .2s,border-color .2s}.tg-model-card:hover{transform:translateY(-4px);border-color:#b9cddd;box-shadow:0 20px 45px rgba(16,32,51,.09)}.tg-model-card[hidden]{display:none!important}.tg-model-top{display:flex;align-items:center;gap:9px;color:#6d8397;font-size:.7rem}.tg-model-top>i{margin-left:auto;font-size:17px}.tg-model-card>strong{margin-top:20px;font-size:1.18rem}.tg-model-card>code{margin-top:6px;color:#3673a7;font:500 .67rem/1.4 'IBM Plex Mono',monospace;overflow-wrap:anywhere}.tg-model-card>p{margin:15px 0;color:#60758a;font-size:.78rem;line-height:1.6}.tg-model-meta{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:13px;border-top:1px solid #e2e9f0;color:#6e8397;font-size:.65rem}.tg-tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tg-tag-row small{padding:5px 8px;border-radius:999px;background:#e9f0f6;color:#526d85;font-size:.59rem}.tg-empty-state{padding:70px 20px;text-align:center;color:#6d8397;border:1px dashed #cbd9e5;border-radius:17px}
.tg-detail-hero{padding:50px 0 64px}.tg-detail-hero>.tg-container{position:relative;z-index:1}.tg-breadcrumbs{display:flex;align-items:center;gap:4px;margin-bottom:38px;color:#7e99b3;font-size:.7rem}.tg-breadcrumbs a{color:#a9bfd4;text-decoration:none}.tg-breadcrumbs i{font-size:15px}.tg-detail-title{display:flex;align-items:center;gap:24px;max-width:860px}.tg-detail-logo{width:100px;height:100px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:24px;background:#fff}.tg-detail-logo img{max-width:62px;max-height:62px;filter:brightness(0) saturate(100%)}.tg-detail-title h1{margin:12px 0 6px;color:#fff;font-size:clamp(2.4rem,4vw,4rem);letter-spacing:-.05em}.tg-detail-title p{margin:12px 0 0;max-width:720px;color:#a9bfd4;line-height:1.7}.tg-detail-actions{display:flex;gap:10px;margin-top:30px}.tg-model-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:70px}.tg-code-card{margin-top:26px;overflow:hidden;border-radius:16px;background:#07192d;box-shadow:0 24px 60px rgba(10,29,47,.16)}.tg-code-card>div{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #1d3852;color:#8ca6bf;font:500 .7rem/1 'IBM Plex Mono',monospace}.tg-code-card button{border:0;background:transparent;color:#a9c0d5;font:inherit;cursor:pointer}.tg-code-card pre{margin:0;padding:22px;overflow:auto;color:#c2d6e8;font:500 .72rem/1.8 'IBM Plex Mono',monospace}.tg-model-specs{align-self:start;padding:24px;border:1px solid #dce6ef;border-radius:17px;background:#f8fafc}.tg-model-specs h3{margin:0 0 17px}.tg-model-specs dl{margin:0}.tg-model-specs dl div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e1e8ef;font-size:.78rem}.tg-model-specs dt{color:#6b8195}.tg-model-specs dd{margin:0;color:#173b60;font-weight:600}.tg-model-specs a{color:#174d7d}.tg-fallback-block{margin-top:72px}.tg-fallback-row{display:flex;align-items:center;gap:10px;margin-top:24px;overflow-x:auto;padding-bottom:6px}.tg-fallback-row>i{color:#8ba0b4;font-size:18px}.tg-fallback-node{padding:11px 15px;border:1px solid #d5e1eb;border-radius:10px;background:#f8fafc;color:#35536e;text-decoration:none;white-space:nowrap;font-size:.73rem}.tg-fallback-node--active{border-color:#174d7d;background:#174d7d;color:#fff}

.tg-header-credit { display:inline-flex!important;align-items:center;gap:6px;padding:8px 11px;border:1px solid #dce6ef;border-radius:999px;color:#244865!important;background:#f7fafc;font:600 .72rem/1 'IBM Plex Mono',monospace;text-decoration:none!important; }.tg-header-credit i{font-size:16px;color:#3a7e5a}.tg-footer-indie{display:inline-flex;margin-top:18px;opacity:.82}.tg-footer-indie img{max-width:180px;height:auto}.tg-footer-oss{display:inline-flex!important;align-items:center;gap:6px;margin-top:14px;color:#fff!important;font-size:.74rem!important}.tg-footer-oss i{font-size:16px;color:#ff9f69}

.tg-router-orbits img[src$="openai.svg"],.tg-router-orbits img[src$="anthropic.svg"]{filter:none;background:#102033}

@media(min-width:1025px){.mdl-layout__drawer-button{display:none!important}}
@media(max-width:1024px){.mdl-layout__header.tg-site-header{display:flex!important}.tg-header-row{padding-left:72px!important}}

@media(max-width:1120px){.tg-hero--router .tg-hero-grid{grid-template-columns:1fr}.tg-routing-console{transform:none}.tg-provider-logo-row{grid-template-columns:repeat(5,1fr)}.tg-auto-grid{grid-template-columns:repeat(2,1fr)}.tg-auto-card--featured{grid-column:span 2}.tg-auto-tech{grid-template-columns:repeat(4,1fr)}.tg-auto-tech p{grid-column:1/-1;border-top:1px solid #dfe8f1}.tg-model-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.tg-hero--router{padding-top:72px;min-height:auto}.tg-hero--router .tg-hero-grid{gap:44px}.tg-catalog-heading,.tg-platform-grid,.tg-api-showcase,.tg-catalog-hero-grid,.tg-model-detail-grid{grid-template-columns:1fr;gap:36px}.tg-open-source-panel{grid-template-columns:1fr}.tg-final-cta,.tg-open-source-band{align-items:flex-start;flex-direction:column}.tg-provider-grid,.tg-capability-grid{grid-template-columns:1fr}.tg-model-toolbar{grid-template-columns:1fr}.tg-model-toolbar>span{justify-self:end}.tg-router-visual{min-height:300px}.tg-detail-title{align-items:flex-start}.tg-model-grid{grid-template-columns:1fr}.tg-catalog-hero{padding-top:70px}}
@media(max-width:600px){.tg-hero--router .tg-hero-title,.tg-catalog-hero h1{font-size:2.65rem}.tg-routing-console{border-radius:14px}.tg-console-header strong{max-width:200px;overflow:hidden;text-overflow:ellipsis}.tg-console-request{font-size:.65rem}.tg-route-trace{padding-left:18px;padding-right:18px}.tg-provider-logo-row{grid-template-columns:repeat(3,1fr)}.tg-provider-logo-row a:nth-child(n+7){display:none}.tg-auto-grid{grid-template-columns:1fr}.tg-auto-card--featured{grid-column:auto}.tg-auto-tech{grid-template-columns:repeat(2,1fr)}.tg-auto-tech>div:nth-child(2){border-right:0}.tg-auto-tech>div{border-bottom:1px solid #dfe8f1}.tg-auto-tech p{grid-column:1/-1}.tg-catalog-heading{gap:18px}.tg-detail-title{flex-direction:column}.tg-detail-logo{width:78px;height:78px}.tg-detail-logo img{max-width:48px;max-height:48px}.tg-detail-actions{flex-wrap:wrap}.tg-final-cta{padding:28px}.tg-open-source-band{padding:28px}.tg-model-meta{flex-direction:column}.tg-fallback-row{align-items:flex-start;flex-direction:column}.tg-fallback-row>i{transform:rotate(90deg);margin-left:12px}.tg-oss-mark img{width:54px;height:54px}}

/* Homepage product polish */
.tg-hero--router{min-height:660px;padding:86px 0 76px;background:radial-gradient(circle at 82% 22%,rgba(255,125,74,.18),transparent 28%),radial-gradient(circle at 12% 82%,rgba(42,125,208,.18),transparent 30%),#07182c}
.tg-hero--router .tg-hero-grid{grid-template-columns:minmax(0,.92fr) minmax(500px,1.08fr);gap:74px}
.tg-hero--router .tg-hero-title{max-width:680px;font-size:clamp(3.2rem,5vw,5.25rem);line-height:.96;margin-top:22px;margin-bottom:26px}
.tg-hero--router .tg-hero-subtitle{max-width:600px;font-size:1.05rem;line-height:1.72}
.tg-hero--router .tg-eyebrow{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.09);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.tg-hero--router .tg-cta-row{margin-top:30px}
.tg-hero-proof{margin-top:28px;gap:22px}
.tg-routing-console{border-radius:24px;transform:none;background:linear-gradient(155deg,rgba(8,28,51,.96),rgba(4,15,30,.94));box-shadow:0 38px 100px rgba(0,0,0,.42),0 0 0 1px rgba(148,186,224,.05)}
.tg-console-header{min-height:54px;padding:0 22px}.tg-console-header strong{text-transform:none;color:#d4e2ef;font-family:'Sora',sans-serif;font-weight:600;letter-spacing:0}.tg-console-header small{padding:5px 9px;border-radius:999px;background:rgba(94,211,153,.1)}
.tg-console-request{margin:20px;padding:18px 20px;font-size:.8rem;line-height:1.7}.tg-console-request .tg-code-key{display:inline-block;margin-bottom:4px;color:#7f9bb7;font-size:.65rem;letter-spacing:.1em;text-transform:uppercase}.tg-console-request .tg-code-string{color:#dfeaf4}
.tg-route-trace{padding:8px 30px 26px}.tg-trace-step div strong{font-family:'Sora',sans-serif;font-size:.79rem;letter-spacing:0;text-transform:none}.tg-trace-step div small{font-size:.7rem}.tg-trace-step>em{font-size:.65rem}.tg-console-footer{min-height:50px;padding:0 22px}
.tg-provider-strip{padding:32px 0 34px}.tg-strip-heading{margin-bottom:24px}.tg-provider-logo-row{gap:12px}.tg-provider-logo-row a{min-height:70px;border:1px solid transparent}.tg-provider-logo-row a:hover{border-color:#e5ecf2;background:#f8fafc}.tg-provider-logo-row img{width:30px;height:30px;opacity:.72}.tg-provider-logo-row span{font-size:.66rem;color:#526a80}
.tg-auto-section{padding:112px 0 104px}.tg-catalog-heading{margin-bottom:44px}.tg-catalog-heading p{max-width:520px;font-size:.96rem}
.tg-auto-showcase{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:16px;align-items:stretch}
.tg-auto-primary{position:relative;min-height:520px;display:flex!important;flex-direction:column;padding:34px;border:1px solid #173b5d;border-radius:24px;overflow:hidden;background:radial-gradient(circle at 90% 8%,rgba(255,141,88,.24),transparent 30%),linear-gradient(145deg,#12395f,#071b31 72%);color:#fff!important;text-decoration:none!important;box-shadow:0 28px 70px rgba(12,42,69,.2)}
.tg-auto-primary::after{content:'';position:absolute;width:280px;height:280px;right:-120px;bottom:-140px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 34px rgba(255,255,255,.025),0 0 0 68px rgba(255,255,255,.018)}
.tg-auto-primary-top{display:flex;align-items:center;justify-content:space-between}.tg-auto-primary .tg-auto-icon{color:#fff;background:linear-gradient(135deg,#ff7048,#ffae70)}.tg-auto-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:#c8d8e7;font-size:.68rem}.tg-auto-status i{width:6px;height:6px;border-radius:50%;background:#69daa0;box-shadow:0 0 0 4px rgba(105,218,160,.1)}
.tg-auto-primary-copy{display:flex;flex-direction:column;margin-top:42px}.tg-auto-primary-copy small{color:#7fa5c9;font:500 .68rem/1 'IBM Plex Mono',monospace}.tg-auto-primary-copy strong{max-width:430px;margin-top:14px;font-size:2.15rem;line-height:1.12;letter-spacing:-.045em}.tg-auto-primary-copy>span{max-width:470px;margin-top:16px;color:#abc0d4;font-size:.88rem;line-height:1.68}
.tg-auto-primary-example{position:relative;z-index:1;margin-top:auto;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:rgba(2,14,27,.32)}.tg-auto-primary-example small{display:block;margin-bottom:11px;color:#6f91b1;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.tg-auto-primary-example>span{display:flex;align-items:center;gap:10px;color:#e3edf6;font-size:.76rem}.tg-auto-primary-example i{color:#ff9f69;font-size:16px}.tg-auto-primary-link{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;margin-top:22px;color:#fff;font-size:.78rem;font-weight:700}.tg-auto-primary-link i{font-size:17px}
.tg-auto-list{display:grid;grid-template-rows:repeat(5,1fr);gap:10px}.tg-auto-list-item{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 20px;border:1px solid #dce6ef;border-radius:17px;background:#fbfcfe;color:#102033!important;text-decoration:none!important;transition:transform .2s,border-color .2s,box-shadow .2s}.tg-auto-list-item:hover{transform:translateX(4px);border-color:#b9cddd;box-shadow:0 15px 36px rgba(16,32,51,.08)}.tg-auto-list-item>.tg-auto-icon{width:40px;height:40px}.tg-auto-list-item>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:5px}.tg-auto-list-item strong{font-size:.96rem}.tg-auto-list-item small{overflow:hidden;color:#687e92;font-size:.72rem;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.tg-auto-list-item>i{color:#8ca1b4;font-size:18px}
.tg-auto-benefits{display:flex;flex-wrap:wrap;gap:28px;margin-top:24px;padding:0 4px;color:#5a7186;font-size:.75rem}.tg-auto-benefits span{display:inline-flex;align-items:center;gap:8px}.tg-auto-benefits i{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#e3f5eb;color:#258357;font-size:13px}
.tg-platform-section{padding:108px 0;background:linear-gradient(180deg,#f0f5f9,#eaf1f7)}.tg-capability-grid article{min-height:180px;padding:27px;border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 12px 32px rgba(28,58,87,.04)}
.tg-open-source-section{padding:82px 0}.tg-open-source-panel p{font-size:.9rem}.tg-final-cta-section{padding-top:88px;padding-bottom:40px}.tg-final-cta{padding:52px;border-radius:26px;background:radial-gradient(circle at 90% 0,rgba(255,154,99,.22),transparent 30%),linear-gradient(120deg,#f4f8fc,#fff8f3)}

@media(max-width:1120px){.tg-hero--router .tg-hero-grid{grid-template-columns:1fr;gap:50px}.tg-hero--router .tg-hero-title{max-width:760px}.tg-hero--router .tg-hero-subtitle{max-width:680px}.tg-auto-showcase{grid-template-columns:1fr}.tg-auto-primary{min-height:470px}.tg-auto-list{grid-template-rows:none;grid-template-columns:repeat(2,1fr)}.tg-auto-list-item:last-child{grid-column:1/-1}}
@media(max-width:700px){.tg-hero--router{padding:62px 0 58px}.tg-hero--router .tg-hero-title{font-size:clamp(2.75rem,13vw,3.7rem);line-height:.98}.tg-hero--router .tg-hero-subtitle{font-size:.98rem}.tg-hero--router .tg-cta-row{align-items:stretch;flex-direction:column}.tg-hero--router .tg-btn{justify-content:center}.tg-hero-proof{align-items:flex-start;flex-direction:column;gap:11px}.tg-routing-console{border-radius:18px}.tg-console-header{padding:0 15px}.tg-console-request{margin:14px;padding:15px}.tg-route-trace{padding:8px 16px 20px}.tg-trace-step{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}.tg-trace-step div small{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-console-footer{padding:0 15px;font-size:.61rem}.tg-provider-strip{padding:28px 0}.tg-strip-heading{align-items:flex-start;gap:10px}.tg-strip-heading span{max-width:190px;line-height:1.5}.tg-provider-logo-row{grid-template-columns:repeat(3,1fr)}.tg-auto-section{padding:82px 0}.tg-catalog-heading{margin-bottom:30px}.tg-auto-primary{min-height:500px;padding:25px;border-radius:20px}.tg-auto-primary-copy{margin-top:34px}.tg-auto-primary-copy strong{font-size:1.75rem}.tg-auto-primary-example>span{align-items:flex-start;flex-direction:column}.tg-auto-primary-example i{transform:rotate(90deg)}.tg-auto-list{grid-template-columns:1fr}.tg-auto-list-item:last-child{grid-column:auto}.tg-auto-list-item small{white-space:normal}.tg-auto-benefits{align-items:flex-start;flex-direction:column;gap:12px}.tg-platform-section{padding:82px 0}.tg-final-cta{padding:30px}}

/* Win over legacy global anchor display rules. */
.tg-provider-strip .tg-provider-logo-row>a{display:flex!important}
.tg-auto-section.tg-section .tg-auto-showcase>a.tg-auto-primary{display:flex!important}
.tg-auto-section.tg-section .tg-auto-list>a.tg-auto-list-item{display:grid!important}
.tg-catalog-page .tg-section .tg-provider-grid>a.tg-provider-card{display:grid!important}
.tg-catalog-page .tg-section .tg-model-grid>a.tg-model-card{display:flex!important}
.tg-auto-primary-copy strong,.tg-auto-primary-example b{color:#fff}
.tg-auto-primary-copy>span{color:#abc0d4!important}
.tg-model-card>strong,.tg-model-card>code{display:block}
