/* Tres Negocios — Enterprise Retail Landing */

:root {
    --tn-slate-950: #020617;
    --tn-slate-900: #0f172a;
    --tn-slate-800: #1e293b;
    --tn-slate-600: #475569;
    --tn-slate-500: #64748b;
    --tn-slate-200: #e2e8f0;
    --tn-slate-100: #f1f5f9;
    --tn-slate-50: #f8fafc;
    --tn-emerald: #059669;
    --tn-emerald-light: #d1fae5;
}

html { scroll-behavior: smooth; }
body { font-feature-settings: "cv02", "cv03", "cv04", "cv11"; }

.tn-container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .tn-container { padding: 0 2rem; } }

.tn-section { padding: 4.5rem 0; }
@media (min-width: 1024px) { .tn-section { padding: 6rem 0; } }

.tn-eyebrow {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--tn-emerald);
}
.tn-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
    color: var(--tn-slate-900);
}
.tn-subhead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65; color: var(--tn-slate-600);
}
.tn-dark .tn-headline { color: #fff; }
.tn-dark .tn-subhead { color: #94a3b8; }

.tn-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .875rem 1.5rem; background: var(--tn-slate-900); color: #fff !important;
    font-weight: 600; font-size: .9375rem; border-radius: .5rem;
    text-decoration: none; transition: background .15s, transform .1s;
    border: none; cursor: pointer;
}
.tn-btn-primary:hover { background: #1e293b; }
.tn-btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .875rem 1.5rem; background: #fff; color: var(--tn-slate-900) !important;
    font-weight: 600; font-size: .9375rem; border-radius: .5rem;
    border: 1px solid var(--tn-slate-200); text-decoration: none;
    transition: border-color .15s, background .15s;
}
.tn-btn-secondary:hover { border-color: var(--tn-slate-600); background: var(--tn-slate-50); }
.tn-btn-emerald {
    background: var(--tn-emerald); color: #fff !important;
}
.tn-btn-emerald:hover { background: #047857; }
.tn-btn-sm { padding: .625rem 1.125rem; font-size: .8125rem; }

.tn-brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.tn-brand-mark {
    width: 2.25rem; height: 2.25rem; background: var(--tn-slate-900); border-radius: .375rem;
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-weight: 800; font-size: .75rem; flex-shrink: 0;
}
.tn-brand-name { font-weight: 700; font-size: 1.05rem; color: var(--tn-slate-900); }
.tn-brand--footer .tn-brand-mark { background: #334155; }
.tn-brand--footer .tn-brand-name { color: #fff; }

.tn-section-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.tn-section-header--left { text-align: left; margin-left: 0; margin-right: 0; }
.tn-section--muted { background: var(--tn-slate-50); }
.tn-headline--hero { font-size: clamp(2.15rem, 5.5vw, 3.5rem); }
.tn-subhead--hero { max-width: 34rem; margin-top: 1.25rem; }
.tn-headline--light { color: #fff; }
.tn-subhead--light { color: #94a3b8; }
.tn-eyebrow--light { color: #34d399; }

.tn-hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.tn-hero-cta--center { justify-content: center; }
.tn-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tn-slate-200);
}
.tn-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 4rem;
}
@media (min-width: 1024px) { .tn-nav-inner { height: 4.5rem; } }
.tn-nav-links { display: none; gap: 2rem; }
@media (min-width: 1024px) { .tn-nav-links { display: flex; } }
.tn-nav-links a {
    font-size: .875rem; font-weight: 500; color: var(--tn-slate-600);
    text-decoration: none; transition: color .15s;
}
.tn-nav-links a:hover { color: var(--tn-slate-900); }
.tn-nav-actions { display: none; gap: .75rem; align-items: center; }
@media (min-width: 1024px) { .tn-nav-actions { display: flex; } }

/* Hero */
.tn-hero { position: relative; padding-top: 6rem; padding-bottom: 4rem; background: #fff; overflow: hidden; }
@media (min-width: 1024px) { .tn-hero { padding-top: 8rem; padding-bottom: 5rem; } }
.tn-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(15,23,42,.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 100%);
}
.tn-hero-grid {
    position: relative; display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .tn-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.tn-hero-visual-caption {
    margin-top: .75rem; font-size: .75rem; color: var(--tn-slate-500); text-align: center;
}
.tn-hero-badge {
    display: inline-flex; padding: .35rem .85rem;
    background: var(--tn-slate-100); border: 1px solid var(--tn-slate-200);
    border-radius: 9999px; font-size: .75rem; font-weight: 600;
    color: var(--tn-slate-600); margin-bottom: 1.25rem;
}
.tn-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .tn-stats { grid-template-columns: repeat(4, 1fr); } }
.tn-stat-val { font-size: 1.5rem; font-weight: 800; color: var(--tn-slate-900); letter-spacing: -.02em; }
.tn-stat-lbl { font-size: .75rem; color: var(--tn-slate-500); margin-top: .15rem; }

/* Dashboard mockup */
.tn-mockup {
    background: var(--tn-slate-900); border-radius: .75rem;
    border: 1px solid var(--tn-slate-800); overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.tn-mockup-bar {
    display: flex; align-items: center; gap: .5rem;
    padding: .75rem 1rem; background: #0b1220; border-bottom: 1px solid var(--tn-slate-800);
}
.tn-mockup-url { margin-left: .75rem; font-size: .7rem; color: #64748b; flex: 1; }
.tn-mockup-live { font-size: .65rem; color: #34d399; font-weight: 600; }
.tn-mockup-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #334155; }
.tn-mockup-body { padding: 1.25rem; }
.tn-mockup-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .tn-mockup-grid { grid-template-columns: repeat(4, 1fr); } }
.tn-metric-card {
    background: var(--tn-slate-800); border-radius: .5rem; padding: .85rem;
    border: 1px solid #334155;
}
.tn-metric-label { font-size: .65rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.tn-metric-value { font-size: 1.125rem; font-weight: 700; color: #fff; margin-top: .25rem; }
.tn-metric-change { font-size: .65rem; color: #34d399; margin-top: .15rem; }
.tn-metric-change--warn { color: #fbbf24; }
.tn-metric-change--muted { color: #94a3b8; }
.tn-metric-value--warn { color: #fbbf24; }
.tn-mockup-table { margin-top: .75rem; border: 1px solid #334155; border-radius: .5rem; overflow: hidden; }
.tn-mockup-table-head, .tn-mockup-table-row {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: .5rem;
    padding: .5rem .75rem; font-size: .65rem;
}
.tn-mockup-table-head { background: #0b1220; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.tn-mockup-table-row { border-top: 1px solid #334155; color: #cbd5e1; }
.tn-mockup-table-row span:first-child { font-weight: 600; color: #fff; }
.tn-status { font-size: .6rem; font-weight: 700; padding: .15rem .4rem; border-radius: .25rem; text-align: center; }
.tn-status--ok { background: rgba(52,211,153,.15); color: #34d399; }
.tn-status--warn { background: rgba(251,191,36,.15); color: #fbbf24; }
.tn-mockup-chart {
    margin-top: .75rem; height: 6rem; background: var(--tn-slate-800);
    border-radius: .5rem; border: 1px solid #334155;
    display: flex; align-items: flex-end; gap: 4px; padding: .75rem;
}
.tn-bar { flex: 1; background: var(--tn-emerald); border-radius: 2px 2px 0 0; opacity: .85; }

/* Problem cards */
.tn-problem-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tn-problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tn-problem-grid { grid-template-columns: repeat(3, 1fr); } }
.tn-problem-card {
    padding: 1.35rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .625rem; border-left: 3px solid #dc2626;
    transition: box-shadow .2s, border-color .2s;
}
.tn-problem-card:hover { box-shadow: 0 8px 30px rgba(15,23,42,.08); border-color: #cbd5e1; }
.tn-problem-card p { font-size: .9375rem; color: var(--tn-slate-700); margin: .5rem 0 0; line-height: 1.5; font-weight: 500; }
.tn-problem-impact {
    display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #dc2626; background: #fef2f2;
    padding: .25rem .5rem; border-radius: .25rem;
}
.tn-problems-callout {
    margin-top: 3rem; padding: 2rem; background: var(--tn-slate-900); color: #fff;
    border-radius: .75rem; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1.5rem;
}
.tn-problems-callout p { margin: 0; max-width: 36rem; line-height: 1.65; color: #cbd5e1; font-size: .9375rem; }
.tn-problems-callout strong { color: #fff; }

/* Multisucursal hub */
.tn-multisucursal { background: var(--tn-slate-900); color: #fff; }
.tn-multisucursal-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .tn-multisucursal-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.tn-hub { position: relative; height: 20rem; max-width: 28rem; margin: 0 auto; }
.tn-hub-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 7rem; height: 7rem; background: var(--tn-emerald); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; z-index: 2; box-shadow: 0 0 0 8px rgba(5,150,105,.2);
}
.tn-hub-center span { font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.tn-hub-center strong { font-size: .75rem; margin-top: .15rem; }
.tn-hub-node {
    position: absolute; background: var(--tn-slate-800); border: 1px solid #334155;
    border-radius: .5rem; padding: .5rem .75rem; min-width: 6.5rem; z-index: 2;
}
.tn-hub-node span { display: block; font-size: .65rem; color: #94a3b8; }
.tn-hub-node em { font-style: normal; font-size: .875rem; font-weight: 700; color: #fff; }
.tn-hub-node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.tn-hub-node--2 { top: 50%; right: 0; transform: translateY(-50%); }
.tn-hub-node--3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.tn-hub-node--4 { top: 50%; left: 0; transform: translateY(-50%); }
.tn-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tn-hub-lines line { stroke: #334155; stroke-width: 1; stroke-dasharray: 4 4; }

.tn-checklist--light li { color: #cbd5e1; }
.tn-checklist--light li::before { background: rgba(52,211,153,.15); color: #34d399; }

/* Social proof */
.tn-social { padding: 2.5rem 0; background: var(--tn-slate-50); border-block: 1px solid var(--tn-slate-200); }
.tn-social-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
@media (min-width: 900px) { .tn-social-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.tn-social-verticals { font-size: .875rem; font-weight: 600; color: var(--tn-slate-600); margin-top: .5rem; line-height: 1.6; }
.tn-social-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .tn-social-stats { grid-template-columns: repeat(4, auto); gap: 1.5rem; } }
.tn-social-stat strong { display: block; font-size: 1rem; color: var(--tn-slate-900); }
.tn-social-stat span { font-size: .6875rem; color: var(--tn-slate-500); text-transform: uppercase; letter-spacing: .04em; }

/* Dashboard layout */
.tn-dashboard-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .tn-dashboard-layout { grid-template-columns: 1.1fr .9fr; } }
.tn-metric-list { display: flex; flex-direction: column; gap: .75rem; }
.tn-metric-row {
    display: flex; gap: 1rem; padding: 1rem 1.25rem; background: #fff;
    border: 1px solid var(--tn-slate-200); border-radius: .5rem;
    transition: border-color .2s, box-shadow .2s;
}
.tn-metric-row:hover { border-color: #cbd5e1; box-shadow: 0 4px 20px rgba(15,23,42,.06); }
.tn-metric-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--tn-emerald); margin-top: .45rem; flex-shrink: 0; }
.tn-metric-row h3 { font-size: .9375rem; font-weight: 700; margin: 0 0 .25rem; color: var(--tn-slate-900); }
.tn-metric-row p { font-size: .8125rem; color: var(--tn-slate-500); margin: 0; line-height: 1.5; }

.tn-split-media img { border-radius: .625rem; width: 100%; border: 1px solid var(--tn-slate-200); }
.tn-split-media--phone img { max-width: 18rem; margin: 0 auto; display: block; }

/* Analytics */
.tn-analytics-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tn-analytics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tn-analytics-grid { grid-template-columns: repeat(3, 1fr); } }
.tn-analytics-card {
    padding: 1.5rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .625rem; transition: border-color .2s, transform .2s;
}
.tn-analytics-card:hover { border-color: var(--tn-slate-900); transform: translateY(-2px); }
.tn-analytics-icon { color: var(--tn-emerald); font-size: .625rem; }
.tn-analytics-card h3 { font-size: .9375rem; font-weight: 700; margin: .75rem 0 .35rem; color: var(--tn-slate-900); }
.tn-analytics-card p { font-size: .8125rem; color: var(--tn-slate-500); margin: 0; line-height: 1.55; }

/* Implementation steps */
.tn-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.tn-step {
    display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.25rem;
    background: #fff; border: 1px solid var(--tn-slate-200); border-radius: .5rem;
}
.tn-step-num { font-size: .75rem; font-weight: 800; color: var(--tn-emerald); letter-spacing: .05em; flex-shrink: 0; }
.tn-step-text { font-size: .9375rem; color: var(--tn-slate-700); line-height: 1.5; }

/* Testimonials */
.tn-testimonial-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .tn-testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.tn-testimonial {
    margin: 0; padding: 1.75rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .625rem;
}
.tn-testimonial p { font-size: .9375rem; color: var(--tn-slate-600); line-height: 1.65; margin: 0 0 1.25rem; }
.tn-testimonial footer { display: flex; align-items: center; gap: .75rem; }
.tn-testimonial footer img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.tn-testimonial footer strong { display: block; font-size: .8125rem; color: var(--tn-slate-900); }
.tn-testimonial footer span { font-size: .75rem; color: var(--tn-slate-500); }

.tn-faq-wrap { max-width: 40rem; }
.tn-btn-secondary--dark { background: transparent !important; border-color: #475569 !important; color: #fff !important; }
.tn-btn-secondary--dark:hover { border-color: #fff !important; background: rgba(255,255,255,.05) !important; }
.tn-cta-inner { max-width: 40rem; margin: 0 auto; text-align: center; }

.tn-footer-brand p { font-size: .8125rem; line-height: 1.65; margin: 1rem 0 0; max-width: 24rem; }
.tn-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.tn-footer-links strong { color: #fff; font-size: .8125rem; display: block; margin-bottom: .75rem; }
.tn-footer-links ul { list-style: none; padding: 0; margin: 0; font-size: .8125rem; line-height: 2; }
.tn-footer-copy { text-align: center; font-size: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #1e293b; }

.tn-whatsapp {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
    width: 3.5rem; height: 3.5rem; background: var(--tn-emerald); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.2); text-decoration: none;
    transition: transform .15s, background .15s;
}
.tn-whatsapp:hover { background: #047857; transform: scale(1.05); }

.tn-modal-title { font-size: 1.25rem; font-weight: 700; margin: 0; padding-right: 2rem; }
.tn-modal-sub { color: var(--tn-slate-500); font-size: .875rem; margin: .5rem 0 1.5rem; }
.tn-form { display: flex; flex-direction: column; gap: .75rem; }
.tn-form-submit { width: 100%; margin-top: .5rem; }

/* Problem cards — legacy alias */
.tn-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .tn-split { grid-template-columns: 1fr 1fr; } }
.tn-split--reverse .tn-split-content { order: 2; }
.tn-split--reverse .tn-split-media { order: 1; }
@media (min-width: 1024px) {
    .tn-split--reverse .tn-split-content { order: 1; }
    .tn-split--reverse .tn-split-media { order: 2; }
}
.tn-checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.tn-checklist li {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: .5rem 0; font-size: .9375rem; color: var(--tn-slate-600);
}
.tn-checklist li::before {
    content: '✓'; flex-shrink: 0; width: 1.25rem; height: 1.25rem;
    background: var(--tn-emerald-light); color: var(--tn-emerald);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700;
}

/* Social proof */
.tn-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; opacity: .6; }
.tn-logos span { font-size: .875rem; font-weight: 600; color: var(--tn-slate-500); }

/* Cards grid */
.tn-card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tn-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tn-card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.tn-card {
    padding: 1.5rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .5rem; transition: border-color .2s, box-shadow .2s;
}
.tn-card:hover { border-color: var(--tn-slate-600); box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.tn-card h3 { font-size: 1rem; font-weight: 700; color: var(--tn-slate-900); margin: 0 0 .5rem; }
.tn-card p { font-size: .875rem; color: var(--tn-slate-600); margin: 0; line-height: 1.55; }

/* Plans — Enterprise pricing */
.tn-pricing { background: var(--tn-slate-50); }
.tn-pricing-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.tn-pricing-grid {
    display: grid; gap: 1.5rem; max-width: 72rem; margin: 0 auto;
    align-items: stretch;
}
@media (min-width: 900px) {
    .tn-pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .tn-pricing-card--featured { transform: scale(1.03); z-index: 1; }
}
.tn-pricing-card {
    position: relative; display: flex; flex-direction: column;
    padding: 2rem 1.75rem; background: #fff;
    border: 1px solid var(--tn-slate-200); border-radius: 1rem;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
@media (min-width: 1024px) { .tn-pricing-card { padding: 2.5rem 2rem; } }
.tn-pricing-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.tn-pricing-card--featured {
    border-color: var(--tn-slate-900);
    box-shadow: 0 0 0 1px var(--tn-slate-900), 0 24px 60px rgba(15, 23, 42, .12);
}
.tn-pricing-card--featured:hover {
    box-shadow: 0 0 0 1px var(--tn-slate-900), 0 28px 70px rgba(15, 23, 42, .16);
}
.tn-pricing-badge {
    position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
    background: var(--tn-slate-900); color: #fff;
    font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; white-space: nowrap;
    padding: .375rem .875rem; border-radius: 9999px;
}
.tn-pricing-tier {
    font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--tn-slate-500); margin: 0;
}
.tn-pricing-card--featured .tn-pricing-tier { color: var(--tn-emerald); }
.tn-pricing-name {
    font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em;
    color: var(--tn-slate-900); margin: .5rem 0 0;
}
.tn-pricing-price {
    font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800;
    letter-spacing: -.03em; color: var(--tn-slate-900);
    margin: 1.25rem 0 .75rem; line-height: 1.1;
}
.tn-pricing-price--custom { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; }
.tn-pricing-desc {
    font-size: .9375rem; line-height: 1.65; color: var(--tn-slate-600);
    margin: 0 0 1.75rem; min-height: 4.5rem;
}
.tn-pricing-features {
    list-style: none; padding: 0; margin: 0 0 2rem; flex: 1;
    border-top: 1px solid var(--tn-slate-100); padding-top: 1.5rem;
}
.tn-pricing-features li {
    display: flex; gap: .625rem; align-items: flex-start;
    padding: .4375rem 0; font-size: .875rem; color: var(--tn-slate-600); line-height: 1.45;
}
.tn-pricing-features li::before {
    content: ''; flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin-top: .1rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tn-pricing-cta {
    width: 100%; margin-top: auto;
}
.tn-pricing-cta--outline {
    background: #fff !important; color: var(--tn-slate-900) !important;
    border: 1px solid var(--tn-slate-200);
}
.tn-pricing-cta--outline:hover { background: var(--tn-slate-50) !important; border-color: var(--tn-slate-900); }

.tn-pricing-footnote {
    max-width: 52rem; margin: 4rem auto 0; text-align: center;
    padding: 2.5rem 2rem; background: #fff;
    border: 1px solid var(--tn-slate-200); border-radius: 1rem;
}
.tn-pricing-footnote p {
    font-size: clamp(1.05rem, 2vw, 1.2rem); font-weight: 600;
    color: var(--tn-slate-900); line-height: 1.55; margin: 0 0 1.75rem;
}
.tn-pricing-guarantees {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem;
    list-style: none; padding: 0; margin: 0;
}
.tn-pricing-guarantees li {
    font-size: .875rem; font-weight: 600; color: var(--tn-slate-600);
    display: flex; align-items: center; gap: .5rem;
}
.tn-pricing-guarantees li::before {
    content: '✓'; color: var(--tn-emerald); font-weight: 800; font-size: .75rem;
}

.tn-payments { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--tn-slate-200); text-align: center; }
.tn-payments-logos {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem;
}
.tn-payments-logo {
    padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .625rem; height: 4.25rem; width: 9.5rem;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, box-shadow .2s;
}
.tn-payments-logo:hover { border-color: #cbd5e1; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.tn-payments-logo img { max-height: 2.25rem; max-width: 85%; object-fit: contain; }

/* Modal overlay */
[x-cloak] { display: none !important; }
.tn-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
}
.tn-modal-panel {
    position: relative;
    background: #fff;
    border-radius: .75rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}
.tn-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--tn-slate-500);
    border-radius: .375rem;
    transition: color .15s, background .15s;
}
.tn-modal-close:hover { color: var(--tn-slate-900); background: var(--tn-slate-100); }
.tn-input {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--tn-slate-200);
    border-radius: .375rem;
    font-size: .875rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.tn-input:focus {
    outline: none;
    border-color: var(--tn-slate-900);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}

/* Legacy plan classes (admin fallback) */
.tn-plan { padding: 2rem; border-radius: .75rem; border: 1px solid var(--tn-slate-200); background: #fff; }
.tn-plan--featured { border-color: var(--tn-slate-900); box-shadow: 0 0 0 1px var(--tn-slate-900); position: relative; }
.tn-plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--tn-slate-900); color: #fff; font-size: .7rem;
    font-weight: 700; padding: .25rem .75rem; border-radius: 9999px;
}
.tn-plans-grid { display: grid; gap: 1.25rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .tn-plans-grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.tn-faq-item { border: 1px solid var(--tn-slate-200); border-radius: .5rem; overflow: hidden; margin-bottom: .75rem; }
.tn-faq-btn {
    width: 100%; text-align: left; padding: 1rem 1.25rem;
    font-weight: 600; font-size: .9375rem; background: #fff; border: none;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.tn-faq-btn:hover { background: var(--tn-slate-50); }
.tn-faq-answer { padding: 0 1.25rem 1rem; font-size: .875rem; color: var(--tn-slate-600); line-height: 1.6; }

/* CTA dark */
.tn-cta-dark {
    background: var(--tn-slate-900); color: #fff; text-align: center;
}
.tn-cta-dark .tn-headline { color: #fff; }
.tn-cta-dark .tn-subhead { color: #94a3b8; }

/* Footer */
.tn-footer { background: var(--tn-slate-950); color: #94a3b8; padding: 3rem 0; }
.tn-footer a { color: #94a3b8; text-decoration: none; }
.tn-footer a:hover { color: #fff; }

/* Mobile menu */
.tn-mobile-menu { padding: 1rem; border-top: 1px solid var(--tn-slate-200); background: #fff; }
.tn-mobile-menu a { display: block; padding: .5rem 0; color: var(--tn-slate-700); text-decoration: none; }
.tn-nav-menu-btn { display: flex; padding: .5rem; border: 1px solid var(--tn-slate-200); border-radius: .375rem; background: #fff; cursor: pointer; }
@media (min-width: 1024px) { .tn-nav-menu-btn { display: none; } }

.tn-footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .tn-footer-grid { grid-template-columns: 1.5fr 1fr; } }

[data-track]:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* === v3 Urgency / Control Center === */
.tn-eyebrow--urgent { color: #dc2626; }
.tn-hero-badge--urgent { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.tn-hero--control { padding-top: 2rem; padding-bottom: 4rem; background: #fff; }
@media (min-width: 1024px) { .tn-hero--control { padding-top: 3rem; padding-bottom: 5rem; } }
.tn-hero-urgency { margin-top: 1.25rem; font-size: .8125rem; color: var(--tn-slate-500); font-weight: 500; max-width: 28rem; }

.tn-impact-bar {
    margin-top: 4rem; background: var(--tn-slate-900); color: #cbd5e1;
    border-bottom: 1px solid #1e293b;
}
@media (min-width: 1024px) { .tn-impact-bar { margin-top: 4.5rem; } }
.tn-impact-bar-inner {
    display: flex; align-items: center; gap: .75rem; padding: .75rem 0;
    font-size: .8125rem; line-height: 1.5;
}
.tn-impact-bar strong { color: #fff; }
.tn-impact-pulse {
    width: .5rem; height: .5rem; border-radius: 50%; background: #ef4444; flex-shrink: 0;
    animation: tn-pulse 2s ease-in-out infinite;
}
@keyframes tn-pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,.5); } 50% { opacity: .8; box-shadow: 0 0 0 6px rgba(239,68,68,0); } }

.tn-live-kpis { background: var(--tn-slate-950); border-bottom: 1px solid #1e293b; padding: 1rem 0; }
.tn-live-kpis-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .tn-live-kpis-grid { grid-template-columns: repeat(5, 1fr); } }
.tn-live-kpi { text-align: center; padding: .5rem; }
.tn-live-kpi-val { display: block; font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tn-live-kpi-val--warn { color: #fbbf24; }
.tn-live-kpi-lbl { display: block; font-size: .625rem; color: #64748b; text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

.tn-control {
    background: #0b1220; border-radius: .75rem; border: 1px solid #1e293b;
    overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.35);
}
.tn-control-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem 1rem; background: #070d18; border-bottom: 1px solid #1e293b;
}
.tn-control-bar-left { display: flex; align-items: center; gap: .5rem; }
.tn-control-title { font-size: .7rem; color: #64748b; margin-left: .5rem; }
.tn-control-live { font-size: .65rem; color: #34d399; font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.tn-live-dot { width: .4rem; height: .4rem; background: #34d399; border-radius: 50%; animation: tn-pulse 2s infinite; }
.tn-control-alert {
    display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 1rem;
    background: rgba(220,38,38,.12); border-bottom: 1px solid rgba(220,38,38,.25);
}
.tn-control-alert-icon { color: #f87171; font-size: 1rem; flex-shrink: 0; }
.tn-control-alert strong { display: block; font-size: .75rem; color: #fecaca; margin-bottom: .15rem; }
.tn-control-alert span { font-size: .6875rem; color: #fca5a5; line-height: 1.4; }
.tn-control-body { padding: 1rem; }
.tn-control-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-bottom: .75rem; }
@media (min-width: 640px) { .tn-control-metrics { grid-template-columns: repeat(4, 1fr); } }
.tn-control-panels { display: grid; gap: .75rem; }
@media (min-width: 768px) { .tn-control-panels { grid-template-columns: 1.2fr .8fr; } }
.tn-control-feed, .tn-control-branches {
    background: #0f172a; border: 1px solid #1e293b; border-radius: .5rem; overflow: hidden;
}
.tn-control-feed-head {
    padding: .5rem .75rem; font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #64748b; border-bottom: 1px solid #1e293b; background: #0b1220;
}
.tn-feed-list { list-style: none; padding: 0; margin: 0; }
.tn-feed-list li {
    padding: .5rem .75rem; font-size: .6875rem; color: #94a3b8; line-height: 1.45;
    border-bottom: 1px solid #1e293b; display: flex; flex-wrap: wrap; gap: .35rem; align-items: baseline;
}
.tn-feed-list--scroll { max-height: 9rem; overflow: hidden; position: relative; }
.tn-feed-list--scroll { animation: tn-feed-scroll 18s linear infinite; }
@keyframes tn-feed-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.tn-feed-time { color: #475569; font-variant-numeric: tabular-nums; min-width: 2.5rem; }
.tn-feed-tag {
    font-size: .55rem; font-weight: 700; text-transform: uppercase; padding: .1rem .35rem;
    border-radius: .2rem; background: #1e293b; color: #94a3b8;
}
.tn-feed-tag--warn { background: rgba(251,191,36,.15); color: #fbbf24; }
.tn-feed-tag--risk { background: rgba(239,68,68,.15); color: #f87171; }
.tn-feed-tag--audit { background: rgba(52,211,153,.12); color: #34d399; }
.tn-branch-row {
    display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; padding: .45rem .75rem;
    font-size: .6875rem; color: #cbd5e1; border-bottom: 1px solid #1e293b; align-items: center;
}
.tn-branch-row--alert { background: rgba(220,38,38,.08); }
.tn-status--danger { background: rgba(239,68,68,.15); color: #f87171; }

.tn-money-loss { background: #fff; }
.tn-loss-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tn-loss-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tn-loss-grid { grid-template-columns: repeat(4, 1fr); } }
.tn-loss-card {
    padding: 1.35rem; background: var(--tn-slate-50); border: 1px solid var(--tn-slate-200);
    border-radius: .625rem; transition: border-color .2s, box-shadow .2s;
}
.tn-loss-card:hover { border-color: #dc2626; box-shadow: 0 8px 30px rgba(220,38,38,.08); }
.tn-loss-num { font-size: .6875rem; font-weight: 800; color: #dc2626; letter-spacing: .08em; }
.tn-loss-card h3 { font-size: .9375rem; font-weight: 700; margin: .5rem 0 .35rem; color: var(--tn-slate-900); }
.tn-loss-impact { font-size: .8125rem; font-weight: 700; color: #dc2626; margin: 0 0 .5rem; }
.tn-loss-desc { font-size: .8125rem; color: var(--tn-slate-600); margin: 0; line-height: 1.5; }
.tn-loss-footer {
    margin-top: 3rem; text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto;
}
.tn-loss-footer p { font-size: .9375rem; color: var(--tn-slate-600); margin-bottom: 1.5rem; line-height: 1.6; }

.tn-section--dark { background: var(--tn-slate-900); color: #fff; }
.tn-control-rt-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .tn-control-rt-layout { grid-template-columns: 1.2fr .8fr; } }
.tn-rt-feature {
    display: flex; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid #1e293b;
}
.tn-rt-feature span { color: #34d399; font-size: .5rem; margin-top: .35rem; }
.tn-rt-feature h3 { font-size: .9375rem; font-weight: 700; color: #fff; margin: 0 0 .25rem; }
.tn-rt-feature p { font-size: .8125rem; color: #94a3b8; margin: 0; line-height: 1.5; }

.tn-dashboard-tags {
    display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem;
}
.tn-dashboard-tags span {
    font-size: .6875rem; font-weight: 600; padding: .35rem .75rem;
    background: var(--tn-slate-100); border: 1px solid var(--tn-slate-200); border-radius: 9999px; color: var(--tn-slate-600);
}

.tn-audit-log {
    background: var(--tn-slate-900); border-radius: .625rem; border: 1px solid #1e293b; overflow: hidden;
}
.tn-audit-log-head {
    padding: .65rem 1rem; font-size: .6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #64748b; background: #0b1220; border-bottom: 1px solid #1e293b;
}
.tn-audit-log .tn-feed-list li { color: #cbd5e1; font-size: .75rem; }
.tn-audit-log .tn-feed-list strong { color: #fff; font-weight: 600; }

.tn-mobile-alerts { display: flex; flex-direction: column; gap: .5rem; margin: 1.25rem 0; }
.tn-mobile-alert {
    padding: .75rem 1rem; background: #fff; border: 1px solid var(--tn-slate-200);
    border-radius: .5rem; border-left: 3px solid var(--tn-emerald);
}
.tn-mobile-alert strong { display: block; font-size: .8125rem; color: var(--tn-slate-900); }
.tn-mobile-alert span { font-size: .75rem; color: var(--tn-slate-500); }
.tn-mobile-alert--warn { border-left-color: #fbbf24; }
.tn-mobile-alert--danger { border-left-color: #ef4444; }

.tn-infra-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tn-infra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tn-infra-grid { grid-template-columns: repeat(3, 1fr); } }
.tn-infra-card {
    padding: 1.5rem; background: #fff; border: 1px solid var(--tn-slate-200); border-radius: .625rem;
    transition: border-color .2s;
}
.tn-infra-card:hover { border-color: var(--tn-slate-900); }
.tn-infra-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--tn-slate-900); letter-spacing: -.02em; }
.tn-infra-card > span { display: block; font-size: .8125rem; font-weight: 600; color: var(--tn-emerald); margin: .25rem 0 .5rem; }
.tn-infra-card p { font-size: .8125rem; color: var(--tn-slate-600); margin: 0; line-height: 1.5; }
