/* 2AData.com refresh 2026, Stage B: homepage brand tokens and component rules (bridge decisions L1-L6,
   tgd-cs/2adata-refresh/bridge_brand_channels.md). Linked ONLY by index.html, after its inline <style>, so the ~52 other
   pages that share shared.css keep their current look until each is refreshed on purpose. */

:root {
    --brand-navy: #061C4B;
    --brand-cobalt: #006DFF;
    --brand-cobalt-hover: #0227AC;
    --brand-red: #C9151B;
    --brand-gray: #E5E7EB;
    --brand-surface: #F3F5F8;
    --brand-line: #CBD5E1;

    /* shared.css and the page's own tokens, re-pointed: no purple, no orange */
    --primary: #061C4B;
    --primary-light: #16244A;
    --primary-dark: #061C4B;
    --accent: #006DFF;
    --accent-light: #4D97FF;
    --accent-dark: #0227AC;
    --secondary: #006DFF;
    --secondary-light: #4D97FF;
    --accent-glow: rgba(0, 109, 255, 0.45);
    --shadow-glow: 0 0 40px rgba(0, 109, 255, 0.14);
    --gradient-accent: linear-gradient(135deg, #006DFF 0%, #006DFF 100%);
    --gradient-primary: linear-gradient(135deg, #061C4B 0%, #061C4B 100%);
    --gradient-hero: linear-gradient(135deg, #061C4B 0%, #061C4B 100%);
}

/* ---- logo (L1, L2) ---------------------------------------------------------------------------------------------- */
.logo .logo-2026 { display: block; height: auto; width: 190px; }
@media (max-width: 768px) { .logo .logo-2026 { width: 165px; } }
.footer-logo-plate { display: inline-block; background: #FFFFFF; border-radius: 12px; padding: 14px 18px; line-height: 0; }
.footer-logo-plate img { display: block; width: 160px; height: auto; }
.footer-brand h3.footer-brand-mark { margin: 0 0 16px; }

/* ---- Trinity artwork (L3): proof mark near the hero, primary use in the Trinity section, never in the nav -------- */
.hero-powered img.trinity-2026 { display: block; width: 260px; height: auto; }
.trinity-spotlight img.trinity-2026 { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 0 24px; }
.platform-logo img.trinity-2026 { width: 260px; max-width: 100%; height: auto; }
.nav-links .nav-trinity { font-weight: 600; }

/* ---- buttons (L6) ------------------------------------------------------------------------------------------------ */
.btn-primary {
    background: #006DFF;
    color: #FFFFFF;
    border: 1px solid #006DFF;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 109, 255, 0.25);
}
.btn-primary:hover { background: #0227AC; border-color: #0227AC; color: #FFFFFF; }
.btn-hero-outline, .btn-outline, .btn-secondary {
    background: #FFFFFF;
    color: #061C4B;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-weight: 700;
}
.btn-hero-outline:hover, .btn-outline:hover, .btn-secondary:hover { border-color: #006DFF; color: #006DFF; background: #FFFFFF; }
.mobile-cta-bar .btn, .mobile-cta-bar a { background: #006DFF; }

/* ---- legacy purple / orange treatments, replaced -------------------------------------------------------------- */
.hero-copy h1 .grad, .text-grad {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #C9151B;
    color: #C9151B;
}
.hero { background: #FFFFFF; }
.hero-bg::after { background: radial-gradient(circle, rgba(0, 109, 255, 0.07) 0%, transparent 60%); }
.stats::before { background: radial-gradient(circle at 80% 50%, rgba(0, 109, 255, 0.10) 0%, transparent 50%); }

.trinity-spotlight { background: #061C4B; }
.trinity-spotlight::before { background: radial-gradient(circle, rgba(0, 109, 255, 0.12) 0%, transparent 60%); }
.trinity-spotlight-logo { box-shadow: none; }
.trinity-spotlight-badge { display: none; }   /* the Trinity artwork already says "Powered by Trinity" */
.trinity-spotlight-content h2 .trinity-text-gradient {
    background: none;
    -webkit-text-fill-color: #4D97FF;
    color: #4D97FF;
}
.btn-trinity-home {
    background: #006DFF;
    border: 1px solid #006DFF;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 109, 255, 0.30);
}
.btn-trinity-home:hover { background: #0227AC; border-color: #0227AC; box-shadow: 0 10px 24px rgba(0, 109, 255, 0.35); }
.trinity-spot-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(0, 109, 255, 0.28); }
.trinity-spot-card:hover { background: rgba(0, 109, 255, 0.10); border-color: rgba(0, 109, 255, 0.55); }

/* ---- icons: line icons replace emoji (inline SVG, currentColor) ------------------------------------------------- */
.i2026 { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.trinity-spot-card-icon { color: #4D97FF; font-size: 0; line-height: 0; }
.trinity-spot-card-icon .i2026 { width: 28px; height: 28px; }
.service-icon { background: #006DFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 0; }
.service-icon .i2026 { width: 30px; height: 30px; }
.integration-category h3 span, h3 > span .i2026 { color: #006DFF; }
.author-avatar { background: #061C4B !important; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 0; }
.author-avatar .i2026 { width: 24px; height: 24px; }

/* Stage E: real Trinity admin screens (masked, leak-checked) in the hero and under the Trinity modules */
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: auto; }
.r26-tri-shot { position: relative; z-index: 1; margin: 56px auto 0; max-width: 1100px; }
.r26-tri-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.55); }
.r26-tri-shot figcaption { margin-top: 12px; text-align: center; font-size: 0.875rem; color: #DDE7F8; }

/* ==== Stage C: the nine-section homepage (bridge copy deck, tgd-cs/2adata-refresh/stageC_deck.json) ============== */
section[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.i2026-sm { width: 18px; height: 18px; }

/* hero: the eyebrow sits inside the H1 (bridge D5); headlines render uppercase, source text stays sentence case */
.hero-copy h1 { text-transform: uppercase; font-weight: 800; color: #061C4B; letter-spacing: -0.015em; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero-copy h1 .h1-eyebrow { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.4;
    color: #006DFF; margin-bottom: 18px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
/* .hero is a flex row: without this the container shrinks to its content now that the full-width rows below are gone */
.hero > .container { width: 100%; }
@media (max-width: 768px) { .hero { padding-top: 124px; } }   /* clear the fixed nav (the page's own rule gives 100px) */

/* shared section frame */
.r26 { padding: 96px 0; background: #FFFFFF; }
.r26-alt { background: #F3F5F8; }
.r26-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.r26-eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: #006DFF; margin-bottom: 14px; }
.r26 h2, .trinity-spotlight-content h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.01em; line-height: 1.12; }
.r26 h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); color: #061C4B; margin: 0 0 16px; }
.r26-head p { font-size: 1.0625rem; line-height: 1.7; color: #475569; margin: 0; }
.r26-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.r26-sub-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #64748B;
    text-align: center; margin: 0 0 18px; }
.r26-note { text-align: center; font-size: 0.9375rem; line-height: 1.6; color: #64748B; margin: 18px auto 0; max-width: 720px; }
.r26-tagline { text-align: center; font-size: 1rem; font-weight: 700; color: #061C4B; margin: 32px 0 0; }
/* WCAG AA on the gray bands: cobalt measured 4.15:1 and slate-500 4.35:1 on #F3F5F8 (small text needs 4.5:1) */
.r26-alt .r26-eyebrow { color: #0227AC; }
.r26-alt .r26-note, .r26-alt .r26-sub-label { color: #475569; }

/* cards */
.r26-grid { display: grid; gap: 20px; }
.r26-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r26-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.r26-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 14px; padding: 28px; }
.r26-card h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; color: #061C4B; margin: 0 0 8px; }
.r26-card p { font-size: 0.96875rem; line-height: 1.65; color: #475569; margin: 0; }
.r26-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(0, 109, 255, 0.08); color: #006DFF;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex: 0 0 auto; }
.r26-icon .i2026 { width: 22px; height: 22px; }
.r26-icon-flush { margin-bottom: 0; }
.r26-brand { height: 52px; display: flex; align-items: center; margin-bottom: 16px; }
.r26-brand img { display: block; max-width: 100%; height: auto; }
.r26-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 700;
    font-size: 0.9375rem; color: #006DFF; text-decoration: none; }
.r26-card-link:hover { color: #0227AC; text-decoration: underline; }
@media (max-width: 1023px) { .r26-grid-3, .r26-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
    .r26 { padding: 64px 0; }
    .r26-head { margin-bottom: 32px; }
    .r26-grid-3, .r26-grid-4 { grid-template-columns: 1fr; }
    .r26-card { padding: 22px; }
    .r26-card .r26-icon { width: 36px; height: 36px; margin-bottom: 12px; }
}

/* dealers: five static cards, whole card is the link (bridge D3) */
.r26-dealer-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.r26-dealer { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
.r26-dealer-link { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid #E2E8F0;
    border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.r26-dealer-link:hover { border-color: #006DFF; box-shadow: 0 14px 34px rgba(11, 23, 54, 0.12); }
.r26-dealer-link:focus-visible { outline: 3px solid #006DFF; outline-offset: 3px; }
.r26-dealer-shot { display: block; aspect-ratio: 16 / 10; background: #F3F5F8; border-bottom: 1px solid #E2E8F0; overflow: hidden; }
.r26-dealer-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.r26-dealer-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px 20px; flex: 1 1 auto; }
.r26-dealer-logo { height: 48px; display: flex; align-items: center; margin-bottom: 8px; }
.r26-dealer-logo img { display: block; max-width: 100%; height: auto; }
.r26-dealer-name { font-weight: 700; color: #061C4B; font-size: 1.0625rem; line-height: 1.3; }
.r26-dealer-domain { font-size: 0.875rem; color: #64748B; overflow-wrap: anywhere; }
.r26-dealer-visit { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
    font-size: 0.9375rem; color: #006DFF; }
@media (max-width: 899px) { .r26-dealer { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 639px) {
    .r26-dealer-grid { gap: 12px; }
    .r26-dealer { flex-basis: calc((100% - 12px) / 2); }
    .r26-dealer-body { padding: 12px 12px 14px; gap: 2px; }
    .r26-dealer-logo { height: 34px; margin-bottom: 4px; }
    .r26-dealer-logo img { max-height: 30px; width: auto; }
    .r26-dealer-name { font-size: 0.9375rem; }
    .r26-dealer-domain { font-size: 0.6875rem; letter-spacing: -0.01em; }
    .r26-dealer-visit { font-size: 0.875rem; padding-top: 8px; }
}

/* marketplaces: official marks where 2AData holds the file, plain text labels otherwise (bridge D2) */
.r26-mark { height: 56px; display: flex; align-items: center; margin: 0 0 14px; }
.r26-mark img { display: block; max-width: 100%; height: auto; }
.r26-wordmark { font-size: 1.125rem; font-weight: 800; color: #061C4B; letter-spacing: -0.01em; line-height: 1.2; text-transform: none; }
.r26-feeds { margin-top: 48px; }
.r26-chip-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.r26-chip { display: flex; align-items: center; justify-content: center; min-height: 64px; min-width: 132px; padding: 10px 18px;
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; }
.r26-chip img { display: block; max-width: 100%; height: auto; }
.r26-chip .r26-wordmark { font-size: 1rem; }

/* Trinity: deep navy (Stage B), lockup in place of the eyebrow, three proof modules stacked */
.trinity-spotlight-content h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.trinity-spotlight-features.r26-modules { grid-template-columns: 1fr; }
.trinity-spot-card { text-align: left; }
.trinity-spot-card h3 { color: #FFFFFF; font-size: 1.0625rem; font-weight: 700; margin: 0 0 6px; }
.trinity-spot-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; line-height: 1.6; margin: 0; }
.trinity-spot-card .trinity-spot-card-icon { margin-bottom: 10px; }
@media (max-width: 1024px) { .trinity-spotlight img.trinity-2026 { margin: 0 auto 24px; } }
@media (max-width: 768px) { .trinity-spotlight-features.r26-modules { max-width: 560px; } }

/* distributors: proof row + one static grid of the 22 marks (no marquee, no duplicates) */
.r26-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.r26-proof div { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 14px; padding: 22px 16px; text-align: center;
    display: flex; flex-direction: column; justify-content: center; }
.r26-proof strong { display: block; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; color: #061C4B; line-height: 1.15; }
.r26-proof strong.r26-proof-text { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.3; }
.r26-proof span { display: block; margin-top: 6px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748B; }
/* flex, not grid, so a short last row sits centred */
.r26-logo-grid { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.r26-logo-grid li { flex: 0 0 calc((100% - 60px) / 6); min-width: 0; display: flex; align-items: center; justify-content: center;
    height: 80px; padding: 10px 12px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; }
.r26-logo-grid img { display: block; max-width: 100%; height: auto; }
@media (max-width: 1023px) { .r26-logo-grid li { flex-basis: calc((100% - 36px) / 4); } }
@media (max-width: 639px) {
    .r26-proof { grid-template-columns: 1fr; }
    .r26-logo-grid { gap: 8px; }
    .r26-logo-grid li { flex-basis: calc((100% - 16px) / 3); height: 64px; padding: 8px; }
}

/* final conversion: a navy panel on white, so it stays distinct from the dark footer */
.r26-final-panel { background: #061C4B; border-radius: 24px; padding: 64px 32px; text-align: center; }
.r26-final-panel .r26-eyebrow { color: #4D97FF; }
.r26-final-panel h2 { color: #FFFFFF; max-width: 820px; margin: 0 auto 16px; }
.r26-final-panel p { color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.7; }
@media (max-width: 639px) { .r26-final-panel { padding: 44px 20px; border-radius: 18px; } }

/* ==== Hero refinement 10/23 (handoff + bridge_hero.md): the real Trinity screen explained by three numbered notes, the
   Trinity lockup beside the screen, a static proof strip, one thin line carrying the eye into the dealer section ===== */
.hero { padding-bottom: 0; }
.hero-visual { border-radius: 0; box-shadow: none; overflow: visible; background: none; min-width: 0; }
.hero-tri { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 18px; }
.hero-tri a { display: block; line-height: 0; border-radius: 8px; }
.hero-tri a:focus-visible { outline: 3px solid #006DFF; outline-offset: 4px; }
.hero-tri-line { margin: 0; max-width: 22em; font-size: 1rem; font-weight: 700; line-height: 1.4; color: #061C4B; text-wrap: balance; }
.hero-shot { margin: 0; }
.hero-shot-frame { position: relative; overflow: hidden; border-radius: var(--radius-xl, 24px); background: #FFFFFF;
    box-shadow: 0 30px 70px -18px rgba(6, 28, 75, 0.35); }
/* markers sit in empty space next to what they point at, in % of the 900x675 screen (never on data or on the AI button) */
.hero-pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid #FFFFFF; border-radius: 50%;
    background: #006DFF; color: #FFFFFF; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
    box-shadow: 0 2px 8px rgba(6, 28, 75, 0.35); }
.hero-pin-source { left: 84.3%; top: 35.4%; }
.hero-pin-dist { left: 10.9%; top: 38.3%; }
.hero-pin-status { left: 58%; top: 35.4%; }
.hero-notes { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px; margin: -30px 8px 0; padding: 0; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: #FFFFFF; border: 1px solid #E2E8F0;
    border-radius: 12px; box-shadow: 0 12px 28px -14px rgba(6, 28, 75, 0.30); }
.hero-note-n { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #006DFF; color: #FFFFFF; font-size: 11px; font-weight: 800;
    line-height: 22px; text-align: center; }
.hero-note-body { min-width: 0; }
.hero-note-t { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase;
    color: #061C4B; }
.hero-note-d { display: block; margin-top: 3px; font-size: 0.8125rem; line-height: 1.45; color: #475569; }
/* proof strip: plain text in the HTML (no counters, nothing can show 0), verified figures only */
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 48px 0 0;
    padding: 22px 0 0; border-top: 1px solid #E2E8F0; }
.hero-proof li { padding: 4px 24px; font-size: 1rem; line-height: 1.4; color: #334155; }
.hero-proof li + li { border-left: 1px solid #CBD5E1; }
.hero-proof strong { font-weight: 800; color: #061C4B; }
.hero-proof-link { font-weight: 700; color: #006DFF; text-decoration: none; }
.hero-proof-link .i2026 { vertical-align: -3px; margin-left: 2px; }
.hero-proof-link:hover { color: #0227AC; text-decoration: underline; }
.hero-proof-link:focus-visible { outline: 3px solid #006DFF; outline-offset: 3px; border-radius: 4px; }
/* continuity: one thin line from the strip, across the hero's bottom edge, down to the LIVE DEALER SITES eyebrow */
.hero-cue { display: block; width: 2px; height: 28px; margin: 16px auto 0; background: #CBD5E1; }
#dealer-sites { position: relative; }
#dealer-sites::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 80px; margin-left: -1px;
    background: linear-gradient(#CBD5E1, #006DFF); }
/* 1024 to 1219 px: the menu (unchanged) wraps to 110 to 134 px, so the hero's top content needs more room under it */
@media (min-width: 1024px) and (max-width: 1219px) { .hero { padding-top: 168px; } }
/* one column (tablet and phone): the strip becomes a 2 x 2 grid so no divider starts a wrapped row */
@media (max-width: 1023px) {
    .hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; text-align: center; }
    .hero-proof li { padding: 0 8px; }
    .hero-proof li + li { border-left: 0; }
}
@media (max-width: 639px) {
    .hero-tri { gap: 10px; }
    .hero-pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: 10px; line-height: 14px; }
    .hero-notes { grid-template-columns: 1fr; gap: 10px; margin: 14px 0 0; }
    .hero-proof { gap: 14px 10px; margin-top: 36px; padding-top: 18px; }
    .hero-proof li { padding: 0; font-size: 0.9375rem; }
    #dealer-sites::before { height: 48px; }
}
