﻿:root {
    --navy-950: #071426; --navy-900: #0b1e38; --navy-800: #102a4c;
    --blue-600: #155eef; --blue-500: #2474ff; --blue-400: #60a5fa;
    --purple-500: #7c5ce7; --surface: #ffffff; --surface-muted: #f4f7fb;
    --surface-soft: #eef3f9; --text: #172033; --text-muted: #5e6b80;
    --border: #dce3ed; --success: #16835c; --warning: #a75b04;
    --danger: #bf2c37; --info: #245bc7; --channel-email: #395ec9;
    --channel-whatsapp: #157a60; --focus: #155eef;
    --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
    --space-6: 1.5rem; --space-8: 2rem; --radius-sm: .65rem; --radius-md: 1rem;
    --radius-lg: 1.4rem; --shadow-sm: 0 4px 14px rgba(25,41,70,.06);
    --shadow-md: 0 14px 40px rgba(25,41,70,.11);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--text); font-family: var(--font-sans); line-height: 1.55; margin: 0; }
a { color: var(--blue-600); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.05; }
h2 { letter-spacing: -.025em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.eyebrow { color: var(--blue-600); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.button { align-items: center; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; display: inline-flex; font: inherit; font-weight: 750; justify-content: center; min-height: 2.7rem; padding: .65rem 1rem; text-decoration: none; }
.button-primary { background: var(--blue-600); color: white; box-shadow: 0 8px 22px rgba(21,94,239,.2); }
.button-primary:hover { background: #104cc4; color: white; }
.button-secondary, .button-quiet { background: white; border-color: var(--border); color: var(--text); }
.landing-header, .landing-footer { align-items: center; display: flex; justify-content: space-between; margin: 0 auto; max-width: 82rem; padding: 1.2rem clamp(1.25rem, 4vw, 3rem); }
.landing-brand { align-items: center; color: var(--navy-900); display: inline-flex; font-size: 1.25rem; font-weight: 800; gap: .65rem; text-decoration: none; }
.landing-brand span { align-items: center; background: var(--navy-900); border-radius: .7rem; color: white; display: inline-flex; height: 2.2rem; justify-content: center; width: 2.2rem; }
.hero { align-items: center; background: linear-gradient(135deg, #f6f9ff 0%, #f3f0ff 100%); display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 1.15fr .85fr; min-height: 40rem; padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - 76rem)/2)); }
.hero-copy { max-width: 46rem; }
.hero-copy p { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 42rem; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; }
.text-link { font-weight: 700; }
.hero-panel { background: var(--surface); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.5rem; transform: rotate(1deg); }
.panel-heading, .surface-heading { align-items: center; display: flex; gap: 1rem; justify-content: space-between; }
.mock-metric { border-top: 1px solid var(--border); display: grid; padding: 1.25rem 0; }
.mock-metric span { color: var(--text-muted); font-size: .9rem; }
.channel-row { display: flex; gap: .6rem; }
.channel-row span { background: var(--surface-soft); border-radius: 99px; font-size: .8rem; padding: .45rem .7rem; }
.landing-section { margin: 0 auto; max-width: 82rem; padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem); }
.section-heading { max-width: 44rem; }
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.feature-card, .settings-card { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.4rem; }
.feature-card p, .settings-card p { color: var(--text-muted); }
.feature-icon { color: var(--purple-500); display: block; font-weight: 800; margin-bottom: 2rem; }
.trust-section { align-items: center; background: var(--navy-900); border-radius: var(--radius-lg); color: white; display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 1fr auto; margin: 0 auto 4rem; max-width: 76rem; padding: clamp(2rem, 5vw, 4rem); }
.trust-section .eyebrow { color: #93c5fd; }
.trust-section p { color: #cbd5e1; }
.landing-footer { border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem; }
.login-page { align-items: center; background: radial-gradient(circle at top right, #e7e5ff, transparent 38%), var(--surface-muted); display: flex; justify-content: center; min-height: 100vh; padding: 5rem 1.25rem 2rem; position: relative; }
.login-brand { left: clamp(1.25rem, 4vw, 3rem); position: absolute; top: 1.5rem; }
.login-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 30rem; padding: clamp(1.5rem, 5vw, 2.6rem); width: 100%; }
.login-intro h1 { font-size: 2.2rem; margin: .5rem 0 .8rem; }
.login-intro p { color: var(--text-muted); }
.field { display: grid; gap: .4rem; margin-top: 1.1rem; }
.field label { font-size: .88rem; font-weight: 700; }
.form-control { border: 1px solid #bdc7d5; border-radius: var(--radius-sm); font: inherit; min-height: 3rem; padding: .7rem .8rem; width: 100%; }
.login-options { align-items: center; display: flex; font-size: .84rem; gap: 1rem; justify-content: space-between; margin: 1.1rem 0; }
.check-label { align-items: center; display: flex; gap: .45rem; }
.login-submit { width: 100%; }
.back-link { display: inline-block; font-size: .88rem; margin-top: 1.3rem; }
.validation-message, .validation-summary { color: var(--danger); font-size: .82rem; }
.page-heading { align-items: end; display: flex; gap: 1.5rem; justify-content: space-between; margin-bottom: 1.8rem; }
.page-heading h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .3rem 0; }
.page-heading p { color: var(--text-muted); margin: 0; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0,1fr)); }
.metric-card, .surface, .state-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.3rem; }
.metric-card { display: grid; gap: .5rem; }
.metric-card > span { color: var(--text-muted); font-size: .86rem; }
.metric-card strong { display: block; font-size: 2.2rem; text-align: center; width: 100%; }
.metric-card a, .metric-card small { font-size: .8rem; }
.content-grid { display: grid; gap: 1rem; grid-template-columns: 1.4fr 1fr; margin-top: 1rem; }
.surface-heading h2 { font-size: 1.2rem; margin: .2rem 0 0; }
.activity-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.activity-list li { align-items: start; border-top: 1px solid var(--border); display: flex; gap: .8rem; padding: 1rem 0; }
.activity-list li div { display: grid; }
.activity-list li span { color: var(--text-muted); font-size: .8rem; }
.activity-dot { background: var(--purple-500); border-radius: 50%; flex: 0 0 .55rem; height: .55rem; margin-top: .45rem; }
.status-list { margin: 1rem 0 0; }
.status-list div { border-top: 1px solid var(--border); display: flex; justify-content: space-between; padding: .8rem 0; }
.status-list dd { color: var(--text-muted); margin: 0; text-align: right; }
.badge { border-radius: 99px; display: inline-flex; font-size: .72rem; font-weight: 800; padding: .3rem .6rem; }
.badge-success { background: #dcfce9; color: #116046; }
.badge-warning { background: #fff1d6; color: #875009; }
.badge-info { background: #e4edff; color: #184ca8; }
.badge-neutral { background: #e9edf3; color: #4c586c; }
.state-card { color: var(--text-muted); }
.state-card h1, .state-card h2 { color: var(--text); font-size: 1.25rem; }
.state-error { border-color: #f1b6bb; }
.spinner { animation: spin .8s linear infinite; border: 3px solid var(--border); border-top-color: var(--blue-600); border-radius: 50%; display: inline-block; height: 1rem; margin-right: .5rem; width: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.table-surface { overflow-x: auto; padding: .4rem; }
.data-table { border-collapse: collapse; min-width: 54rem; width: 100%; }
.data-table th { color: var(--text-muted); font-size: .7rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.data-table th, .data-table td { border-bottom: 1px solid var(--border); padding: .85rem .75rem; vertical-align: top; }
.data-table td { font-size: .87rem; }
.demo-note { color: var(--text-muted); font-size: .8rem; margin: .8rem; }
.settings-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.settings-card h2 { font-size: 1.1rem; }

@media (max-width: 1024px) {
    .feature-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-section { grid-template-columns: 1fr 1fr; }
    .trust-section .button { grid-column: 1 / -1; justify-self: start; }
    .settings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-panel { transform: none; }
    .feature-grid, .metric-grid, .content-grid, .settings-grid, .trust-section { grid-template-columns: 1fr; }
    .page-heading { align-items: start; flex-direction: column; }
    .landing-footer { align-items: start; flex-direction: column; gap: .4rem; }
    .table-surface { background: transparent; border: 0; box-shadow: none; padding: 0; }
    .data-table { min-width: 0; }
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table tr { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: .8rem; padding: .7rem; }
    .data-table td { border: 0; display: grid; gap: .7rem; grid-template-columns: 7rem 1fr; padding: .45rem; }
    .data-table td::before { color: var(--text-muted); content: attr(data-label); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
    .login-options { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; } }

/* TALIA_VISUAL_FOUNDATION_20260727 */

.button {
    position: relative;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        color .18s ease,
        transform .18s ease;
}

.button:hover {
    box-shadow: 0 12px 28px rgba(25, 41, 70, .2);
    transform: translateY(-3px) scale(1.015);
}

.button:active {
    box-shadow: 0 4px 10px rgba(25, 41, 70, .12);
    transform: translateY(0) scale(.97);
}

.button-primary:hover {
    background: #104cc4;
    color: white;
}

.button-secondary:hover,
.button-quiet:hover {
    background: var(--surface-soft);
    border-color: #b7c4d5;
    color: var(--text);
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .6;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }

    .button:hover,
    .button:active {
        transform: none;
    }
}

/* TALIA_METRIC_ACTIONS_20260727 */

.metric-card a {
    align-items: center;
    align-self: start;
    background: var(--surface-soft);
    border: 1px solid #c7d3e3;
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 10px rgba(25, 41, 70, .06);
    color: var(--blue-600);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 750;
    justify-content: center;
    margin-top: .35rem;
    min-height: 2.35rem;
    padding: .48rem .78rem;
    text-decoration: none;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        color .18s ease,
        transform .18s ease;
    width: fit-content;
}

.metric-card a:hover {
    background: #e4ecff;
    border-color: #a9bce0;
    box-shadow: 0 8px 18px rgba(25, 41, 70, .14);
    color: #104cc4;
    transform: translateY(-2px);
}

.metric-card a:active {
    box-shadow: 0 3px 8px rgba(25, 41, 70, .1);
    transform: translateY(0) scale(.97);
}

@media (max-width: 720px) {
    .metric-card a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .metric-card a {
        transition: none;
    }

    .metric-card a:hover,
    .metric-card a:active {
        transform: none;
    }
}

/* TALIA_BUTTON_COLOR_FINAL_20260727 */

.button-secondary,
.button-quiet {
    background: #e7efff;
    border-color: #b7c9ee;
    color: #104cc4;
}

.button-secondary:hover,
.button-quiet:hover {
    background: #d7e5ff;
    border-color: #8eace5;
    box-shadow: 0 10px 22px rgba(21, 94, 239, .16);
    color: #0b3fa6;
}

.metric-card a {
    background: #e7efff;
    border-color: #b7c9ee;
    color: #104cc4;
}

.metric-card a:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: white;
}

/* TALIA_METRIC_ALIGNMENT_FINAL_20260727 */

.metric-grid {
    align-items: stretch;
}

.metric-card {
    align-content: start;
    display: grid;
    grid-template-rows:
        minmax(3rem, auto)
        minmax(2.75rem, auto)
        minmax(2.65rem, auto);
    height: 100%;
}

.metric-card > span:first-child {
    align-items: flex-start;
    display: flex;
    line-height: 1.45;
    min-height: 3rem;
}

.metric-card > strong {
    align-self: start;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin: .15rem 0 .55rem;
}

.metric-card > a {
    align-self: end;
    justify-self: start;
    margin-top: auto;
}

@media (max-width: 720px) {
    .metric-card {
        grid-template-rows: auto auto auto;
    }

    .metric-card > span:first-child {
        min-height: auto;
    }

    .metric-card > a {
        justify-self: stretch;
    }
}

/* TALIA_REGISTRATION_20260727 */

.registration-page {
    padding-top: 6.5rem;
}

.registration-brand {
    align-items: center;
    color: var(--navy-900);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 800;
    gap: .65rem;
    left: clamp(1.25rem, 4vw, 3rem);
    position: absolute;
    text-decoration: none;
    top: 1.5rem;
}

.registration-brand img {
    height: 2.7rem;
    object-fit: contain;
    width: 2.7rem;
}

.registration-card {
    max-width: 44rem;
}

.registration-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-password-note,
.register-invite {
    color: var(--text-muted);
    font-size: .84rem;
}

.registration-password-note {
    margin: 1rem 0;
}

.register-invite {
    margin: 1.2rem 0 0;
    text-align: center;
}

.validation-summary ul {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .registration-grid {
        grid-template-columns: 1fr;
    }
}
/* TALIA_PASSWORD_RESET_20260729 */

.password-page {
    padding-top: 6.5rem;
}

.password-card {
    max-width: 34rem;
}

.password-card .login-intro h1 {
    font-size: clamp(1.9rem, 4vw, 2.35rem);
    line-height: 1.08;
    margin: .5rem 0 .8rem;
}

.password-submit {
    margin-top: 1.25rem;
}

.password-security-note {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.55;
    margin: 1.25rem 0 0;
    padding: .8rem .9rem;
}

.password-status-card {
    text-align: center;
}

.password-status-card .login-intro p {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
}

.password-status-card .back-link {
    display: block;
}

.password-status-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 800;
    height: 3.5rem;
    justify-content: center;
    margin-bottom: 1.1rem;
    width: 3.5rem;
}

.password-status-success {
    background: #dcfce9;
    color: #116046;
}

.password-status-warning {
    background: #fff1d6;
    color: #875009;
}

.password-card .validation-summary {
    margin-top: 1rem;
}

.password-card .validation-summary ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
    text-align: left;
}

@media (max-width: 720px) {
    .password-page {
        padding-top: 6rem;
    }

    .password-card {
        padding: 1.5rem;
    }
}

/* TALIA_VISUAL_POLISH_V4_5_20260806 */
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
strong {
    text-wrap: balance;
}

.landing-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 227, 237, .82);
    backdrop-filter: blur(16px);
}

.landing-brand {
    gap: .75rem;
    letter-spacing: -.025em;
}

.landing-brand-symbol {
    display: block;
    filter: drop-shadow(0 8px 16px rgba(15, 36, 76, .16));
    height: 3.15rem;
    object-fit: contain;
    width: 3.15rem;
}

.landing-brand .landing-brand-text {
    align-items: initial;
    background: transparent;
    border-radius: 0;
    color: var(--navy-900);
    display: inline;
    height: auto;
    justify-content: initial;
    width: auto;
}

.hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(96, 165, 250, .22), transparent 28%),
        radial-gradient(circle at 54% 84%, rgba(124, 92, 231, .15), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #f1f4ff 52%, #f7f3ff 100%);
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.hero::before {
    background: linear-gradient(115deg, rgba(255, 255, 255, .72), transparent 44%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hero-copy h1 {
    max-width: 48rem;
}

.hero-panel {
    border-color: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 60px rgba(25, 41, 70, .16);
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.feature-card:hover {
    border-color: #bfd0ec;
    box-shadow: 0 16px 36px rgba(25, 41, 70, .11);
    transform: translateY(-4px);
}

@media (max-width: 720px) {
    .landing-brand-symbol {
        height: 2.75rem;
        width: 2.75rem;
    }

    .landing-brand .landing-brand-text {
        font-size: 1.12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card {
        transition: none;
    }

    .feature-card:hover {
        transform: none;
    }
}
/* TALIA_METRIC_CARD_AXIS_V5_5_20260807 */
.metric-card {
    grid-template-rows:
        minmax(3rem, auto)
        3.35rem
        2.65rem;
}

.metric-card > strong {
    align-items: center;
    align-self: stretch;
    display: flex;
    justify-content: center;
    justify-self: stretch;
    line-height: 1;
    margin: 0;
    min-height: 3.35rem;
    text-align: center;
    width: 100%;
}

.metric-card > a {
    align-self: center;
    justify-self: center;
    margin-top: 0;
}

@media (max-width: 720px) {
    .metric-card {
        grid-template-rows: auto auto auto;
    }

    .metric-card > a {
        justify-self: stretch;
    }
}