﻿/* ============================================================
   TrainedResponder — public marketing landing styles
   Scoped to the marketing layout only (not loaded by the app).
   Palette taken from the brand logo: navy + orange accent.
   ============================================================ */

:root {
    --tr-navy: #1b4f7e;
    --tr-navy-deep: #0f3357;
    --tr-navy-ink: #0a2742;
    --tr-orange: #ea7125;
    --tr-orange-dark: #cf5f17;
    /* Orange is a background/display color only. As running text it fails WCAG AA
       (#ea7125 on white is 3.05:1); use --tr-orange-text (5.18:1 on white, 4.81:1
       on --tr-light) wherever orange appears at text size. */
    --tr-orange-text: #b54e06;
    --tr-orange-bright: #ff8a3d;
    --tr-gray: #5c6670;
    --tr-slate: #44525e;
    --tr-light: #f4f7fa;
    --tr-line: #e2e8f0;
    --tr-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --tr-font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.tr-marketing {
    margin: 0;
    font-family: var(--tr-font-body);
    color: #1f2a37;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.tr-marketing main { padding-top: 0; }

.tr-marketing h1, .tr-marketing h2, .tr-marketing h3,
.tr-marketing h4, .tr-marketing h5, .tr-marketing h6 {
    color: var(--tr-navy-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Display face on the two biggest levels only; h3+ stay in the body face. */
.tr-marketing h1, .tr-marketing h2 {
    font-family: var(--tr-font-display);
    letter-spacing: 0;
}

.tr-marketing a { text-decoration: none; }

/* ── Keyboard focus ─────────────────────────────────────── */
/* One visible focus language everywhere: navy ring on light surfaces,
   amber ring on the navy/photo sections where navy would vanish. */
.tr-marketing a:focus-visible,
.tr-marketing button:focus-visible {
    outline: 3px solid var(--tr-navy);
    outline-offset: 2px;
    border-radius: 4px;
}
.tr-hero a:focus-visible,
.tr-trust a:focus-visible,
.tr-mods a:focus-visible,
.tr-security a:focus-visible,
.tr-cta a:focus-visible,
.tr-complete a:focus-visible,
.tr-footer a:focus-visible {
    outline-color: #ffb066;
}

/* Bootstrap/MDB's .text-muted is borderline on white; pin it to the palette gray. */
.tr-marketing .text-muted { color: var(--tr-gray) !important; }

.tr-section { padding: 5.5rem 0; }
.tr-section-tight { padding: 4rem 0; }

/* Anchor jumps land below the fixed-top nav instead of under it. */
.tr-marketing [id] { scroll-margin-top: 84px; }

.tr-eyebrow {
    font-family: var(--tr-font-display);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tr-orange-text);
    margin-bottom: 0.75rem;
}

.tr-section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; }
.tr-section-lead {
    font-size: 1.12rem;
    color: var(--tr-slate);
    max-width: 46rem;
}

/* ── Navigation ─────────────────────────────────────────── */
/* The brand logo is dark-on-white with an opaque white background, so the bar
   stays solid white at every scroll position — a translucent bar over the dark
   hero reads as gray and makes the logo's white box visible against it.
   Scrolling only adds the shadow. */
.tr-nav {
    background: #fff;
    transition: box-shadow .25s ease;
    padding: 0.65rem 0;
}
.tr-nav.tr-nav-scrolled {
    box-shadow: 0 2px 18px rgba(15, 51, 87, 0.10);
}
.tr-nav-logo { height: 42px; width: auto; display: block; }

.tr-nav-links .nav-link {
    color: var(--tr-navy);
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: color .15s ease, background-color .15s ease;
}
.tr-nav-links .nav-link:hover,
.tr-nav-links .nav-link:focus { color: var(--tr-orange); background: rgba(234, 113, 37, 0.08); }

.tr-btn-demo, .tr-btn-login {
    font-weight: 600;
    border-radius: 7px;
    padding: 0.55rem 1.15rem;
    white-space: nowrap;
    transition: transform .08s ease, background-color .15s ease, box-shadow .15s ease;
}
/* Hi-vis CTA treatment: brand orange stays vivid, ink text carries the contrast
   (4.98:1 — white text on this orange is only 3.05:1). Hover brightens, like gear. */
.tr-btn-demo { background: var(--tr-orange); color: var(--tr-navy-ink); border: 1px solid var(--tr-orange); font-weight: 700; }
.tr-btn-demo:hover { background: var(--tr-orange-bright); border-color: var(--tr-orange-bright); color: var(--tr-navy-ink); }
.tr-btn-login { background: var(--tr-navy); color: #fff; border: 1px solid var(--tr-navy); }
.tr-btn-login:hover { background: var(--tr-navy-deep); border-color: var(--tr-navy-deep); color: #fff; }
.tr-btn-demo:active, .tr-btn-login:active { transform: translateY(1px); }
.navbar-toggler { border-color: var(--tr-line); }

/* ── Hero ───────────────────────────────────────────────── */
.tr-hero {
    position: relative;
    color: #fff;
    padding: 11rem 0 6.5rem;
    background:
        linear-gradient(105deg, rgba(10,39,66,0.93) 0%, rgba(15,51,87,0.86) 45%, rgba(27,79,126,0.62) 100%),
        url('/img/gsar_suburb.png');
    background-size: cover;
    background-position: center 50%;
}
/* U.S.-development pill: rendered at its natural size so the baked-in 13px text
   stays crisp; the drop shadow lifts the light pill off the photo. */
.tr-hero-usa {
    display: block;
    width: min(292px, 100%);
    height: auto;
    border-radius: 999px;
    filter: drop-shadow(0 3px 10px rgba(10, 39, 66, 0.45));
}
.tr-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.8vw, 4.1rem);
    line-height: 1.04;
    margin-bottom: 1.1rem;
    max-width: 16ch;
}
.tr-hero h1 .tr-accent { color: #ffb066; }
.tr-hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 40rem;
    margin-bottom: 2rem;
}
.tr-hero-cta { gap: 0.9rem; }
.tr-hero .btn { padding: 0.8rem 1.6rem; font-size: 1.02rem; font-weight: 600; border-radius: 8px; }
.tr-hero-primary { background: var(--tr-orange); border: 1px solid var(--tr-orange); color: var(--tr-navy-ink); font-weight: 700; }
.tr-hero-primary:hover { background: var(--tr-orange-bright); border-color: var(--tr-orange-bright); color: var(--tr-navy-ink); }
.tr-hero-secondary { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.tr-hero-secondary:hover { background: #fff; color: var(--tr-navy-deep); }
.tr-hero-note {
    margin-top: 1.4rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
}
.tr-hero-note i { color: #ffb066; }

/* ── Trust strip (agency types) ─────────────────────────── */
.tr-trust {
    background: var(--tr-navy-ink);
    color: rgba(255,255,255,0.92);
    padding: 1.5rem 0;
    border-top: 3px solid var(--tr-orange);
}
.tr-trust-label {
    font-family: var(--tr-font-display);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
}
.tr-chips { gap: 0.55rem 0.7rem; }
.tr-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.tr-chip i { color: #ffb066; font-size: 0.85rem; }

/* ── Problem → solution ─────────────────────────────────── */
.tr-problem { background: var(--tr-light); }

.tr-claims { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.tr-claims li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--tr-slate);
    font-size: 0.97rem;
    margin-bottom: 0.75rem;
}
.tr-claims li:last-child { margin-bottom: 0; }
.tr-claims li i { position: absolute; left: 0; top: 0.25rem; color: var(--tr-orange-text); }

/* The consolidation scene: scattered paperwork funneling into one record. */
.tr-scene {
    width: min(420px, 100%);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 16px 30px rgba(15,51,87,0.14));
}

/* ── Capabilities: the qualification pathway ────────────── */
/* The advancement pipeline drawn as a connected track. Member-action nodes
   are navy; the two orange nodes mark where the system takes over — the
   connector and "Automatic" tag carry that meaning even with the copy
   stripped out. */
.tr-path { display: flex; align-items: flex-start; margin-top: 3.25rem; }
.tr-path-node {
    flex: 1 1 0;
    position: relative;
    text-align: center;
    padding: 2.1rem 0.85rem 0;
}
/* Connector: spans from the previous node's art center to this one's. */
.tr-path-node + .tr-path-node::before {
    content: "";
    position: absolute;
    top: calc(2.1rem + 32px);
    right: 50%;
    width: 100%;
    height: 3px;
    background: var(--tr-line);
    transform: translateY(-50%);
}
.tr-path-node-auto + .tr-path-node::before,
.tr-path-node + .tr-path-node-auto::before { background: var(--tr-orange); }

/* Stage art: abstract page views drawn in the brand palette; their white
   fills mask the track line passing behind them. */
.tr-path-art {
    width: 56px;
    height: 64px;
    display: block;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 10px rgba(15,51,87,0.14));
}

/* "Automatic" tag riding the incoming connector segment. */
.tr-path-autotag {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    font-family: var(--tr-font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tr-orange-text);
    background: #fff;
    border: 1px solid var(--tr-orange);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    white-space: nowrap;
}

.tr-path-node h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.tr-path-node p { color: var(--tr-slate); font-size: 0.9rem; margin-bottom: 0; }

/* Deep-dive cards under the pathway: one per /features page, each carrying a
   miniature of that page's own figure (fp-mini, features-page.css) so the link
   shows what is behind it rather than promising it. The figure primitives come
   from module-page.css + features-page.css, which Index.cshtml loads for this
   reason — restyling every deep-dive surface stays a one-file job. */
.tr-deep {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tr-line);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 51, 87, 0.07);
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.tr-deep:hover {
    transform: translateY(-3px);
    border-color: #f4c89e;
    box-shadow: 0 18px 40px rgba(15, 51, 87, 0.12);
}
.tr-deep h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.tr-deep p { color: var(--tr-slate); font-size: 0.95rem; margin-bottom: 1.1rem; }
.tr-deep > a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--tr-orange-text);
    font-weight: 700;
    font-size: 0.94rem;
}
.tr-deep > a:hover { color: var(--tr-navy-deep); text-decoration: underline; }
.tr-deep > a i { transition: transform .12s ease; }
.tr-deep > a:hover i { transform: translateX(3px); }

/* Supporting facts that aren't part of the progression. */
.tr-path-fit {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tr-line);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 3rem;
    color: var(--tr-slate);
    font-size: 0.93rem;
}
.tr-path-fit i { color: var(--tr-navy); margin-right: 0.5rem; }
.tr-path-fit strong { color: var(--tr-navy-ink); }

/* Vertical timeline below lg: icons form a left rail, the track runs down it. */
@media (max-width: 991.98px) {
    .tr-path { flex-direction: column; margin-top: 2.25rem; }
    .tr-path-node {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 1.1rem;
        text-align: left;
        padding: 0 0 1.9rem;
    }
    .tr-path-node + .tr-path-node::before {
        top: -1.9rem;
        right: auto;
        left: 26.5px;
        width: 3px;
        height: 1.9rem;
        transform: none;
    }
    .tr-path-art { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
    .tr-path-autotag {
        position: static;
        transform: none;
        grid-column: 2;
        justify-self: start;
        margin-bottom: 0.45rem;
    }
    .tr-path-node h3, .tr-path-node p { grid-column: 2; }
    .tr-path-fit { flex-direction: column; gap: 0.6rem; align-items: flex-start; }
}

/* ── Audience / personas ────────────────────────────────── */
.tr-audience { background: var(--tr-light); }
.tr-persona {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    box-shadow: 0 16px 40px rgba(15,51,87,0.16);
    /* Navy base so the card still reads as designed while the persona photos
       (persona-volunteer.jpg / persona-career.jpg — not yet in wwwroot/img)
       are missing or loading. */
    background: linear-gradient(160deg, var(--tr-navy) 0%, var(--tr-navy-ink) 100%);
}
.tr-persona::before {
    content: "";
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.tr-persona::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,39,66,0.92) 0%, rgba(10,39,66,0.55) 45%, rgba(10,39,66,0.20) 100%);
    z-index: 1;
}
.tr-persona-volunteer::before { background-image: url('/img/persona-volunteer.jpg'); }
.tr-persona-career::before { background-image: url('/img/persona-career.jpg'); }
.tr-persona-body { position: relative; z-index: 2; padding: 1.9rem; }
.tr-persona-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffb066;
    margin-bottom: 0.55rem;
}
.tr-persona h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.6rem; }
.tr-persona p { color: rgba(255,255,255,0.9); font-size: 0.98rem; margin-bottom: 0.9rem; }
.tr-persona ul { list-style: none; padding: 0; margin: 0; }
.tr-persona li { font-size: 0.94rem; padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; color: rgba(255,255,255,0.92); }
.tr-persona li i { position: absolute; left: 0; top: 0.25rem; color: #ffb066; }

/* ── Add-on modules ─────────────────────────────────────── */
.tr-mods { background: var(--tr-navy-ink); color: rgba(255,255,255,0.92); }
.tr-mods .tr-eyebrow { color: #ffb066; }
.tr-mods .tr-section-title { color: #fff; }
.tr-mods .tr-section-lead { color: rgba(255,255,255,0.82); }
.tr-mod {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.tr-mod:hover {
    transform: translateY(-3px);
    border-color: rgba(255,176,102,0.55);
    background: rgba(255,255,255,0.09);
}
.tr-mod-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}
.tr-mod-icon {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(255,176,102,0.14);
    color: #ffb066;
    font-size: 1.3rem;
}
.tr-mod-new {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--tr-navy-ink);
    background: #ffb066;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}
.tr-mod h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.55rem; }
.tr-mod-tagline { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 1.1rem; }
.tr-mod ul { list-style: none; padding: 0; margin: 0; }
.tr-mod li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.6rem;
}
.tr-mod li:last-child { margin-bottom: 0; }
.tr-mod li i { color: #ffb066; margin-top: 0.25rem; flex-shrink: 0; }
.tr-mod li strong { color: #fff; }
/* The Operations card is grouped by topic, one group per deep-dive page, because a
   seven-bullet list gave a reader no obvious place to click through from. Each group
   is a heading, what it does, and the way in. */
.tr-mod-group + .tr-mod-group {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
/* Scoped under .tr-marketing to outrank the navy `.tr-marketing h4` heading color —
   a bare .tr-mod-group h4 loses that fight and renders navy-on-navy. */
.tr-marketing .tr-mod-group h4 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1.04rem;
    margin-bottom: 0.4rem;
}
.tr-mod-group h4 i { color: #ffb066; font-size: 0.95rem; }
.tr-mod-group p { color: rgba(255,255,255,0.82); font-size: 0.94rem; margin-bottom: 0.6rem; }
.tr-mod-group > a { display: inline-flex; align-items: center; color: #ffb066; font-weight: 700; font-size: 0.92rem; }
.tr-mod-group > a:hover { color: #fff; text-decoration: underline; }
.tr-mod-group > a i { transition: transform .12s ease; }
.tr-mod-group > a:hover i { transform: translateX(3px); }

.tr-mods-fine {
    margin-top: 2.5rem;
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}
.tr-mods-fine a { color: #ffb066; font-weight: 600; text-decoration: underline; }

/* ── AI-assisted authoring ──────────────────────────────── */
.tr-ai { background: #fff; }
.tr-ai-stage { text-align: center; position: relative; padding-left: 2rem; padding-right: 2rem; }
.tr-ai-stage-art {
    width: 56px;
    height: 64px;
    display: block;
    margin: 0 auto 1.1rem;
    filter: drop-shadow(0 5px 10px rgba(15,51,87,0.14));
}
.tr-ai-stage h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.tr-ai-stage p { color: var(--tr-slate); font-size: 0.96rem; margin-bottom: 0; }

/* Chevron between stages: the sequence is the message, no numbering needed. */
@media (min-width: 768px) {
    .tr-ai-stage + .tr-ai-stage::before {
        content: "";
        position: absolute;
        left: -7px;
        top: 25px;
        width: 14px;
        height: 14px;
        border-top: 3px solid #cdd9e6;
        border-right: 3px solid #cdd9e6;
        transform: rotate(45deg);
    }
}

.tr-ai-facts { list-style: none; padding: 0; margin: 0; }
.tr-ai-facts li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    color: var(--tr-slate);
    font-size: 0.97rem;
    margin-bottom: 1.1rem;
}
.tr-ai-facts li:last-child { margin-bottom: 0; }
.tr-ai-facts li i {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: rgba(27,79,126,0.09);
    color: var(--tr-navy);
    font-size: 0.9rem;
}
.tr-ai-facts li strong { color: var(--tr-navy-ink); }

.tr-ai-note {
    background: #fdf4ec;
    border: 1px solid #f2ddc9;
    border-radius: 12px;
    padding: 1.6rem 1.7rem;
}
.tr-ai-note-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.tr-ai-note-head i { color: var(--tr-orange-text); font-size: 1.05rem; }
.tr-ai-note-head h3 { font-size: 1.1rem; margin: 0; }
.tr-ai-note p { color: var(--tr-slate); font-size: 0.94rem; margin-bottom: 0.7rem; }
.tr-ai-note strong { color: var(--tr-navy-ink); }

.tr-ai-fine {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--tr-gray);
    font-size: 0.88rem;
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}
.tr-ai-fine a { color: var(--tr-navy); font-weight: 600; text-decoration: underline; }

/* ── Security & trust ───────────────────────────────────── */
.tr-security { background: var(--tr-navy-ink); color: rgba(255,255,255,0.92); }
.tr-security .tr-eyebrow { color: #ffb066; }
.tr-security .tr-section-title { color: #fff; }
.tr-security .tr-section-lead { color: rgba(255,255,255,0.82); }
/* The audit record: the artifact everything in this section guards. */
.tr-sec-record {
    margin: 0;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 2.25rem 2rem;
}
.tr-sec-record-art {
    width: min(230px, 72%);
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35));
}
.tr-sec-record h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.5rem; }
.tr-sec-record p { color: rgba(255,255,255,0.78); font-size: 0.94rem; margin-bottom: 0; }

/* The three guards standing over it. */
.tr-sec-guard { display: flex; gap: 1.15rem; align-items: flex-start; }
.tr-sec-guard + .tr-sec-guard { margin-top: 1.6rem; }
.tr-sec-guard-art {
    flex: 0 0 auto;
    width: 44px;
    height: 52px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}
.tr-sec-guard h3 { color: #fff; font-size: 1.06rem; margin-bottom: 0.3rem; }
.tr-sec-guard p { color: rgba(255,255,255,0.78); font-size: 0.94rem; margin-bottom: 0; }

/* ── Final CTA band ─────────────────────────────────────── */
.tr-cta {
    background: linear-gradient(100deg, var(--tr-navy) 0%, var(--tr-navy-deep) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(15,51,87,0.22);
}
.tr-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.tr-cta p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.tr-cta .btn { padding: 0.8rem 1.7rem; font-weight: 600; border-radius: 8px; font-size: 1.02rem; }
.tr-cta-primary { background: var(--tr-orange); border: 1px solid var(--tr-orange); color: var(--tr-navy-ink); font-weight: 700; }
.tr-cta-primary:hover { background: var(--tr-orange-bright); border-color: var(--tr-orange-bright); color: var(--tr-navy-ink); }
.tr-cta-secondary { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.tr-cta-secondary:hover { background: #fff; color: var(--tr-navy-deep); }

/* ── Mid-page decision gate ─────────────────────────────── */
/* A slim conversion point between the persona section and the module deep-dive,
   so a visitor who is already sold doesn't have to scroll the rest of the page
   to act. Deliberately lighter than the navy .tr-cta card at the page end. */
.tr-gate { background: #fff; border-top: 1px solid var(--tr-line); border-bottom: 1px solid var(--tr-line); padding: 2.25rem 0; }
.tr-gate-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.tr-gate h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 0.2rem; }
.tr-gate-note { color: var(--tr-gray); font-size: 0.92rem; margin: 0; }
.tr-gate-note i { color: var(--tr-orange-text); }
.tr-gate-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tr-gate .btn { font-weight: 600; border-radius: 8px; padding: 0.7rem 1.4rem; }
.tr-gate-primary { background: var(--tr-orange); border: 1px solid var(--tr-orange); color: var(--tr-navy-ink); font-weight: 700; }
.tr-gate-primary:hover { background: var(--tr-orange-bright); border-color: var(--tr-orange-bright); color: var(--tr-navy-ink); }
.tr-gate-secondary { background: #fff; border: 1px solid var(--tr-navy); color: var(--tr-navy); }
.tr-gate-secondary:hover { background: var(--tr-navy); color: #fff; }

@media (max-width: 767.98px) {
    .tr-gate-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .tr-gate-actions { flex-direction: column; }
}

/* ── Footer ─────────────────────────────────────────────── */
.tr-footer {
    background: var(--tr-navy-ink);
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 0 2rem;
}
.tr-footer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    color: #fff;
    font-weight: 400;
}
.tr-footer-wordmark i { color: var(--tr-orange); }
.tr-footer-wordmark strong { font-weight: 700; }
.tr-footer-blurb { color: rgba(255,255,255,0.62); font-size: 0.95rem; max-width: 26rem; }
/* Scoped under .tr-marketing so this outranks the `.tr-marketing h3` heading
   color — a bare .tr-footer-head loses that specificity fight and the heading
   renders navy-on-navy (invisible) in the footer. */
.tr-marketing .tr-footer-head {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}
.tr-footer-links li { margin-bottom: 0.55rem; }
.tr-footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.tr-footer-links a:hover { color: #ffb066; }
/* Footer echo of the hero's U.S.-development pill — smaller and flat (no shadow),
   a fine-print credential rather than a callout. */
.tr-footer-usa {
    display: block;
    margin-top: 1.35rem;
    width: min(246px, 100%);
    height: auto;
    border-radius: 999px;
}
.tr-footer-rule { border-color: rgba(255,255,255,0.12); margin: 2.25rem 0 1.25rem; }
.tr-footer-fine { color: rgba(255,255,255,0.62); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
    /* Hover lifts read as motion too; hold cards and buttons still. */
    .tr-cap:hover,
    .tr-mod:hover,
    .tr-mod-group > a:hover i,
    .tr-btn-demo:active, .tr-btn-login:active {
        transform: none !important;
        transition: none !important;
    }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .tr-nav { background: #fff; }
    .tr-nav-links { padding-top: 0.5rem; }
    .tr-nav-actions { padding-bottom: 0.5rem; }
    .tr-hero { padding: 9rem 0 4.5rem; }
    .tr-section { padding: 4rem 0; }
    .tr-cta { padding: 2.25rem; text-align: center; }
}

@media (max-width: 575.98px) {
    .tr-hero { padding: 8rem 0 3.5rem; }
    .tr-hero-cta .btn { width: 100%; }
}
