/* ==========================================================================
   Esprit Pragmatique — Unified Design System & Component Styles
   Consolidated for optimal Mobile & Desktop Core Web Vitals (Zero @import waterfall)
   ========================================================================== */

:root {
    /* --- Colors & Slate Ramp --- */
    --slate-950: #0b1120;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;

    /* --- Accent Colors --- */
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;

    --green-700: #047857;
    --green-500: #10b981;
    --green-200: #a7f3d0;
    --green-50: #ecfdf5;

    /* --- Semantic Aliases --- */
    --brand-dark: var(--slate-900);
    --brand-slate: var(--slate-800);
    --brand-muted: var(--slate-500);
    --brand-light: var(--slate-50);
    --text-heading: var(--slate-900);
    --text-body: var(--slate-700);
    --text-muted: var(--slate-500);
    --text-nav: var(--slate-600);
    --text-invert: var(--white);
    --text-price-bad: #dc3545;
    --text-savings: var(--green-700);

    --surface-page: var(--white);
    --surface-subtle: var(--slate-50);
    --surface-card: var(--white);
    --surface-footer: var(--slate-950);
    --surface-hero: radial-gradient(100% 100% at 50% 0%, #f1f5f9 0%, #ffffff 100%);
    --surface-navbar: rgba(255, 255, 255, 0.95);
    --surface-savings: var(--green-50);

    --border-card: var(--slate-200);
    --border-card-hover: var(--slate-300);
    --border-navbar: rgba(226, 232, 240, 0.8);
    --border-hairline: var(--slate-100);
    --border-outline-btn: var(--slate-300);

    --accent: var(--amber-500);
    --accent-hover: var(--amber-600);
    --accent-active: var(--amber-700);
    --accent-on: var(--slate-900);
    --accent-gradient: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);

    /* --- Typography Tokens --- */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --fs-display: 3rem;
    --fs-display-6: 2.5rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-lead: 1.25rem;
    --fs-prose: 1.05rem;
    --fs-body: 1rem;
    --fs-nav: 0.925rem;
    --fs-small: 0.875rem;
    --fs-micro: 0.8rem;
    --fs-nano: 0.75rem;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 800;

    --lh-body: 1.6;
    --lh-prose: 1.75;

    --ls-heading: -0.02em;
    --ls-wordmark: -0.03em;
    --ls-eyebrow: 0.02em;
    --ls-banner: 0.05em;

    /* --- Spacing Tokens --- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 3rem;
    --section-y: 3rem;
    --section-y-lg: 4.5rem;
    --card-pad: 1.5rem;
    --feature-pad: 1.5rem;
    --cta-pad: 2rem;
    --container-max: 1140px;
    --measure-prose: 66ch;
    --measure-intro: 700px;

    /* --- Radii Tokens --- */
    --radius-btn: 10px;
    --radius-accordion: 12px;
    --radius-icon: 12px;
    --radius-feature: 14px;
    --radius-card: 16px;
    --radius-hero-card: 20px;
    --radius-pill: 999px;

    /* --- Elevation & Shadows --- */
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-card-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-featured: 0 10px 25px -5px rgba(245, 158, 11, 0.15), 0 8px 10px -6px rgba(245, 158, 11, 0.1);
    --shadow-btn-accent: 0 2px 4px rgba(245, 158, 11, 0.2);
    --shadow-btn-accent-hover: 0 6px 12px rgba(217, 119, 6, 0.25);
    --shadow-hero-card: 0 25px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-icon: 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-tag: 0 4px 10px rgba(4, 120, 87, 0.3);
    --blur-navbar: blur(8px);

    /* --- Motion & Transitions --- */
    --ease-out-quint: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-standard: ease;
    --dur-fast: 0.2s;
    --dur-card: 0.25s;
    --lift-btn: translateY(-2px);
    --lift-card: translateY(-4px);

    /* --- Bootstrap theme realignment (WCAG AA on subtle surfaces) --- */
    --bs-secondary-rgb: 71, 85, 105;      /* slate-600 instead of #6c757d */
    --bs-secondary-color: rgba(71, 85, 105, 1);
    --bs-success-rgb: 4, 120, 87;         /* Trust Green 700 instead of #198754 */
    --bs-success-bg-subtle: #ecfdf5;      /* Trust Green tint (was #d1e7dd, failed AA) */
    --bs-success-border-subtle: #a7f3d0;
    --bs-primary-rgb: 29, 78, 216;        /* #1d4ed8, the tool blue */
    --bs-link-color-rgb: 29, 78, 216;
    --bs-link-hover-color-rgb: 30, 64, 175;
}

/* ==========================================================================
   Global & Component Styles
   ========================================================================== */

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--surface-page);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    letter-spacing: var(--ls-heading);
}

/* Navbar */
.navbar-custom {
    background-color: var(--surface-navbar);
    backdrop-filter: var(--blur-navbar);
    -webkit-backdrop-filter: var(--blur-navbar);
    border-bottom: 1px solid var(--border-navbar);
}
.navbar-custom .nav-link {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-nav);
    color: var(--text-nav) !important;
    white-space: nowrap;
    padding: 0.5rem 0.65rem !important;
    transition: color var(--dur-fast) var(--ease-standard);
}
.navbar-custom .nav-link:hover {
    color: var(--slate-900) !important;
}
.navbar-custom .nav-pill-tool {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.75rem !important;
    font-weight: var(--fw-bold) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--dur-fast) var(--ease-standard);
}
.navbar-custom .nav-pill-tool:hover {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.1);
}
.navbar-custom .btn {
    white-space: nowrap;
}

/* Hero Section */
.hero-section {
    background: var(--surface-hero);
    border-bottom: 1px solid var(--border-hairline);
}
.badge-pill-accent {
    background-color: var(--slate-100);
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-eyebrow);
    justify-content: center;
    padding: 0.4rem 0.9rem !important;
}
.badge-saving {
    background-color: var(--surface-savings);
    color: var(--text-savings);
    border: 1px solid var(--green-200);
    font-weight: var(--fw-bold);
}

/* Buttons */
.btn-amazon {
    background-color: var(--accent);
    border: 1px solid var(--amber-600);
    color: var(--accent-on);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.5rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast) var(--ease-out-quint);
    box-shadow: var(--shadow-btn-accent);
    text-decoration: none;
}
.btn-amazon:hover, .btn-amazon:focus {
    background-color: var(--accent-hover);
    border-color: var(--amber-700);
    color: var(--accent-on);
    transform: var(--lift-btn);
    box-shadow: var(--shadow-btn-accent-hover);
}

.btn-outline-custom {
    border: 1.5px solid var(--border-outline-btn);
    color: var(--text-body);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-btn);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast) var(--ease-standard);
    text-decoration: none;
}
.btn-outline-custom:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-400);
    color: var(--text-heading);
}

/* Product Cards */
.product-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: all var(--dur-card) var(--ease-out-quint);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-body);
    text-decoration: none;
    cursor: pointer;
}
.product-card:hover {
    transform: var(--lift-card);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-card-hover);
    color: var(--text-body);
    text-decoration: none;
}
.product-card h3,
.product-card h4 {
    color: var(--text-heading);
    transition: color var(--dur-fast) var(--ease-standard);
}
.product-card:hover .btn-amazon {
    background-color: var(--accent-hover);
    border-color: var(--amber-700);
    color: var(--accent-on);
    box-shadow: var(--shadow-btn-accent-hover);
}
.product-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.product-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-featured);
}
.featured-banner {
    background: var(--accent-gradient);
    color: var(--accent-on);
    font-weight: var(--fw-black);
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: var(--ls-banner);
    padding: 6px 12px;
    text-align: center;
}

/* Feature Boxes */
.feature-box {
    background: var(--slate-50);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-feature);
    padding: var(--feature-pad);
    height: 100%;
    transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.feature-box:hover {
    background: var(--white);
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-card);
}
.icon-wrapper {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-icon);
    background: var(--white);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-icon);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Comparison Tables */
.comparison-table-wrapper {
    background: var(--surface-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-card);
    border-radius: var(--radius-accordion) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.accordion-button {
    font-weight: var(--fw-bold);
    color: var(--text-heading);
    background-color: var(--white);
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    line-height: 1.45;
}
.accordion-button:not(.collapsed) {
    color: var(--text-heading);
    background-color: var(--slate-50);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.4);
    border-color: var(--accent);
}

/* Hero Product Card & Tag */
.hero-mockup-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--slate-50) 100%);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-hero-card);
    box-shadow: var(--shadow-hero-card);
    padding: var(--cta-pad);
    position: relative;
}
.floating-saving-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--green-700);
    color: var(--white);
    font-weight: var(--fw-bold);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-small);
    box-shadow: var(--shadow-tag);
}

/* Article & Content Cards */
.article-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: all var(--dur-card) var(--ease-out-quint);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.article-card:hover {
    transform: var(--lift-card);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-card-hover);
    color: inherit;
}

.article-content p {
    margin-bottom: 1.4rem;
    font-size: var(--fs-prose);
    line-height: var(--lh-prose);
}
.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--slate-100);
}
.article-content h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.cta-box {
    background: linear-gradient(145deg, var(--slate-50) 0%, var(--slate-100) 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius-card);
    padding: var(--cta-pad);
    margin: 2.5rem 0;
}

.stat-card {
    background: var(--slate-50);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-feature);
    padding: var(--feature-pad);
    text-align: center;
}

.model-box {
    background: var(--slate-50);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-feature);
    padding: var(--feature-pad);
    margin-bottom: 1.5rem;
}

/* Legal Cards */
.legal-card {
    background-color: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
}
.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Footer */
.footer-custom {
    background-color: var(--surface-footer);
    color: var(--slate-400);
    border-top: 1px solid var(--slate-800);
}
.footer-custom a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-standard);
}
.footer-custom a:hover {
    color: var(--white);
}
.footer-trademark-notice {
    color: #cbd5e1 !important;
    font-size: var(--fs-small) !important;
    line-height: var(--lh-body);
    font-weight: var(--fw-medium);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.footer-trademark-notice strong, .footer-trademark-notice em {
    color: var(--white);
}

/* Calculator & Simulator */
.calc-card {
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-hero-card);
    box-shadow: var(--shadow-card);
    padding: var(--cta-pad);
}
.calc-btn-group .btn {
    border: 1.5px solid var(--slate-200);
    font-weight: var(--fw-bold);
    color: var(--slate-700);
    background: var(--slate-50);
    transition: all var(--dur-fast) var(--ease-standard);
    min-height: 44px;
    border-radius: var(--radius-btn);
}
.calc-btn-group .btn.active, .calc-btn-group .btn:hover {
    background: var(--slate-900);
    color: var(--white);
    border-color: var(--slate-900);
}
.calc-result-box {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius-card);
    padding: 1.5rem;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) 1rem;
    transform: translateY(120%);
    transition: transform 0.3s var(--ease-out-quint);
}
.mobile-sticky-bar.visible {
    transform: translateY(0);
}
.mobile-sticky-bar .btn-amazon {
    min-height: 44px;
    padding: 0.45rem 1rem;
    font-size: var(--fs-small);
}
.mobile-sticky-bar #closeStickyBar {
    min-width: 44px;
    min-height: 44px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
html.scroll-smooth {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html.scroll-smooth {
        scroll-behavior: auto;
    }
    .product-card,
    .btn-amazon,
    .feature-box,
    .mobile-sticky-bar {
        transition: none !important;
    }
}

.max-w-700 {
    /* Caps the intro measure at a readable ~65-75 characters instead of a raw 700px. */
    max-width: min(var(--measure-intro), 520px);
}

/* Centred intro paragraphs: same readable measure, kept centred */
.text-center > p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Content columns (comparison, FAQ, hero copy): keep readable line length */
.col-lg-8 p,
.col-lg-6 p {
    max-width: 560px;
}

/* Allows a flex child to shrink so text-truncate can actually ellipsize */
.min-w-0 {
    min-width: 0;
}

/* Comfortable mobile gutters: 24px each side (>= the largest row gutter g-5,
   which is 48px/2 and would otherwise push content 4px past a 20px container). */
.container,
.container-fluid {
    --bs-gutter-x: 3rem;
}

/* Long-form intro paragraphs that are not wrapped in .max-w-700 */
.lead {
    max-width: 560px;
}

/* Footer sits on dark ink: never use the slate-600 body-muted tone there. */
.footer-custom .text-secondary,
.footer-custom .text-muted {
    color: var(--slate-400) !important;
}

.border-slate-100 {
    border-color: var(--slate-100) !important;
}

.border-slate-200 {
    border-color: var(--slate-200) !important;
}

.border-slate-300 {
    border-color: var(--slate-300) !important;
}

.border-slate-800 {
    border-color: var(--slate-800) !important;
}

.text-slate-200 {
    color: var(--slate-200) !important;
}

.tracking-wider {
    letter-spacing: var(--ls-eyebrow);
}

.leading-relaxed {
    line-height: var(--lh-prose);
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* ==========================================================================
   Legibility floors
   ========================================================================== */

/* Functional UI text must not fall below ~11px, even nested in .small */
.badge {
    font-size: var(--fs-micro);
}

/* A badge that must wrap instead of running off the edge on narrow screens */
.badge-wrap {
    white-space: normal;
    max-width: 100%;
}

/* Token-based badge variants: slate (neutral), amber (recommended/commercial). */
.badge-slate {
    background-color: var(--slate-100);
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
    font-weight: 600;
}

.badge-amber {
    background-color: var(--accent);
    color: var(--accent-on);
    border: 1px solid var(--accent-hover);
    font-weight: 700;
}

/* Balanced heading rags and fewer orphans in body copy (progressive) */
h1, h2, h3 {
    text-wrap: balance;
}

p, li {
    text-wrap: pretty;
}

/* Sticky bar micro line */
.mobile-sticky-bar .sticky-sub {
    font-size: var(--fs-nano);
}

/* Reserve room for the fixed mobile action bar so it never covers content */
html {
    scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }
}

/* Comparison table collapses into stacked criterion blocks on small screens */
@media (max-width: 575.98px) {
    .comparison-table-wrapper .table-responsive {
        overflow: visible;
    }
    .compare-responsive,
    .compare-responsive tbody,
    .compare-responsive tr,
    .compare-responsive td {
        display: block;
        width: 100%;
    }
    .compare-responsive thead {
        display: none;
    }
    .compare-responsive tr {
        border: 1px solid var(--border-card);
        border-radius: var(--radius-accordion);
        margin-bottom: 0.75rem;
        overflow: hidden;
    }
    .compare-responsive tr:last-child {
        margin-bottom: 0;
    }
    .compare-responsive td {
        border: 0;
        border-bottom: 1px solid var(--border-hairline);
        text-align: left !important;
    }
    .compare-responsive td:last-child {
        border-bottom: 0;
    }
    .compare-responsive td::before {
        content: attr(data-label);
        display: block;
        font-size: var(--fs-nano);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: var(--ls-eyebrow);
        color: var(--slate-500);
        margin-bottom: 0.25rem;
    }
    .compare-responsive td.compare-criterion {
        background: var(--slate-900);
        color: var(--white);
        font-size: 0.95rem;
    }
    .compare-responsive td.compare-criterion::before {
        content: none;
    }
}





/* ==========================================================================
   Colorize + Typeset pass — mineral palette, evidence tiers, role scale
   (Hybrid register: proof/steel on content, amber reserved for commerce)
   ========================================================================== */

:root {
    /* Mineral / steel neutrals for content surfaces (water, ceramic, steel) */
    --mineral-50:  #f5f8f9;
    --mineral-100: #e7eef1;
    --mineral-200: #cfdde3;
    --mineral-300: #a9c0c9;
    --mineral-600: #3f5b68;
    --mineral-700: #2f4750;
    --mineral-800: #223540;

    /* Distinct semantic hues (no longer sharing the amber accent) */
    --danger-600: #b3261e;
    --danger-50:  #fbeeec;
    --steel-600:  #2f5d7c;
    --steel-50:   #eef4f8;

    /* Evidence tier colors */
    --ev-certified-bg:    #e7f3ec;
    --ev-certified-fg:    #1c6b45;
    --ev-manufacturer-bg: #fdf3e3;
    --ev-manufacturer-fg: #8a5a12;
    --ev-estimate-bg:     #eef4f8;
    --ev-estimate-fg:     #2f5d7c;
    --ev-unverified-bg:   #f1f5f9;
    --ev-unverified-fg:   #475569;
}

/* --- Role scale: give display and section headings unmistakable steps --- */
.hero-title {
    font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.section-title {
    font-size: clamp(1.45rem, 1.1rem + 1.3vw, 1.95rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.section-eyebrow {
    font-size: var(--fs-micro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
    color: var(--mineral-600);
}

/* --- Evidence tiers: first-class component for claim provenance --- */
.evidence {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.15em 0.6em;
    border-radius: var(--radius-pill);
    font-size: var(--fs-nano);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.5;
    white-space: nowrap;
}
.evidence::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.evidence--certified    { background: var(--ev-certified-bg);    color: var(--ev-certified-fg); }
.evidence--manufacturer { background: var(--ev-manufacturer-bg); color: var(--ev-manufacturer-fg); }
.evidence--estimate     { background: var(--ev-estimate-bg);     color: var(--ev-estimate-fg); }
.evidence--unverified   { background: var(--ev-unverified-bg);   color: var(--ev-unverified-fg); }

/* --- Conversion reassurance (pre-redirect micro-copy) --- */
.cta-reassurance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.9rem;
    margin-top: 0.65rem;
    font-size: var(--fs-nano);
    color: var(--mineral-600);
}
.cta-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}
.cta-reassurance .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mineral-300);
    flex-shrink: 0;
}

/* --- Icon system: consistent stroke, replacing emoji glyphs --- */
.icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    vertical-align: -0.18em;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Simulator detail disclosure --- */
.sim-detail summary {
    cursor: pointer;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--mineral-700);
    padding: 0.35rem 0;
    list-style: none;
}
.sim-detail summary::-webkit-details-marker { display: none; }
.sim-detail summary::after {
    content: " +";
    font-weight: 700;
}
.sim-detail[open] summary::after { content: " −"; }
.sim-detail .sim-detail-body {
    font-size: var(--fs-nano);
    color: var(--mineral-600);
    line-height: 1.65;
    padding-top: 0.35rem;
}

/* --- Warning callout uses its own hue, not the commerce accent --- */
.callout-warn {
    border-left: 3px solid var(--danger-600);
    background: var(--danger-50);
}

/* --- Feature box icon tile: mineral instead of amber/warning confusion --- */
.feature-box .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-icon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mineral-100);
    color: var(--mineral-700);
    margin-bottom: var(--space-2);
}
.feature-box .icon-wrapper .icon { width: 22px; height: 22px; }

/* --- Tap-target floor for small inline controls and footer links --- */
.btn-sm { min-height: 38px; }
.footer-custom a { display: inline-block; padding: 0.35rem 0.15rem; }
.compare-responsive .btn-sm { min-height: 40px; }

/* Commerce-tinted recommended column (hybrid register: energy stays on price) */
:root { --amber-50: #fff8ec; }
.compare-responsive .col-eu { background: var(--amber-50); }
.compare-responsive thead th.col-eu { background: var(--amber-600); color: var(--white); }

/* Contrast + craft-floor fixes */
.compare-responsive thead th.col-eu { color: var(--slate-900); }
.mobile-sticky-bar { color: var(--white); }
.feature-icon { width: 20px; height: 20px; color: var(--mineral-600); flex-shrink: 0; }
.feature-box h3 { text-wrap: balance; }

/* Flatten nested result surface (no card-in-card) */
.calc-result-box { background: transparent; border: 0; border-radius: 0; padding: 0.75rem 0 0; }
/* Drop decorative uppercase on table data-labels */
.compare-responsive td::before { text-transform: none; letter-spacing: 0; font-size: var(--fs-micro); }

/* Featured banner: sentence case, no decorative all-caps body */
.featured-banner { text-transform: none; letter-spacing: 0; }
