/* TrackPro — Premium fleet marketing site */
:root {
    --red: #d4141a;
    --red-dark: #a80f14;
    --red-soft: #fef2f2;
    --black: #0f0f0f;
    --ink: #1c1c1c;
    --muted: #5c5c5c;
    --line: #e5e2dc;
    --cream: #f6f5f2;
    --white: #ffffff;
    --green: #0d9f6e;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(15, 15, 15, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 15, 15, 0.12);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --max: 1140px;
    --nav-h: 72px;
    --blue: var(--red);
    --blue-dark: var(--red-dark);
    --bg: var(--cream);
    --red-light: var(--red-soft);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { flex: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 20px;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--black);
    letter-spacing: -0.02em;
}
.brand-logo { height: 38px; width: auto; }
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, var(--red), var(--black));
    display: grid;
    place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; stroke: #fff; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-item:hover,
.nav-item.active { color: var(--ink); background: var(--cream); }
.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    border: 2px solid var(--red) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; color: #fff !important; }

/* Mobile app-style bottom tab bar */
.mobile-tabbar { display: none; }

@media (max-width: 960px) {
    .nav-links--desktop { display: none; }

    .mobile-tabbar {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--line);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 32px rgba(15, 15, 15, 0.08);
    }

    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 2px;
        min-height: 52px;
        color: var(--muted);
        border-radius: 12px;
        transition: color 0.2s, background 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .tab-icon {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--muted);
        transition: color 0.2s, background 0.2s, transform 0.15s;
    }

    .tab-icon svg {
        width: 22px;
        height: 22px;
        stroke-width: 1.75;
    }

    .tab-label {
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1.1;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tab-item:active .tab-icon { transform: scale(0.92); }

    .tab-item.active {
        color: var(--red);
    }

    .tab-item.active .tab-icon {
        color: var(--red);
        background: var(--red-soft);
    }

    .tab-item--featured .tab-icon {
        width: 44px;
        height: 44px;
        margin-top: -18px;
        border-radius: 50%;
        background: var(--red);
        color: #fff;
        box-shadow: 0 6px 20px rgba(212, 20, 26, 0.4);
        border: 3px solid var(--white);
    }

    .tab-item--featured.active .tab-icon,
    .tab-item--featured .tab-icon {
        background: var(--red);
        color: #fff;
    }

    .tab-item--featured .tab-label {
        color: var(--red);
        font-weight: 700;
    }

    .tab-item--cta.active .tab-icon {
        background: rgba(212, 20, 26, 0.12);
        color: var(--red);
    }

    /* Lift floating widgets above tab bar */
    .wa-float {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-footer {
        margin-bottom: 0;
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(212, 20, 26, 0.28);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.btn-dark {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}
.btn-dark:hover { background: var(--red); border-color: var(--red); }
.btn-block { width: 100%; }

/* ── Hero ── */
.tp-hero {
    background: var(--black);
    color: #fff;
    padding: 80px 0 0;
    overflow: hidden;
    position: relative;
}
.tp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 20%, rgba(212, 20, 26, 0.2), transparent 65%);
    pointer-events: none;
}
.tp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.tp-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}
@media (max-width: 900px) {
    .tp-hero { padding-top: 48px; }
    .tp-hero-inner { padding-bottom: 56px; }
}
.tp-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.tp-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.tp-hero h1 span { color: var(--red); font-style: italic; }
.tp-hero-lead {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.tp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ── Stats band ── */
.tp-stats {
    background: var(--red);
    color: #fff;
}
.tp-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) { .tp-stats-inner { grid-template-columns: repeat(2, 1fr); } }
.tp-stat {
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.tp-stat:last-child { border-right: none; }
.tp-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}
.tp-stat span {
    font-size: 0.8125rem;
    opacity: 0.9;
}

/* ── Sections ── */
.tp-section { padding: 88px 0; }
.tp-section--cream { background: var(--cream); }
.tp-section--dark { background: var(--black); color: #fff; }
.tp-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.tp-section--dark .tp-eyebrow { color: #f87171; }
.tp-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.tp-lead {
    color: var(--muted);
    font-size: 1.0625rem;
    max-width: 560px;
    line-height: 1.65;
}
.tp-section--dark .tp-lead { color: rgba(255, 255, 255, 0.65); }
.tp-head { margin-bottom: 48px; }
.tp-head--center { text-align: center; }
.tp-head--center .tp-lead { margin: 0 auto; }

/* ── Telematics cards (homepage) ── */
.tp-telematics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 768px) { .tp-telematics-grid { grid-template-columns: 1fr; } }
.tp-telematics-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}
.tp-telematics-visual {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: var(--cream);
    border-radius: 20px;
    padding: 10px;
}
.tp-telematics-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tp-telematics-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.tp-telematics-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.tp-telematics-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── Split layout ── */
.tp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 900px) { .tp-split { grid-template-columns: 1fr; gap: 40px; } }

/* Telematics list */
.tp-checklist { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.tp-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--muted);
}
.tp-section--dark .tp-checklist li {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
.tp-checklist .ico { font-size: 1.25rem; flex-shrink: 0; }
.tp-checklist strong {
    display: block;
    color: var(--ink);
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.tp-section--dark .tp-checklist strong { color: #fff; }

/* ── Audience cards ── */
.tp-audience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .tp-audience { grid-template-columns: 1fr; } }
.tp-audience-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tp-audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tp-audience-visual {
    width: 72px;
    height: 72px;
    margin-bottom: 4px;
    display: grid;
    place-items: center;
    background: var(--cream);
    border-radius: 16px;
    padding: 8px;
}
.tp-audience-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tp-audience-card--fleet { border-top: 4px solid var(--red); }
.tp-audience-card--personal { border-top: 4px solid var(--black); }
.tp-audience-card--partner { border-top: 4px solid var(--muted); }
.tp-audience-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.tp-audience-card p {
    color: var(--muted);
    font-size: 0.9375rem;
    flex: 1;
    margin-bottom: 24px;
}

/* ── Steps ── */
.tp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .tp-steps { grid-template-columns: 1fr; } }
.tp-step {
    text-align: center;
    padding: 8px 16px;
}
.tp-step-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 800;
    font-size: 1.125rem;
    display: grid;
    place-items: center;
}
.tp-step-icon { font-size: 1.75rem; margin-bottom: 12px; }
.tp-step h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.tp-step p { font-size: 0.875rem; color: var(--muted); }

/* ── AI banner ── */
.tp-ai {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--black), #2a1515);
    border-radius: var(--radius);
    color: #fff;
}
.tp-ai-tag {
    display: inline-block;
    background: var(--red);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.tp-ai h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.tp-ai p { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; max-width: 520px; }

/* ── Features ── */
.tp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) { .tp-features { grid-template-columns: 1fr; } }
.tp-feature {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s;
}
.tp-section--cream .tp-feature { background: var(--white); }
.tp-feature:hover { border-color: var(--red); }
.tp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--red-soft);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.tp-feature h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.tp-feature p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* ── Use cases ── */
.tp-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.tp-cases--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .tp-cases--3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) { .tp-cases { grid-template-columns: 1fr; } }
.tp-case {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    border-left: 4px solid var(--red);
}
.tp-case-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
    margin-bottom: 8px;
}
.tp-case h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.tp-case p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 20px; }

/* ── Testimonials ── */
.tp-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .tp-quotes { grid-template-columns: 1fr; } }
.tp-quote {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}
.tp-quote blockquote {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 20px;
    font-style: italic;
}
.tp-quote-author { display: flex; align-items: center; gap: 12px; }
.tp-quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    display: grid;
    place-items: center;
}
.tp-quote-author strong { display: block; font-size: 0.875rem; }
.tp-quote-author span { font-size: 0.75rem; color: var(--muted); }

/* ── Pricing ── */
.tp-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}
.tp-pricing--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .tp-pricing--3 { grid-template-columns: 1fr; max-width: 400px; }
}
.tp-price {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.tp-price--featured {
    border-color: var(--red);
    box-shadow: 0 16px 48px rgba(212, 20, 26, 0.12);
    position: relative;
}
.tp-price--featured::before {
    content: 'Most popular';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--red-soft);
    color: var(--red);
    padding: 4px 10px;
    border-radius: 999px;
}
.tp-price h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.tp-price-desc { font-size: 0.875rem; color: var(--muted); min-height: 40px; margin-bottom: 20px; }
.tp-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 4px;
}
.tp-price-amount small { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.tp-price-meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tp-price ul { list-style: none; font-size: 0.875rem; color: var(--muted); flex: 1; }
.tp-price li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.tp-price li:last-child { border-bottom: none; }
.tp-price .btn { margin-top: 24px; }
.tp-pricing-note { text-align: center; color: var(--muted); font-size: 0.875rem; margin-top: 24px; }

/* ── FAQ ── */
.tp-faq-simple {
    max-width: 680px;
    margin: 8px auto 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}
.tp-faq-row {
    border-bottom: 1px solid var(--line);
}
.tp-faq-row:last-child { border-bottom: none; }
.tp-faq-row summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.975rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink);
}
.tp-faq-row summary::-webkit-details-marker { display: none; }
.tp-faq-row summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--red);
    flex-shrink: 0;
    line-height: 1;
}
.tp-faq-row[open] summary::after { content: '−'; }
.tp-faq-row[open] summary { color: var(--red); }
.tp-faq-row p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── Blog ── */
.tp-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .tp-blog { grid-template-columns: 1fr; } }
.tp-blog-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tp-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tp-blog-card img { width: 100%; height: 180px; object-fit: cover; }
.tp-blog-card-body { padding: 20px; flex: 1; }
.tp-blog-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.tp-blog-card p { font-size: 0.875rem; color: var(--muted); }

/* ── Partners ── */
.tp-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.tp-partners img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.2s, opacity 0.2s;
}
.tp-partners a:hover img { filter: none; opacity: 1; }

/* ── Contact ── */
.tp-contact-simple {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .tp-contact-simple { grid-template-columns: 1fr; }
}
.tp-contact-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}
.tp-contact-details {
    list-style: none;
    margin: 28px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tp-contact-details li {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}
.tp-contact-details strong {
    color: var(--ink);
    font-weight: 600;
    margin-right: 6px;
}
.tp-map-simple {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.tp-map-simple iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}
@media (max-width: 900px) {
    .tp-map-simple iframe { height: 280px; }
}
.tp-map-caption {
    padding: 14px 18px 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
}
.tp-map-link {
    display: inline-block;
    padding: 10px 18px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
}
.tp-map-link:hover { text-decoration: underline; }

/* ── Forms (shared) ── */
.tp-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tp-field {
    margin-bottom: 18px;
}
.tp-field:last-child { margin-bottom: 0; }
.tp-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.tp-field input,
.tp-field select,
.tp-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    min-height: 48px;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.tp-field textarea {
    min-height: 128px;
    resize: vertical;
    line-height: 1.55;
    padding-top: 12px;
}
.tp-field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c5c5c' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.tp-field input::placeholder,
.tp-field textarea::placeholder {
    color: #a3a3a3;
}
.tp-field input:focus,
.tp-field select:focus,
.tp-field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(212, 20, 26, 0.12);
}
.tp-field--code input {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.tp-field-hint {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}
.tp-field-hint--error {
    color: #b91c1c;
}
.tp-field input.tp-input-error {
    border-color: #b91c1c;
}
.tp-field input.tp-input-error:focus {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.tp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) {
    .tp-form-row { grid-template-columns: 1fr; }
}
.tp-form-row .tp-field { margin-bottom: 0; }
.tp-form-row + .tp-field,
.tp-form-row + .tp-form-row,
.tp-field + .tp-form-row { margin-top: 18px; }
.tp-form-actions {
    margin-top: 24px;
}
.tp-form-actions .btn { width: 100%; }
.tp-form-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}
.tp-form-note a {
    color: var(--red);
    font-weight: 600;
}
.tp-form-note a:hover { text-decoration: underline; }
.tp-form-hint {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
    margin: -8px 0 20px;
}
.contact-email { color: var(--red); font-weight: 600; }
.contact-email:hover { text-decoration: underline; }
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ── CTA ── */
.tp-cta {
    text-align: center;
    padding: 64px 40px;
    background: var(--black);
    color: #fff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.tp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(212, 20, 26, 0.25), transparent 50%);
    pointer-events: none;
}
.tp-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
}
.tp-cta p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
    margin: 0 auto 28px;
    position: relative;
}
.tp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
}

/* ── Footer ── */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.72);
    margin-top: auto;
    position: relative;
}
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 50%, var(--black) 100%);
}
.site-footer .container {
    padding-top: 56px;
    padding-bottom: 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(280px, 1fr);
    gap: 48px 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.footer-brand:hover { color: #fff; }
.footer-brand:hover span { color: var(--red); }
.footer-logo { height: 36px; width: auto; }
.footer-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, var(--red), #2a2a2a);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.footer-mark svg { width: 22px; height: 22px; stroke: #fff; }
.footer-about {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 340px;
    margin-bottom: 20px;
}
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer-cta:hover {
    border-color: var(--red);
    background: rgba(212, 20, 26, 0.12);
    color: #fff;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
}
@media (max-width: 560px) {
    .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .footer-links { grid-template-columns: 1fr; }
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col h4 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    width: fit-content;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bar {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer-social a:hover {
    border-color: var(--red);
    background: rgba(212, 20, 26, 0.15);
    color: #fff;
}
.footer-social svg {
    width: 15px;
    height: 15px;
}

/* ── Inner pages ── */
.page-hero {
    padding: 56px 0 32px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.page-hero p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.page-content { padding: 48px 0 80px; background: var(--cream); min-height: 60vh; }
.page-content--tight { padding-top: 0; }
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.page-wrap--narrow { max-width: 720px; }
.page-wrap--signup { max-width: 520px; }

/* ── Get started (simple) ── */
.signup-page { padding-top: 56px; padding-bottom: 80px; }
.signup-intro {
    text-align: center;
    margin-bottom: 28px;
}
.signup-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.signup-intro p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}
.signup-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.signup-pills a {
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.signup-pills a:hover { color: var(--ink); border-color: #ccc; }
.signup-pills a.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}
.signup-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    box-shadow: var(--shadow);
}
.signup-trial {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
    margin: 0 0 20px;
    text-align: center;
}
.signup-page .alert { margin-bottom: 0; }
.signup-alert {
    margin-bottom: 20px;
    min-height: 0;
}
.signup-alert:empty { margin-bottom: 0; }
.signup-box .tp-form-actions { margin-top: 8px; }
.tp-input-upper { text-transform: uppercase; }
.tp-label-optional {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8125rem;
}
@media (max-width: 560px) {
    .signup-box { padding: 24px 20px 20px; }
    .signup-pills a { padding: 8px 14px; font-size: 0.8125rem; }
}

.prose {
    max-width: 680px;
    margin: 0 auto;
    color: #374151;
    line-height: 1.75;
}
.prose h2, .prose h3 { color: var(--ink); margin: 1.75em 0 0.6em; font-weight: 700; }
.prose p, .prose ul { margin-bottom: 1.1em; }
.prose a { color: var(--red); }
.prose img { border-radius: var(--radius); }

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.contact-alert {
    max-width: 640px;
    margin: 0 auto 24px;
    min-height: 0;
}
.contact-alert:empty { margin-bottom: 0; }
.contact-alert .alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.blog-filters a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--line);
    color: var(--muted);
}
.blog-filters a.active,
.blog-filters a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.blog-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.875rem;
}
.pagination .active { background: var(--red); border-color: var(--red); color: #fff; }
.article-hero img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 32px;
}
.article-meta { font-size: 0.875rem; color: var(--muted); margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--white);
    transition: border-color 0.2s;
}
.related-card:hover { border-color: var(--red); }
.related-card h3 { font-size: 0.95rem; font-weight: 700; }

.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
