/* ============ TOKENS ============ */
:root { --tg-primary: #0BA56A; --tg-primary-dark: #078857; --tg-primary-soft: #EAF7EF; --tg-teal: #0E7C86; --tg-teal-soft: #E8F4F5; --tg-heading: #111B24; --tg-body: #566B62; --tg-border: #DCE1E5; --tg-white: #FFFFFF; --tg-background-soft: #F7F9F7; --tg-background-muted: #F3F6F4; --tg-warning: #B7791F; --tg-warning-soft: #FBF3E4; --tg-danger: #C0392B; --tg-danger-soft: #FBEBEA; }
/* ============ RESET & BASE ============ */
.tg-main-wrap *,
.tg-main-wrap *::before,
.tg-main-wrap *::after { box-sizing: border-box; }
.tg-main-wrap { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--tg-body); background: var(--tg-white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.tg-main-wrap img { max-width: 100%; display: block; }
.tg-main-wrap ul,
.tg-main-wrap ol { margin: 0; padding: 0; list-style: none; }
.tg-main-wrap a { color: inherit; text-decoration: none; }
.tg-main-wrap button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.tg-main-wrap h1,
.tg-main-wrap h2,
.tg-main-wrap h3,
.tg-main-wrap p { margin: 0; }
.tg-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* ============ TYPE ============ */
.tg-main-wrap h1 { font-size: clamp(36px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--tg-heading); }
.tg-main-wrap h2 { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--tg-heading); }
.tg-main-wrap h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--tg-heading); }
.tg-main-wrap p,
.tg-main-wrap .body-text { font-size: 17px; line-height: 1.6; color: var(--tg-body); }
.tg-main-wrap .body-large { font-size: 18px; line-height: 1.65; color: var(--tg-body); }
.tg-main-wrap .small-text { font-size: 14px; line-height: 1.5; color: var(--tg-body); }
.tg-main-wrap :is(h1, h2, h3, h4, h5, h6)+p { margin-top: 16px; }
.tg-main-wrap .eyebrow { font-size: 12.5px; line-height: 1.2; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tg-primary); margin: 0 0 12px; }
/* ============ LAYOUT ============ */
.tg-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 80px; }
.tg-section { padding-block: 64px; }
.tg-section--soft { background: var(--tg-background-soft); }
.tg-section--muted { background: var(--tg-background-muted); }
.tg-section-label { max-width: 900px; }
.tg-section-label h2 { margin-bottom: 16px; }
.tg-section-label--side { border-left: 3px solid var(--tg-primary); padding-left: 20px; }
/* ============ BUTTONS ============ */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 24px; font-weight: 600; font-size: 14px; line-height: 1.2; transition: 250ms ease; min-height: 44px; white-space: nowrap; text-decoration: none; }
.tg-btn--sm { padding: 10px 20px; font-size: 14px; }
.tg-btn--primary { background: var(--tg-primary); color: #fff !important; }
.tg-btn--primary:hover { background: var(--tg-primary-dark); color: #fff !important; }
.tg-btn--ghost { background: transparent; color: var(--tg-heading) !important; border: 1px solid var(--tg-border); }
.tg-btn--ghost:hover { border-color: var(--tg-primary); color: var(--tg-primary) !important; }
/* ============ STATE PILLS ============ */
.tg-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; }
.tg-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tg-state--verified,
.tg-state--ok { background: var(--tg-primary-soft); color: var(--tg-primary-dark); border-color: rgba(11, 165, 106, 0.25); }
.tg-state--verified::before,
.tg-state--ok::before { background: var(--tg-primary); }
.tg-state--pending,
.tg-state--waiting { background: var(--tg-warning-soft); color: var(--tg-warning); border-color: rgba(183, 121, 31, 0.25); }
.tg-state--pending::before,
.tg-state--waiting::before { background: var(--tg-warning); }
.tg-state--bad { background: var(--tg-danger-soft); color: var(--tg-danger); border-color: rgba(192, 57, 43, 0.2); }
.tg-state--bad::before { background: var(--tg-danger); }
.tg-ok { color: var(--tg-primary-dark); }
/* ============ TABLE OF CONTENTS ============ */
.tg-toc-section { display: none; background-color: #fafafa; padding: 32px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.tg-toc-section .container-xl-custom { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 80px; }
.tg-toc-card { max-width: 100%; margin: 0 auto; background: #ffffff; border: 1px solid #e6f5ee; border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(0, 40, 22, 0.04); }
.tg-toc-trigger { width: 100%; background: none; border: none; display: flex; justify-content: space-between; align-items: center; padding: 0; color: var(--tg-heading); cursor: pointer; font-family: 'Inter', sans-serif; }
.tg-toc-trigger-text { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tg-toc-trigger-text svg { width: 22px; height: 22px; color: var(--tg-primary); flex-shrink: 0; }
.tg-toc-arrow { width: 36px; height: 36px; background: #e6f5ee; border-radius: 50%; color: var(--tg-primary-dark); display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.tg-toc-arrow svg { width: 18px; height: 18px; }
.tg-toc-card.active .tg-toc-arrow { transform: rotate(180deg); }
.tg-toc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
#toc-list-container.toc-expanded { max-height: 1200px; }
.tg-toc-nav { margin-top: 20px; padding: 20px 0 2px 20px; border-top: 1px solid #e6f5ee; border-left: 3px solid var(--tg-primary); }
.tg-toc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.tg-toc-item { margin: 0; padding: 0; }
.tg-toc-link { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #475467; font-weight: 500; padding: 4px 0; transition: color 0.2s ease; text-decoration: none; }
.tg-toc-link::before { content: ""; width: 7px; height: 7px; background-color: var(--tg-primary); border-radius: 50%; display: inline-block; flex-shrink: 0; margin-right: 4px; }
.tg-toc-link:hover,
.tg-toc-link:active { color: var(--tg-primary); text-decoration: none; }
/* ============ 1. HERO ============ */
.tg-hero { padding-block: 145px 70px; background: var(--tg-background-soft); }
.tg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.tg-hero-image { overflow: hidden; border-radius: 24px; }
.tg-hero-image img { width: 100%; height: auto; aspect-ratio: 500 / 333; object-fit: cover; }
.tg-hero-eyebrow { margin-bottom: 14px; }
.tg-hero-desc { margin-top: 20px; max-width: 46ch; }
.tg-hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.tg-hero-badges { width: 100%; overflow: hidden; padding: 18px 0; background: var(--tg-primary-soft); border-top: 1px solid rgba(11, 165, 106, 0.16); border-bottom: 1px solid rgba(11, 165, 106, 0.16); }
.tg-hero-badges-track { display: flex; width: max-content; direction: ltr; will-change: transform; animation: tg-trust-marquee 28s linear infinite normal; }
.tg-hero-badges-group { display: flex; align-items: center; flex-shrink: 0; }
.tg-hero-badges-group li { display: flex; align-items: center; flex-shrink: 0; gap: 10px; white-space: nowrap; padding: 0 26px; color: var(--tg-heading); font-size: 16px; font-weight: 600; line-height: 1.4; border-right: 1px solid rgba(17, 27, 36, 0.1); }
.tg-hero-badges-group li::before { content: "✓"; display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border-radius: 50%; background: var(--tg-primary); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
@keyframes tg-trust-marquee {
from { transform: translate3d(0, 0, 0); }
to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
.tg-hero-badges-track { animation-play-state: paused; }
}
.tg-canvas { background: #fff; border: 1px solid var(--tg-border); border-radius: 28px; padding: 28px; box-shadow: 0 16px 45px rgba(17, 27, 36, 0.08); }
.tg-canvas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.tg-canvas-id { font-size: 13px; color: var(--tg-body); font-weight: 500; }
.tg-canvas-id strong { color: var(--tg-heading); }
.tg-canvas-qr { width: 40px; height: 40px; border: 1px solid var(--tg-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.tg-canvas-track { position: relative; display: flex; justify-content: space-between; margin-bottom: 28px; }
.tg-canvas-track::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 1.5px; background: var(--tg-border); z-index: 0; }
.tg-canvas-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 25%; text-align: center; cursor: pointer; padding: 4px; border-radius: 10px; transition: 250ms ease; }
.tg-canvas-dot { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--tg-border); transition: 250ms ease; }
.tg-canvas-stage[aria-current="true"] .tg-canvas-dot { background: var(--tg-primary); border-color: var(--tg-primary); box-shadow: 0 0 0 4px var(--tg-primary-soft); }
.tg-canvas-label { font-size: 12.5px; font-weight: 600; color: var(--tg-heading); }
.tg-canvas-state { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.tg-canvas-state.tg-state--verified { background: var(--tg-primary-soft); color: var(--tg-primary-dark); }
.tg-canvas-state.tg-state--pending { background: var(--tg-warning-soft); color: var(--tg-warning); }
.tg-canvas-state.tg-state--waiting { background: var(--tg-background-muted); color: var(--tg-body); }
.tg-canvas-detail { background: var(--tg-background-soft); border: 1px solid var(--tg-border); border-radius: 18px; padding: 20px 22px; display: grid; gap: 12px; }
.tg-canvas-detail-row { display: flex; justify-content: space-between; font-size: 14px; }
.tg-canvas-detail-row span { color: var(--tg-body); }
.tg-canvas-detail-row strong { color: var(--tg-heading); font-weight: 600; }
/* ============ 2. DIAGNOSTIC STRIP ============ */
.tg-diagnostic-intro { max-width: 840px; margin-bottom: 35px; }
.tg-diagnostic-intro h2 { margin-bottom: 16px; }
.tg-diagnostic-intro a { color: var(--tg-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tg-diagnostic-explorer { border-top: 1px solid var(--tg-border); border-bottom: 1px solid var(--tg-border); }
.tg-diagnostic-tabs { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: thin; }
.tg-diagnostic-tabs button { position: relative; min-width: 0; padding: 18px 14px 16px; border: 0; border-right: 1px solid var(--tg-border); background: transparent; color: var(--tg-body); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: left; }
.tg-diagnostic-tabs button:last-child { border-right: 0; }
.tg-diagnostic-tabs button span { display: block; margin-bottom: 7px; color: var(--tg-primary); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.tg-diagnostic-tabs button::after { content: ""; position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; background: var(--tg-primary); transform: scaleX(0); transform-origin: left; transition: transform 250ms ease; }
.tg-diagnostic-tabs button:hover,
.tg-diagnostic-tabs button[aria-selected="true"] { color: var(--tg-heading); background: var(--tg-primary-soft); }
.tg-diagnostic-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tg-diagnostic-tabs button:focus-visible { outline: 2px solid var(--tg-primary); outline-offset: -2px; }
.tg-diagnostic-content { padding: 26px 24px 28px; background: linear-gradient(90deg, rgba(234, 247, 239, .75), transparent 100%); }
.tg-diagnostic-panel { display: grid; grid-template-columns: 92px minmax(240px, .75fr) minmax(0, 1.25fr); gap: 24px 36px; align-items: center; }
.tg-diagnostic-panel[hidden] { display: none; }
.tg-diagnostic-icon { display: grid; width: 88px; height: 88px; place-items: center; border-radius: 50%; background: transparent; color: var(--tg-primary-dark); }
.tg-diagnostic-icon svg { width: 54px; height: 54px; }
#tg-diagnostic-panel-3 .tg-diagnostic-icon svg [stroke],
#tg-diagnostic-panel-4 .tg-diagnostic-icon svg [stroke] { stroke-width: 4 !important; }
.tg-diagnostic-panel h3 { margin: 0; font-size: 24px; }
.tg-main-wrap .tg-diagnostic-panel p { margin: 0; max-width: none; font-size: 16px; line-height: 1.6; }
.tg-diagnostic-panel.is-changing { animation: tg-diagnostic-reveal 280ms ease; }
@keyframes tg-diagnostic-reveal {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
/* ============ 3. GENEALOGY ============ */
.tg-genealogy { background: var(--tg-background-soft); }
.tg-genealogy-intro { max-width: 880px; margin-bottom: 0; }
.tg-genealogy-explorer { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; margin-top: 35px; }
.tg-genealogy-diagram { display: flex; flex-direction: column; gap: 0; position: relative; margin: 0; padding-left: 30px; }
.tg-genealogy-diagram::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 7px; width: 2px; background: var(--tg-border); }
.tg-genealogy-node { flex: 1; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--tg-border); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; transition: 250ms ease; position: relative; cursor: pointer; }
.tg-genealogy-node:first-child { border-top: 1px solid var(--tg-border); }
.tg-genealogy-node::after { content: ""; position: absolute; left: -29px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 3px solid var(--tg-background-soft); border-radius: 50%; background: var(--tg-border); z-index: 2; }
.tg-genealogy-node.is-active { background: var(--tg-primary-soft); color: var(--tg-heading); z-index: 1; }
.tg-genealogy-node.is-active::after { background: var(--tg-primary); box-shadow: 0 0 0 4px rgba(11, 165, 106, .14); }
.tg-genealogy-node-title { font-weight: 700; color: var(--tg-heading); font-size: 15px; }
.tg-genealogy-node-id { font-size: 12px; color: var(--tg-body); letter-spacing: 0.04em; }
.tg-genealogy-detail { min-height: 230px; display: flex; align-items: center; background: linear-gradient(135deg, var(--tg-primary-soft), #fff); border: 0; border-left: 4px solid var(--tg-primary); border-radius: 0; padding: 38px 42px; box-shadow: none; }
.tg-genealogy-detail article { display: block; }
.tg-genealogy-detail article[hidden] { display: none; }
.tg-genealogy-detail h3 { margin: 0 0 14px; font-size: 26px; }
.tg-main-wrap .tg-genealogy-detail p { margin: 0; max-width: 58ch; }
.tg-genealogy-meta { display: flex; gap: 28px; margin-top: 18px; font-size: 13.5px; }
.tg-genealogy-meta strong { color: var(--tg-heading); }
/* ============ 4. STICKY LEDGER ============ */
.tg-ledger-eyebrow { margin-bottom: 12px; }
.tg-ledger-heading { max-width: 560px; margin-bottom: 35px; }
.tg-ledger-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.tg-main-wrap .tg-ledger-intro { margin-bottom: 36px; }
.tg-ledger-list li { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--tg-border); transition: 250ms ease; }
.tg-ledger-list li:last-child { border-bottom: 1px solid var(--tg-border); }
.tg-ledger-list li h3 { margin-bottom: 6px; }
.tg-ledger-list li.is-active h3 { color: var(--tg-primary-dark); }
.tg-ledger-index { font-size: 13px; font-weight: 700; color: var(--tg-primary); min-width: 26px; }
.tg-ledger-sticky { position: sticky; top: 100px; }
.tg-ledger-panel { display: flex; min-height: 260px; align-items: center; background: var(--tg-background-soft); border: 1px solid var(--tg-border); border-radius: 24px; padding: 32px; box-shadow: 0 16px 45px rgba(17, 27, 36, 0.08); }
.tg-ledger-panel-tag { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--tg-teal); margin-bottom: 20px; }
.tg-ledger-rows { display: grid; gap: 14px; }
.tg-ledger-row { display: flex; justify-content: space-between; font-size: 14.5px; padding-bottom: 12px; border-bottom: 1px solid var(--tg-border); }
.tg-ledger-row:last-child { border-bottom: none; padding-bottom: 0; }
.tg-ledger-row span { color: var(--tg-body); }
.tg-ledger-row strong { color: var(--tg-heading); font-weight: 600; }
.tg-ledger-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin: 0; padding: 0; border: 0; }
.tg-ledger-cta h3 { margin: 0 0 7px; font-size: 18px; }
.tg-main-wrap .tg-ledger-cta p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.tg-ledger-cta .tg-btn { flex-shrink: 0; padding: 10px 18px; }
/* ============ 5. AUTOMATION COMPARISON WIDGET ============ */
.tg-automation .tg-container { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(620px, 1.2fr); gap: 64px; align-items: start; }
.tg-automation .tg-section-label { max-width: 520px; padding-top: 24px; }
.tg-automation-intro { max-width: 520px; margin: 14px 0 0; }
.tg-auto-cta-card { margin-top: 28px; padding: 24px; background: var(--tg-white); border: 1px solid var(--tg-border); border-radius: 20px; box-shadow: 0 8px 30px rgba(17, 27, 36, 0.04); }
.tg-auto-cta-card h3 { margin: 0 0 8px; font-size: 18px !important; font-weight: 700; color: var(--tg-heading); line-height: 1.3; }
.tg-main-wrap .tg-auto-cta-card p { margin: 0 0 18px; font-size: 14px; color: var(--tg-body); line-height: 1.55; }
.tg-automation-cta { display: inline-flex; }
.tg-comparison-widget { width: 100%; max-width: none; margin: 0; background: var(--tg-white); border: 1px solid var(--tg-border); border-radius: 24px; padding: 32px; box-shadow: 0 16px 45px rgba(17, 27, 36, 0.08); }
.tg-comparison-slider-box { background: var(--tg-background-soft); border: 1px solid var(--tg-border); border-radius: 16px; padding: 20px 24px; margin-bottom: 24px; }
.tg-comparison-slider-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 15px; }
.tg-comparison-slider-label span:first-child { font-weight: 600; color: var(--tg-heading); }
.tg-comparison-slider-label span:last-child { font-size: 18px; font-weight: 700; color: var(--tg-primary); }
.tg-comparison-range { width: 100%; height: 6px; border-radius: 4px; background: var(--tg-border); outline: none; -webkit-appearance: none; cursor: pointer; }
.tg-comparison-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--tg-primary); box-shadow: 0 2px 8px rgba(11, 165, 106, 0.4); cursor: pointer; }
.tg-comparison-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--tg-primary); box-shadow: 0 2px 8px rgba(11, 165, 106, 0.4); cursor: pointer; border: none; }
.tg-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tg-comparison-card { border-radius: 16px; padding: 20px 24px; font-size: 14.5px; }
.tg-comparison-card--manual { background: var(--tg-danger-soft); border: 1px solid rgba(192, 57, 43, 0.25); }
.tg-comparison-card--auto { background: var(--tg-primary-soft); border: 1px solid rgba(11, 165, 106, 0.3); }
.tg-comparison-card-title { font-weight: 700; font-size: 16px; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.tg-comparison-card--manual .tg-comparison-card-title { color: var(--tg-danger); }
.tg-comparison-card--auto .tg-comparison-card-title { color: var(--tg-primary-dark); }
.tg-comparison-stat { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(17, 27, 36, 0.08); }
.tg-comparison-stat:last-child { border-bottom: none; }
.tg-comparison-stat-label { color: var(--tg-body); font-size: 13.5px; }
.tg-comparison-stat-value { font-weight: 700; font-size: 14.5px; color: var(--tg-heading); }
.tg-comparison-card--manual .tg-comparison-stat-value { color: var(--tg-danger); }
.tg-comparison-card--auto .tg-comparison-stat-value { color: var(--tg-primary-dark); }
/* ============ 6. SPECIES SECTION (MODERN BORDERLESS ROW LIST) ============ */
.tg-species { background: #ffffff; }
.tg-species-intro { max-width: 880px; margin: 14px 0 35px; }
.tg-species-list-clean { display: flex; flex-direction: column; margin-top: 35px; border-top: 1px solid var(--tg-border); }
.tg-species-row { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding: 28px 20px; border-bottom: 1px solid var(--tg-border); position: relative; transition: background-color 0.25s ease, padding-left 0.25s ease; }
.tg-species-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tg-primary); opacity: 0; transition: opacity 0.25s ease; }
.tg-species-row:hover { background-color: var(--tg-primary-soft); padding-left: 28px; }
.tg-species-row:hover::before { opacity: 1; }
.tg-species-row-head { display: flex; align-items: center; gap: 16px; }
.tg-species-index { font-size: 13px; font-weight: 800; color: var(--tg-primary-dark); letter-spacing: 0.05em; background: var(--tg-primary-soft); padding: 4px 10px; border-radius: 8px; }
.tg-species-row-head h3 { font-size: 22px; font-weight: 700; color: var(--tg-heading); margin: 0; transition: color 0.25s ease; }
.tg-species-row:hover .tg-species-row-head h3 { color: var(--tg-primary-dark); }
.tg-main-wrap .tg-species-row-body p { font-size: 15.5px; line-height: 1.65; color: var(--tg-body); margin: 0; max-width: 68ch; }
/* ============ 7. ROLES (KEEPING EVERYONE ON THE SAME TRACE) ============ */
.tg-roles { background: var(--tg-background-soft); }
.tg-main-wrap .tg-roles-intro { max-width: 880px; margin-top: 14px; margin-bottom: 35px; }
.tg-roles-intro a { color: var(--tg-primary-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tg-roles-intro a:hover { color: var(--tg-primary); }
.tg-roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 35px; }
.tg-role-card { position: relative; background: #ffffff; border: 1px solid var(--tg-border); border-radius: 20px; padding: 32px 28px; box-shadow: 0 8px 24px rgba(17, 27, 36, 0.04); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.tg-role-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--tg-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.tg-role-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(17, 27, 36, 0.08); border-color: rgba(11, 165, 106, 0.3); }
.tg-role-card:hover::before { transform: scaleX(1); }
.tg-role-card-head { display: flex; align-items: center; margin-bottom: 16px; }
.tg-role-number { color: var(--tg-primary-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; background: var(--tg-primary-soft); padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(11, 165, 106, 0.25); }
.tg-role-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--tg-heading); line-height: 1.35; font-weight: 700; }
.tg-main-wrap .tg-role-card p { font-size: 14.5px; color: var(--tg-body); line-height: 1.6; margin: 0; }
/* ============ 8. AUDIT & CHECKLIST ============ */
.tg-audit-console { border: 1px solid var(--tg-border); border-radius: 20px; overflow: hidden; margin: 36px 0 48px; }
.tg-audit .tg-section-label a { color: var(--tg-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tg-audit-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.tg-audit-row h3 { margin: 0; font-size: 16px; }
.tg-audit-table thead th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tg-body); padding: 12px 22px; background: var(--tg-background-soft); border-bottom: 1px solid var(--tg-border); font-weight: 600; }
.tg-audit-row th,
.tg-audit-row td { padding: 12px 22px; border-bottom: 1px solid var(--tg-border); font-size: 14.5px; vertical-align: middle; }
.tg-audit-row th { color: var(--tg-heading); font-weight: 600; }
.tg-audit-row td:last-child { text-align: right; }
.tg-audit-expand { font-size: 12.5px; font-weight: 600; color: var(--tg-teal); border: 1px solid var(--tg-border); padding: 5px 12px; border-radius: 999px; min-height: 30px; }
.tg-audit-expand:hover { border-color: var(--tg-teal); }
.tg-audit-detail-row td { padding: 0 24px; border-bottom: 1px solid var(--tg-border); color: var(--tg-body); font-size: 14.5px; background: var(--tg-background-soft); }
.tg-audit-detail-row:not([hidden]) td { padding: 16px 24px; }
.tg-compliance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 36px; border-bottom: 1px solid var(--tg-border); }
.tg-compliance-grid article { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; padding: 28px 4px; border-top: 1px solid var(--tg-border); }
.tg-compliance-grid article:last-child { grid-column: 1 / -1; width: calc(50% - 24px); justify-self: center; }
.tg-compliance-grid article:last-child>div { max-width: none; }
.tg-compliance-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--tg-primary-dark); }
.tg-compliance-icon svg { width: 36px; height: 36px; }
.tg-compliance-grid h3 { margin: 0 0 10px; font-size: 18px; }
.tg-main-wrap .tg-compliance-grid p { margin: 0; color: var(--tg-body); font-size: 15px; line-height: 1.6; }
.tg-checklist { background: #fff; border: 1px solid var(--tg-border); border-radius: 24px; padding: 40px 44px; box-shadow: 0 16px 45px rgba(17, 27, 36, 0.08); }
.tg-checklist h3 { margin-bottom: 10px; }
.tg-checklist h2 { margin-bottom: 12px; }
.tg-checklist>p { margin-bottom: 24px; max-width: 60ch; }
.tg-checklist-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 52px; align-items: center; margin-top: 28px; }
.tg-checklist-items { border: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tg-checklist-items label { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tg-heading); cursor: pointer; }
.tg-checklist-items input { width: 20px; height: 20px; accent-color: var(--tg-primary); flex: none; }
.tg-checklist-results { margin: 0; }
.tg-checklist-result { margin: 0; padding: 18px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; border: 1px solid var(--tg-border); background: var(--tg-background-soft); color: var(--tg-heading); transition: all 0.3s ease; }
.tg-checklist-result[data-check-result="high"] { background: var(--tg-primary-soft); border-color: rgba(11, 165, 106, 0.3); color: var(--tg-primary-dark); }
.tg-checklist-result[data-check-result="mid"] { background: var(--tg-warning-soft); border-color: rgba(183, 121, 31, 0.25); color: var(--tg-warning); }
.tg-checklist-result[data-check-result="low"] { background: var(--tg-danger-soft); border-color: rgba(192, 57, 43, 0.2); color: var(--tg-danger); }
/* ============ 9. BUSINESS VALUE (BLURRY SCROLLABLE) ============ */
.tg-value { background: var(--tg-background-soft); }
.tg-value-intro { max-width: 640px; margin: 14px 0 40px; }
.tg-value-scroll-wrap { position: relative; }
.tg-value-legend { display: flex; gap: 24px; margin: 0 44px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tg-value-legend span:first-child { color: var(--tg-danger); }
.tg-value-legend span:last-child { color: var(--tg-primary-dark); }
.tg-value-scroll { overflow-x: auto; scroll-behavior: smooth; overscroll-behavior-inline: contain; cursor: grab; padding: 0 0 14px; scrollbar-width: thin; touch-action: pan-y; user-select: none; }
.tg-value-scroll:active { cursor: grabbing; }
.tg-value-table { width: 140%; min-width: 980px; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--tg-border); border-radius: 20px; overflow: hidden; background: var(--tg-white); filter: blur(0); transition: filter 160ms ease; }
.tg-value-scroll.is-dragging .tg-value-table { filter: blur(2px); transition-duration: 60ms; }
.tg-value-table th,
.tg-value-table td { width: 50%; padding: 22px 28px; text-align: left; vertical-align: middle; border-right: 1px solid var(--tg-border); border-bottom: 1px solid var(--tg-border); }
.tg-value-table th:last-child,
.tg-value-table td:last-child { border-right: 0; }
.tg-value-table tbody tr:last-child td { border-bottom: 0; }
.tg-value-table th { font-size: 15px; color: var(--tg-heading); background: var(--tg-background-soft); }
.tg-value-table th:first-child { color: var(--tg-danger); }
.tg-value-table th:last-child { color: var(--tg-primary-dark); }
.tg-value-table td { color: var(--tg-body); font-size: 15px; line-height: 1.55; }
.tg-value-table td:last-child { color: var(--tg-heading); font-weight: 600; background: rgba(11, 165, 106, 0.035); }
.tg-value-scroll::-webkit-scrollbar { height: 6px; }
.tg-value-scroll::-webkit-scrollbar-thumb { background: var(--tg-border); border-radius: 4px; }
.tg-value-pair { flex: 0 0 360px; scroll-snap-align: start; border: 1px solid var(--tg-border); border-radius: 20px; padding: 28px; display: grid; gap: 16px; background: #fff; box-shadow: 0 8px 24px rgba(17, 27, 36, 0.04); transition: transform 0.25s ease; }
.tg-value-pair:hover { transform: translateY(-4px); }
.tg-value-before { position: relative; padding-left: 24px; color: var(--tg-body); font-size: 15px; line-height: 1.55; }
.tg-value-before::before { content: "✕"; position: absolute; left: 0; top: 2px; color: var(--tg-danger); font-size: 14px; font-weight: 700; }
.tg-value-after { position: relative; padding-left: 24px; color: var(--tg-heading); font-weight: 600; font-size: 15px; line-height: 1.55; }
.tg-value-after::before { content: "✓"; position: absolute; left: 0; top: 2px; color: var(--tg-primary); font-size: 14px; font-weight: 700; }
.tg-value-compare { --tg-value-reveal: 50%; --tg-value-blur: 7px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 560px; margin-top: 20px; border: 1px solid var(--tg-border); border-radius: 28px; overflow: hidden; background: var(--tg-background-soft); box-shadow: 0 18px 50px rgba(17, 27, 36, 0.06); }
.tg-value-side { padding: 42px 40px; }
.tg-value-side--before { border-right: 1px solid var(--tg-border); }
.tg-value-side--after { background: rgba(255, 255, 255, 0.75); }
.tg-value-after-content { filter: blur(var(--tg-value-blur)); transition: filter 120ms linear; }
.tg-value-side-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.tg-value-side-heading>span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; background: var(--tg-heading); font-size: 24px; font-weight: 700; flex: none; }
.tg-value-side--after .tg-value-side-heading>span { background: var(--tg-primary); }
.tg-value-side-heading small { display: block; margin-bottom: 4px; color: var(--tg-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tg-value-side-heading h3 { margin: 0; font-size: 25px; }
.tg-value-side ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tg-value-side li { position: relative; min-height: 68px; display: flex; align-items: center; padding: 16px 20px 16px 58px; border: 1px solid var(--tg-border); border-radius: 16px; background: #fff; color: var(--tg-heading); font-size: 15px; font-weight: 600; line-height: 1.45; }
.tg-value-side li::before { position: absolute; left: 20px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tg-background-muted); color: var(--tg-body); font-size: 15px; }
.tg-value-side--before li::before { content: "×"; }
.tg-value-side--after li::before { content: "✓"; color: var(--tg-primary-dark); background: var(--tg-primary-soft); }
.tg-main-wrap .tg-value-divider { position: absolute; z-index: 3; inset-block: 0; left: var(--tg-value-reveal); width: 3px; margin: 0; padding: 0; border: 0; background: var(--tg-primary); transform: translateX(-50%); pointer-events: none; }
.tg-value-divider span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; border: 4px solid #fff; border-radius: 50%; background: var(--tg-primary); color: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 6px 18px rgba(11, 165, 106, .28); transform: translate(-50%, -50%); }
.tg-value-reveal-control { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
/* ============ 10. TECH MAP ============ */
.tg-techmap { background: var(--tg-background-soft); }
.tg-techmap-map { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; position: relative; padding: 40px 0 32px; }
.tg-techmap-hub { width: 140px; height: 140px; border-radius: 50%; background: var(--tg-heading); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 14px; flex: none; margin: 0 24px; box-shadow: 0 16px 45px rgba(17, 27, 36, 0.18); line-height: 1.4; }
.tg-techmap-node { border: 1px solid var(--tg-border); background: #fff; border-radius: 16px; padding: 16px 20px; font-weight: 600; font-size: 14px; color: var(--tg-heading); transition: 250ms ease; margin: 8px; min-height: 44px; cursor: pointer; }
.tg-techmap-node[aria-selected="true"] { border-color: var(--tg-primary); background: var(--tg-primary-soft); color: var(--tg-primary-dark); }
.tg-techmap-detail { border: 1px solid var(--tg-border); border-radius: 18px; padding: 24px 28px; background: #fff; display: flex; flex-direction: column; gap: 6px; max-width: 520px; margin-inline: auto; }
.tg-techmap-detail article[hidden] { display: none; }
.tg-techmap-detail h3 { margin-bottom: 8px; font-size: 18px; }
.tg-main-wrap .tg-techmap-detail p { margin: 0; font-size: 14px; }
.tg-tech-stack-list { max-width: 980px; margin: 38px auto 0; }
.tg-tech-stack-list details { border-top: 1px solid var(--tg-border); }
.tg-tech-stack-list details:last-child { border-bottom: 1px solid var(--tg-border); }
.tg-tech-stack-list summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) 30px; gap: 18px; align-items: center; padding: 22px 18px; list-style: none; cursor: pointer; transition: background 250ms ease, color 250ms ease; }
.tg-tech-stack-list summary::-webkit-details-marker { display: none; }
.tg-tech-stack-list summary:hover,
.tg-tech-stack-list details[open] summary { background: var(--tg-primary-soft); }
.tg-tech-stack-list summary span { color: var(--tg-primary); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.tg-tech-stack-list summary h3 { margin: 0; font-size: 19px; }
.tg-tech-stack-list summary i { position: relative; width: 28px; height: 28px; border: 1px solid var(--tg-border); border-radius: 50%; }
.tg-tech-stack-list summary i::before,
.tg-tech-stack-list summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--tg-primary); transform: translate(-50%, -50%); transition: transform 250ms ease; }
.tg-tech-stack-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.tg-tech-stack-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.tg-main-wrap .tg-tech-stack-list details>p { margin: 0; padding: 0 76px 24px; color: var(--tg-body); font-size: 15px; line-height: 1.6; }
.tg-tech-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1180px; margin: 42px auto 0; border-top: 1px solid var(--tg-border); border-bottom: 1px solid var(--tg-border); }
.tg-tech-grid article { position: relative; min-width: 0; padding: 30px 22px 28px; border-right: 1px solid var(--tg-border); transition: background 250ms ease, transform 250ms ease; }
.tg-tech-grid article:last-child { border-right: 0; }
.tg-tech-grid article::before { content: ""; position: absolute; top: -1px; right: 0; left: 0; height: 3px; background: var(--tg-primary); transform: scaleX(0); transform-origin: left; transition: transform 250ms ease; }
.tg-tech-grid article:hover { background: rgba(234, 247, 239, .65); transform: translateY(-3px); }
.tg-tech-grid article:hover::before { transform: scaleX(1); }
.tg-tech-icon { display: block; width: 42px; height: 42px; margin-bottom: 14px; color: var(--tg-primary-dark); }
.tg-tech-icon svg { width: 100%; height: 100%; }
.tg-tech-grid h3 { min-height: 44px; margin: 0; font-size: 16.5px; line-height: 1.3; }
.tg-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tg-tech-tag { display: inline-flex; align-items: center; padding: 4px 9px; font-size: 12px; font-weight: 500; color: var(--tg-primary-dark, #0b6644); background: rgba(11, 165, 106, 0.08); border: 1px solid rgba(11, 165, 106, 0.16); border-radius: 6px; line-height: 1.3; transition: all 200ms ease; }
.tg-tech-grid article:hover .tg-tech-tag { background: rgba(11, 165, 106, 0.14); border-color: rgba(11, 165, 106, 0.28); }
/* ============ 11. ENGINE ============ */
.tg-main-wrap .tg-engine-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 32px 0 48px; }
.tg-engine-grid li { border: 1px solid var(--tg-border); border-radius: 14px; padding: 18px 14px; text-align: center; font-weight: 600; color: var(--tg-heading); font-size: 14.5px; background: var(--tg-background-soft); display: flex; align-items: center; justify-content: center; gap: 8px; }
.tg-engine-industry-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--tg-primary-dark); flex: none; }
.tg-engine-industry-icon svg { width: 26px; height: 26px; }
.tg-engine-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.tg-engine-points>div { padding: 26px 24px; border: 1px solid var(--tg-border); border-radius: 18px; background: var(--tg-white); box-shadow: 0 10px 28px rgba(17, 27, 36, 0.045); }
.tg-engine-points h3 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.tg-engine-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--tg-primary-dark); background: var(--tg-primary-soft); flex: none; }
.tg-engine-check svg { width: 17px; height: 17px; }
.tg-engine-points p { margin: 0; font-size: 14.5px; }
.tg-engine-flow-title { margin-bottom: 14px; color: var(--tg-heading); font-size: 16px; font-weight: 700; text-align: center; }
.tg-main-wrap .tg-engine-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 26px 20px 22px; list-style: none; border-block: 1px solid var(--tg-border); background: linear-gradient(90deg, rgba(11, 165, 106, .025), rgba(255, 255, 255, .9), rgba(11, 165, 106, .025)); }
.tg-engine-flow li { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; text-align: center; }
.tg-engine-flow li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 24px; left: calc(50% + 30px); width: calc(100% - 60px); height: 1px; background: linear-gradient(90deg, var(--tg-primary), var(--tg-border)); }
.tg-engine-flow-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 2px; border: 1px solid rgba(11, 165, 106, .25); border-radius: 50%; color: var(--tg-primary-dark); background: #fff; box-shadow: 0 7px 18px rgba(17, 27, 36, .07); }
.tg-engine-flow-icon svg { width: 25px; height: 25px; }
.tg-engine-flow small { color: var(--tg-primary-dark); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.tg-engine-flow strong { color: var(--tg-heading); font-size: 14px; }
/* ============ 12. CASES ============ */
.tg-cases-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.tg-cases-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1240px; margin: 36px auto 0; }
.tg-cases-item { overflow: hidden; border: 1px solid var(--tg-border); border-radius: 22px; background: var(--tg-white); box-shadow: 0 14px 38px rgba(17, 27, 36, 0.06); transition: transform 220ms ease, box-shadow 220ms ease; }
.tg-cases-item:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(17, 27, 36, 0.1); }
.tg-cases-image { display: block; overflow: hidden; aspect-ratio: 16 / 7.6; background: var(--tg-background-soft); }
.tg-cases-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.tg-cases-item:hover .tg-cases-image img { transform: scale(1.025); }
.tg-cases-content { display: flex; flex-direction: column; min-height: 225px; padding: 24px 26px 26px; }
.tg-cases-item h3 { margin-bottom: 10px; }
.tg-cases-content p { margin: 0 0 22px; }
.tg-cases-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: auto; color: var(--tg-primary-dark); font-size: 14px; font-weight: 700; }
.tg-cases-link span { display: inline-flex; align-items: center; justify-content: center; height: 1em; font-size: 20px; line-height: 1; transform: translateY(1px); transition: transform 180ms ease; position: relative; top: -3px; }
.tg-cases-link:hover,
.tg-cases-item:hover .tg-cases-link { color: var(--tg-primary); }
.tg-cases-link:hover span,
.tg-cases-item:hover .tg-cases-link span { transform: translate(4px, 1px); }
/* ============ 13. TESTIMONIALS ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.tg-testimonials-heading { max-width: 720px; }
.testi-card { background: #fff; border: 1.5px solid var(--tg-border); border-radius: 16px; padding: 28px; transition: box-shadow 0.25s ease; display: flex; flex-direction: column; justify-content: space-between; }
.testi-card:hover { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08); }
.testi-ind { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--tg-primary); margin-bottom: 12px; }
.testi-q { font-size: 14px !important; color: var(--tg-body); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-num { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: var(--tg-heading); line-height: 1.2; margin-bottom: 4px; }
.testi-title-custom { color: var(--tg-primary); font-size: 20px; font-weight: 800; margin-top: 16px; }
.testi-numlbl { font-size: 12.5px; color: var(--tg-body); margin-bottom: 18px; }
.testi-auth { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--tg-border); }
.testi-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--tg-primary-dark), var(--tg-primary)); display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testi-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--tg-heading); }
.testi-role { font-size: 12px; color: var(--tg-body); }
/* ============ 14. ONBOARD ============ */
.tg-main-wrap .tg-onboard-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.tg-onboard-steps::before { content: ""; position: absolute; top: 32px; left: 9%; right: 9%; height: 1px; background: linear-gradient(90deg, var(--tg-primary), var(--tg-border) 38%, var(--tg-primary)); }
.tg-onboard-steps li { position: relative; display: grid; align-content: start; gap: 22px; min-height: 270px; padding: 0 24px 28px; border: 1px solid var(--tg-border); border-radius: 20px; background: linear-gradient(180deg, var(--tg-background-soft), #fff 42%); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.tg-onboard-steps li:hover { transform: translateY(-5px); border-color: rgba(11, 165, 106, .3); box-shadow: 0 16px 36px rgba(17, 27, 36, .08); }
.tg-onboard-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-top: -1px; border: 1px solid rgba(11, 165, 106, .28); border-top: 0; border-radius: 0 0 20px 20px; color: var(--tg-primary-dark); background: #fff; box-shadow: 0 8px 20px rgba(17, 27, 36, .06); }
.tg-onboard-num svg { width: 27px; height: 27px; }
.tg-onboard-num small { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--tg-primary); font-size: 9px; font-weight: 700; }
.tg-onboard-steps h3 { margin-bottom: 10px; font-size: 18px; }
.tg-onboard-steps p { margin: 0; }
/* ============ 15. CTA ============ */
.tg-cta { padding-block: 64px 88px; }
.tg-cta-panel { display: block; max-width: 1240px; margin-inline: auto; border: 0; border-radius: 28px; padding: 54px 58px; color: #fff; background: linear-gradient(135deg, #0ba56a 0%, #12b978 100%); box-shadow: 0 24px 60px rgba(11, 165, 106, .2); overflow: hidden; }
.tg-cta-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; width: 100%; text-align: left; }
.tg-cta-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tg-primary-dark); background: var(--tg-primary-soft); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; }
.tg-main-wrap .tg-cta-panel h2 { margin-bottom: 14px; color: #fff !important; }
.tg-main-wrap .tg-cta-panel p { max-width: 800px; margin: 0; color: rgba(255, 255, 255, .92) !important; }
.tg-cta-ctas { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; margin: 0; }
.tg-main-wrap .tg-cta-ctas .tg-btn--primary { color: #087a50 !important; background: #fff !important; border-color: #fff; }
.tg-main-wrap .tg-cta-ctas .tg-btn--primary:hover { color: #087a50 !important; background: #e8fff5 !important; border-color: #e8fff5; box-shadow: 0 10px 26px rgba(5, 105, 69, .2); }
.tg-cta-ctas .tg-btn span { display: inline-flex; align-items: center; justify-content: center; height: 1em; margin-left: 6px; font-size: 18px; line-height: 1; transform: translateY(1px); transition: transform 180ms ease; position: relative; top: -3px; }
.tg-cta-ctas .tg-btn:hover span { transform: translate(4px, 1px); }
.tg-cta-summary { color: var(--tg-body); }
/* ============ 16. FAQ ============ */
.tg-faq { background: var(--tg-background-soft); }
.tg-faq .tg-container { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 72px; align-items: start; }
.tg-faq .tg-section-label { position: sticky; top: 110px; max-width: 380px; }
.tg-faq h2 { margin: 0; }
.tg-faq-list { display: grid; gap: 14px; max-width: none; }
.tg-faq-item { overflow: hidden; padding: 0 22px; border: 1px solid var(--tg-border); border-radius: 16px; background: #fff; transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease; }
.tg-faq-item:hover { border-color: rgba(11, 165, 106, .28); }
.tg-faq-item[open] { border-color: rgba(11, 165, 106, .38); background: rgba(232, 255, 245, .55); box-shadow: 0 12px 30px rgba(17, 27, 36, .06); }
.tg-faq-item summary { cursor: pointer; font-weight: 600; color: var(--tg-heading); font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; }
.tg-faq-item summary::-webkit-details-marker { display: none; }
.tg-faq-item summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 21px; line-height: 1; color: var(--tg-primary-dark); background: var(--tg-primary-soft); font-weight: 500; flex: none; transition: transform 250ms ease, color 250ms ease, background-color 250ms ease; }
.tg-faq-item[open] summary::after { content: "–"; color: #fff; background: var(--tg-primary); transform: rotate(180deg); }
.tg-faq-item p { margin: 0; max-width: 68ch; padding: 0 48px 22px 0; }
/* ============ RESPONSIVE: TABLET ≤991px ============ */
@media (max-width: 1199px) {
.tg-container { padding-inline: 36px; }
.tg-automation .tg-container { grid-template-columns: 1fr; gap: 32px; }
.tg-automation .tg-section-label { max-width: 760px; padding-top: 0; }
.tg-automation-intro { max-width: 760px; }
}
@media (max-width: 991px) {
.tg-container { padding-inline: 24px; }
.tg-section { padding-block: 52px; }
.tg-hero { padding-block: 105px 52px; }
  .tg-main-wrap h1,
.tg-hero h1 { font-size: 34px !important; font-weight: 800; line-height: 1.2; }
  .tg-main-wrap h2,
.tg-section-label h2 { font-size: 28px !important; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.tg-main-wrap h3 { font-size: 20px !important; font-weight: 700; line-height: 1.3; }
.tg-main-wrap h4 { font-size: 18px !important; font-weight: 600; line-height: 1.35; }
  .tg-main-wrap p,
  .tg-main-wrap .body-text,
  .tg-main-wrap .body-large,
.tg-main-wrap .small-text { font-size: 16px !important; line-height: 1.6; }
.tg-main-wrap :is(h1, h2, h3, h4, h5, h6)+p { margin-top: 14px; }
.tg-main-wrap .tg-hero-desc { max-width: none; margin-top: 20px; }
.tg-btn { padding: 11px 20px; min-height: 42px; font-size: 13.5px; font-weight: 600; }
.tg-toc-section .container-xl-custom { padding-inline: 40px; }
.tg-toc-list { grid-template-columns: repeat(2, 1fr); }
.tg-hero-grid { grid-template-columns: 1fr; gap: 40px; }
.tg-hero { padding-block: 105px 52px; }
.tg-diagnostic-tabs { grid-template-columns: repeat(6, 170px); }
.tg-diagnostic-content { padding: 26px 20px 28px; }
.tg-diagnostic-panel { grid-template-columns: 74px minmax(0, 1fr); gap: 10px 20px; }
.tg-diagnostic-icon { width: 72px; height: 72px; }
.tg-diagnostic-icon svg { width: 44px; height: 44px; }
.tg-diagnostic-panel p { grid-column: 2; }
.tg-genealogy-explorer { grid-template-columns: 1fr; gap: 24px; }
.tg-genealogy-diagram { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; }
.tg-genealogy-diagram::before { display: none; }
.tg-genealogy-node { border: 1px solid var(--tg-border); border-radius: 0; }
.tg-genealogy-node::after { display: none; }
.tg-genealogy-detail { min-height: 0; padding: 28px 30px; }
.tg-ledger-grid { grid-template-columns: 1fr; gap: 32px; }
.tg-ledger-sticky { position: static; }
.tg-ledger-panel { min-height: 180px; padding: 24px; }
.tg-automation .tg-container { grid-template-columns: 1fr; gap: 32px; }
.tg-automation .tg-section-label { max-width: 760px; padding-top: 0; }
.tg-automation-intro { max-width: 760px; }
.tg-roles-grid { grid-template-columns: 1fr; gap: 32px; }
.tg-cases-grid { grid-template-columns: 1fr; gap: 32px; }
.tg-cta { padding-block: 50px 70px; }
.tg-main-wrap .tg-engine-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tg-engine-points { grid-template-columns: repeat(2, 1fr); }
.tg-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tg-tech-grid article { border-bottom: 1px solid var(--tg-border); }
.tg-tech-grid article:nth-child(2n) { border-right: 0; }
.tg-tech-grid article:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; border-bottom: 0; }
.tg-main-wrap .tg-onboard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tg-onboard-steps::before { display: none; }
.tg-faq .tg-container { grid-template-columns: 1fr; gap: 32px; }
.tg-faq .tg-section-label { position: static; max-width: none; }
.testi-grid { grid-template-columns: 1fr; }
}
/* ============ RESPONSIVE: MOBILE ≤767px ============ */
@media (max-width: 767px) {
.tg-container { padding-inline: 18px; }
.tg-section { padding-block: 40px; }
.tg-hero { padding-block: 92px 40px; }
.tg-hero-badges { padding: 14px 0; }
.tg-hero-badges-group li { gap: 8px; padding: 0 18px; font-size: 14px; }
.tg-hero-badges-track { animation-duration: 22s; }
  .tg-main-wrap h1,
.tg-hero h1 { font-size: 28px !important; font-weight: 800; line-height: 1.2; }
  .tg-main-wrap h2,
.tg-section-label h2 { font-size: 24px !important; font-weight: 700; line-height: 1.28; margin-bottom: 10px; }
.tg-cta { padding-block: 20px 30px; }
.tg-main-wrap h3 { font-size: 18px !important; font-weight: 700; line-height: 1.35; }
.tg-main-wrap h4 { font-size: 16px !important; font-weight: 600; line-height: 1.35; }
  .tg-main-wrap p,
  .tg-main-wrap .body-text,
  .tg-main-wrap .body-large,
.tg-main-wrap .small-text { font-size: 15px !important; line-height: 1.55; }
.tg-main-wrap :is(h1, h2, h3, h4, h5, h6)+p { margin-top: 12px; }
.tg-main-wrap .tg-hero-desc { margin-top: 16px; }
.tg-btn { width: auto !important; max-width: max-content !important; display: inline-flex !important; align-items: center; justify-content: center; padding: 10px 22px; font-size: 13px; font-weight: 600; }
.tg-toc-section { display: block; padding: 20px 0; }
.tg-toc-section .container-xl-custom { padding-inline: 16px; }
.tg-toc-card { padding: 16px; }
.tg-toc-trigger-text { font-size: 16px; }
.tg-toc-trigger-text svg { width: 20px; height: 20px; }
.tg-toc-arrow { width: 32px; height: 32px; }
.tg-toc-nav { margin-top: 16px; padding: 16px 0 2px 16px; }
.tg-toc-list { grid-template-columns: 1fr; gap: 10px; }
.tg-toc-link { padding: 6px 0; font-size: 14px; }
  .tg-hero-ctas,
.tg-cta-ctas { flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-start; }
  .tg-btn,
  .tg-hero-ctas .tg-btn,
  .tg-cta-ctas .tg-btn,
.tg-automation-cta { width: auto !important; max-width: max-content !important; display: inline-flex !important; align-self: flex-start !important; padding: 10px 20px; font-size: 13px; text-align: center; white-space: nowrap; }
.tg-canvas-track { flex-wrap: wrap; row-gap: 20px; }
.tg-canvas-track::before { display: none; }
.tg-canvas-stage { width: 48%; }
.tg-diagnostic-intro { margin-bottom: 24px; }
.tg-diagnostic-tabs { grid-template-columns: repeat(6, 155px); }
.tg-diagnostic-tabs button { padding: 14px 12px 13px; font-size: 12px; }
.tg-diagnostic-content { padding: 22px 16px 24px; }
.tg-diagnostic-panel { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; }
.tg-diagnostic-icon { width: 62px; height: 62px; }
.tg-diagnostic-icon svg { width: 38px; height: 38px; }
.tg-diagnostic-panel h3 { font-size: 19px !important; }
.tg-diagnostic-panel p { font-size: 14px !important; line-height: 1.5; }
.tg-genealogy-diagram { grid-template-columns: 1fr; }
.tg-genealogy-explorer { margin-top: 28px; }
.tg-genealogy-node { padding: 15px 16px; }
.tg-genealogy-detail { padding: 24px 20px; }
.tg-genealogy-detail h3 { font-size: 20px !important; margin-bottom: 10px; }
.tg-genealogy-meta { flex-direction: column; gap: 8px; }
.tg-ledger-cta { flex-direction: column; align-items: stretch; gap: 16px; }
.tg-ledger-panel { min-height: 150px; padding: 20px; }
.tg-comparison-widget { padding: 20px; }
.tg-comparison-grid { grid-template-columns: 1fr; gap: 16px; }
.tg-species-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tg-species-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 16px; }
.tg-roles-intro { margin-bottom: 28px; }
.tg-roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tg-audit-table thead { display: none; }
.tg-audit-console { margin-top: 24px; }
  .tg-audit-table,
  .tg-audit-table tbody,
  .tg-audit-row,
  .tg-audit-row th,
.tg-audit-row td { display: block; width: 100%; }
.tg-audit-row { padding: 16px 0; }
  .tg-audit-row th,
.tg-audit-row td { padding: 4px 20px; border-bottom: none; }
.tg-audit-detail-row td { display: block; }
.tg-compliance-grid { grid-template-columns: 1fr; column-gap: 0; margin-top: 24px; }
  .tg-compliance-grid article,
.tg-compliance-grid article:last-child { grid-column: auto; width: 100%; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
.tg-compliance-icon { width: 42px; height: 42px; }
.tg-compliance-icon svg { width: 30px; height: 30px; }
.tg-compliance-grid h3 { margin-bottom: 8px; font-size: 17px !important; }
.tg-main-wrap .tg-compliance-grid p { font-size: 14px !important; line-height: 1.55; }
.tg-value-pair { flex-basis: 85vw; }
.tg-techmap-map { flex-direction: column; }
.tg-techmap-hub { margin: 0 0 16px; }
.tg-techmap-node { width: 100%; text-align: left; }
.tg-tech-stack-list { margin-top: 28px; }
.tg-tech-stack-list summary { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 10px; padding: 17px 10px; }
.tg-tech-stack-list summary h3 { font-size: 16px !important; }
.tg-main-wrap .tg-tech-stack-list details>p { padding: 0 44px 18px; font-size: 14px !important; }
.tg-tech-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .tg-tech-grid article,
.tg-tech-grid article:nth-child(2n) { grid-column: auto; padding: 22px 16px; border-right: 0; border-bottom: 1px solid var(--tg-border); }
.tg-tech-grid article:last-child { grid-column: auto; width: 100%; justify-self: stretch; border-bottom: 0; }
.tg-tech-icon { width: 36px; height: 36px; margin-bottom: 16px; }
.tg-tech-grid h3 { min-height: 0; margin-bottom: 10px; font-size: 17px !important; }
.tg-main-wrap .tg-engine-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; margin: 24px 0 36px !important; }
.tg-main-wrap .tg-engine-grid li { padding: 12px 10px; font-size: 13.5px; justify-content: center; }
.tg-engine-points { grid-template-columns: 1fr; }
.tg-main-wrap .tg-engine-flow { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px 8px !important; padding: 22px 10px 18px !important; }
.tg-engine-flow li { min-width: 0 !important; text-align: center; }
.tg-engine-flow li:not(:last-child)::after { display: none !important; }
.tg-engine-flow strong { font-size: 13px !important; word-break: break-word; }
.tg-main-wrap .tg-onboard-steps { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.tg-onboard-steps li { display: block; min-height: 0; padding: 0 18px 22px; }
.tg-onboard-num { width: 56px; height: 56px; }
.tg-onboard-num svg { width: 24px; height: 24px; }
.tg-onboard-steps li>div { padding-top: 18px; }
.tg-onboard-steps h3 { margin-bottom: 10px; }
.tg-onboard-steps p { width: 100%; }
.tg-automation .tg-container { display: flex; flex-direction: column;gap: 20px; }
.tg-automation .tg-section-label { display: contents; }
.tg-automation-intro { order: 1; }
.tg-comparison-widget { order: 2; }
.tg-auto-cta-card { order: 3; margin-top: 24px !important; padding: 20px 18px !important; }
.tg-automation-cta { width: auto !important; max-width: max-content !important; display: inline-flex !important; }
.tg-cta-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; border-radius: 24px; }
.tg-cta-copy { grid-template-columns: 1fr; gap: 24px; }
.tg-cta-ctas { justify-content: flex-start; }
.tg-checklist { padding: 28px 24px; }
.tg-checklist-body { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.tg-value-compare { --tg-value-reveal: 50%; --tg-value-blur: 8px; position: relative; display: flex; flex-direction: column; gap: 0; min-height: 0; margin-top: 16px; border-radius: 24px; overflow: hidden; background: var(--tg-background-soft); border: 1px solid var(--tg-border); box-shadow: 0 16px 45px rgba(17, 27, 36, 0.06); }
.tg-value-side { padding: 24px 18px; width: 100%; box-sizing: border-box; }
.tg-value-side--before { position: relative; z-index: 1; background: var(--tg-background-soft); border-bottom: 1px solid var(--tg-border); }
.tg-value-side--after { position: relative; z-index: 2; background: #ffffff; cursor: pointer; clip-path: none !important; }
.tg-value-after-content { filter: blur(var(--tg-value-blur, 8px)); opacity: 0.65; transition: filter 350ms cubic-bezier(0.4, 0, 0.2, 1), opacity 350ms cubic-bezier(0.4, 0, 0.2, 1); }
.tg-value-compare.is-revealed .tg-value-after-content { filter: none !important; opacity: 1; }
.tg-value-compare.is-revealed .tg-value-side--after :is(h3, li) { color: var(--tg-heading); }
.tg-value-compare.is-revealed .tg-value-side--after .tg-value-side-heading small { color: var(--tg-primary-dark); }
.tg-value-side li { min-height: 0; padding: 12px 14px 12px 46px; font-size: 13.5px; line-height: 1.4; }
.tg-value-side li::before { left: 14px; width: 22px; height: 22px; font-size: 13px; }
.tg-value-side-heading { margin-bottom: 18px; gap: 12px; }
.tg-value-side-heading > span { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
.tg-value-side-heading h3 { font-size: 19px !important; }
.tg-main-wrap .tg-value-divider { display: block !important; position: absolute; z-index: 4; left: 0; right: 0; top: var(--tg-value-reveal, 50%); width: 100%; height: 3px; margin: 0; padding: 0; border: 0; background: var(--tg-primary); transform: translateY(-50%); pointer-events: auto; cursor: pointer; transition: top 350ms cubic-bezier(0.4, 0, 0.2, 1); }
.tg-value-divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--tg-primary); color: #ffffff; font-size: 18px; font-weight: 700; display: grid; place-items: center; border: 3px solid #ffffff; box-shadow: 0 4px 16px rgba(11, 165, 106, 0.45); }
.tg-value-reveal-control { display: none !important; }
.tg-cases-list { grid-template-columns: 1fr; margin-top: 28px; }
.tg-cases-content { min-height: 0; padding: 22px 20px 24px; }
.tg-faq .tg-container { gap: 24px; padding-inline: 14px; }
.tg-faq-list { gap: 10px; }
.tg-faq-item { padding: 0 14px; border-radius: 14px; }
.tg-faq-item summary { gap: 10px; min-height: 64px; font-size: 15px; line-height: 1.4; }
.tg-faq-item summary::after { width: 30px; height: 30px; font-size: 19px; }
.tg-faq-item p { padding: 0 0 18px; }
.tg-diagnostic-panel { display: block; }
.tg-diagnostic-icon { width: 52px; height: 52px; margin-bottom: 12px; }
.tg-diagnostic-icon svg { width: 34px; height: 34px; }
.tg-diagnostic-panel h3 { margin-bottom: 10px; }
.tg-diagnostic-panel p { width: 100%; }
.tg-compliance-grid article, .tg-compliance-grid article:last-child { display: block; padding: 20px 0; }
.tg-compliance-icon { width: 38px; height: 38px; margin-bottom: 8px; }
.tg-compliance-icon svg { width: 28px; height: 28px; }
.tg-ledger-list li { display: block; padding: 20px 0; }
.tg-ledger-index { display: block; margin-bottom: 8px; }
.tg-genealogy-detail { padding: 22px 18px; }
.tg-genealogy-node { padding: 14px; }
}
@media (max-width: 576px) {
.tg-container { padding-inline: 16px; }
.tg-species-grid { grid-template-columns: 1fr; gap: 18px; }
.tg-roles-grid { grid-template-columns: 1fr; }
.tg-role-card { padding: 24px 20px; }
}
