:root {
  --tg-navy: #09287d;
  --tg-navy-dark: #061a52;
  --tg-gold: #ff9e16;
  --tg-gold-dark: #e08600;
  --tg-ink: #14213d;
  --tg-muted: #55607a;
  --tg-soft: #f2f5fb;
}

body { overflow-x: hidden; }

.tg-page p { font-size: 1rem; color: var(--tg-muted); }
.tg-page h1, .tg-page h2 { font-weight: 800; letter-spacing: -.02em; color: var(--tg-ink); }
.tg-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
.tg-page h3, .tg-page h4 { color: var(--tg-ink); font-weight: 700; line-height: 1.35; }
.tg-soft { background: var(--tg-soft); }
.tg-head { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.tg-head p { margin: .75rem 0 0; line-height: 1.7; }
.tg-page .tg-eyebrow { margin: 0 0 .5rem; color: #c27200; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tg-page .tg-sub { color: var(--tg-ink); font-weight: 600; }
.tg-page .tg-group-title { margin: 0 0 1.25rem; font-size: 1.15rem; }

/* Buttons */
.tg-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.tg-btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.5rem; border: 0; border-radius: 8px;
  background: var(--tg-gold); color: var(--tg-navy-dark); font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; transition: background-color .2s ease;
}
.tg-btn:hover { background: var(--tg-gold-dark); color: var(--tg-navy-dark); }
.tg-btn i { font-size: .8em; transition: transform .2s ease; }
.tg-btn:hover i { transform: translateX(3px); }
.tg-btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.tg-btn--light:hover { background: rgba(255,255,255,.14); color: #fff; }
.tg-btn--white { background: #fff; }
.tg-btn--white:hover { background: #ffe9c9; }

/* Hero */
.tg-hero { background: radial-gradient(800px 380px at 90% 10%, rgba(255,158,22,.25), transparent 70%), linear-gradient(135deg, var(--tg-navy), var(--tg-navy-dark)); }
.tg-page .tg-hero h1 { margin: 0 0 1rem; color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.15; }
.tg-page .tg-hero p { margin: 0 0 1.75rem; color: rgba(255,255,255,.85); font-size: 1.15rem; }
.tg-hero-card { margin-bottom: 1rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: rgba(255,255,255,.08); }
.tg-hero-card:last-child { margin-bottom: 0; }
.tg-hero-card img { height: 40px; width: auto; margin-bottom: .9rem; }
.tg-page .tg-hero-card h3 { margin-bottom: .25rem; color: #fff; font-size: 1.1rem; }
.tg-page .tg-hero-card p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }

/* Stats */
.tg-stat { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.75rem 1.25rem; border-radius: 16px; background: var(--tg-soft); text-align: center; }
.tg-stat strong { color: var(--tg-navy); font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.tg-stat img { height: 70px; width: auto; }
.tg-stat span { color: var(--tg-muted); font-size: .95rem; font-weight: 600; }

/* Cards */
.tg-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,61,.1); transition: transform .3s ease, box-shadow .3s ease; }
.tg-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(9,40,125,.2); }
.tg-img-wrapper { display: flex; align-items: center; justify-content: center; flex: none; height: 200px; padding: 1rem; background: linear-gradient(135deg, #f6f8fd, #e6ecf8); }
.tg-img-wrapper img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tg-logo-wrapper { height: 130px; background: #fff; }
.tg-logo-wrapper img { max-height: 56px; }
.tg-product .tg-img-wrapper { height: 110px; background: linear-gradient(135deg, var(--tg-navy), var(--tg-navy-dark)); }
.tg-product .tg-img-wrapper img { height: 48px; }
.tg-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.tg-text-wrapper { flex: 1; margin-bottom: 1.1rem; }
.tg-page .tg-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.tg-page .tg-card p { font-size: .93rem; line-height: 1.6; }
.tg-tag { display: inline-block; margin-bottom: .6rem; padding: .15rem .7rem; border-radius: 999px; background: #e3e9f8; color: var(--tg-navy); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tg-points { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--tg-muted); font-size: .92rem; line-height: 1.6; }
.tg-points li { margin-bottom: .5rem; }
.tg-points li::marker { color: var(--tg-gold); }
.tg-points strong { color: var(--tg-ink); }
.tg-page .tg-card p strong, .tg-page .tg-points li strong { color: var(--tg-navy); }

/* Feature cards */
.tg-feat { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem 1.5rem 1.4rem; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,61,.1); transition: transform .3s ease, box-shadow .3s ease; }
.tg-feat:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(9,40,125,.18); }
.tg-feat-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 1rem; border-radius: 50%; background: #e3e9f8; color: var(--tg-navy); font-size: .85rem; }
.tg-page .tg-feat h4 { margin-bottom: .5rem; font-size: 1.02rem; }
.tg-page .tg-feat p { margin: 0 0 .5rem; font-size: .92rem; line-height: 1.6; }
.tg-feat p:last-of-type { flex: 1; }
.tg-page .tg-feat p:last-child { margin-bottom: 0; }
.tg-feat .tg-link { margin-top: .75rem; }
.tg-link { padding: 0; border: 0; background: none; color: var(--tg-navy); font-size: .85rem; font-weight: 700; cursor: pointer; }
.tg-link:hover { color: #c27200; }
.tg-link i { margin-left: .35rem; font-size: .8em; transition: transform .2s ease; }
.tg-link:hover i { transform: translateX(3px); }
.tg-page .tg-em { color: var(--tg-ink); font-weight: 600; }
.tg-tile { display: flex; align-items: center; }
.tg-page .tg-tile p { margin: 0; color: var(--tg-ink); font-weight: 600; }
.tg-photo { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 8px 28px rgba(20,33,61,.12); }
.tg-page .tg-note { max-width: 820px; margin: 2rem auto 0; text-align: center; font-size: .92rem; }
.tg-page .tg-tagline { max-width: 820px; margin: 0 auto; color: var(--tg-navy); font-size: 1.2rem; font-weight: 700; text-align: center; }

/* Tabs */
.tg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2rem; padding: 0; border: 0; }
.tg-tabs .nav-link { padding: .6rem 1.3rem; border: 2px solid #d5dcee; border-radius: 999px; background: #fff; color: var(--tg-ink); font-size: .92rem; font-weight: 700; transition: background-color .2s ease, border-color .2s ease; }
.tg-tabs .nav-link:hover { border-color: var(--tg-navy); color: var(--tg-navy); }
.tg-tabs .nav-link.active { border-color: var(--tg-navy); background: var(--tg-navy); color: #fff; }
.tg-tabs .nav-link.active::before { content: '\f00c'; margin-right: .5rem; color: var(--tg-gold); font: 900 .8em 'Font Awesome 6 Free'; }
.tg-panel-head { max-width: 820px; margin: 0 auto 1.75rem; text-align: center; }
.tg-page .tg-panel-head h3 { margin-bottom: .5rem; font-size: 1.35rem; font-weight: 800; }
.tg-panel-head p { margin: 0; }

/* Platform capability summary cards */
.tg-cap { height: 100%; padding: 1.5rem; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,61,.1); }
.tg-cap-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.tg-cap-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tg-navy); color: var(--tg-gold); font-size: 1rem; }
.tg-page .tg-cap-label { margin: 0; color: #c27200; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tg-page .tg-cap h3 { margin-bottom: 1rem; font-size: 1.1rem; line-height: 1.4; }
.tg-cap-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.tg-cap-list li { padding: .3rem .8rem; border-radius: 999px; background: #e9eefa; color: var(--tg-navy); font-size: .82rem; font-weight: 600; }
.tg-cap-more summary { color: var(--tg-navy); font-size: .85rem; font-weight: 700; cursor: pointer; }
.tg-cap-more dl { margin: .9rem 0 0; }
.tg-cap-more dt { margin-top: .75rem; color: var(--tg-ink); font-size: .9rem; font-weight: 700; }
.tg-cap-more dd { margin: .15rem 0 0; color: var(--tg-muted); font-size: .88rem; line-height: 1.55; }

/* Vertical tabs (Lynx capabilities) */
.tg-vtabs { gap: .6rem; padding: .75rem; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(20,33,61,.1); }
.tg-vtabs .nav-link { display: flex; align-items: center; gap: .85rem; padding: .8rem .9rem; border: 0; border-radius: 12px; background: none; color: var(--tg-ink); font-size: .95rem; font-weight: 700; text-align: left; transition: background-color .2s ease; }
.tg-vtabs .nav-link:hover { background: var(--tg-soft); }
.tg-vtabs .nav-link.active { background: var(--tg-navy); color: #fff; }
.tg-vtab-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #e3e9f8; color: var(--tg-navy); font-size: .9rem; }
.tg-vtabs .nav-link.active .tg-vtab-icon { background: var(--tg-gold); color: var(--tg-navy-dark); }
.tg-vpanes { height: 100%; }
.tg-pane-head { margin-bottom: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 18px; background: linear-gradient(135deg, var(--tg-navy), var(--tg-navy-dark)); }
.tg-page .tg-pane-head h3 { margin-bottom: .4rem; color: #fff; font-size: 1.3rem; font-weight: 800; }
.tg-page .tg-pane-head p { margin: 0; color: rgba(255,255,255,.85); }
.tg-step { display: flex; gap: 1.1rem; margin-bottom: .9rem; padding: 1.25rem 1.4rem; border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgba(20,33,61,.08); }
.tg-step:last-child { margin-bottom: 0; }
.tg-step-num { flex: none; color: var(--tg-gold); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.tg-page .tg-step h4 { margin-bottom: .35rem; font-size: 1.02rem; }
.tg-page .tg-step p { margin: 0; font-size: .92rem; line-height: 1.6; }

/* Dark sections */
.tg-dark { background: linear-gradient(135deg, var(--tg-navy-dark), #0d2c7a); }
.tg-page .tg-dark h2, .tg-page .tg-dark h3 { color: #fff; }
.tg-page .tg-dark p { color: rgba(255,255,255,.82); }
.tg-page .tg-dark .tg-eyebrow { color: var(--tg-gold); }
.tg-page .tg-dark .tg-lead { color: var(--tg-gold); font-size: 1.2rem; font-weight: 700; }
.tg-lockup { max-width: 320px; width: 100%; height: auto; }
.tg-dark-card { height: 100%; padding: 1.5rem 1.6rem; border-radius: 16px; background: rgba(255,255,255,.08); }
.tg-dark-card .tg-points { margin-top: .75rem; color: rgba(255,255,255,.85); }

/* CTA */
.tg-cta { background: var(--tg-navy); }
.tg-page .tg-cta h2 { margin-bottom: .75rem; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.tg-page .tg-cta p { max-width: 680px; margin: 0 auto 1.5rem; color: rgba(255,255,255,.85); line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  .tg-btn, .tg-card, .tg-feat, .tg-btn i, .tg-link i, .tg-tabs .nav-link, .tg-vtabs .nav-link { transition: none; }
}
