/* CarMojo Brand & Directory Stylesheet
 * Primary: Navy #10345B | Accent: Teal #008C90 / #1AB0A5 | Coral/Orange: #FF781F
 */

/* Redesign step 1 (Nov 2026): teal retired. Palette now matches the Vue apps' _colors.scss
 * (navy #10345B + orange #FF781F, dark ink #17212B on orange). Light theme only.
 * --brand-teal* are kept as aliases of navy so old templates keep working until migrated.
 */

:root {
    color-scheme: light;

    --brand-primary: #10345B;
    --brand-primary-dark: #0a223c;
    --brand-primary-light: #1d4f86;
    --brand-teal: var(--brand-primary);
    --brand-teal-light: var(--bg-surface);
    --brand-accent: #FF781F;
    --brand-accent-hover: #F56100;
    --brand-accent-ink: #17212B;
    --brand-accent-text: #B84A08;
    --brand-coral: #FF6F61;
    --brand-success: #198754;
    --brand-success-ink: #146C43;
    --brand-success-light: #e8f8ef;
    --brand-danger: #DC3545;
    
    --ink: #202B38;
    --ink-soft: #3d4b5c;
    --ink-muted: #56657a;
    --ink-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #F5F7FA;
    --bg-surface: #EDF3F8;
    --border: #C8CED7;
    --border-strong: #A8B2C1;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(16, 52, 91, 0.06);
    --shadow-md: 0 4px 12px rgba(16, 52, 91, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(16, 52, 91, 0.12);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Exo 2', 'Exo 2 Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Display font (matches the logo wordmark): Exo 2 ExtraBold Italic, self-hosted, OFL licence.
 * Subset: Latin + Latin Extended-A + Romanian comma-below (ș ț) + common punctuation. */
@font-face {
    font-family: 'Exo 2';
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/exo-2-800-italic.woff2') format('woff2');
}

/* Headings and big numbers use the display font; h3 and smaller stay in the body font for readability */
h1,
h2,
.hero-title,
.section-title,
.stat-value {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: var(--bg-alt);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--brand-primary-light);
}

/* Plain text links need an underline to be recognisable in daylight (colour alone is not enough) */
main a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Visible keyboard focus everywhere */
:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Reserve a fixed 1em x 1em box for Bootstrap Icons while the deferred icon stylesheet/font loads, preventing CLS */
.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
}

.brand-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-surface);
    color: var(--brand-primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.brand-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    color: var(--brand-accent-text);
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

.brand-tagline-hero {
    font-size: 1.3rem;
    margin: -4px 0 16px 0;
}

.brand-tagline-footer {
    font-size: 0.95rem;
    margin: -8px 0 10px 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--brand-primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background: var(--brand-accent);
    color: var(--brand-accent-ink) !important;
}

.btn-accent:hover {
    background: var(--brand-accent-hover);
}

.btn-outline {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    color: var(--brand-primary);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--brand-primary);
}

.btn-sm {
    padding: 6px 12px;
    min-height: 38px;
    font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumbs-nav {
    padding: 16px 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-item:not(:last-child)::after {
    content: "/";
    color: var(--ink-light);
}

.breadcrumbs-item a {
    color: var(--ink-muted);
}

.breadcrumbs-item.active {
    color: var(--ink);
    font-weight: 600;
}

/* Hero Section */
.hero-hub {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border);
    color: var(--ink);
    padding: 56px 0;
    border-radius: var(--radius-lg);
    margin: 20px 0 32px 0;
    box-shadow: var(--shadow-sm);
}

/* Two skewed bars echo the italic wordmark and the swoosh of the logo */
.hero-hub::before,
.hero-hub::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    transform: skewX(-20deg);
    pointer-events: none;
}

.hero-hub::before {
    right: -40px;
    width: 180px;
    background: var(--brand-accent);
    opacity: 0.16;
}

.hero-hub::after {
    right: 150px;
    width: 34px;
    background: var(--brand-primary);
    opacity: 0.08;
}

.hero-hub > * {
    position: relative;
    z-index: 1;
}

.hero-hub .btn-outline:hover {
    border-color: var(--brand-primary);
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Search Box Handoff */
.search-handoff {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    max-width: 600px;
}

.search-handoff input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 10px 14px;
    font-size: 1rem;
    outline: none;
    color: var(--ink);
}

/* AI Quotable Block */
.quotable-block {
    background: var(--bg);
    border-left: 4px solid var(--brand-accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.quotable-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.quotable-text {
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.6;
}

.quotable-meta {
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-top: 8px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--ink-muted);
}

/* Sub-hubs / Intent Pill Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.tag-pill:hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
    color: var(--brand-primary);
}

.tag-count {
    background: var(--bg-surface);
    color: var(--ink-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Workshop Cards Grid */
.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.workshop-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workshop-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.workshop-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.workshop-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.3;
}

.badge-rar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--brand-success-light);
    color: var(--brand-success-ink);
    border: 1px solid #c2ebd1;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.workshop-meta {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.workshop-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.pill-service {
    font-size: 0.75rem;
    background: var(--bg-surface);
    color: var(--ink);
    padding: 3px 8px;
    border-radius: 4px;
}

.pill-brand {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--brand-primary);
    padding: 3px 8px;
    border-radius: 4px;
}

.workshop-address-link {
    color: var(--ink-muted);
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.workshop-address-link:hover {
    color: var(--brand-primary);
    text-decoration: underline solid;
}

.workshop-phone {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.workshop-phone a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.workshop-phone a:hover {
    color: var(--brand-primary-light);
    text-decoration: underline;
}

.workshop-footer {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.claim-tag {
    font-size: 0.82rem;
    color: var(--brand-accent-text);
    font-weight: 600;
}

/* Claim Banner */
.claim-banner {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 6px solid var(--brand-accent);
    box-shadow: var(--shadow-md);
    color: var(--ink);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.claim-banner h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.claim-banner p {
    color: var(--ink-soft);
    max-width: 650px;
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 48px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.faq-answer {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* Pricing Table */
.pricing-table-wrap {
    overflow-x: auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    background: var(--bg-surface);
    padding: 14px 18px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}

.pricing-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    font-size: 0.95rem;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.price-range {
    font-weight: 700;
    color: var(--brand-primary);
}

/* Footer */
.site-footer {
    background: var(--bg);
    color: var(--ink-soft);
    padding: 56px 0 32px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--brand-primary);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: var(--ink-soft);
}

.footer-col a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 12px 0;
        gap: 12px;
    }
    
    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .claim-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Bootstrap Icons 2-Tone Badges & Utilities */
.bi-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    color: var(--brand-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.bi-icon-badge-primary {
    background-color: var(--bg-surface);
    color: var(--brand-primary);
}

.bi-icon-badge-success {
    background-color: var(--brand-success-light);
    color: var(--brand-success-ink);
}

.bi-icon-badge-accent {
    background-color: #fff1e6;
    color: var(--brand-accent-text);
}

.bi-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.bi-stat-pill:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

/* Service Breakdown Grid */
.service-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.service-breakdown-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--ink);
}

.service-breakdown-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.service-breakdown-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.service-breakdown-meta {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.service-breakdown-count {
    font-weight: 700;
    color: var(--brand-primary);
}

/* Local Market Insights Block */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.insight-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.insight-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-primary);
}

.insight-desc {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}

/* Brand Badges Grid */
.brand-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.brand-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.brand-badge-pill:hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
}

/* ===== Redesign step 2: long-form product page components (soft-service-auto) ===== */

/* Page rhythm */
.page-section {
    margin-bottom: 72px;
    scroll-margin-top: 130px;
}

.kicker {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent-text);
    margin-bottom: 6px;
}

.section-lead {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 780px;
    margin: -8px 0 28px 0;
}

.subsection-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin: 36px 0 14px 0;
}

/* In-page navigation (sticky under the header) */
.page-toc {
    position: sticky;
    top: 72px;
    z-index: 50;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 28px;
    background: var(--bg-alt);
    scrollbar-width: none;
}

.page-toc a {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.page-toc a:hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
}

/* Two-column layouts */
.hero-split,
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.split-even {
    grid-template-columns: 1fr 1fr;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 20px 0 0 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: var(--brand-success);
}

.check-list strong {
    color: var(--ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* Small status pills */
.chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-surface);
    color: var(--brand-primary);
    white-space: nowrap;
}

.chip-hold {
    background: #fff1e6;
    color: var(--brand-accent-text);
}

.chip-ok {
    background: var(--brand-success-light);
    color: var(--brand-success-ink);
}

.badge-soon {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border: 1px solid var(--brand-accent);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-accent-text);
    background: #fff;
    vertical-align: middle;
    white-space: nowrap;
}

/* Adoption ladder */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.steps li {
    counter-increment: step;
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 20px 20px 70px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--brand-accent-ink);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps strong {
    display: block;
    color: var(--brand-primary);
    margin-bottom: 2px;
}

.steps span {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px;
}

.feature-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.feature-card h3 {
    font-size: 1.02rem;
    color: var(--brand-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* Worked example timeline */
.timeline {
    list-style: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.timeline li {
    display: grid;
    grid-template-columns: 130px 1fr 190px 1fr;
    gap: 16px;
    align-items: start;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
}

.timeline li:last-child {
    border-bottom: none;
}

.timeline-head {
    background: var(--bg-surface);
    font-size: 0.78rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
}

.tl-when {
    font-weight: 700;
    color: var(--brand-primary);
}

.tl-driver {
    color: var(--ink-soft);
}

/* Scheduling board mock (pure HTML/CSS, decorative) */
.board-mock {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    font-size: 0.75rem;
}

.board-mock-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 0.85rem;
}

.board-grid {
    display: grid;
    grid-template-columns: 38px repeat(3, 1fr);
    grid-template-rows: 26px repeat(8, 30px);
    gap: 3px;
}

.board-grid > div {
    border-radius: 5px;
    padding: 3px 6px;
    line-height: 1.25;
}

.bg-col {
    font-weight: 700;
    color: var(--ink-muted);
    text-align: center;
    background: var(--bg-surface);
}

.bg-hour {
    color: var(--ink-muted);
    text-align: right;
    padding: 0 !important;
}

.bg-task {
    background: #dbe7f3;
    border-left: 4px solid var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
}

.bg-task-warn {
    background: #ffe9d6;
    border-left-color: var(--brand-accent);
    color: var(--brand-accent-text);
}

.bg-task-ok {
    background: var(--brand-success-light);
    border-left-color: var(--brand-success);
    color: var(--brand-success-ink);
}

.bg-free {
    background: repeating-linear-gradient(135deg, var(--bg-alt), var(--bg-alt) 6px, #fff 6px, #fff 12px);
    border: 1px dashed var(--border);
}

.board-lane {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px dashed var(--brand-accent);
    border-radius: 6px;
    background: #fffaf5;
    color: var(--brand-accent-text);
    font-weight: 600;
}

/* Driver status page mock */
.phone-mock {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    border: 9px solid var(--brand-primary);
    border-radius: 34px;
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-size: 0.82rem;
}

.phone-head {
    padding: 14px 16px;
    background: var(--brand-primary);
    color: #fff;
}

.phone-head small {
    display: block;
    opacity: 0.8;
}

.phone-body {
    padding: 14px 16px 18px 16px;
    display: grid;
    gap: 12px;
}

.phone-progress {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-surface);
    overflow: hidden;
}

.phone-progress span {
    display: block;
    height: 100%;
    width: 66%;
    background: var(--brand-accent);
}

.phone-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.phone-actions {
    display: flex;
    gap: 8px;
}

.phone-actions span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-weight: 700;
    background: var(--brand-accent);
    color: var(--brand-accent-ink);
}

.phone-actions span + span {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    color: var(--brand-primary);
}

/* Plans */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 5px solid var(--brand-accent);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.plan-card-premium {
    border-top-color: var(--brand-primary);
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-accent-text);
    margin-bottom: 6px;
}

.plan-card-premium .plan-name {
    color: var(--brand-primary);
}

.plan-price {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--brand-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.plan-price small {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.plan-card .check-list {
    margin-bottom: 24px;
    font-size: 0.94rem;
}

.fine-print {
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin-top: 12px;
}

/* Problem -> solution table */
.pricing-table td:first-child {
    font-weight: 600;
    color: var(--brand-primary);
}

/* FAQ as native <details> */
.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-accent-text);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item .faq-answer {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .hero-split,
    .split,
    .split-even {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .timeline-head {
        display: none !important;
    }

    .timeline li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .page-toc {
        position: static;
    }

    .feature-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}
