/* ============================================================
   Trackara Pro marketing site: Design System v2 (Oct 2026)
   Built by tools/site-v2/build_pro.py into css/shared-nav.css.
   Same family as shop.trackara.app/login and the new signup:
   Inter Tight headings, Inter body, teal accent, the sign-in navy
   (#0a0a0a) for nav/footer/bands, light paper pages, flat fills.
   NO gradients, no glows. Legacy token names are kept (flipped to the
   light palette) so every page that reads them follows.
   Loaded LAST in <head>, so it wins over leftover page rules; base
   element rules are scoped with `body` so Tailwind's preflight can't
   reset them.
   ============================================================ */

:root {
    /* Brand */
    --primary: #17afa5; --primary-color: #17afa5; --primary-dark: #0d8b82; --primary-light: #1fc4b8;
    --primary-glow: transparent; --primary-subtle: rgba(23,175,165,0.08); --primary-border: rgba(23,175,165,0.28);
    --teal: #17afa5; --teal-d: #0d8b82; --teal-soft: rgba(23,175,165,0.10);
    --teal-text: #0a766f; /* teal used AS TEXT on light surfaces: 5.0:1+ on white/paper (brand #17afa5 is 2.7:1) */
    /* Surfaces (light) */
    --bg: #fafafa; --bg-black: #fafafa; --bg-2: #f4f5f5; --bg-3: #eef0ef; --bg-card: #ffffff; --bg-raised: #f4f5f5;
    --bg-dark: #f4f5f5; --bg-card-hover: #fbfbfb; --bg-input: #ffffff; --bg-panel: #fafafa;
    --ink: #0a0a0a; --ink-2: #1a1a1a; --ink-3: #2a2a2a; --mist: #d4d4d4; --mist-2: #a3a3a3;
    /* Lines */
    --border: #e7e5e4; --border-2: #d6d3d1; --border-dark: #e7e5e4; --border-light: #d6d3d1; --border-color: #e7e5e4;
    /* Text */
    --text-1: #0a0a0a; --text-2: #525252; --text-3: #737373;
    --text-primary: #0a0a0a; --text-secondary: #525252; --text-muted: #737373;
    /* Status */
    --green: #059669; --orange: #d97706; --red: #dc2626; --blue: #2563eb; --purple: #7c3aed;
    --accent-green: #059669; --accent-orange: #d97706; --accent-red: #dc2626; --accent-blue: #2563eb; --accent-purple: #7c3aed;
    --success-bg: rgba(5,150,105,0.10); --warning-bg: rgba(217,119,6,0.10); --danger-bg: rgba(220,38,38,0.08);
    --status-pending: #d97706; --status-confirmed: #2563eb; --status-in-progress: #7c3aed; --status-completed: #059669; --status-cancelled: #dc2626;
    /* Shape */
    --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-xl: 24px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow: 0 1px 2px rgba(10, 10, 10,0.04);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text-1); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3, body h4 { font-family: 'Inter Tight', 'Inter', sans-serif; color: var(--text-1); letter-spacing: -0.03em; line-height: 1.12; font-weight: 800; text-wrap: balance; }
body h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 18px; }
body h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 14px; }
body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
body h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
body p { margin: 0 0 16px; }
body a { color: var(--teal-text); }
body a:hover { color: var(--teal-text); }
body strong, body b { font-weight: 700; color: inherit; }
body img { max-width: 100%; }
body ul, body ol { padding-left: 22px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(23,175,165,0.22); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 6px; } ::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

/* Type scale classes used across pages */
.heading-xl { font-family: 'Inter Tight', sans-serif; font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: var(--text-1); }
.heading-lg { font-family: 'Inter Tight', sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; color: var(--text-1); }
.heading-md { font-family: 'Inter Tight', sans-serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--text-1); }
.heading-sm { font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--text-1); }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.body-md { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.body-sm { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.caption { font-size: 13px; color: var(--text-3); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--teal-text); letter-spacing: 0; text-transform: none; }
.accent, .logo-accent, .gradient-text-primary { color: var(--teal-text); background: none; -webkit-text-fill-color: currentColor; }
.lede, p.lede { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
.sub { color: var(--text-2); }

/* Layout */
.container, .wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; } .section-lg { padding: 120px 0; }
.section.alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { margin-bottom: 12px; } .section .sub { margin: 0 0 32px; max-width: 680px; font-size: 17px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 40px 0; }
main { display: block; }

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-ghost, .cta-button, .cta-btn, .hero-cta a, .plan-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 10px;
    font: 600 15px/1.2 'Inter', sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform 160ms var(--ease); box-shadow: none; }
.btn-primary, .cta-button, .cta-btn { background: var(--primary); color: #fff; }
.btn-primary:hover, .cta-button:hover, .cta-btn:hover { background: var(--primary-dark); color: #fff; transform: none; box-shadow: none; }
.btn-secondary, :is(.hero-cta, .plan-cta) a.btn-secondary { background: var(--bg-card); color: var(--text-1); border-color: var(--border-2); }
.btn-secondary:hover { border-color: var(--text-3); color: var(--text-1); }
.btn-ghost, :is(.hero-cta, .plan-cta) a.btn-ghost { background: transparent; color: var(--text-1); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--text-3); color: var(--text-1); }
/* buttons placed inside article copy: the article link colour/underline rules (.content a etc.) out-rank plain .cta-button */
:is(.article-content, .prose, .content, article, main) a:is(.btn-primary, .cta-button, .cta-btn) { color: #fff; text-decoration: none; }
:is(.article-content, .prose, .content, article, main) a:is(.btn-secondary, .btn-ghost) { color: var(--text-1); text-decoration: none; }
:is(.cta-section, .city-cta, .cta-box) a:is(.btn-secondary, .btn-ghost) { color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; } .btn-lg { padding: 15px 24px; font-size: 16px; }
.btn:active, .btn-primary:active, .cta-button:active { transform: scale(0.98); }
.cta-buttons, .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Cards and boxes */
.card, .card-feature, .feature-card, .pain-card, .win-card, .related-card, .related-link, .feat, .compare-box, .verdict-box,
.example-box, .day-block, .pricing-card, .pricing-card-featured, .toc, .faq-item, .screenshot-frame {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; }
.card, .card-feature, .feature-card, .pain-card, .win-card, .related-card, .feat { padding: 24px; transition: border-color .15s; display: block; color: inherit; text-decoration: none; }
.card:hover, .card-feature:hover, .pain-card:hover, .win-card:hover, .related-card:hover, .related-link:hover, .feat:hover { border-color: var(--primary); background: var(--bg-card); transform: none; box-shadow: none; }
.card-accent { border-color: var(--primary-border); }
.card-feature h3, .feature-card h3, .pain-card h3, .win-card h3, .feat h3, .related-card h4 { margin: 0 0 8px; }
.card-feature p, .feature-card p, .pain-card p, .win-card p, .feat p, .related-card p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0; }
.feature-icon, .pain-icon, .related-link-icon, .feat i, .feature-card-icon > i:first-child {
    width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--primary-subtle); color: var(--teal-text); font-size: 16px; margin-bottom: 14px; }
.pain-icon { background: rgba(220,38,38,0.08); color: var(--red); }
.feat-grid, .card-grid, .fg-2, .fg-3, .fg-4, .related-grid, .alt-grid, .features-grid, .pricing-grid { display: grid; gap: 16px; }
.fg-2 { grid-template-columns: repeat(2, 1fr); } .fg-3, .feat-grid, .related-grid { grid-template-columns: repeat(3, 1fr); } .fg-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid, .alt-grid, .features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: start; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; } }
/* whole-card links (city services, service areas, tool cards): no underline across the card's text */
body a:is([class*="card"], .area-link, .city-link) { text-decoration: none; color: inherit; }
.related-link { display: block; padding: 22px; text-decoration: none; color: var(--text-1); }
.related-link h3, .related-link h4, .related-link strong { color: var(--text-1); }
.related-link p, .related-link span { color: var(--text-2); }
.highlight-box, .feature-box, .checklist, .grad-callout, .callout {
    background: var(--primary-subtle); border: 1px solid var(--primary-border); border-left: 4px solid var(--primary); border-radius: 12px; padding: 20px 24px; margin: 28px 0; color: var(--text-1); }
.highlight-box p:last-child, .feature-box p:last-child, .checklist p:last-child { margin-bottom: 0; }
.highlight-box h3, .highlight-box h4, .feature-box h3, .checklist h3, .checklist h4 { color: var(--text-1); }
.example-box { padding: 20px 24px; margin: 28px 0; }
.example-box h4 { color: var(--teal-text); }
.verdict-box { border-color: var(--primary-border); padding: 28px 32px; margin-bottom: 40px; }
.verdict-box p { color: var(--text-1); }
.tag, .badge-dark, .category-badge, .category-starting, .pro-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--primary-subtle); color: var(--teal-text); border: 0; width: fit-content; align-self: flex-start; }
.step-num, .timeline-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; }
.check-list { list-style: none; padding: 0; } .check-list li { display: flex; gap: 10px; margin-bottom: 8px; } .check-list li::before { content: '\2713'; color: var(--primary); font-weight: 700; }

/* Trust bar */
.trust-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center; padding: 20px 32px; }
.trust-signal { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 14px; }
.trust-signal i { color: var(--primary); }

/* Breadcrumb */
.breadcrumb { font-size: 13.5px; color: var(--text-3); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-2); text-decoration: none; } .breadcrumb a:hover { color: var(--teal-text); }
.breadcrumb .current { color: var(--text-1); font-weight: 600; } .breadcrumb .sep { color: var(--border-2); }

/* Page heroes (feature, article, city): light, left aligned, generous */
.fg-hero, .hero-feature { padding: 56px 0 24px; }
.city-hero { padding: 72px 32px 48px; text-align: left; background: none; max-width: 1200px; margin: 0 auto; }
.city-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 860px; }
.city-hero .eyebrow { display: inline-block; margin-bottom: 14px; }
.city-hero p.lede { margin: 0 0 28px; }
.hero-meta { color: var(--text-3); font-size: 14px; margin-top: 16px; } .hero-meta strong { color: var(--text-1); }
.article-header { margin: 0 0 28px; }
.article-meta, .meta-info { color: var(--text-3); font-size: 14px; margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-hero { max-width: 960px; margin: 0 auto 32px; padding: 0 32px; }
.article-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); display: block; }

/* Article body */
.article-content, .prose, .content { color: var(--text-1); font-size: 17px; line-height: 1.75; }
.article-content h2, .prose h2, .content h2 { font-size: clamp(24px, 3vw, 32px); margin: 48px 0 14px; }
.article-content h3, .prose h3, .content h3 { font-size: 21px; margin: 32px 0 10px; }
.article-content p, .prose p, .content p { margin: 0 0 18px; color: #262626; }
.article-content ul, .article-content ol, .prose ul, .prose ol, .content ul, .content ol { margin: 0 0 20px; padding-left: 24px; }
.article-content li, .prose li, .content li { margin-bottom: 8px; color: #262626; }
/* class-less links only: buttons/cards placed in article copy keep their own colours */
:is(.article-content, .prose, .content) a:not([class]) { color: var(--teal-text); text-decoration: underline; text-decoration-color: rgba(13,139,130,0.35); text-underline-offset: 3px; }
:is(.article-content, .prose, .content) a:not([class]):hover { color: var(--teal-text); text-decoration-color: currentColor; }
.article-content strong, .prose strong, .content strong { color: var(--text-1); }
.article-content img, .prose img, .content img { border-radius: var(--radius); border: 1px solid var(--border); }
.article-content blockquote, .prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--text-2); }
article { display: block; }

/* Table of contents */
.toc { padding: 20px 24px; margin: 28px 0 36px; }
.toc h2, .toc h3 { font-size: 15px; font-family: 'Inter', sans-serif; letter-spacing: 0; font-weight: 700; color: var(--text-1); margin: 0 0 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 8px; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; font-size: 14.5px; } .toc a:hover { color: var(--teal-text); }

/* Tables */
table, .cost-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
table th, .cost-table th { background: var(--bg-2); color: var(--text-1); text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
table td, .cost-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-1); vertical-align: top; }
table tr:last-child td, .cost-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq-section { padding: 72px 0; }
.faq-item { margin-bottom: 10px; overflow: hidden; }
.faq-question { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; color: var(--text-1); }
.faq-question:hover { color: var(--teal-text); }
.faq-question i, .faq-icon { color: var(--text-3); transition: transform .25s var(--ease); }
.faq-answer, .faq-content { padding: 0 22px 20px; color: var(--text-2); line-height: 1.7; display: none; }
.faq-item.open .faq-answer, .faq-item.active .faq-answer, .faq-item.open .faq-content { display: block; }
.faq-item.open .faq-question i, .faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-item h3 { font-size: 17px; margin: 0; padding: 18px 22px 8px; } .faq-item p { color: var(--text-2); padding: 0 22px 18px; margin: 0; }

/* CTA blocks: the one dark band, sign-in navy, flat */
.cta-section, .city-cta, .cta-box { background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-xl); padding: 56px 48px; margin: 56px 0; text-align: left; position: relative; overflow: hidden; }
.city-cta { border-radius: 0; margin: 0; padding: 88px 32px; }
.city-cta > * { max-width: 1136px; margin-left: auto; margin-right: auto; }
.cta-section h2, .cta-section h3, .city-cta h2, .cta-box h2, .cta-box h3 { color: #fff; }
.cta-section p, .city-cta p, .cta-box p { color: var(--mist); font-size: 17px; max-width: 640px; }
/* page markup inside the ink bands sometimes carries inline light-theme text colours */
:is(.cta-section, .city-cta, .cta-box) :is([style*="color: var(--text-1)"], [style*="color: var(--text-2)"], [style*="color: var(--text-3)"]) { color: var(--mist) !important; }
.cta-section .cta-button, .city-cta .btn-primary, .cta-box .btn-primary, .cta-box .cta-button { background: var(--primary); color: #fff; }
.cta-section .btn-secondary, .city-cta .btn-secondary, .cta-box .btn-secondary, .cta-box .btn-ghost, .city-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.city-cta .cta-buttons, .cta-box .cta-buttons { justify-content: flex-start; }

/* Nearby cities */
.nearby { display: flex; flex-wrap: wrap; gap: 8px; }
.nearby a { color: var(--text-2); font-size: 14px; border: 1px solid var(--border-2); border-radius: 999px; padding: 7px 14px; margin: 0; text-decoration: none; background: var(--bg-card); }
.nearby a:hover { color: var(--teal-text); border-color: var(--primary); }
.compare-box { max-width: 820px; margin: 0; padding: 28px 32px; }
.compare-box h3 { margin-bottom: 12px; }
.compare-box ul { list-style: none; padding: 0; margin: 0; } .compare-box li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text-1); } .compare-box li i { color: var(--primary); margin-top: 4px; }

/* Device frames (real screenshots) */
.screenshot-frame { padding: 10px; border-radius: var(--radius-lg); }
.screenshot-frame img { display: block; width: 100%; border-radius: 12px; }
.device-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-2); background: #fff; }
.device-frame-bar { height: 34px; background: #f1f2f3; border-bottom: 1px solid #e3e4e6; }
.device-frame-phone { border-radius: 40px; background: #1c1f24; padding: 10px; border: 0; }
.device-frame-phone img { border-radius: 30px; display: block; }

/* Forms */
.form-group { margin-bottom: 16px; } .form-label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea, input[type="text"], input[type="email"], input[type="number"], input[type="tel"], select, textarea {
    font: inherit; font-size: 15px; color: var(--text-1); background: #fff; border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 14px; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus, input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-subtle); }

/* Timeline */
.timeline-wrap { position: relative; } .timeline-step { display: flex; gap: 16px; margin-bottom: 24px; }

/* Schedule blocks (day-in-the-life posts) */
.day-block { overflow: hidden; margin: 24px 0; }
.day-block-header { background: var(--bg-2); padding: 16px 24px; border-bottom: 1px solid var(--border); font-weight: 700; }
.schedule-item { display: flex; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.schedule-item:last-child { border-bottom: 0; } .schedule-item:hover { background: var(--bg-card-hover); }
.schedule-time { color: var(--teal-text); font-weight: 700; min-width: 84px; }
.schedule-details h4 { margin: 0 0 4px; } .schedule-details p { margin: 0; color: var(--text-2); font-size: 15px; }
.day-highlights { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.day-highlight { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.day-highlight-icon { color: var(--primary); }

/* Pricing page cards */
.pricing-card, .pricing-card-featured { padding: 32px; }
.pricing-card-featured { border: 2px solid var(--primary); }

/* Legacy Tailwind color names used in old pages (no Tailwind config defines them) */
.text-text-primary, .text-white { color: var(--text-1) !important; }
.text-text-secondary { color: var(--text-2) !important; }
.text-text-muted { color: var(--text-3) !important; }
.text-primary-color { color: var(--teal-text) !important; }
.hover\:text-primary-color:hover { color: var(--teal-text) !important; }
.bg-primary-color { background-color: var(--primary) !important; color: #fff !important; }
.hover\:bg-primary-light:hover { background-color: var(--primary-dark) !important; }
.bg-bg-card { background-color: var(--bg-card) !important; }
.border-border-dark { border-color: var(--border) !important; }
[class*="bg-gradient-to-"], [class*="from-bg-"], [class*="via-bg-"], [class*="to-bg-"] { background-image: none !important; }

/* ── Site nav (static HTML in every page; ink bar) ── */
.site-nav { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; }
.site-nav > .wrap { display: flex; align-items: center; gap: 26px; height: 68px; }
.site-nav .logo { font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: #fff; text-decoration: none; padding-left: 40px; line-height: 30px; white-space: nowrap; background: url('/media/brand/v1/app-icon.png') left center / 30px 30px no-repeat; }
.site-nav .logo span { color: #5FD3CA; }
.site-nav .nav-links { display: flex; gap: 22px; align-items: center; margin-right: auto; }
.site-nav .nav-links > a, .site-nav .mega-btn { color: #e5e5e5; text-decoration: none; font: 500 14px/1 'Inter', sans-serif; }
.site-nav .nav-links > a:hover, .site-nav .mega-btn:hover, .site-nav .nav-links > a[aria-current="page"] { color: #fff; }
.site-nav .nav-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.site-nav .signin { color: #fff; font: 600 14px/1 'Inter', sans-serif; text-decoration: none; padding: 9px 12px; }
.site-nav .btn-teal { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 10px; background: var(--primary); color: #fff; font: 600 14px/1.2 'Inter', sans-serif; text-decoration: none; white-space: nowrap; }
.site-nav .btn-teal:hover { background: var(--primary-dark); color: #fff; }
.site-nav.over-hero { position: absolute; left: 0; right: 0; background: transparent; }

/* Mega menu (real <a href> links for crawlers) */
.has-mega { position: static; }
.mega-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 0; }
.mega-btn i { font-size: 10px; transition: transform 200ms ease; }
.has-mega.open .mega-btn i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; display: none; background: #fff; color: var(--text-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 30px 50px -30px rgba(10, 10, 10,0.35); }
.has-mega.open .mega { display: block; animation: mega-in 200ms var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega-in { max-width: 1200px; margin: 0 auto; padding: 28px 32px 30px; display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr) 1.15fr; }
.mega-col h4 { margin: 0 0 10px; font: 700 12.5px/1.2 'Inter', sans-serif; color: var(--text-3); letter-spacing: 0; }
.mega-col a { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: start; text-decoration: none; color: inherit; padding: 8px; margin: 0 -8px; border-radius: 10px; }
.mega-col a i { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-text); font-size: 13px; }
.mega-col a b { font: 600 14px/1.3 'Inter', sans-serif; color: var(--text-1); }
.mega-col a span { font: 400 12.5px/1.4 'Inter', sans-serif; color: var(--text-2); }
.mega-col a:hover, .mega-col a:focus-visible { background: #f5f5f4; } .mega-col a:hover b { color: var(--teal-text); }
.mega-col a em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #8a5300; background: #fff3d6; padding: 1px 6px; border-radius: 999px; margin-left: 6px; }
.mega-all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); font: 600 14px/1.3 'Inter', sans-serif; color: var(--teal-text); text-decoration: none; }
.mega-all:hover { color: var(--text-1); }
.mega-feature { align-self: start; background: var(--ink); color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.mega-feature b { font: 700 16px/1.3 'Inter Tight', sans-serif; letter-spacing: -0.02em; color: #fff; }
.mega-feature span { font-size: 13px; color: var(--mist); line-height: 1.45; }
.mega-feature img { width: 100%; border-radius: 8px; display: block; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; padding: 6px; }
.mnav { display: none; }

/* ── Footer (static HTML in every page) ── */
.site-footer-v2 { background: var(--ink); color: var(--mist); font-size: 14px; border-top: 1px solid var(--ink-2); }
.site-footer-v2 .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; padding-top: 56px; padding-bottom: 40px; }
.site-footer-v2 h4 { color: #fff; font: 700 14px/1.3 'Inter', sans-serif; letter-spacing: 0; margin: 0 0 12px; }
.site-footer-v2 a { display: block; color: var(--mist); text-decoration: none; padding: 3px 0; }
.site-footer-v2 a:hover { color: #fff; }
.site-footer-v2 .logo { display: inline-block; font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: #fff; padding-left: 40px; line-height: 30px; background: url('/media/brand/v1/app-icon.png') left center / 30px 30px no-repeat; margin-bottom: 12px; }
.site-footer-v2 .logo span { color: #5FD3CA; }
.site-footer-v2 p { color: var(--mist); line-height: 1.6; max-width: 300px; margin: 0 0 14px; }
.site-footer-v2 .stores { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer-v2 .stores a { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--ink-3); border-radius: 10px; padding: 7px 12px; color: #fff; }
.site-footer-v2 .legal { border-top: 1px solid var(--ink-2); }
.site-footer-v2 .legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; grid-template-columns: none; }
.site-footer-v2 .legal a { display: inline; margin-left: 16px; }

/* ── Device frames (from the approved mockups) ── */
.iphone { --w: 300px; position: relative; width: var(--w); flex: none; margin: 0; padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.165); background: #1c1f24; box-shadow: inset 0 0 0 1.5px #474c55, inset 0 0 0 calc(var(--w) * 0.012) #2b2f36, 0 24px 48px -28px rgba(10, 10, 10, 0.55); }
.iphone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.135); background: #000; }
.iphone .island { position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--w) * 0.032 + var(--w) * 0.936 * 11 / 440); width: calc(var(--w) * 0.936 * 0.286); height: calc(var(--w) * 0.936 * 37 / 440); border-radius: 999px; background: #000; }
.iphone .btn-r, .iphone .btn-l, .iphone .btn-l2 { position: absolute; width: 3px; background: #2b2f36; border-radius: 2px; }
.iphone .btn-r { right: -2px; top: 26%; height: 11%; } .iphone .btn-l { left: -2px; top: 21%; height: 7%; } .iphone .btn-l2 { left: -2px; top: 30%; height: 7%; }
.iphone.stack { display: grid; } .iphone.stack img { grid-area: 1 / 1; opacity: 0; transition: opacity 420ms ease; } .iphone.stack img.on { opacity: 1; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #d6d3d1; background: #fff; box-shadow: 0 30px 60px -36px rgba(10, 10, 10, 0.45); }
.browser .bar { height: 38px; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 0 12px; background: #f1f2f3; border-bottom: 1px solid #e3e4e6; }
.browser .dots { display: flex; gap: 7px; } .browser .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser .dots i:nth-child(2) { background: #febc2e; } .browser .dots i:nth-child(3) { background: #28c840; }
.browser .url { justify-self: center; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; overflow: hidden; white-space: nowrap; background: #fff; border: 1px solid #e3e4e6; border-radius: 8px; padding: 4px 14px; font: 500 12px/1.3 'Inter', sans-serif; color: #525252; }
.browser .url i { font-size: 10px; color: #8a8a8a; } .browser img { display: block; width: 100%; height: auto; }
.devices { position: relative; } .devices .browser { width: 100%; } .devices .iphone { position: absolute; right: -4%; bottom: -12%; }

/* Feature explorer (homepage) */
.explorer-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.explorer-tabs button { font: 600 14px/1 'Inter', sans-serif; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: #fff; color: var(--text-2); cursor: pointer; }
.explorer-tabs button:hover { border-color: var(--text-3); color: var(--text-1); }
.explorer-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.explorer-panel { display: none; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-top: 28px; }
.explorer-panel.on { display: grid; animation: mega-in 260ms var(--ease); }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-cards .feature-card { padding: 18px; border-radius: 16px; }
.feature-cards .feature-card i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-text); font-size: 14px; margin-bottom: 12px; }
.feature-cards .feature-card b { display: block; font: 700 16px/1.3 'Inter Tight', sans-serif; letter-spacing: -0.02em; color: var(--text-1); }
.feature-cards .feature-card span { display: block; font-size: 14px; line-height: 1.5; color: var(--text-2); margin-top: 6px; }
.feature-cards .feature-card u { display: inline-block; margin-top: 10px; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--teal-text); }
.explorer-visual { display: flex; justify-content: center; }

/* Old nav/footer pieces that may linger in page markup */
.pro-header, .mobile-overlay, #site-nav-root { display: none !important; }

/* Responsive */
@media (max-width: 1000px) {
    .site-nav .nav-links, .site-nav .signin { display: none; }
    .burger { display: inline-flex; }
    .mnav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; color: var(--text-1); border-top: 1px solid var(--border); max-height: 80vh; overflow: auto; padding: 8px 16px 20px; box-shadow: 0 30px 50px -30px rgba(10, 10, 10,.35); }
    .mnav details { border-bottom: 1px solid var(--border); }
    .mnav summary { list-style: none; padding: 14px 0; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
    .mnav summary::-webkit-details-marker { display: none; }
    .mnav summary::after { content: '+'; color: var(--text-3); } .mnav details[open] summary::after { content: '\2212'; }
    .mnav details a, .mnav > a { display: block; padding: 9px 0; text-decoration: none; color: var(--text-1); font-size: 15px; }
    .mnav > a { border-bottom: 1px solid var(--border); padding: 14px 0; font-weight: 600; }
    .mnav details a { color: var(--text-2); padding-left: 4px; }
    .fg-3, .fg-4, .feat-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer-v2 .wrap { grid-template-columns: 1fr 1fr; }
    .explorer-panel.on { grid-template-columns: 1fr; } .devices .iphone { --w: 150px !important; right: -2%; }
    .cta-section, .cta-box { padding: 40px 28px; }
}
@media (max-width: 600px) {
    .container, .wrap { padding-left: 16px; padding-right: 16px; }
    .site-nav .btn-teal { display: none; }
    .section { padding: 64px 0; }
    .fg-2, .fg-3, .fg-4, .feat-grid, .related-grid, .feature-cards { grid-template-columns: 1fr; }
    .toc ul { columns: 1; }
    .article-hero { padding: 0 16px; }
    .city-hero { padding: 48px 16px 32px; }
    .city-cta { padding: 64px 16px; }
    .cta-section, .cta-box { padding: 32px 22px; border-radius: 18px; }
    .site-footer-v2 .wrap { grid-template-columns: 1fr; }
    table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ── Phone safety for legacy page markup ──
   Inline-style grids with fixed columns had no phone breakpoint (overflowed live on
   trackara-link + affiliates); preformatted templates scroll inside their box; the
   rotated "best value" ribbon is clipped to its card. */
@media (max-width: 640px) {
    [style*="grid-template-columns: 1fr 1fr"], [style*="grid-template-columns: repeat(2, 1fr)"], [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}
body pre { max-width: 100%; overflow-x: auto; }
.pricing-card, .pricing-card-featured { position: relative; overflow: hidden; }
/* partner association logos are light/white artwork (NRVIA is pure white): they need a dark tile on the light theme */
:is(.partner-mark, .lockup-mark, .logo-tile):has(> img[src*="/images/partners/"]) { background: var(--ink) !important; border-color: var(--ink) !important; }
.lockup-mark:has(> img[src*="/images/partners/"]) { padding: 14px 20px; border-radius: 12px; }
.lockup-mark:has(> img[src*="/images/partners/"]) img { max-height: 56px; }

/* ── Feature pages (body.feature-v2, built by feature_v2 in build_pro.py) ──
   Two-column hero with real product screenshots, then a tight, left-aligned section rhythm.
   The legacy markup carries inline centring/padding, so overrides here are scoped to feature pages. */
.feature-v2 main { padding-top: 0 !important; }
.feature-v2 main > .container:first-child { padding-top: 22px !important; padding-bottom: 0 !important; }
.fx-hero { display: grid; grid-template-columns: minmax(0, 760px); gap: 56px; align-items: center; }
.fx-hero.fx-has-visual { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.fx-hero.fx-has-visual:not(.fx-wide) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.fx-copy h1 { font-size: clamp(36px, 4.3vw, 54px); line-height: 1.04; letter-spacing: -0.038em; margin: 0 0 18px; }
.fx-copy .lede { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 58ch; margin: 0 0 12px; }
.fx-more { font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 58ch; margin: 0 0 12px; }
.fx-copy .cta-buttons { margin-top: 26px; }
.fx-note { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }
.fx-visual { position: relative; min-width: 0; }
.fx-devices { margin: 0 6% 12% 0; }
.fx-devices .iphone { --w: 180px; right: -7%; bottom: -16%; }
.fx-solo { --w: 290px; margin: 0 auto; }

.feature-v2 main > section:first-of-type { padding-top: 14px !important; padding-bottom: 72px !important; }
.feature-v2 .section { padding-top: 72px !important; padding-bottom: 72px !important; }
.feature-v2 hr.divider { display: none; }
.feature-v2 .section[style*="background: var(--bg-2)"] { background: var(--bg-card) !important; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-v2 .section h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.032em; line-height: 1.1; }
.feature-v2 .section [style*="text-align: center"]:not(.cta-section *) { text-align: left !important; }
.feature-v2 .section [style*="text-align: center; margin-bottom"] { margin-bottom: 30px !important; max-width: 760px; }
.feature-v2 .section [style*="text-align: center"] p, .feature-v2 .section [style*="margin: 16px auto 0"] { margin-left: 0 !important; margin-right: 0 !important; max-width: 640px !important; }
.feature-v2 .section [style*="margin: 0 auto"] { margin-left: 0 !important; margin-right: 0 !important; }
.feature-v2 .section [style*="justify-content: center"] { justify-content: flex-start !important; }
.feature-v2 .fg-3, .feature-v2 .fg-2, .feature-v2 .fg-4 { gap: 14px; }
.feature-v2 :is(.pain-card, .card-feature, .feature-card, .win-card) { padding: 22px; }
.feature-v2 :is(.pain-card, .card-feature, .feature-card, .win-card) h3 { font-size: 17px; margin: 0 0 6px; }
.feature-v2 :is(.pain-card, .card-feature, .feature-card, .win-card) p { font-size: 14.5px; }
.feature-v2 :is(.feature-icon, .pain-icon) { width: 34px; height: 34px; font-size: 14px; margin-bottom: 12px; }

@media (max-width: 960px) {
    .fx-hero.fx-has-visual, .fx-hero.fx-has-visual:not(.fx-wide) { grid-template-columns: 1fr; gap: 40px; }
    .fx-devices { margin: 0 4% 14% 0; } .fx-devices .iphone { --w: 120px; right: -4%; }
    .fx-solo { --w: 240px; }
    .feature-v2 .section { padding-top: 52px !important; padding-bottom: 52px !important; }
}
/* feature pages: narrow centred containers -> full-width container, content kept to a readable left column */
.feature-v2 .section > .container[style*="max-width"] { max-width: 1200px !important; }
.feature-v2 .section > .container[style*="max-width"] > * { max-width: 860px; }
.feature-v2 .roi-block { text-align: left !important; margin: 0 !important; max-width: 900px; padding: 30px 32px !important; }
.feature-v2 .roi-block .roi-icon { margin: 0 0 14px !important; }
.feature-v2 .roi-block p { margin-left: 0 !important; margin-right: 0 !important; max-width: 640px; }
.feature-v2 .roi-block :is(.cta-buttons, [style*="justify-content"]) { justify-content: flex-start !important; }
.feature-v2 .grad-callout { background: var(--ink) !important; color: #fff; border: 0 !important; border-radius: var(--radius-xl) !important; padding: 52px 48px !important; margin: 0 !important; text-align: left !important; }
.feature-v2 .grad-callout :is(h2, h3) { color: #fff !important; }
.feature-v2 .grad-callout :is(h2, h3) .accent { color: #5FD3CA !important; }
.feature-v2 .grad-callout p { color: var(--mist) !important; margin-left: 0 !important; max-width: 640px; }
.feature-v2 .grad-callout :is(.btn-secondary, .btn-ghost) { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.32) !important; }
.feature-v2 .grad-callout [style*="justify-content"], .feature-v2 .grad-callout .cta-buttons { justify-content: flex-start !important; }
@media (max-width: 640px) { .feature-v2 .grad-callout { padding: 36px 24px !important; } }
