@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');

/* Custom styles for TangaBid */

:root {
    --tg-green: #23a626;
    --tg-green-dark: #16851b;
    --tg-navy: #082b4a;
    --tg-black: #071225;
    --tg-ink: #071225;
    --tg-muted: #4a5a66;
    --tg-soft: #f2f7ec;
    --tg-line: rgba(35, 166, 38, 0.18);
    --tg-primary: var(--tg-green);
    --tg-primary-dark: var(--tg-green-dark);
    --tg-ink-soft: #eef6f0;
    --tg-accent: var(--tg-navy);
    --tg-accent-soft: #eef4f8;
    --tg-surface: #fbfdf8;
    --tg-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --tg-font-hero: "OSIRS", "Osiris", "Oswald", "Inter", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tg-font-sans);
    color: var(--tg-ink);
    background:
        linear-gradient(135deg, rgba(35, 166, 38, 0.07) 0 18rem, transparent 18rem 100%),
        linear-gradient(180deg, #fbfdf8 0%, #f2f7ec 46%, #fbfdf8 100%);
}

/* Shared professional surface language. Page templates inherit these tokens. */
main > div:not(.tg-modern-home),
main > section {
    color: var(--tg-ink);
}

.tg-modern-home {
    background: #fff;
}

.tg-market-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(8, 43, 74, 0.1);
    background:
        radial-gradient(circle at 12% 22%, rgba(35, 166, 38, 0.08), transparent 22rem),
        linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.94)),
        repeating-radial-gradient(ellipse at 0 100%, transparent 0 38px, rgba(8,43,74,.08) 39px 40px, transparent 41px 70px);
}

.tg-market-hero-grid {
    display: grid;
    align-items: center;
    gap: 3.5rem;
    min-height: 670px;
    padding-block: 4.5rem;
}

.tg-live-pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid rgba(35,166,38,.28);
    border-radius: 999px;
    background: rgba(240,253,244,.78);
    padding: .55rem 1rem;
    color: #137a28;
    font-size: .875rem;
    font-weight: 700;
}

.tg-live-pill span {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: var(--tg-green);
    box-shadow: 0 0 0 5px rgba(35,166,38,.1);
}

.tg-market-hero-copy h1 {
    max-width: 45rem;
    margin-top: 1.9rem;
    color: var(--tg-black);
    font-family: var(--tg-font-sans);
    font-size: clamp(2.7rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.03;
}

.tg-market-hero-copy h1 em {
    position: relative;
    font-style: normal;
}

.tg-market-hero-copy h1 em::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -.38rem;
    left: 0;
    height: .24rem;
    border-radius: 999px;
    background: var(--tg-green);
    transform: rotate(-1.5deg);
}

.tg-market-hero-copy > p {
    max-width: 38rem;
    margin-top: 1.8rem;
    color: #53657a;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.tg-market-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2rem;
}

.tg-market-actions .tg-btn { min-width: 13rem; padding: .8rem 1.35rem; }
.tg-market-actions .tg-btn-secondary { border-color: rgba(8,43,74,.42); color: var(--tg-navy); }

.tg-trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 39rem;
    margin-top: 2.6rem;
}

.tg-trust-metrics div { padding: .15rem 1.5rem; border-left: 1px solid rgba(8,43,74,.16); }
.tg-trust-metrics div:first-child { padding-left: 0; border-left: 0; }
.tg-trust-metrics dt { color: #12922c; font-size: 1.65rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tg-trust-metrics dd { margin-top: .1rem; color: #53657a; font-size: .8rem; font-weight: 600; }

.tg-price-board {
    overflow: hidden;
    border: 1px solid rgba(8,43,74,.12);
    border-radius: 1.4rem;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 60px rgba(8,43,74,.13);
}

.tg-price-board > header,
.tg-price-board > footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tg-price-board > header { padding: 1.7rem 1.8rem 1.25rem; }
.tg-price-board > header span { color: #16851b; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tg-price-board > header h2 { margin-top: .2rem; color: var(--tg-black); font-size: 1.45rem; font-weight: 800; }
.tg-price-board > header a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; border-radius: .75rem; background: #eef9ef; padding: .65rem .9rem; color: #137a28; font-size: .82rem; font-weight: 800; }
.tg-price-board > header a span { font-size: 1.1rem; letter-spacing: 0; }

.tg-price-row {
    display: grid;
    grid-template-columns: 4.6rem minmax(0,1fr) minmax(8rem,.7fr);
    align-items: center;
    gap: 1rem;
    min-height: 8.4rem;
    border-top: 1px solid rgba(8,43,74,.1);
    padding: 1rem 1.8rem;
    transition: background-color 180ms ease;
}
.tg-price-row:hover { background: #f7fbf7; }
.tg-product-photo { width: 4.5rem; height: 4.5rem; border: 1px solid rgba(8,43,74,.1); border-radius: 50%; background: #f8faf8; object-fit: contain; padding: .25rem; }
.tg-price-product strong { display: block; overflow: hidden; color: var(--tg-black); font-size: 1rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.tg-price-product span { display: block; overflow: hidden; margin-top: .45rem; color: #607186; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.tg-price-location-icon { display: inline-block; width: .82rem; height: .82rem; margin-right: .3rem; vertical-align: -.12rem; }
.tg-price-value { text-align: right; }
.tg-price-value strong { display: block; color: #12922c; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tg-price-value span { color: #607186; font-size: .7rem; }
.tg-explained { cursor: help; }
.tg-price-product .tg-explained,
.tg-price-value > .tg-explained { text-decoration: underline dotted rgba(8,43,74,.38); text-decoration-thickness: 1px; text-underline-offset: .2rem; }
.tg-price-board > footer { border-top: 1px solid rgba(8,43,74,.1); background: #f8faf9; padding: 1rem 1.8rem; color: #607186; font-size: .72rem; }
.tg-price-empty { padding: 4rem 1.8rem; color: #607186; text-align: center; }

@media (min-width: 1024px) {
    .tg-market-hero-grid { grid-template-columns: minmax(0,.92fr) minmax(34rem,1.08fr); }
}

@media (max-width: 639px) {
    .tg-market-hero-grid { gap: 2.5rem; min-height: 0; padding-block: 3rem; }
    .tg-market-hero-copy h1 { letter-spacing: -.045em; }
    .tg-market-actions { flex-direction: column; }
    .tg-market-actions .tg-btn { width: 100%; }
    .tg-trust-metrics div { padding-inline: .65rem; }
    .tg-trust-metrics dt { font-size: 1.25rem; }
    .tg-trust-metrics dd { font-size: .7rem; }
    .tg-price-board > header { padding: 1.25rem; }
    .tg-price-board > header h2 { font-size: 1.15rem; }
    .tg-price-board > header > div > span { display: none; }
    .tg-price-row { grid-template-columns: 3.4rem minmax(0,1fr) auto; gap: .75rem; min-height: 6.7rem; padding: .85rem 1.25rem; }
    .tg-product-photo { width: 3.35rem; height: 3.35rem; }
    .tg-price-value strong { font-size: 1rem; }
    .tg-price-board > footer { align-items: flex-start; flex-direction: column; padding: .9rem 1.25rem; }
}

[x-cloak] {
    display: none !important;
}

a,
button,
select,
input {
    touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(21, 128, 61, 0.25);
    outline-offset: 2px;
}

.tg-shell {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .tg-shell {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tg-shell {
        padding-inline: 2rem;
    }
}

.tg-page-header {
    border-bottom: 1px solid var(--tg-line);
    background:
        linear-gradient(135deg, rgba(35, 166, 38, 0.09), rgba(8, 43, 74, 0.055)),
        rgba(251, 253, 248, 0.92);
    backdrop-filter: blur(10px);
}

.tg-card {
    border: 1px solid var(--tg-line);
    border-radius: 0.5rem;
    background: var(--tg-surface);
    box-shadow: 0 10px 24px rgba(8, 43, 74, 0.07);
}

.tg-card-hover {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tg-card-hover:hover {
    border-color: rgba(35, 166, 38, 0.42);
    box-shadow: 0 14px 32px rgba(8, 43, 74, 0.11);
    transform: translateY(-1px);
}

.tg-kicker {
    color: var(--tg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tg-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--tg-line);
    background:
        linear-gradient(120deg, rgba(35, 166, 38, 0.16), rgba(8, 43, 74, 0.08) 58%, rgba(251, 253, 248, 0.92)),
        #fbfdf8;
}

.tg-hero-title {
    font-family: var(--tg-font-hero);
    letter-spacing: 0.01em;
}

.tg-hero::before {
    content: "";
    position: absolute;
    inset: auto -4rem -2rem -4rem;
    height: 17rem;
    opacity: 0.54;
    background:
        repeating-linear-gradient(102deg, rgba(35, 166, 38, 0.2) 0 9px, transparent 9px 34px),
        repeating-linear-gradient(78deg, rgba(8, 43, 74, 0.11) 0 7px, transparent 7px 30px);
    clip-path: polygon(0 42%, 100% 10%, 100% 100%, 0 100%);
}

.tg-hero::after {
    content: "";
    position: absolute;
    right: 3rem;
    top: 5rem;
    width: min(34vw, 28rem);
    height: min(34vw, 28rem);
    opacity: 0.2;
    background:
        radial-gradient(ellipse at 50% 95%, transparent 0 35%, var(--tg-green) 36% 39%, transparent 40%),
        radial-gradient(ellipse at 20% 52%, transparent 0 38%, var(--tg-navy) 39% 42%, transparent 43%),
        radial-gradient(ellipse at 80% 52%, transparent 0 38%, var(--tg-green) 39% 42%, transparent 43%);
    transform: rotate(-18deg);
}

.tg-hero > * {
    position: relative;
    z-index: 1;
}

/* Home page neo-brutalism treatment. Keeps the brand palette, swaps softness for bold structure. */
.tg-brutal-home {
    --tg-brutal-ink: var(--tg-black);
    --tg-brutal-paper: var(--tg-surface);
    --tg-brutal-shadow: 8px 8px 0 var(--tg-brutal-ink);
    --tg-brutal-shadow-sm: 5px 5px 0 var(--tg-brutal-ink);
    --tg-brutal-shadow-green: 8px 8px 0 var(--tg-green);
    background:
        linear-gradient(90deg, rgba(7, 18, 37, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(7, 18, 37, 0.05) 1px, transparent 1px),
        var(--tg-soft);
    background-size: 28px 28px;
}

.tg-brutal-home section {
    border-bottom: 4px solid var(--tg-brutal-ink);
}

.tg-brutal-home .tg-hero {
    border-bottom: 4px solid var(--tg-brutal-ink);
    background:
        linear-gradient(135deg, rgba(35, 166, 38, 0.18), transparent 32%),
        linear-gradient(90deg, rgba(7, 18, 37, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(7, 18, 37, 0.05) 1px, transparent 1px),
        #fbfdf8;
    background-size: auto, 30px 30px, 30px 30px, auto;
}

.tg-brutal-home .tg-hero::before {
    opacity: 1;
    background:
        repeating-linear-gradient(102deg, rgba(35, 166, 38, 0.85) 0 10px, transparent 10px 28px),
        #082b4a;
    clip-path: polygon(0 58%, 100% 26%, 100% 100%, 0 100%);
}

.tg-brutal-home .tg-hero::after {
    display: none;
}

.tg-brutal-home .tg-hero-title {
    letter-spacing: 0;
    text-shadow: 4px 4px 0 rgba(35, 166, 38, 0.55);
}

.tg-brutal-home [class*="rounded-"] {
    border-radius: 0.35rem !important;
}

.tg-brutal-home .rounded-full {
    border-radius: 999px !important;
}

.tg-brutal-home a.inline-flex,
.tg-brutal-home button.inline-flex {
    border: 3px solid var(--tg-brutal-ink) !important;
    box-shadow: var(--tg-brutal-shadow-sm) !important;
    transform: translate(0, 0);
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}

.tg-brutal-home a.inline-flex:hover,
.tg-brutal-home button.inline-flex:hover {
    box-shadow: 2px 2px 0 var(--tg-brutal-ink) !important;
    transform: translate(3px, 3px) !important;
}

.tg-brutal-home .tg-linked-shot,
.tg-brutal-home .tg-team-card,
.tg-brutal-home .grid > div[class*="border"],
.tg-brutal-home .grid > article,
.tg-brutal-home div[class*="overflow-hidden"][class*="shadow"],
.tg-brutal-home div[class*="rounded-lg"][class*="border"] {
    border: 3px solid var(--tg-brutal-ink) !important;
    box-shadow: var(--tg-brutal-shadow) !important;
    background-color: var(--tg-brutal-paper) !important;
    backdrop-filter: none !important;
}

.tg-brutal-home .tg-linked-shot,
.tg-brutal-home .tg-team-card,
.tg-brutal-home .grid > div[class*="border"],
.tg-brutal-home .grid > article {
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.tg-brutal-home .tg-linked-shot:hover,
.tg-brutal-home .tg-team-card:hover,
.tg-brutal-home .grid > div[class*="border"]:hover,
.tg-brutal-home .grid > article:hover {
    box-shadow: 3px 3px 0 var(--tg-brutal-ink) !important;
    transform: translate(5px, 5px) !important;
}

.tg-brutal-home .divide-y > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--tg-brutal-ink) !important;
    border-top-width: 2px !important;
}

.tg-brutal-home .tg-linked-shot span,
.tg-brutal-home .tg-linked-shot small,
.tg-brutal-home .tg-linked-shot strong,
.tg-brutal-home span[class*="tracking"],
.tg-brutal-home p[class*="uppercase"] {
    letter-spacing: 0.05em !important;
}

.tg-brutal-home .tg-linked-shot img,
.tg-brutal-home .tg-team-card img {
    border-bottom: 3px solid var(--tg-brutal-ink);
}

.tg-brutal-home section.bg-\[\#071225\],
.tg-brutal-home section.bg-\[\#071225\] .tg-linked-shot,
.tg-brutal-home section.bg-\[\#071225\] .tg-team-card {
    border-color: var(--tg-green) !important;
}

.tg-brutal-home section.bg-\[\#071225\] a.inline-flex {
    border-color: var(--tg-green) !important;
    box-shadow: var(--tg-brutal-shadow-green) !important;
}

.tg-brutal-home section.bg-\[\#071225\] a.inline-flex:hover {
    box-shadow: 2px 2px 0 var(--tg-green) !important;
}

.tg-brutal-home .bg-\[\#eef6f0\],
.tg-brutal-home .bg-\[\#eef4f8\],
.tg-brutal-home .bg-\[\#f6faf3\],
.tg-brutal-home .bg-\[\#e9f8e5\] {
    background-image:
        linear-gradient(90deg, rgba(7, 18, 37, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(7, 18, 37, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
}

@media (max-width: 640px) {
    .tg-brutal-home {
        --tg-brutal-shadow: 5px 5px 0 var(--tg-brutal-ink);
        --tg-brutal-shadow-sm: 4px 4px 0 var(--tg-brutal-ink);
    }

    .tg-brutal-home .tg-hero-title {
        text-shadow: 3px 3px 0 rgba(35, 166, 38, 0.55);
    }
}

/* Homepage 2026 — TangaBid's editorial market-intelligence system. */
.tg-home-v2 {
    --tg2-ink: #071225;
    --tg2-green: #23a626;
    --tg2-green-dark: #147a1a;
    --tg2-paper: #fafbf7;
    --tg2-muted: #eef1ea;
    --tg2-rule: rgba(7, 18, 37, .24);
    overflow: clip;
    color: var(--tg2-ink);
    background: var(--tg2-paper);
    font-family: var(--tg-font-sans);
}
body:has(.tg-home-v2) { background: var(--tg2-paper, #fafbf7); }
body:has(.tg-home-v2) footer { margin-top: 0; }
body:has(.tg-home-v2) .tg-site-nav { border-bottom: 2px solid #071225; border-radius: 0; box-shadow: none; backdrop-filter: none; }
body:has(.tg-home-v2) .tg-site-nav a,body:has(.tg-home-v2) .tg-site-nav button,body:has(.tg-home-v2) .tg-site-nav select { border-radius: 0; }
.tg2-shell { width: min(100% - 2rem, 86rem); margin-inline: auto; }
.tg2-hero { position: relative; padding-top: clamp(4rem, 8vw, 8rem); background: #fff; border-bottom: 2px solid var(--tg2-ink); }
.tg2-grid-lines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(7,18,37,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(7,18,37,.045) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom,#000,transparent 82%); }
.tg2-hero-layout { position: relative; display: grid; grid-template-columns: minmax(0,.92fr) minmax(31rem,1.08fr); align-items: end; gap: clamp(2.5rem,4vw,5rem); }
.tg2-kicker { display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--tg2-ink); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.tg2-kicker span { color: var(--tg2-green-dark); font-variant-numeric: tabular-nums; }
.tg2-hero-copy { padding-bottom: clamp(4rem,7vw,7rem); }
.tg2-hero-copy h1 { max-width: 12ch; margin: 1.5rem 0 0; font-size: clamp(3.5rem,7vw,7.4rem); font-weight: 900; letter-spacing: -.075em; line-height: .87; text-transform: uppercase; }
.tg2-hero-copy h1 em { color: var(--tg2-green-dark); font-style: normal; }
.tg2-lede,.tg2-section-head>p:last-child,.tg2-sticky-head>p,.tg2-coverage-copy>p { max-width: 38rem; margin: 2rem 0 0; color: #475464; font-size: clamp(1rem,1.4vw,1.18rem); line-height: 1.7; }
.tg2-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.tg2-button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: space-between; gap: 2.5rem; padding: .85rem 1.1rem; border: 2px solid var(--tg2-ink); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: color 180ms ease-out,background-color 180ms ease-out,border-color 180ms ease-out; }
.tg2-button-primary { color: #fff; background: var(--tg2-ink); }
.tg2-button-outline { color: var(--tg2-ink); background: #fff; }
.tg2-button-primary:hover,.tg2-button-outline:hover { color: #fff; border-color: var(--tg2-green-dark); background: var(--tg2-green-dark); }
.tg2-button-green { color: #fff; border-color: var(--tg2-green); background: var(--tg2-green); }
.tg2-button-light { color: var(--tg2-ink); border-color: #fff; background: #fff; }
.tg2-price-board { position: relative; z-index: 1; align-self: end; margin-bottom: 3.5rem; border: 2px solid var(--tg2-ink); background: #fff; animation-delay: var(--delay,0ms); }
.tg2-board-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--tg2-ink); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tg2-board-head div { display: flex; align-items: center; gap: .6rem; }
.tg2-board-head p { margin: 0; }
.tg2-board-head a:hover { color: var(--tg2-green-dark); }
.tg2-status-dot { width: .55rem; height: .55rem; background: var(--tg2-green); animation: tg2-pulse 1.8s ease-in-out infinite; }
.tg2-price-board>h2 { margin: 0; padding: 1.3rem 1.25rem .8rem; font-size: clamp(1.55rem,2.5vw,2.3rem); font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.tg2-price-board .tg-price-list { padding: 0; }
.tg2-price-board .tg-price-row { display: grid; grid-template-columns: 4.25rem 1fr auto; gap: 1.15rem; align-items: center; min-height: 6.65rem; padding: .9rem 1.4rem; border-top: 1px solid var(--tg2-rule); border-radius: 0; transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg2-price-board .tg-price-row:hover { color: #fff; background: var(--tg2-ink); transform: none; }
.tg2-price-board .tg-product-photo { width: 4.25rem; height: 4.25rem; border-radius: 0; object-fit: contain; padding: .3rem; background: #f3f6ef; filter: saturate(.75); }
.tg2-price-board .tg-price-product strong,.tg2-price-board .tg-price-value strong { color: inherit; font-size: 1.02rem; font-weight: 800; }
.tg2-price-board .tg-price-product span,.tg2-price-board .tg-price-value span { color: #657080; font-size: .72rem; }
.tg2-price-board .tg-price-row:hover span { color: rgba(255,255,255,.68); }
.tg2-price-board footer { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; border-top: 1px solid var(--tg2-ink); color: #5b6572; font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tg2-metrics { position: relative; display: grid; grid-template-columns: repeat(4,1fr); margin: 0; border-top: 2px solid var(--tg2-ink); }
.tg2-metrics div { min-height: 8rem; padding: 1.35rem 1.5rem; border-left: 1px solid var(--tg2-ink); }
.tg2-metrics div:first-child { border-left: 0; }
.tg2-metrics dt { font-size: clamp(2rem,4vw,3.6rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.tg2-metrics dd { margin-top: .65rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tg2-section { padding-block: clamp(5rem,9vw,9rem); border-bottom: 2px solid var(--tg2-ink); }
.tg2-marketplace { background: var(--tg2-muted); }
.tg2-section-head { display: grid; grid-template-columns: minmax(12rem,.5fr) minmax(20rem,1fr); gap: 1rem 4rem; align-items: start; }
.tg2-section-head h2 { grid-column: 2; max-width: 16ch; margin: 0; font-size: clamp(2.8rem,5.4vw,5.7rem); font-weight: 900; letter-spacing: -.065em; line-height: .95; text-transform: uppercase; }
.tg2-section-head>p:last-child { grid-column: 2; }
.tg2-product-stage { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(28rem,.65fr); gap: 1.5rem; align-items: start; margin-top: clamp(4rem,7vw,7rem); }
.tg2-screen { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 2px solid var(--tg2-ink); background: #fff; }
.tg2-screen-media { display: grid; place-items: center; overflow: hidden; background: #f7faf5; }
.tg2-screen img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: filter 240ms ease-out; }
.tg2-screen:hover img,.tg2-map-frame:hover img { filter: saturate(.7); }
.tg2-screen-label { position: relative; z-index: 2; display: block; width: 100%; padding: .65rem .8rem; color: #fff; background: var(--tg2-ink); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tg2-screen-wide .tg2-screen-media { aspect-ratio: 1900 / 979; }
.tg2-phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tg2-screen-phone .tg2-screen-media { aspect-ratio: 414 / 908; }
.tg2-screen-copy { min-height: 8.25rem; padding: 1.25rem; border-top: 2px solid var(--tg2-ink); }
.tg2-screen-copy strong { display: block; font-size: .9rem; font-weight: 900; letter-spacing: -.015em; text-transform: uppercase; }
.tg2-screen-copy span { display: block; margin-top: .55rem; color: #596572; font-size: .76rem; line-height: 1.55; }
.tg2-screen:hover .tg2-screen-copy { color: #fff; background: var(--tg2-ink); }
.tg2-screen:hover .tg2-screen-copy span { color: rgba(255,255,255,.68); }
.tg2-workflow { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 4rem; border-top: 2px solid var(--tg2-ink); border-bottom: 2px solid var(--tg2-ink); }
.tg2-workflow article { min-height: 14rem; padding: 1.5rem; border-left: 1px solid var(--tg2-ink); }
.tg2-workflow article:first-child { border-left: 0; }
.tg2-workflow span,.tg2-capability-list>article>span { color: var(--tg2-green-dark); font-size: .7rem; font-weight: 900; }
.tg2-workflow h3 { margin-top: 3.75rem; font-size: 1rem; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.tg2-workflow p { margin-top: .75rem; color: #53606d; font-size: .84rem; line-height: 1.6; }
.tg2-capabilities { background: #fff; }
.tg2-asymmetric { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem,8vw,9rem); }
.tg2-sticky-head { align-self: start; position: sticky; top: 7rem; }
.tg2-sticky-head h2,.tg2-coverage-copy h2,.tg2-leadership-copy h2 { margin: 1.5rem 0 0; font-size: clamp(2.5rem,4.5vw,4.8rem); font-weight: 900; letter-spacing: -.06em; line-height: .96; text-transform: uppercase; }
.tg2-text-link { display: inline-flex; gap: 2rem; margin-top: 2rem; padding-bottom: .35rem; border-bottom: 2px solid currentColor; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg2-text-link:hover { color: var(--tg2-green-dark); }
.tg2-capability-list { border-top: 2px solid var(--tg2-ink); }
.tg2-capability-list article { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; min-height: 13rem; padding: 2rem 0; border-bottom: 2px solid var(--tg2-ink); }
.tg2-capability-list h3 { margin: 0; font-size: clamp(1.8rem,3vw,3rem); font-weight: 900; letter-spacing: -.05em; text-transform: uppercase; }
.tg2-capability-list p { max-width: 35rem; margin-top: 1rem; color: #53606d; line-height: 1.7; }
.tg2-coverage { background: var(--tg2-ink); color: #fff; }
.tg2-coverage .tg2-kicker { color: #fff; }
.tg2-coverage-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem,7vw,8rem); align-items: start; }
.tg2-coverage-copy>p { color: rgba(255,255,255,.66); }
.tg2-location-list { margin-block: 2.5rem; border-top: 1px solid rgba(255,255,255,.4); }
.tg2-location-list a { display: grid; grid-template-columns: 1fr auto 1rem; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.4); font-size: .8rem; font-weight: 800; text-transform: uppercase; transition: color 180ms ease-out,padding 180ms ease-out; }
.tg2-location-list a:hover { padding-left: .6rem; color: #77d86e; }
.tg2-location-list small { color: rgba(255,255,255,.55); }
.tg2-map-frame { position: relative; display: block; overflow: hidden; border: 2px solid #fff; background: #fff; }
.tg2-map-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1922 / 998; object-fit: contain; transition: filter 240ms ease-out; }
.tg2-data { background: var(--tg2-paper); }
.tg2-downloads { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 5rem; border: 2px solid var(--tg2-ink); }
.tg2-downloads a { position: relative; min-height: 19rem; padding: 1.5rem; border-left: 1px solid var(--tg2-ink); transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg2-downloads a:first-child { border-left: 0; }
.tg2-downloads a:hover { color: #fff; background: var(--tg2-green-dark); }
.tg2-downloads span { font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.tg2-downloads strong { display: block; margin-top: 5rem; font-size: clamp(1.4rem,2.2vw,2.3rem); font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.tg2-downloads small { display: block; max-width: 20rem; margin-top: 1rem; color: #5c6673; line-height: 1.6; }
.tg2-downloads a:hover small { color: rgba(255,255,255,.72); }
.tg2-downloads b { position: absolute; right: 1.5rem; bottom: 1.25rem; font-size: 1.5rem; }
.tg2-leadership { padding-block: clamp(5rem,9vw,9rem); border-bottom: 2px solid var(--tg2-ink); background: #fff; }
.tg2-leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,8vw,9rem); align-items: end; }
.tg2-founder { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--tg2-ink); }
.tg2-founder img { width: 8rem; height: 8rem; object-fit: contain; background: var(--tg2-ink); filter: grayscale(1) contrast(1.05); }
.tg2-founder p { color: var(--tg2-green-dark); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg2-founder h3 { margin-top: .6rem; font-size: 1.45rem; font-weight: 900; letter-spacing: -.035em; }
.tg2-founder div span { display: block; margin-top: .65rem; color: #56616e; font-size: .86rem; line-height: 1.6; }
.tg2-founder>a { grid-column: 1/-1; display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--tg2-ink); border-bottom: 2px solid var(--tg2-ink); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg2-founder>a:hover { color: var(--tg2-green-dark); }
.tg2-final { padding-block: clamp(5rem,9vw,9rem); color: #fff; background: var(--tg2-ink); }
.tg2-final .tg2-kicker { color: #fff; }
.tg2-final h2 { max-width: 12ch; margin: 1.5rem 0 0; font-size: clamp(3rem,7vw,7.5rem); font-weight: 900; letter-spacing: -.075em; line-height: .9; text-transform: uppercase; }
@keyframes tg2-pulse { 50% { opacity:.35; } }

@media (max-width: 1120px) {
    .tg2-product-stage { grid-template-columns: 1fr; }
    .tg2-phone-pair { width: min(100%,42rem); }
}
@media (max-width: 960px) {
    .tg2-hero-layout,.tg2-coverage-grid,.tg2-leadership-grid { grid-template-columns: 1fr; }
    .tg2-price-board { margin-bottom: 0; }
    .tg2-section-head { grid-template-columns: 1fr; }
    .tg2-section-head h2,.tg2-section-head>p:last-child { grid-column: 1; }
    .tg2-product-stage { grid-template-columns: 1fr; }
    .tg2-screen-wide { min-height: auto; }
    .tg2-asymmetric { grid-template-columns: 1fr; }
    .tg2-sticky-head { position: static; }
}
@media (max-width: 680px) {
    .tg2-shell { width: min(100% - 1.25rem,82rem); }
    .tg2-hero-copy h1 { font-size: clamp(3rem,15vw,5.2rem); }
    .tg2-actions,.tg2-button { width: 100%; }
    .tg2-metrics { grid-template-columns: 1fr 1fr; }
    .tg2-metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--tg2-ink); }
    .tg2-metrics div:nth-child(4) { border-top: 1px solid var(--tg2-ink); }
    .tg2-phone-pair { gap: .65rem; }
    .tg2-workflow { grid-template-columns: 1fr 1fr; }
    .tg2-workflow article:nth-child(3) { border-left: 0; border-top: 1px solid var(--tg2-ink); }
    .tg2-workflow article:nth-child(4) { border-top: 1px solid var(--tg2-ink); }
    .tg2-capability-list article { grid-template-columns: 2.5rem 1fr; }
    .tg2-downloads { grid-template-columns: 1fr; }
    .tg2-downloads a { min-height: 14rem; border-top: 1px solid var(--tg2-ink); border-left: 0; }
    .tg2-downloads a:first-child { border-top: 0; }
    .tg2-downloads strong { margin-top: 3rem; }
    .tg2-founder { grid-template-columns: 5.5rem 1fr; }
    .tg2-founder img { width: 5.5rem; height: 5.5rem; }
    .tg2-price-board .tg-price-row { grid-template-columns: 3rem 1fr; }
    .tg2-price-board .tg-product-photo { width: 3rem; height: 3rem; }
    .tg2-price-board .tg-price-value { grid-column: 2; text-align: left; }
    .tg2-price-board footer { flex-direction: column; }
}
@media (max-width: 480px) {
    .tg2-phone-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .tg-home-v2 * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* Shared editorial system for TangaBid's public data workspaces. */
.tg-data-page {
    --data-ink: #071225;
    --data-green: #147a1a;
    --data-signal: #23a626;
    --data-paper: #fafbf7;
    --data-muted: #eef1ea;
    --data-rule: rgba(7,18,37,.2);
    min-height: 100vh;
    color: var(--data-ink);
    background: var(--data-paper);
}
.tg-data-shell { width: min(100% - 2rem,86rem); margin-inline: auto; }
body:has(.tg-data-page) { background: var(--data-paper); }
body:has(.tg-data-page) footer { margin-top: 0; }
body:has(.tg-data-page) .tg-site-nav { border-bottom: 2px solid var(--data-ink); border-radius: 0; box-shadow: none; backdrop-filter: none; }
body:has(.tg-data-page) .tg-site-nav a,body:has(.tg-data-page) .tg-site-nav button,body:has(.tg-data-page) .tg-site-nav select { border-radius: 0; }
.tg-data-hero { position: relative; padding-block: clamp(3rem,6vw,6rem); overflow: hidden; border-bottom: 2px solid var(--data-ink); background-color: #fff; background-image: linear-gradient(rgba(7,18,37,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(7,18,37,.045) 1px,transparent 1px); background-size: 32px 32px; }
.tg-data-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem,8vw,9rem); align-items: end; }
.tg-data-kicker { display: flex; gap: .65rem; align-items: center; margin: 0; font-size: .68rem; font-weight: 900; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.tg-data-kicker span { color: var(--data-green); font-variant-numeric: tabular-nums; }
.tg-data-hero h1 { max-width: 11ch; margin: 1.25rem 0 0; font-size: clamp(3.5rem,7vw,7rem); font-weight: 900; letter-spacing: -.075em; line-height: .85; text-transform: uppercase; }
.tg-data-hero h1 em { color: var(--data-green); font-style: normal; }
.tg-data-hero-compact { padding-block: clamp(2.75rem,5vw,4.75rem); }
.tg-data-hero-compact h1 { font-size: clamp(3.3rem,6vw,6rem); }
.tg-data-intro>p { max-width: 34rem; color: #465463; font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.7; }
.tg-data-intro>span { display: block; margin-top: 2rem; padding-top: 1rem; border-top: 2px solid var(--data-ink); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.tg-data-controls { border-bottom: 2px solid var(--data-ink); background: var(--data-muted); }
.tg-data-control-grid { display: grid; grid-template-columns: .72fr 1.28fr .8fr; align-items: stretch; }
.tg-data-control-grid>div:first-of-type { padding: 1.5rem 1.5rem 1.5rem 0; }
.tg-data-control-grid h2 { margin-top: .7rem; font-size: 1.2rem; font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; }
.tg-period-switcher { display: grid; grid-template-columns: repeat(3,1fr); border-inline: 1px solid var(--data-ink); }
.tg-period-switcher legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tg-period-switcher button { min-height: 6.75rem; padding: 1rem; border-left: 1px solid var(--data-ink); text-align: left; transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg-period-switcher button:first-of-type { border-left: 0; }
.tg-period-switcher button span,.tg-period-switcher button small { display: block; }
.tg-period-switcher button span { font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-period-switcher button small { margin-top: .55rem; color: #64707c; font-size: .69rem; }
.tg-period-switcher button:hover,.tg-period-switcher button.is-active { color: #fff; background: var(--data-ink); }
.tg-period-switcher button:hover small,.tg-period-switcher button.is-active small { color: rgba(255,255,255,.68); }
.tg-data-select { display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 1rem 0 1rem 1.5rem; }
.tg-data-select label { grid-column: 1/-1; margin-bottom: .45rem; font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg-data-select select { min-width: 0; min-height: 3rem; border: 2px solid var(--data-ink); background: #fff; padding: .65rem .8rem; font-size: .8rem; font-weight: 700; }
.tg-data-select button { display: inline-flex; min-height: 3rem; align-items: center; gap: 1rem; padding: .65rem .85rem; color: #fff; background: var(--data-green); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-data-workspace { padding-block: clamp(2.5rem,5vw,5rem); }
.tg-data-metrics { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 2rem; border: 2px solid var(--data-ink); background: #fff; }
.tg-data-metrics article { min-height: 9rem; padding: 1.25rem; border-left: 1px solid var(--data-ink); }
.tg-data-metrics article:first-child { border-left: 0; }
.tg-data-metrics-five { grid-template-columns: repeat(5,1fr); }
.tg-data-metrics-three { grid-template-columns: repeat(3,1fr); }
.tg-data-metrics span,.tg-data-metrics small { display: block; }
.tg-data-metrics span { font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg-data-metrics strong { display: block; margin-top: 1.6rem; font-size: clamp(2rem,3.5vw,3.4rem); font-weight: 900; letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.tg-data-metrics small { margin-top: .65rem; color: #64707b; font-size: .72rem; }
.tg-chart-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(19rem,.55fr); gap: 1.5rem; }
.tg-chart-panel { min-width: 0; border: 2px solid var(--data-ink); background: #fff; }
.tg-chart-panel>header { display: flex; min-height: 7.6rem; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: 1.25rem; border-bottom: 1px solid var(--data-ink); }
.tg-chart-panel>header h2 { margin-top: .6rem; font-size: clamp(1.35rem,2.2vw,2.15rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }
.tg-chart-panel>header div>span { display: block; margin-top: .55rem; color: #64707b; font-size: .72rem; line-height: 1.45; }
.tg-chart-panel>header>a { flex: 0 0 auto; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-chart-panel>header>a:hover { color: var(--data-green); }
.tg-chart-panel-full { grid-column: 1/-1; }
.tg-chart-canvas { position: relative; padding: 1.25rem; }
.tg-chart-canvas-line { height: 25rem; }
.tg-chart-canvas-donut { height: 18rem; padding: 1.5rem 2rem .5rem; }
.tg-chart-canvas-bar { height: 27rem; }
.tg-chart-empty { display: grid; min-height: 18rem; place-items: center; padding: 2rem; color: #64707b; text-align: center; }
.tg-chart-legend { padding: .75rem 1.25rem 1.25rem; }
.tg-chart-legend div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--data-rule); font-size: .75rem; }
.tg-chart-legend dt { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.tg-chart-legend i { display: block; width: .65rem; height: .65rem; }
.tg-chart-legend .role-1 { background: #23a626; }.tg-chart-legend .role-2 { background: #071225; }.tg-chart-legend .role-3 { background: #829079; }.tg-chart-legend .role-4 { background: #d7ddd2; border: 1px solid #879183; }
.tg-gap-legend .band-1 { background: #9fc89a; }.tg-gap-legend .band-2 { background: #23a626; }.tg-gap-legend .band-3 { background: #147a1a; }.tg-gap-legend .band-4 { background: #071225; }
.tg-chart-legend dd { font-weight: 900; font-variant-numeric: tabular-nums; }
.tg-chart-fallback { border-top: 1px solid var(--data-rule); }
.tg-chart-fallback summary { min-height: 3rem; padding: 1rem 1.25rem; cursor: pointer; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-table-scroll { overflow-x: auto; }
.tg-table-scroll table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .78rem; }
.tg-table-scroll th { padding: .85rem 1.15rem; border-top: 1px solid var(--data-ink); border-bottom: 1px solid var(--data-ink); background: var(--data-muted); color: #4c5968; font-size: .63rem; font-weight: 900; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.tg-table-scroll td { padding: 1rem 1.15rem; border-bottom: 1px solid var(--data-rule); font-variant-numeric: tabular-nums; }
.tg-table-scroll tbody tr:hover { background: #f2f5ee; }
.tg-table-scroll td small { display: block; margin-top: .25rem; color: #65717e; font-size: .68rem; }
.tg-data-table-panel { margin-top: 1.5rem; border: 2px solid var(--data-ink); background: #fff; }
.tg-data-table-panel>header { display: flex; min-height: 7.5rem; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 1.25rem; border-bottom: 1px solid var(--data-ink); }
.tg-data-table-panel>header h2 { margin-top: .55rem; font-size: clamp(1.35rem,2.2vw,2.1rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.tg-data-table-panel>header div>span { display: block; margin-top: .55rem; color: #64707b; font-size: .72rem; }
.tg-data-table-panel>header>a { flex: 0 0 auto; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-data-table-panel>header>a:hover { color: var(--data-green); }
.tg-data-note { display: grid; grid-template-columns: minmax(9rem,.25fr) 1fr; gap: 2rem; margin-top: 1.5rem; padding: 1.25rem; border: 2px solid var(--data-ink); background: var(--data-muted); }
.tg-data-note strong { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg-data-note p { max-width: 55rem; color: #4f5c69; font-size: .82rem; line-height: 1.65; }
.tg-inline-icon { display: inline-block; width: 1.05rem; height: 1.05rem; flex: 0 0 auto; vertical-align: middle; }
.tg-metric-date { font-size: clamp(1.65rem,2.8vw,2.75rem) !important; letter-spacing: -.045em !important; }
.tg-data-back { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .65rem; margin-bottom: 1.35rem; border-bottom: 1px solid currentColor; font-size: .67rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tg-data-back:hover { color: var(--data-green); }
.tg-data-table-panel>header>a,.tg-table-action { display: inline-flex; align-items: center; gap: .55rem; }
.tg-table-link { font-weight: 900; }
.tg-table-link:hover,.tg-table-action:hover { color: var(--data-green); }
.tg-table-price { font-weight: 900; font-variant-numeric: tabular-nums; }
.tg-table-action { min-height: 2.75rem; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-table-empty { height: 9rem; color: #65717e; text-align: center; }

/* Data Access */
.tg-access-layout { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(19rem,.58fr); gap: 1.5rem; }
.tg-access-catalog,.tg-access-contact { border: 2px solid var(--data-ink); }
.tg-access-catalog { background: #fff; }
.tg-access-panel-head { display: flex; min-height: 8.5rem; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 1.25rem; }
.tg-access-panel-head h2 { margin-top: .65rem; font-size: clamp(1.8rem,3vw,3rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.tg-access-panel-head>.tg-inline-icon { width: 2rem; height: 2rem; color: var(--data-green); }
.tg-access-row { display: grid; grid-template-columns: 6.5rem minmax(0,1fr) 10.5rem; gap: 1.25rem; min-height: 11.5rem; align-items: center; padding: 1.25rem; border-top: 1px solid var(--data-ink); transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg-access-row:hover { color: #fff; background: var(--data-ink); }
.tg-access-index { align-self: start; padding-top: .2rem; color: var(--data-green); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.tg-access-copy strong,.tg-access-copy small,.tg-access-copy em { display: block; }
.tg-access-copy strong { font-size: clamp(1.3rem,2vw,1.85rem); font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }
.tg-access-copy small { max-width: 35rem; margin-top: .75rem; color: #52606e; font-size: .8rem; line-height: 1.6; }
.tg-access-copy em { margin-top: 1.1rem; color: #6b7681; font-size: .61rem; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tg-access-row:hover .tg-access-copy small,.tg-access-row:hover .tg-access-copy em { color: rgba(255,255,255,.7); }
.tg-access-link { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: .75rem; align-self: end; padding-bottom: .35rem; border-bottom: 1px solid currentColor; font-size: .63rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.tg-access-contact { display: flex; min-height: 100%; flex-direction: column; padding: 1.5rem; color: #fff; background: var(--data-ink); }
.tg-access-contact .tg-data-kicker { color: #fff; }
.tg-access-contact h2 { max-width: 10ch; margin-top: clamp(2.5rem,5vw,5.5rem); font-size: clamp(2.2rem,3.6vw,3.8rem); font-weight: 900; letter-spacing: -.06em; line-height: .92; text-transform: uppercase; }
.tg-access-contact>p:not(.tg-data-kicker) { margin-top: 1.5rem; color: rgba(255,255,255,.68); font-size: .85rem; line-height: 1.7; }
.tg-access-contact-links { margin-top: auto; padding-top: 3rem; }
.tg-access-contact-links a { display: grid; grid-template-columns: 1.5rem minmax(0,1fr); gap: .8rem; align-items: center; min-height: 4.75rem; border-top: 1px solid rgba(255,255,255,.35); }
.tg-access-contact-links a:hover { color: #80df75; }
.tg-access-contact-links small,.tg-access-contact-links strong { display: block; }
.tg-access-contact-links small { color: rgba(255,255,255,.58); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tg-access-contact-links strong { margin-top: .25rem; overflow-wrap: anywhere; font-size: .72rem; }
.tg-access-location { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.6); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg-access-field-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tg-access-field-grid article { min-height: 23rem; padding: 1.5rem; border-left: 1px solid var(--data-ink); }
.tg-access-field-grid article:first-child { border-left: 0; }
.tg-access-field-grid article>span { color: var(--data-green); font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tg-access-field-grid h3 { max-width: 15ch; margin-top: 3.5rem; font-size: clamp(1.55rem,2.8vw,2.6rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; text-transform: uppercase; }
.tg-access-field-grid p { max-width: 32rem; margin-top: 1rem; color: #566370; font-size: .82rem; line-height: 1.65; }
.tg-access-field-grid ul { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border-top: 1px solid var(--data-rule); }
.tg-access-field-grid li { padding: .65rem 0; border-bottom: 1px solid var(--data-rule); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.tg-access-guide>footer { padding: 1.1rem 1.5rem; border-top: 1px solid var(--data-ink); color: #596673; background: var(--data-muted); font-size: .65rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; text-transform: uppercase; }

/* Market Locations */
.tg-location-controls { display: grid; grid-template-columns: minmax(15rem,.42fr) minmax(0,1.58fr); border: 2px solid var(--data-ink); background: #fff; }
.tg-location-controls>div { display: flex; min-height: 9rem; flex-direction: column; justify-content: flex-end; padding: 1.25rem; }
.tg-location-controls h2 { margin-top: .75rem; font-size: clamp(1.65rem,2.8vw,2.8rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.tg-location-search { display: grid; align-content: center; padding: 1.25rem; border-left: 1px solid var(--data-ink); }
.tg-location-search label { margin-bottom: .5rem; font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tg-location-search>div { display: grid; grid-template-columns: minmax(0,1fr) auto auto; }
.tg-location-search input { min-width: 0; min-height: 3.25rem; border: 2px solid var(--data-ink); padding: .75rem .9rem; background: #fff; }
.tg-location-search input:focus { border-color: var(--data-green); outline: 2px solid rgba(20,122,26,.2); outline-offset: 1px; }
.tg-location-search button,.tg-location-search a { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .6rem; padding: .7rem 1rem; border: 2px solid var(--data-ink); border-left: 0; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-location-search button { color: #fff; background: var(--data-green); }
.tg-location-search button:hover { background: var(--data-ink); }
.tg-location-search a:hover { color: #fff; background: var(--data-ink); }
.tg-location-summary { display: grid; grid-template-columns: 7rem minmax(12rem,1fr) auto; align-items: center; min-height: 7rem; margin-top: 1.5rem; border: 2px solid var(--data-ink); color: #fff; background: var(--data-ink); }
.tg-location-summary>strong { padding-left: 1.25rem; color: #74d96b; font-size: 3.5rem; font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.tg-location-summary>span { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-location-summary dl { display: grid; grid-template-columns: repeat(3,6.25rem); align-self: stretch; border-left: 1px solid rgba(255,255,255,.35); }
.tg-location-summary dl div { display: flex; flex-direction: column; justify-content: center; padding: .75rem 1rem; border-left: 1px solid rgba(255,255,255,.2); }
.tg-location-summary dl div:first-child { border-left: 0; }
.tg-location-summary dt { color: rgba(255,255,255,.6); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tg-location-summary dd { margin-top: .35rem; font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.tg-location-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 1.5rem; border: 2px solid var(--data-ink); background: var(--data-ink); }
.tg-location-card { display: grid; grid-template-columns: 1fr auto; min-height: 17rem; padding: 1.25rem; color: var(--data-ink); background: #fff; transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg-location-card:hover { color: #fff; background: var(--data-green); }
.tg-location-number { color: var(--data-green); font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.tg-location-card:hover .tg-location-number { color: #fff; }
.tg-location-pin { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid currentColor; color: var(--data-green); }
.tg-location-pin .tg-inline-icon { width: 1.35rem; height: 1.35rem; }
.tg-location-card:hover .tg-location-pin { color: #fff; }
.tg-location-name,.tg-location-region,.tg-location-type,.tg-location-action { grid-column: 1/-1; }
.tg-location-name { align-self: end; margin-top: 3rem; font-size: clamp(1.4rem,2vw,2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.tg-location-region { margin-top: .55rem; color: #65717d; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tg-location-type { align-self: end; margin-top: 1.3rem; color: #4f5c69; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.tg-location-action { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; padding-top: .8rem; border-top: 1px solid currentColor; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-location-card:hover .tg-location-region,.tg-location-card:hover .tg-location-type { color: rgba(255,255,255,.72); }
.tg-location-empty { grid-column: 1/-1; display: grid; min-height: 24rem; place-items: center; align-content: center; padding: 2rem; background: #fff; text-align: center; }
.tg-location-empty>.tg-inline-icon { width: 2rem; height: 2rem; color: var(--data-green); }
.tg-location-empty h2 { margin-top: 1rem; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.tg-location-empty p { margin-top: .5rem; color: #65717d; }
.tg-location-empty a { margin-top: 1.25rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; color: var(--data-green); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-data-next.tg-data-next-two { grid-template-columns: repeat(2,1fr); }
.tg-data-next>a>.tg-inline-icon { position: absolute; right: 1.25rem; bottom: 1rem; }
.tg-data-next { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2rem; border: 2px solid var(--data-ink); background: #fff; }
.tg-data-next a { position: relative; min-height: 10rem; padding: 1.25rem; border-left: 1px solid var(--data-ink); transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg-data-next a:first-child { border-left: 0; }
.tg-data-next span,.tg-data-next strong { display: block; }
.tg-data-next span { font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tg-data-next strong { max-width: 15rem; margin-top: 2.5rem; font-size: 1rem; font-weight: 900; text-transform: uppercase; }
.tg-data-next b { position: absolute; right: 1.25rem; bottom: 1rem; }
.tg-data-next a:hover { color: #fff; background: var(--data-green); }

@media (max-width: 1020px) {
    .tg-data-hero-grid,.tg-data-control-grid { grid-template-columns: 1fr; }
    .tg-data-control-grid>div:first-of-type { padding-right: 0; }
    .tg-period-switcher { border: 1px solid var(--data-ink); }
    .tg-data-select { padding-left: 0; }
    .tg-chart-grid { grid-template-columns: 1fr; }
    .tg-chart-panel-full { grid-column: auto; }
    .tg-data-metrics-five { grid-template-columns: repeat(3,1fr); }
    .tg-data-metrics-five article:nth-child(4) { border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-data-metrics-five article:nth-child(5) { border-top: 1px solid var(--data-ink); }
    .tg-access-layout { grid-template-columns: 1fr; }
    .tg-access-contact { min-height: 38rem; }
    .tg-location-controls { grid-template-columns: 1fr; }
    .tg-location-controls>div { min-height: 7rem; }
    .tg-location-search { border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-location-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .tg-data-shell { width: min(100% - 1.25rem,86rem); }
    .tg-period-switcher { grid-template-columns: 1fr; }
    .tg-period-switcher button { min-height: 4.5rem; border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-period-switcher button:first-of-type { border-top: 0; }
    .tg-data-metrics { grid-template-columns: 1fr 1fr; }
    .tg-data-metrics article:nth-child(3) { border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-data-metrics article:nth-child(4) { border-top: 1px solid var(--data-ink); }
    .tg-data-metrics-five { grid-template-columns: 1fr 1fr; }
    .tg-data-metrics-five article:nth-child(3),.tg-data-metrics-five article:nth-child(5) { border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-data-metrics-five article:nth-child(4) { border-top: 1px solid var(--data-ink); border-left: 1px solid var(--data-ink); }
    .tg-data-table-panel>header { align-items: flex-start; flex-direction: column; }
    .tg-chart-panel>header { align-items: flex-start; flex-direction: column; }
    .tg-chart-canvas-line,.tg-chart-canvas-bar { height: 21rem; }
    .tg-data-next { grid-template-columns: 1fr; }
    .tg-data-next.tg-data-next-two { grid-template-columns: 1fr; }
    .tg-data-next a { min-height: 8rem; border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-data-next a:first-child { border-top: 0; }
    .tg-data-metrics-three { grid-template-columns: 1fr; }
    .tg-data-metrics-three article { border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-data-metrics-three article:first-child { border-top: 0; }
    .tg-data-note { grid-template-columns: 1fr; gap: .75rem; }
    .tg-access-row { grid-template-columns: 1fr; min-height: 17rem; align-content: start; }
    .tg-access-index { align-self: auto; }
    .tg-access-link { width: 100%; margin-top: auto; align-self: auto; }
    .tg-access-contact { min-height: 34rem; }
    .tg-access-field-grid { grid-template-columns: 1fr; }
    .tg-access-field-grid article { min-height: 20rem; border-top: 1px solid var(--data-ink); border-left: 0; }
    .tg-access-field-grid article:first-child { border-top: 0; }
    .tg-access-field-grid ul { grid-template-columns: 1fr; }
    .tg-location-search>div { grid-template-columns: minmax(0,1fr) auto; }
    .tg-location-search a { grid-column: 1/-1; border-top: 0; border-left: 2px solid var(--data-ink); }
    .tg-location-summary { grid-template-columns: 5.5rem 1fr; }
    .tg-location-summary>strong { font-size: 2.75rem; }
    .tg-location-summary dl { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.35); border-left: 0; }
    .tg-location-grid { grid-template-columns: 1fr; }
    .tg-location-card { min-height: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
    .tg-data-page * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* Bridge existing record/detail templates into the same data-platform language. */
.tg-data-page-legacy { background: var(--data-paper); }
.tg-data-page-legacy .max-w-7xl { max-width: 86rem; }
.tg-data-page-legacy .tg-page-header { border-bottom: 2px solid var(--data-ink); background-color: #fff; background-image: linear-gradient(rgba(7,18,37,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(7,18,37,.04) 1px,transparent 1px); background-size: 32px 32px; }
.tg-data-page-legacy .tg-page-header h1 { font-size: clamp(2.3rem,4vw,4rem); font-weight: 900; letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.tg-data-page-legacy .tg-page-header p { color: #52606e; }
.tg-data-page-legacy .tg-card,.tg-data-page-legacy .tg-stat { border: 2px solid var(--data-ink); border-radius: 0; background: #fff; box-shadow: none; }
.tg-data-page-legacy .tg-card-hover { transition: color 180ms ease-out,background-color 180ms ease-out; }
.tg-data-page-legacy .tg-card-hover:hover { color: #fff; border-color: var(--data-ink); background: var(--data-ink); box-shadow: none; transform: none; }
.tg-data-page-legacy .tg-card-hover:hover p { color: inherit !important; }
.tg-data-page-legacy .tg-btn { min-height: 3rem; border-width: 2px; border-radius: 0; box-shadow: none; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tg-data-page-legacy .tg-input { min-height: 3rem; border: 2px solid var(--data-ink); border-radius: 0; background: #fff; box-shadow: none; }
.tg-data-page-legacy .tg-input:focus { border-color: var(--data-green); box-shadow: 0 0 0 2px rgba(20,122,26,.18); }
.tg-data-page-legacy [class*="rounded-"] { border-radius: 0 !important; }
.tg-data-page-legacy [class*="shadow"] { box-shadow: none !important; }
.tg-data-page-legacy .tg-table { border-collapse: collapse; }
.tg-data-page-legacy .tg-table thead { border-top: 1px solid var(--data-ink); border-bottom: 1px solid var(--data-ink); background: var(--data-muted); }
.tg-data-page-legacy .tg-table th { color: #4e5b69; font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.tg-data-page-legacy .tg-table td { border-color: var(--data-rule); font-variant-numeric: tabular-nums; }
.tg-data-page-legacy .tg-table tbody tr:hover { background: #f0f4ec; }
.tg-data-page-legacy .bg-gray-50,.tg-data-page-legacy .bg-green-50 { background-color: var(--data-muted) !important; }
.tg-data-page-legacy .text-green-600,.tg-data-page-legacy .text-green-700,.tg-data-page-legacy .text-green-800,.tg-data-page-legacy .text-green-900 { color: var(--data-green) !important; }
@media (max-width: 720px) {
    .tg-data-page-legacy .tg-page-header .flex.justify-between { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
    .tg-data-page-legacy .tg-page-header .tg-btn { width: 100%; }
}

.tg-hero-panel {
    border: 1px solid rgba(35, 166, 38, 0.18);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 55px rgba(8, 43, 74, 0.12);
    backdrop-filter: blur(14px);
}

.tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(35, 166, 38, 0.2);
    background: rgba(251, 253, 248, 0.82);
    padding: 0.35rem 0.65rem;
    color: var(--tg-ink);
    font-size: 0.8rem;
    font-weight: 700;
}

.tg-icon-box {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: var(--tg-ink-soft);
    color: var(--tg-ink);
}

.tg-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tg-btn-primary {
    background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-dark));
    color: #fff;
    box-shadow: 0 10px 20px rgba(35, 166, 38, 0.22);
}

.tg-btn-primary:hover {
    background: var(--tg-primary-dark);
}

.tg-btn-secondary {
    border: 1px solid var(--tg-line);
    background: #fff;
    color: var(--tg-ink);
}

.tg-btn-secondary:hover {
    border-color: rgba(21, 128, 61, 0.4);
    background: #f7fbf8;
    color: var(--tg-primary-dark);
}

.tg-btn-outline {
    border: 1px solid rgba(21, 128, 61, 0.55);
    background: #fff;
    color: var(--tg-primary-dark);
}

.tg-btn-outline:hover {
    background: #f0fdf4;
}

.tg-input {
    min-height: 44px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.625rem 0.875rem;
    color: #111827;
}

.tg-input:focus {
    border-color: var(--tg-primary);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.tg-stat {
    border: 1px solid var(--tg-line);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
}

.tg-stat-accent {
    background: linear-gradient(135deg, #ffffff, var(--tg-accent-soft));
}

.tg-table {
    border-collapse: separate;
    border-spacing: 0;
}

.tg-table thead th {
    background: #f5faf2;
    color: #40544a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.tg-table tbody tr {
    transition: background-color 120ms ease;
}

.tg-table tbody tr:hover {
    background: #fbfff7;
}

.tg-number {
    font-variant-numeric: tabular-nums;
}

.tg-fade-up {
    animation: tg-fade-up 420ms ease both;
}

.tg-reveal {
    animation: tg-fade-up 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tg-device-stage {
    position: relative;
    min-height: 31rem;
}

.tg-browser-shot,
.tg-phone-shot {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.tg-browser-shot {
    position: absolute;
    top: 1.75rem;
    right: 0;
    width: min(100%, 45rem);
    border-radius: 1.25rem;
    transform: rotate(1.2deg);
}

.tg-browser-shot img,
.tg-phone-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.tg-phone-shot {
    position: absolute;
    width: min(38vw, 13.75rem);
    border-radius: 1.6rem;
    padding: 0.45rem;
}

.tg-phone-shot img {
    border-radius: 1.15rem;
}

.tg-phone-shot-left {
    left: 0;
    bottom: 0;
    transform: rotate(-4deg);
}

.tg-phone-shot-right {
    right: 2rem;
    bottom: -1rem;
    transform: rotate(4deg);
}

.tg-linked-shot {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(8, 43, 74, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8, 43, 74, 0.11);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tg-linked-shot:hover {
    border-color: rgba(35, 166, 38, 0.34);
    box-shadow: 0 24px 62px rgba(8, 43, 74, 0.16);
    transform: translateY(-3px);
}

.tg-linked-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.tg-linked-shot span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    border-radius: 999px;
    background: rgba(7, 18, 37, 0.86);
    color: #fff;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.tg-linked-shot-phone {
    max-width: 19rem;
    margin-inline: auto;
    overflow: visible;
    border: 2px solid rgba(7, 18, 37, 0.86);
    border-radius: 1.65rem;
    padding: 0.45rem;
    background: linear-gradient(145deg, #ffffff, #eef6f0);
    box-shadow: 0 24px 60px rgba(8, 43, 74, 0.18);
    transform-origin: center bottom;
}

.tg-linked-shot-phone img {
    border-radius: 1.18rem;
    box-shadow: inset 0 0 0 1px rgba(8, 43, 74, 0.08);
}

.tg-linked-shot-phone::before {
    content: "";
    position: absolute;
    inset: -0.65rem;
    z-index: -1;
    border: 1px solid rgba(35, 166, 38, 0.26);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.36);
}

.tg-phone-tilt-left {
    transform: rotate(-4.5deg) translateY(0.35rem);
}

.tg-phone-tilt-right {
    transform: rotate(4deg) translateY(0.1rem);
}

.tg-phone-tilt-left:hover {
    transform: rotate(-4.5deg) translateY(-0.1rem);
}

.tg-phone-tilt-right:hover {
    transform: rotate(4deg) translateY(-0.35rem);
}

.tg-huriro-showcase {
    display: grid;
    gap: 1.5rem;
}

.tg-linked-shot-desktop {
    min-height: 25rem;
    background: #071225;
}

.tg-linked-shot-desktop img {
    height: 100%;
    min-height: 25rem;
    object-fit: cover;
    object-position: left top;
    opacity: 0.92;
}

.tg-linked-shot-desktop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 37, 0.08), rgba(7, 18, 37, 0.58));
    pointer-events: none;
}

.tg-shot-copy {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    max-width: 18rem;
    border-radius: 0.5rem;
    background: rgba(251, 253, 248, 0.94);
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(7, 18, 37, 0.18);
}

.tg-shot-copy strong,
.tg-shot-copy small {
    display: block;
}

.tg-shot-copy strong {
    color: #071225;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
}

.tg-shot-copy small {
    margin-top: 0.45rem;
    color: #4a5a66;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.tg-linked-shot-desktop > span {
    z-index: 1;
}

.tg-team-card {
    overflow: hidden;
    border: 1px solid rgba(8, 43, 74, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 16px 38px rgba(8, 43, 74, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tg-team-card:hover {
    border-color: rgba(35, 166, 38, 0.3);
    box-shadow: 0 22px 52px rgba(8, 43, 74, 0.13);
    transform: translateY(-3px);
}

.tg-team-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.45;
    object-fit: cover;
    object-position: center top;
    background: #eef6f0;
}

.tg-leadership-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(35, 166, 38, 0.22), transparent 19rem),
        radial-gradient(circle at 92% 88%, rgba(27, 100, 147, 0.2), transparent 22rem),
        #071225;
    padding: 4.5rem 0;
}

.tg-leadership-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(115deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.tg-leadership-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.tg-leadership-copy > p,
.tg-founder-details > p {
    color: #55d75b;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tg-leadership-copy h2 {
    max-width: 34rem;
    margin-top: 0.75rem;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
}

.tg-leadership-copy > span {
    display: block;
    max-width: 38rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.tg-founder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.tg-founder-card img {
    width: 5.5rem;
    height: 5.5rem;
    aspect-ratio: 1;
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 2px #23a626;
    object-fit: cover;
    object-position: center top;
    background: #eef6f0;
}

.tg-founder-details h3 {
    margin-top: 0.35rem;
    color: #071225;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.25;
}

.tg-founder-details > span {
    display: block;
    margin-top: 0.45rem;
    color: #4a5a66;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tg-founder-call {
    grid-column: 1 / -1;
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0.75rem;
    background: #082b4a;
    padding: 0.7rem 1rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 900;
    transition: background-color 180ms ease, transform 180ms ease;
}

.tg-founder-call:hover {
    background: #071225;
    transform: translateY(-1px);
}

.tg-founder-call:focus-visible {
    outline: 3px solid #55d75b;
    outline-offset: 3px;
}

.tg-founder-call svg {
    width: 1.1rem;
    height: 1.1rem;
}

@media (min-width: 900px) {
    .tg-leadership-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
        gap: 4rem;
    }
}

@keyframes tg-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 767px) {
    .tg-device-stage {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .tg-browser-shot,
    .tg-phone-shot,
    .tg-phone-shot-left,
    .tg-phone-shot-right {
        position: static;
        width: 100%;
        transform: none;
    }

    .tg-phone-shot {
        max-width: 18rem;
        margin-inline: auto;
    }

    .tg-linked-shot-desktop,
    .tg-linked-shot-desktop img {
        min-height: 18rem;
    }

    .tg-linked-shot-desktop::after {
        background: linear-gradient(180deg, rgba(7, 18, 37, 0.08), rgba(7, 18, 37, 0.62));
    }

    .tg-shot-copy {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Animations */
@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scale-in {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slide-in 0.3s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.3s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #16a34a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #16a34a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Table styles */
.table-responsive {
    overflow-x: auto;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

/* Price trend indicators */
.price-up {
    color: #ef4444;
}

.price-down {
    color: #10b981;
}

.price-stable {
    color: #6b7280;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-supply {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-demand {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-neutral {
    background-color: #e5e7eb;
    color: #374151;
}

/* Chart container */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* Responsive utilities */
@media (max-width: 640px) {
    .chart-container {
        height: 300px;
    }
}

.tg-market-map-section { margin: 2rem 0; border: 1px solid #071225; background: #fff; padding: clamp(1rem, 3vw, 2rem); }
.tg-market-map-section h2 { margin: .4rem 0; }
.tg-market-map-section p { color: #586574; }
#market-map { height: min(65vh, 540px); min-height: 340px; margin-top: 1.25rem; z-index: 0; background: #f5f9f4; }
.tg-map-note { font-size: .875rem; margin: 1rem 0 0; }
.tg-map-load-error { color: #8c241c !important; }

.tg-map-heading { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.tg-map-heading h2 { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.1; color: #071225; }
.tg-map-heading p:last-child { max-width: 62ch; margin: .75rem 0 0; }
.tg-map-count { flex: none; border: 1px solid #bfd3bb; color: #245d30; background: #edf5ea; padding: .5rem .75rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tg-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 285px); gap: 0; border: 1px solid #bdc9c6; margin-top: 1.5rem; }
.tg-map-layout #market-map { margin: 0; height: 570px; min-height: 400px; }
.tg-map-sidebar { min-width: 0; border-left: 1px solid #bdc9c6; background: #fff; display: flex; flex-direction: column; max-height: 570px; }
.tg-map-sidebar-head { padding: 1.1rem 1.1rem .8rem; border-bottom: 1px solid #d7e0dc; }
.tg-map-sidebar-head > span { color: #147a1a; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.tg-map-sidebar-head h3 { color: #071225; margin: .25rem 0 .45rem; font-size: 1.35rem; }
.tg-map-sidebar-head p { margin: 0; font-size: .84rem; line-height: 1.45; }
.tg-map-reset { width: 100%; border: 0; border-bottom: 1px solid #d7e0dc; background: #f2f7ef; color: #174e25; text-align: left; padding: .8rem 1.1rem; font-weight: 700; cursor: pointer; }
.tg-map-reset:hover, .tg-map-reset:focus-visible { background: #e1efda; }
.tg-map-district-list { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.tg-map-district { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: .65rem; width: 100%; min-height: 44px; padding: .55rem 1rem; border: 0; border-bottom: 1px solid #edf0ed; background: #fff; color: #071225; text-align: left; cursor: pointer; font: inherit; font-size: .85rem; }
.tg-map-district:hover, .tg-map-district:focus-visible { background: #f2f7ef; }
.tg-map-district[aria-pressed="true"] { background: #e5f2e2; box-shadow: inset 3px 0 #147a1a; font-weight: 700; }
.tg-map-district:focus-visible, .tg-map-reset:focus-visible { outline: 3px solid #147a1a; outline-offset: -3px; }
.tg-map-district-swatch { width: 18px; height: 18px; border: 1px solid #344b54; border-radius: 3px; }
.tg-map-district small { color: #586574; white-space: nowrap; font-size: .7rem; }
.tg-map-layout .leaflet-container { font-family: inherit; }
.tg-map-layout .leaflet-popup-content p { margin: .35rem 0; }
@media (max-width: 800px) {
  .tg-map-layout { grid-template-columns: 1fr; }
  .tg-map-layout #market-map { height: 470px; min-height: 350px; }
  .tg-map-sidebar { max-height: 360px; border-left: 0; border-top: 1px solid #bdc9c6; }
  .tg-map-heading { flex-wrap: wrap; }
}

.tg-map-markets { padding: .75rem 1rem; border-bottom: 1px solid #d7e0dc; background: #f5f9f4; max-height: 190px; overflow-y: auto; }
.tg-map-markets:empty { display: none; }
.tg-map-markets > strong { display: block; color: #071225; font-size: .85rem; margin-bottom: .4rem; }
.tg-map-markets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.tg-map-markets li button { display: block; width: 100%; border: 0; background: transparent; padding: .3rem .4rem; text-align: left; color: #174e25; font: inherit; font-size: .83rem; cursor: pointer; border-radius: 2px; }
.tg-map-markets li button:hover, .tg-map-markets li button:focus-visible { background: #dfeeda; text-decoration: underline; outline: 2px solid #147a1a; }
.tg-map-markets p { margin: .4rem 0; font-size: .82rem; }
.tg-market-name-tooltip.leaflet-tooltip { padding: 3px 7px; background: rgba(255,255,255,.96); color: #071225; border: 1px solid #344b54; border-radius: 2px; box-shadow: 0 1px 3px rgba(7,18,37,.16); font-family: inherit; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.tg-market-name-tooltip.leaflet-tooltip::before { border-right-color: #344b54; }
