/* ============ 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: 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 h4 { font-size:18px; line-height:1.35; font-weight:600; 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; }
/* ============ 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); }
.dairy-content > .tg-section:not(.tg-section--muted):not(.tg-final) { background: #fff; }
.tg-section--muted { background: #f7f9f7; }
.dairy-content #why-matters { background: #f7f9f7; }
.dairy-content #diagnostic, .dairy-content #products, .dairy-content #compliance { background: #fff; }
.dairy-content #process, .dairy-content #changes, .dairy-content #why-teams { background: #f7f9f7; }
.dairy-content #faq { background:#fff; }
.dairy-content .tg-intro { margin-bottom: 40px; }
.dairy-content .tg-intro h2 { margin: 0 0 14px; }
.dairy-content .tg-intro--side h2 { margin: 0 0 14px; }
.dairy-content .tg-intro--side p:last-child { margin: 0; }
.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; }
/* Shared content rhythm matched to the lot traceability page. */
@media (max-width:991px) {
  .tg-container { padding-inline:48px; }
  .tg-section { padding-block:56px; }
  .tg-main-wrap h1 { font-size:34px; font-weight:700; line-height:1.2; }
  .tg-main-wrap h2 { font-size:28px; font-weight:700; line-height:1.25; margin-bottom:12px; }
  .tg-main-wrap h3 { font-size:20px; font-weight:700; line-height:1.3; }
  .tg-main-wrap h4 { font-size:18px; 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; line-height:1.6; }
  .tg-main-wrap :is(h1,h2,h3,h4,h5,h6)+p { margin-top:14px; }
}
@media (max-width:767px) {
  .tg-container { padding-inline:18px; }
  .tg-section { padding-block:36px; }
  .dairy-content .tg-intro { margin-bottom:20px; }
  .tg-main-wrap h1 { font-size:28px; font-weight:700; line-height:1.2; }
  .tg-main-wrap h2 { font-size:24px; font-weight:700; line-height:1.28; margin-bottom:0; }
  .tg-main-wrap h3 { font-size:18px; font-weight:700; line-height:1.35; }
  .tg-main-wrap h4 { font-size:16px; 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; line-height:1.55; }
  .tg-main-wrap :is(h1,h2,h3,h4,h5,h6)+p { margin-top:10px; }
  .tg-btn { padding: 9px 18px; font-size: 13px; min-height: 36px; }
  .tg-btn--sm { padding: 7px 14px; font-size: 12px; min-height: 32px; }
}
.dairy-content > .tg-section { padding-block:64px; }
@media (max-width:991px) { .dairy-content > .tg-section { padding-block:56px; } }
@media (max-width:767px) { .dairy-content > .tg-section { padding-block:36px; } }
@media (max-width:480px) { .dairy-content > .tg-section { padding-block:30px; } }
/* ============ 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; }
.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: 700; 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; }
}
@media (max-width: 767px) {
  .tg-hero-badges-track { animation-duration: 22s; }
}
.lt-stats-strip { width:100%; overflow:hidden; padding:18px 0; background:var(--tg-primary-soft); border-top:1px solid rgba(11,165,106,.16); border-bottom:1px solid rgba(11,165,106,.16)}.lt-stats-track{display:flex; width:max-content; will-change:transform; animation:lt-stats-marquee 24s linear infinite}.lt-stats-group{display:flex; width:max(100vw,1000px); align-items:center; justify-content:space-around; flex-shrink:0}.lt-stats-group>div{display:flex; align-items:center; gap:9px; flex-shrink:0; padding:0 30px; border-right:1px solid rgba(17,27,36,.1); white-space:nowrap}.lt-stats-group strong{color:var(--tg-heading); font-size:20px; font-weight:800; line-height:1.4}.lt-stats-group strong:before{content:"✓"; display:inline-grid; width:20px; height:20px; margin-right:10px; place-items:center; border-radius:50%; background:var(--tg-primary); color:#fff; font-size:12px; font-weight:800; line-height:1; vertical-align:2px}.lt-stats-group span{color:var(--tg-heading); font-size:16px; font-weight:600; line-height:1.4; letter-spacing:0; text-transform:none}@keyframes lt-stats-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}@media(prefers-reduced-motion:reduce){.lt-stats-track{animation-duration:60s}; }
/* Dairy page content UI — sourced from aa-dairy; intentionally excludes shared header, footer and global styles. */
.dairy-content .tg-dairy-toc { padding:18px 0; border-bottom:1px solid var(--tg-border); background:#fff; }
.dairy-content .tg-dairy-toc .tg-container { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; }
.dairy-content .tg-dairy-toc span { color:var(--tg-heading); font-size:13px; font-weight:700; }
.dairy-content .tg-dairy-toc a { color:var(--tg-body); font-size:13px; font-weight:500; }
.dairy-content .tg-dairy-toc a:hover { color:var(--tg-primary); }
.dairy-content section { scroll-margin-top:100px; }
.dairy-content .tg-dairy-stats-strip { overflow:hidden; padding:18px 0; border-top:1px solid #c9e6d9; border-bottom:1px solid #c9e6d9; background:#effaf5; }
.dairy-content .tg-dairy-stats-track { display:flex; width:max-content; will-change:transform; animation:tg-dairy-stats-marquee 24s linear infinite; }
.dairy-content .tg-dairy-stats-group { display:flex; width:max-content; min-width:100vw; align-items:center; justify-content:space-around; flex-shrink:0; }
.dairy-content .tg-dairy-stats-group>div { display:flex; align-items:center; gap:10px; flex-shrink:0; padding:0 26px; border-right:1px solid #d9ebe2; white-space:nowrap; }
.dairy-content .tg-dairy-stats-group>div:last-child { border-right:0; }
.dairy-content .tg-dairy-stats-group>div::before { content:"✓"; display:grid; width:21px; height:21px; flex:0 0 21px; place-items:center; border-radius:50%; background:#05a96b; color:#fff; font-size:12px; font-weight:800; }
.dairy-content .tg-dairy-stats-strip strong { color:var(--tg-heading); font-size:20px; font-weight:800; line-height:1; white-space:nowrap; }
.dairy-content .tg-dairy-stats-strip span { color:var(--tg-heading); font-size:14px; font-weight:700; line-height:1.2; }
@keyframes tg-dairy-stats-marquee { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
@media (max-width:767px) { .dairy-content .tg-dairy-stats-strip { padding:14px 0; } .dairy-content .tg-dairy-stats-track { animation-duration:18s; } .dairy-content .tg-dairy-stats-group>div { gap:8px; padding:0 16px; } .dairy-content .tg-dairy-stats-group>div::before { width:18px; height:18px; flex-basis:18px; font-size:10px; } .dairy-content .tg-dairy-stats-strip strong { font-size:17px; } .dairy-content .tg-dairy-stats-strip span { font-size:12px; } }
@media (prefers-reduced-motion:reduce) { .dairy-content .tg-dairy-stats-track { animation:none; } }
/* ==========================================================================
Hero — Traceability Command Canvas ========================================================================== */ .tg-hero { padding-block: 105px 70px; overflow: hidden; }
@media (max-width:767px) { .tg-hero { padding-block:100px 50px; } }
.tg-hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
@media (max-width:991px) {
  .tg-hero-grid { grid-template-columns:1fr; gap:40px; }
  .tg-hero-content, .tg-hero-content h1, .tg-hero-content p { max-width:none; }
  .tg-shared-demo-host { width:100%; }
}
.tg-hero h1 { margin-bottom: 20px; }
.tg-hero p { color: var(--tg-body); margin-bottom: 32px; max-width: 500px; }
.tg-hero-actions { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; flex-wrap: wrap; }
.tg-hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--tg-border); padding-top: 24px; }
.tg-hero-stat { flex: 1 1 130px; padding-right: 20px; border-right: 1px solid var(--tg-border); margin-right: 20px; }
.tg-hero-stat:last-child { border-right: none; margin-right: 0; }
.tg-hero-stat b { display: block; font-size: 21px; font-weight: 700; color: var(--tg-heading); letter-spacing: -0.01em; margin-bottom: 4px; }
.tg-hero-stat span { font-size: 13px; color: var(--tg-body); line-height: 1.35; display: block; }
/* Live network trace */
.tg-network { position: relative; background: var(--tg-heading); border-radius: var(--tg-radius-l); padding: 26px 24px 22px; box-shadow: var(--tg-shadow-panel); color: var(--tg-white); }
.tg-network-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tg-network-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.tg-network-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tg-primary); box-shadow: 0 0 0 4px rgba(11,165,106,0.25); }
.tg-network-select-wrap { display: flex; align-items: center; gap: 8px; }
.tg-network-select { font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--tg-white); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--tg-radius-pill); padding: 7px 14px; appearance: none; cursor: pointer; }
.tg-network-select:focus-visible { outline: 2.5px solid var(--tg-primary); outline-offset: 2px; }
.tg-network-play { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tg-network-play svg { width: 14px; height: 14px; stroke: var(--tg-white); fill: var(--tg-white); }
.tg-network-play:hover { background: rgba(255,255,255,0.16); }
.tg-network-stage { position: relative; }
.tg-network-svg { width: 100%; height: auto; display: block; overflow: visible; }
.tg-network-link { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 2; }
.tg-network-link-flow { fill: none; stroke: var(--tg-primary); stroke-width: 2; stroke-dasharray: 7 9; animation: tg-flow 1.1s linear infinite; }
@keyframes tg-flow { to { stroke-dashoffset: -32; } }
.tg-network-node-ring { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.28); stroke-width: 1.5; transition: stroke 250ms ease, fill 250ms ease; }
.tg-network-node-dot { fill: rgba(255,255,255,0.55); transition: fill 250ms ease; }
.tg-network-node-group { cursor: pointer; }
.tg-network-node-group:hover .tg-network-node-ring, .tg-network-node-group:focus .tg-network-node-ring { stroke: var(--tg-primary); }
.tg-network-node-group.is-visited .tg-network-node-ring { stroke: var(--tg-primary-dark); fill: rgba(11,165,106,0.12); }
.tg-network-node-group.is-visited .tg-network-node-dot { fill: var(--tg-primary-dark); }
.tg-network-node-group.is-active .tg-network-node-ring { stroke: var(--tg-primary); fill: rgba(11,165,106,0.22); }
.tg-network-node-group.is-active .tg-network-node-dot { fill: var(--tg-primary); }
.tg-network-node-label { fill: rgba(255,255,255,0.7); font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; }
.tg-network-node-group.is-active .tg-network-node-label, .tg-network-node-group.is-visited .tg-network-node-label { fill: var(--tg-white); }
.tg-network-token { fill: var(--tg-white); stroke: var(--tg-primary); stroke-width: 4; filter: drop-shadow(0 0 6px rgba(11,165,106,0.75)); }
.tg-network-card { position: absolute; z-index: 5; min-width: 200px; max-width: 240px; background: var(--tg-white); color: var(--tg-heading); border-radius: var(--tg-radius-s); padding: 14px 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); transform: translate(-50%, calc(-100% - 16px)); transition: left 260ms ease, top 260ms ease, opacity 200ms ease; pointer-events: none; }
.tg-network-card::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 12px; height: 12px; background: var(--tg-white); transform: translateX(-50%) rotate(45deg); }
.tg-network-card-tag { font-size: 11px; font-weight: 700; color: var(--tg-primary-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; display: block; }
.tg-network-card h4 { font-size: 14.5px; font-weight: 700; color: var(--tg-heading); margin-bottom: 8px; }
.tg-network-card dl { display: grid; gap: 4px; }
.tg-network-card .tg-network-card-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.tg-network-card .tg-network-card-row dt { color: var(--tg-body); }
.tg-network-card .tg-network-card-row dd { margin: 0; font-weight: 600; color: var(--tg-heading); text-align: right; }
.tg-network-hint { color: rgba(255,255,255,0.45); margin-top: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .tg-network-link-flow { animation: none; stroke-dasharray: none; }
}
@media (max-width:991px){
  .tg-hero p {max-width: 880px; margin-bottom: 15px;}} .tg-reasons-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; } .tg-reason { display: grid; grid-template-columns: 56px 1fr; gap: 18px; min-height: 188px; padding: 28px; border: 1px solid var(--tg-border); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(16, 34, 43, .045); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; } .tg-reason:hover { transform: translateY(-4px); border-color: rgba(11, 165, 106, .45); box-shadow: 0 16px 34px rgba(16, 34, 43, .09); } .tg-reason-icon { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #e9f8f1, #d9f2e6); display: flex; align-items: center; justify-content: center; } .tg-reason-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--tg-primary); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; } .tg-reason h3 { margin: 4px 0 10px; font-size: 20px; } .tg-reason p { max-width: none; font-size: 15.5px; line-height: 1.65; }
@media (max-width: 767px) {
  .tg-reasons-list { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .tg-reason { grid-template-columns:1fr; gap:12px; min-height:0; padding:20px; }
  .tg-reason-icon { width: 42px; height: 42px; }
  .tg-reason-icon svg { width: 28px; height: 28px; }
  .tg-reason h3 { margin: 1px 0 7px; font-size: 18px; }
  .tg-reason p { font-size: 14px; line-height: 1.55; }
}
/* ==========================================================================
Diagnostic strip ========================================================================== */ .tg-diagnostic-headline { font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; color: var(--tg-heading); line-height: 1.3; max-width: 760px; margin-bottom: 0; }
.tg-diagnostic-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.tg-diagnostic-index { display: grid; gap: 0; }
.tg-diagnostic-item { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 16px; text-align: left; background: transparent; border: none; border-top: 1px solid var(--tg-border); padding-block: 18px; }
.tg-diagnostic-item:last-child { border-bottom: 1px solid var(--tg-border); }
.tg-diagnostic-num { font-size: 13px; font-weight: 700; color: var(--tg-body); }
.tg-diagnostic-label { font-size: 15.5px; color: var(--tg-heading); font-weight: 500; }
.tg-diagnostic-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--tg-border); display: flex; align-items: center; justify-content: center; transition: background var(--tg-ease), border-color var(--tg-ease); }
.tg-diagnostic-check svg { width: 18px; height: 18px; stroke: #fff !important; fill: none; opacity: 0; transition: opacity var(--tg-ease); }
.tg-diagnostic-check svg path { stroke: #fff !important; fill: none; }
.tg-diagnostic-item.is-checked .tg-diagnostic-check { background: var(--tg-primary); border-color: var(--tg-primary); }
.tg-diagnostic-item.is-checked .tg-diagnostic-check svg { opacity: 1; }
.tg-diagnostic-item.is-checked .tg-diagnostic-label { color: var(--tg-heading); }
.tg-diagnostic-panel { border: 1px solid var(--tg-border); border-radius: var(--tg-radius-m); padding: 32px; background: var(--tg-background-soft); position: sticky; top: 96px; text-align: center; display: flex; min-height: 0; height: 100%; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: center; }
.tg-diagnostic-gauge-wrap { display: flex; justify-content: center; margin-bottom: 6px; }
.tg-diagnostic-gauge { width: 190px; height: 108px; overflow: visible; }
.tg-diagnostic-gauge-track { fill: none; stroke: var(--tg-border); stroke-width: 14; }
.tg-diagnostic-gauge-fill { fill: none; stroke: var(--tg-primary); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 550ms ease, stroke 400ms ease; }
.tg-diagnostic-gauge-num { font-size: 30px; font-weight: 700; fill: var(--tg-heading); font-family: "Inter", sans-serif; }
.tg-diagnostic-gauge-of { font-size: 12px; fill: var(--tg-body); font-family: "Inter", sans-serif; }
.tg-diagnostic-states { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.tg-diagnostic-state { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--tg-radius-pill); }
.tg-diagnostic-state--from { background: var(--tg-danger-soft); color: var(--tg-danger); }
.tg-diagnostic-state--to { background: var(--tg-primary-soft); color: var(--tg-primary-dark); }
.tg-diagnostic-arrow { width: 18px; height: 18px; stroke: var(--tg-body); }
.tg-diagnostic-result { font-size: 16px; color: var(--tg-heading); font-weight: 700; margin-bottom: 6px; }
.tg-diagnostic-result-copy { font-size: 14.5px; color: var(--tg-body); max-width: 340px; margin: 0 auto; text-align: center; }
.tg-diagnostic-reset { margin-top: 18px; background: transparent; border: none; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--tg-teal); text-decoration: underline; text-underline-offset: 3px; }
.tg-diagnostic-reset:hover { color: var(--tg-primary-dark); }
/* Mobile accordion for diagnostic */
.tg-diagnostic-accordion { display: none; }
@media (max-width:767px) {
  .tg-diagnostic-body { grid-template-columns:1fr; gap:16px; }
  .tg-diagnostic-panel { order:-1; position:static; height:auto; min-height:0; padding:18px 16px; border-radius:14px; }
  .tg-diagnostic-index { order:1; }
  .tg-diagnostic-item { gap:10px; padding-block:12px; }
  .tg-diagnostic-label { font-size:14px; }
}
.tg-genealogy-diagram { position: relative; display: flex; justify-content: space-between; padding: 8px 0 40px; margin-bottom: 40px; }
.tg-genealogy-node { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; background: transparent; border: none; padding: 0 6px; }
.tg-genealogy-node:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px; background: var(--tg-border); z-index: 1; pointer-events: none; }
.tg-genealogy-dot { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--tg-white); border: 2px solid var(--tg-border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--tg-body); transition: border-color var(--tg-ease), background var(--tg-ease), color var(--tg-ease); }
.tg-genealogy-node span { font-size: 13.5px; font-weight: 600; color: var(--tg-heading); text-align: center; line-height: 1.3; }
.tg-genealogy-node.is-active .tg-genealogy-dot { background: var(--tg-primary); border-color: var(--tg-primary); color: var(--tg-white); }
.tg-genealogy-node:hover .tg-genealogy-dot { border-color: var(--tg-primary); }

.tg-genealogy-panel { border: 1px solid var(--tg-border); border-radius: var(--tg-radius-l); padding: 40px; box-shadow: var(--tg-shadow-panel); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tg-genealogy-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tg-genealogy-step-tag { font-size: 12.5px; font-weight: 700; color: var(--tg-primary); background: var(--tg-primary-soft); padding: 4px 10px; border-radius: var(--tg-radius-pill); }
.tg-genealogy-panel h3 { font-size: 23px; margin-bottom: 12px; }
.tg-genealogy-panel p { max-width: 460px; }
.tg-genealogy-fields { display: grid; gap: 0; align-content: start; }
.tg-genealogy-field { display: flex; align-items: center; gap: 10px; padding-block: 12px; border-top: 1px solid var(--tg-border); font-size: 14.5px; color: var(--tg-heading); font-weight: 500; }
.tg-genealogy-field:last-child { border-bottom: 1px solid var(--tg-border); }
.tg-genealogy-field svg { width: 17px; height: 17px; stroke: var(--tg-primary); }
@media (max-width:991px){
  .tg-genealogy-diagram { margin-bottom: 0px; }
}
@media (max-width:767px) {
  .tg-genealogy-diagram { padding: 8px 0 20px 0; margin-bottom: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 12px; justify-content: flex-start; }
  .tg-genealogy-node { min-width: 86px; flex: 0 0 auto; gap: 6px; padding: 0 4px; }
  .tg-genealogy-node:not(:last-child)::after { top: 21px; width: calc(100% + 12px); }
  .tg-genealogy-dot { width: 42px; height: 42px; font-size: 12px; }
  .tg-genealogy-node span { font-size: 12px; }
  .tg-genealogy-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; border-radius: 14px; }
  .tg-genealogy-panel h3 { font-size: 19px; margin-bottom: 6px; }
  .tg-genealogy-panel p { margin-bottom: 12px; font-size: 14px; }
  .tg-genealogy-field { padding-block: 10px; font-size: 13.5px; }
}
/* Mobile stepper */
.tg-genealogy-stepper { display: none; }
/* ==========================================================================
Capabilities — feature menu and detail panel ========================================================================== */ .tg-capabilities-ui { max-width: 1080px; }
.tg-capabilities-static { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tg-capability-flow { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:10px; }
.tg-capability-flow span { padding:10px 16px; border:1px solid var(--tg-border); border-radius:999px; background:#fff; color:var(--tg-heading); font-size:14px; font-weight:700; white-space:nowrap; cursor:pointer; }
.tg-capability-flow span.is-active { border-color:var(--tg-primary); background:var(--tg-primary); color:#fff; }
.tg-capability-flow i { color:var(--tg-primary); font-size:18px; font-style:normal; font-weight:700; }
.tg-capabilities-static article { grid-column:1 / -1; width:75%; margin-inline:auto; padding:28px 30px; border:1px solid var(--tg-border); border-radius:14px; background:#fff; }
.tg-capabilities-static article:not(.is-active) { display:none; }
.tg-capabilities-static h3 { margin:0 0 8px; font-size:18px; }
.tg-capabilities-static p { margin:0; font-size:15px; }
@media (max-width:767px) { .tg-capabilities-static { grid-template-columns:1fr; } .tg-capabilities-static article { width:100%; } .tg-capability-flow { flex-wrap:nowrap; gap:5px; overflow-x:auto; padding-bottom:2px; margin-bottom:0; } .tg-capability-flow span { flex:0 0 auto; font-size:13px; padding:9px 13px; } .tg-capability-flow i { flex:0 0 auto; font-size:16px; } }
.tg-capability-tabs { display: flex; flex-wrap: wrap; align-items:center; gap: 10px; margin-bottom: 22px; }
.tg-capability-tabs button { border: 1px solid var(--tg-border); border-radius: 999px; padding: 11px 16px; background: #fff; color: var(--tg-heading); font-size: 14px; font-weight: 600; line-height: 1.25; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tg-capability-tabs button:hover, .tg-capability-tabs button.is-active { border-color: var(--tg-primary); background: var(--tg-primary); color: #fff; }
.tg-capability-flow-step { display:flex; flex:0 0 auto; align-items:center; gap:10px; }
.tg-capability-flow-arrow { display:grid; width:18px; height:18px; flex:0 0 18px; place-items:center; color:var(--tg-primary); }
.tg-capability-flow-arrow svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tg-capability-panel { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 24px; align-items: start; min-height: 156px; padding: 34px 38px; border: 1px solid rgba(11,165,106,.22); border-radius: 18px; background: linear-gradient(115deg, #eaf8f1, #fff); }
.tg-capability-panel-number { display:grid; width:52px; height:52px; place-items:center; border-radius:50%; background:var(--tg-primary); color:#fff; font-size:15px; font-weight:800; }
.tg-capability-panel h3 { margin: 2px 0 10px; font-size: 24px; }
.tg-capability-panel p { max-width: 720px; margin: 0; font-size: 17px; }
@media (max-width: 767px) {
  .tg-capability-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -18px; margin-bottom: 14px; }
  .tg-capability-tabs button { flex: 0 0 auto; padding: 8px 12px; font-size: 13px; }
  .tg-capability-flow-arrow { width:15px; height:15px; flex-basis:15px; }
  .tg-capability-flow-arrow svg { width:15px; height:15px; }
  .tg-capability-panel { grid-template-columns: 42px minmax(0,1fr); gap: 12px; min-height: 0; padding: 18px 16px; border-radius: 14px; }
  .tg-capability-panel-number { width:36px; height:36px; font-size:13px; }
  .tg-capability-panel h3 { margin: 0 0 6px; font-size: 18px; }
  .tg-capability-panel p { font-size: 14px; line-height: 1.5; }
}
/* ==========================================================================
Segments — dairy business directory ========================================================================== */ .tg-segments-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: segment; }
.tg-segment-card { position:relative; display:grid; grid-template-columns: 58px minmax(0,1fr); column-gap:18px; align-content:start; min-height:170px; border: 1px solid var(--tg-border); border-radius: 18px; padding: 26px 56px 26px 26px; background: linear-gradient(135deg, #fff 0%, #fbfefc 100%); transition: border-color var(--tg-ease), box-shadow var(--tg-ease), transform var(--tg-ease); counter-increment:segment; }
.tg-segment-card::after { content:counter(segment, decimal-leading-zero); position:absolute; top:22px; right:24px; color:rgba(11,165,106,.35); font-size:12px; font-weight:800; letter-spacing:.08em; }
.tg-segment-card:hover { border-color:rgba(11,165,106,.55); box-shadow:0 14px 30px rgba(11,165,106,.1); transform:translateY(-3px); }
.tg-segment-card-icon { grid-row:span 2; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #e0f6eb, #effbf5); display: flex; align-items: center; justify-content: center; }
.tg-segment-card-icon svg { width:30px; height:30px; fill:none; stroke:var(--tg-primary); stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.tg-segment-card h3 { margin:4px 0 9px; font-size:19px; }
.tg-segment-card p { margin:0; font-size:15px; line-height:1.58; }
@media (max-width:767px) {
  .tg-segments-grid { grid-template-columns:1fr; gap:10px; }
  .tg-segment-card { grid-template-columns:38px minmax(0,1fr); column-gap:12px; min-height:0; padding:16px 36px 16px 16px; border-radius:14px; }
  .tg-segment-card::after { top:14px; right:14px; font-size:11px; }
  .tg-segment-card-icon { width:36px; height:36px; }
  .tg-segment-card-icon svg { width:22px; height:22px; }
  .tg-segment-card h3 { margin:1px 0 5px; font-size:16.5px; }
  .tg-segment-card p { font-size:13.5px; line-height:1.45; }
}
/* ==========================================================================
Product traceability — tabbed interface ========================================================================== */ .tg-products-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tg-product-item { border:1px solid var(--tg-border); border-radius:16px; background:#fff; overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease; }
.tg-product-item.is-open { border-color:rgba(11,165,106,.48); box-shadow:0 10px 24px rgba(11,165,106,.08); }
.tg-product-trigger { width:100%; display:grid; grid-template-columns:38px 1fr 20px; gap:12px; align-items:center; padding:19px 20px; border:0; background:transparent; color:var(--tg-heading); text-align:left; font-size:16px; font-weight:700; }
.tg-product-number { display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:#e7f7ef; color:var(--tg-primary-dark); font-size:12px; font-weight:800; }
.tg-product-trigger svg { width:20px; height:20px; fill:none; stroke:var(--tg-primary); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.tg-product-item.is-open .tg-product-trigger svg { transform:rotate(180deg); }
.tg-product-content { display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s ease; }
.tg-product-content>div { min-height:0; overflow:hidden; padding:0 20px; }
.tg-product-item.is-open .tg-product-content { grid-template-rows:1fr; }
.tg-product-item.is-open .tg-product-content>div { padding:0 20px 20px 70px; }
.tg-product-content p { margin:0 0 16px; font-size:15px; line-height:1.55; }
.tg-products-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-products-tag { font-size:13px; font-weight:700; color:var(--tg-primary-dark); background:#fff; border:1px solid rgba(11,165,106,.22); border-radius:999px; padding: 7px 14px; }
@media (max-width:767px) {
  .tg-products-list { grid-template-columns:1fr; gap:8px; }
  .tg-product-item { border-radius:12px; }
  .tg-product-trigger { grid-template-columns:28px 1fr 16px; gap:8px; padding:10px 12px; font-size:14px; }
  .tg-product-number { width:26px; height:26px; font-size:11px; }
  .tg-product-trigger svg { width:16px; height:16px; }
  .tg-product-item.is-open .tg-product-content>div { padding:0 12px 12px; }
  .tg-product-content p { font-size:13px; line-height:1.45; margin-bottom:8px; }
  .tg-products-tags { gap:6px; }
  .tg-products-tag { font-size:11.5px; padding:4px 10px; }
}
/* ==========================================================================
Business value — Asymmetric Impact Composition ========================================================================== */ .tg-impact-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; margin-bottom: 32px; }
.tg-impact-hero-stat { border: 1px solid var(--tg-border); border-radius: 16px; padding: 24px 20px; min-height: 158px; background: linear-gradient(135deg, #e3f7ec, #f8fdf9); }
.tg-impact-hero-stat b { display: block; font-size: 38px; font-weight: 700; color: var(--tg-primary-dark); letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.tg-impact-hero-stat span { font-size: 15px; font-weight: 700; color: var(--tg-heading); }
.tg-impact-list { display: contents; }
.tg-impact-row { min-height: 158px; padding: 24px 20px; border: 1px solid rgba(11,165,106,.2); border-radius: 16px; background: linear-gradient(135deg, #effaf4, #fbfefc); }
.tg-impact-row b { display:block; margin-bottom:12px; font-size: 26px; font-weight: 700; color: var(--tg-primary-dark); }
.tg-impact-row span { font-size: 15px; font-weight:700; color: var(--tg-heading); }
@media (max-width:991px) { .tg-impact-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767px) {
  .tg-impact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:20px; }
  .tg-impact-hero-stat,.tg-impact-row { min-height:0; padding:14px 12px; border-radius:12px; }
  .tg-impact-hero-stat b { font-size:30px; margin-bottom:8px; }
  .tg-impact-hero-stat span,.tg-impact-row span { font-size:13px; }
  .tg-impact-row b { font-size:22px; margin-bottom:6px; }
  .tg-impact-compare-head div { padding:12px 14px; font-size:11.5px; }
  .tg-impact-compare-row div { padding:12px 14px; font-size:13px; }
}
.tg-impact-compare { border: 1px solid var(--tg-border); border-radius: var(--tg-radius-m); overflow: hidden; }
.tg-impact-compare-head { display: grid; grid-template-columns: 1fr 1fr; background: var(--tg-background-muted); }
.tg-impact-compare-head div { padding: 16px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tg-impact-compare-head div:first-child { color: var(--tg-body); border-right: 1px solid var(--tg-border); }
.tg-impact-compare-head div:last-child { color: var(--tg-primary-dark); background: #dff7ea; }
.tg-impact-compare-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--tg-border); }
.tg-impact-compare-row div { padding: 18px 24px; font-size: 14.5px; }
.tg-impact-compare-row div:first-child { color: var(--tg-body); border-right: 1px solid var(--tg-border); }
.tg-impact-compare-row div:last-child { color: var(--tg-primary-dark); font-weight: 600; background: #effbf4; }
/* ==========================================================================
Compliance — Audit Readiness Console ========================================================================== */ .tg-compliance-static { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tg-compliance-static article { padding:24px; border:1px solid var(--tg-border); border-radius:14px; background:#fff; transition:background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tg-compliance-static article:hover { background:#effbf4; border-color:rgba(11,165,106,.48); transform:translateY(-3px); box-shadow:0 10px 22px rgba(11,165,106,.09); }
.tg-compliance-static h3 { margin:0 0 8px; font-size:18px; color:var(--tg-primary-dark); }
.tg-compliance-static p { margin:0; font-size:15px; }
@media (max-width:767px) {
  .tg-compliance-static { grid-template-columns:1fr; gap:10px; }
  .tg-compliance-static article { padding:16px; border-radius:12px; }
  .tg-compliance-search { padding:10px 16px; margin-bottom:14px; }
  .tg-compliance-trigger { padding:14px 16px; gap:10px; }
  .tg-compliance-name { font-size:14.5px; }
  .tg-compliance-panel-inner { padding:0 16px 16px; }
  .tg-compliance-panel p { font-size:13.5px; }
}
.tg-compliance-search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--tg-border); border-radius: var(--tg-radius-pill); padding: 12px 20px; margin-bottom: 20px; background: var(--tg-white); transition: border-color var(--tg-ease); }
.tg-compliance-search:focus-within { border-color: var(--tg-primary); }
.tg-compliance-search svg { stroke: var(--tg-body); flex-shrink: 0; }
.tg-compliance-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--tg-heading); background: transparent; min-width: 0; }
.tg-compliance-search input::placeholder { color: var(--tg-body); }
.tg-compliance-search-count { font-size: 13px; color: var(--tg-body); white-space: nowrap; }
.tg-compliance-console { border: 1px solid var(--tg-border); border-radius: var(--tg-radius-l); overflow: hidden; }
.tg-compliance-row[hidden] { display: none; }
.tg-compliance-empty { padding: 32px 26px; font-size: 14.5px; color: var(--tg-body); text-align: center; }
.tg-compliance-row { border-top: 1px solid var(--tg-border); }
.tg-compliance-row:first-child { border-top: none; }
.tg-compliance-trigger { width: 100%; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 20px; padding: 20px 26px; background: var(--tg-white); border: none; text-align: left; }
.tg-compliance-name { font-size: 16px; font-weight: 600; color: var(--tg-heading); }
.tg-compliance-marker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--tg-radius-pill); background: var(--tg-primary-soft); color: var(--tg-primary-dark); }
.tg-compliance-marker svg { width: 13px; height: 13px; stroke: var(--tg-primary-dark); }
.tg-compliance-updated { font-size: 13px; color: var(--tg-body); }
.tg-compliance-chevron { width: 18px; height: 18px; stroke: var(--tg-body); transition: transform var(--tg-ease); }
.tg-compliance-trigger[aria-expanded="true"] .tg-compliance-chevron { transform: rotate(180deg); }
.tg-compliance-panel { max-height: 0; overflow: hidden; transition: max-height 350ms ease; background: var(--tg-background-soft); }
.tg-compliance-panel-inner { padding: 0 26px 24px; }
.tg-compliance-panel p { font-size: 15px; max-width: 620px; }
/* ==========================================================================
Why choose us ========================================================================== */ .tg-why-list { display:grid; grid-template-columns:1fr; gap:0; counter-reset: why; }
#why-teams .tg-container { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr); gap:56px; align-items:start; }
#why-teams .tg-intro { grid-column:1; position:sticky; top:110px; margin-bottom:0; }
#why-teams .tg-why-list { grid-column:2; }
.tg-why-item { display:grid; grid-template-columns:88px 1fr; align-items:start; min-height:94px; padding:16px 0; border-bottom:1px solid var(--tg-border); counter-increment:why; }
.tg-why-item::before { grid-row:1 / span 2; content:counter(why, decimal-leading-zero); color:transparent; -webkit-text-stroke:1.25px var(--tg-primary); font-size:54px; font-weight:800; line-height:.95; letter-spacing:-.06em; }
.tg-why-item h3 { grid-column:2; grid-row:1; font-size:19px; margin:1px 0 7px; }
.tg-why-item p { grid-column:2; grid-row:2; font-size:14px; margin:0; line-height:1.5; }
.tg-why-item:nth-child(3) h3 { color:var(--tg-primary-dark); }
@media (max-width:767px) {
  #why-teams .tg-container { grid-template-columns:1fr; gap:14px; }
  #why-teams .tg-intro,#why-teams .tg-why-list { grid-column:1; }
  #why-teams .tg-intro { position:static; }
  .tg-why-item { grid-template-columns:42px 1fr; gap:2px 10px; min-height:0; padding:10px 0; }
  .tg-why-item::before { font-size:28px; -webkit-text-stroke:1px var(--tg-primary); }
  .tg-why-item h3 { font-size:15px; margin:0 0 3px; }
  .tg-why-item p { font-size:13px; line-height:1.45; }
}
/* ==========================================================================
CTA banners (mid-page) ========================================================================== */ .tg-cta-strip { border: 1px solid rgba(11,165,106,.28); border-radius: 18px; padding: 34px 40px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(105deg, #e4f7ed 0%, #f7fdf9 100%); box-shadow: 0 10px 28px rgba(11,165,106,.07); flex-wrap: wrap; }
.tg-cta-strip-text h3 { font-size: 19px; margin-bottom: 6px; }
.tg-cta-strip-text p { font-size: 14.5px; max-width: 680px; }
@media (max-width:767px) {
  .tg-cta-strip { padding:18px 16px; gap:12px; border-radius:14px; margin-top:20px; }
  .tg-cta-strip-text h3 { font-size:17px; margin-bottom:4px; }
  .tg-cta-strip-text p { font-size:13.5px; line-height:1.5; }
}
/* ==========================================================================
Final CTA — Traceability Readiness Panel ========================================================================== */ .tg-final { padding-block: 24px 88px; background: #f7f9f7; }
.tg-final-panel { max-width: 760px; margin-inline: auto; text-align: center; border: 1px solid var(--tg-border); background: #ffffff; border-radius: 20px; padding: 30px; box-shadow: var(--tg-shadow-panel); }
.tg-final-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--tg-primary-dark); background: var(--tg-primary-soft); padding: 7px 14px; border-radius: var(--tg-radius-pill); margin-bottom: 20px; }
.tg-final-status svg { width: 15px; height: 15px; stroke: var(--tg-primary-dark); }
.tg-final :is(h2,h3) { margin-bottom: 14px; }
.tg-final p { max-width: 480px; margin-inline: auto; margin-bottom: 32px; }
.tg-final-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 0px; flex-wrap: wrap; }
.tg-final-summary { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; border-top: 1px solid var(--tg-border); padding-top: 22px; }
.tg-final-summary span { font-size: 13px; color: var(--tg-body); padding-inline: 16px; border-right: 1px solid var(--tg-border); }
.tg-final-summary span:last-child { border-right: none; }
@media (max-width:767px) {
  .tg-final { padding-block:16px 40px; }
  .tg-final-panel { padding:20px 16px; border-radius:16px; }
  .tg-final-status { margin-bottom:14px; padding:5px 12px; font-size:12px; }
  .tg-final :is(h2,h3) { margin-bottom:10px; }
  .tg-final p { margin-bottom:20px; font-size:14px; }
  .tg-final-summary { padding-top:16px; gap:8px; }
  .tg-final-summary span { font-size:12px; padding-inline:8px; }
}
/* ==========================================================================
FAQ ========================================================================== */ .tg-faq-list { max-width:960px; display:grid; gap:12px; counter-reset:faq; }
#faq .tg-container { max-width:1040px; padding-inline:40px; }
#faq .tg-intro { max-width:960px; margin-left:0; margin-right:0; text-align:left; }
.tg-faq-item { border:1px solid var(--tg-border); border-radius:14px; background:#fff; overflow:hidden; counter-increment:faq; transition:border-color .2s ease, box-shadow .2s ease; }
.tg-faq-item h3 { margin: 0; }
.tg-faq-item:has(.tg-faq-trigger[aria-expanded="true"]) { border-color:rgba(11,165,106,.45); box-shadow:0 8px 20px rgba(11,165,106,.08); }
.tg-faq-trigger { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 20px; padding:20px 22px; background: transparent; border: none; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--tg-heading); }
.tg-faq-trigger > span { flex:1; text-align:left; }
.tg-faq-trigger::before { content:counter(faq, decimal-leading-zero); display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; border-radius:50%; background:#e5f7ee; color:var(--tg-primary-dark); font-size:11px; font-weight:800; }
.tg-faq-trigger .tg-icon { width:18px; height:18px; padding:7px; box-sizing:content-box; margin-left:auto; border-radius:50%; background:#e5f7ee; stroke:var(--tg-primary-dark); transition:transform var(--tg-ease),background .2s ease; flex-shrink:0; }
.tg-faq-trigger[aria-expanded="true"] .tg-icon { background:var(--tg-primary); stroke:#fff; }
.tg-faq-trigger[aria-expanded="true"] .tg-icon { transform: rotate(45deg); }
.tg-faq-panel { max-height: 0; overflow: hidden; transition: max-height 350ms ease; }
.tg-faq-panel p { padding:0 22px 22px 74px; max-width:800px; font-size:15px; }
@media (max-width:767px) {
  .tg-faq-trigger { padding:14px 16px; font-size:14.5px; gap:12px; }
  .tg-faq-panel p { padding:0 16px 16px 58px; font-size:13.5px; }
  #faq .tg-container { padding-inline:18px; }
}
