/* ==========================================================================
   QRflex Website Styles — Redesign 2026
   Brand: Orange (#F25F22) + Navy (#1B3A5C)
   ========================================================================== */

/* Font Face — Self-hosted Outfit (latin-ext for Czech diacritics) */
@font-face {
    font-family: 'Outfit';
    src: url('/fonts/outfit-v11-latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('/fonts/outfit-v11-latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('/fonts/outfit-v11-latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Font Face — Plus Jakarta Sans for display headings */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Font Face — Inter variable font (redesign 2026) */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens — Redesign 2026)
   -------------------------------------------------------------------------- */
:root {
    /* Brand — Navy */
    --color-navy-dark: #13294B;
    --color-navy: #1B3A5C;

    /* Brand — Orange */
    --color-orange: #F25F22;
    --color-orange-hover: #D86018;
    --color-orange-light: #FF6A39;
    --color-orange-bg: #FFF1EA;
    --color-orange-disabled: #F9B79B;

    /* Text */
    --color-text-secondary: #5B6B7D;
    --color-text-tertiary: #6B7B8D;
    --color-text-tertiary-alt: #8A97A5;

    /* Borders */
    --color-border: #E6EAEE;
    --color-border-mid: #D5DBE1;
    --color-border-strong: #B8C2CC;

    /* Surfaces */
    --color-bg-section: #F5F7FA;
    --color-white: #FFFFFF;

    /* Status */
    --color-success: #1E7A46;

    /* Typography — Inter for everything in the redesign */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container-max: 1240px;
    --page-padding: clamp(1.25rem, 4vw, 3rem);
    --section-padding: clamp(53px, 11vw, 96px);

    /* Radii */
    --radius-pill: 999px;
    --radius-card: 14px;
    --radius-input: 10px;
    --radius-small: 8px;

    /* Shadows */
    --shadow-cta: 0 8px 24px rgba(242, 95, 34, .35);
    --shadow-card: 0 24px 60px -20px rgba(19, 41, 75, .35);
    --shadow-panel: 0 30px 60px -20px rgba(19, 41, 75, .5);
    --shadow-focus: 0 0 0 3px rgba(242, 95, 34, .15);

    /* Easing */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-emphasize: cubic-bezier(0.2, 0, 0, 1);

    /* Legacy aliases (kept so old page CSS continues to resolve) */
    --color-bg: #FFFFFF;
    --color-bg-white: #FFFFFF;
    --color-bg-subtle: #F5F7FA;
    --color-bg-navy: #1B3A5C;
    --color-bg-navy-deep: #13294B;
    --color-text: #1B3A5C;
    --color-text-body: #5B6B7D;
    --color-text-muted: #6B7B8D;
    --color-text-on-navy: #E8ECF0;
    --color-text-on-navy-muted: rgba(232, 236, 240, 0.6);
    --color-border-light: #E6EAEE;
    --color-navy-light: #224A72;
    --color-orange-hover-legacy: #D94F1A;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow-orange: 0 4px 16px rgba(242, 95, 34, 0.3);
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(242, 95, 34, 0.2); }
    50% { box-shadow: 0 0 40px rgba(242, 95, 34, 0.4); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------------------------------
   Accent Text Utility
   -------------------------------------------------------------------------- */
.accent {
    color: var(--color-orange);
}

/* ==========================================================================
   DESIGN SYSTEM LAYER — Redesign 2026
   Foundation classes shared across all redesigned pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Rhythm
   -------------------------------------------------------------------------- */
.section {
    padding: var(--section-padding) 0;
}

.section--grey {
    background: var(--color-bg-section);
}

.section--dark {
    background: var(--color-navy-dark);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Typography — Headings with clamp()
   -------------------------------------------------------------------------- */
h1, .h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

h2, .h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

h3, .h3 {
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

/* --------------------------------------------------------------------------
   Kicker (eyebrow label above headings)
   -------------------------------------------------------------------------- */
.kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.6875rem; /* ~11px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-orange);
    margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card--flat {
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   Chip (pill tag / filter button)
   -------------------------------------------------------------------------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-navy);
    cursor: pointer;
    transition: background 0.15s var(--ease-smooth),
                border-color 0.15s var(--ease-smooth),
                color 0.15s var(--ease-smooth);
    text-decoration: none;
}

.chip:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.chip--active,
.chip[aria-selected="true"] {
    background: var(--color-orange-bg);
    border-color: var(--color-orange);
    color: var(--color-orange-hover);
}

/* --------------------------------------------------------------------------
   Input Focus Ring
   -------------------------------------------------------------------------- */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: var(--shadow-focus);
    border-color: var(--color-orange);
}

/* General focus-visible ring for interactive elements */
:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Button System
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s var(--ease-spring),
                background-color 0.15s var(--ease-smooth),
                box-shadow 0.15s var(--ease-smooth);
}

.btn:hover { transform: translateY(-2px); }

.btn:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.15s var(--ease-smooth);
}

.btn:hover .btn-icon { transform: translateX(3px); }

/* Primary — orange pill with CTA shadow */
.btn--primary,
.btn-primary {
    background: var(--color-orange);
    color: #fff;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-cta);
}

.btn--primary:hover,
.btn-primary:hover {
    background: var(--color-orange-hover);
    box-shadow: var(--shadow-cta);
}

.btn--primary:disabled,
.btn-primary:disabled {
    background: var(--color-orange-disabled);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn--outline {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn--outline:hover {
    background: var(--color-navy);
    color: #fff;
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn--large {
    font-size: 1.0625rem;
    padding: 1rem 2.25rem;
}

/* Decorative elements removed in redesign */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   HEADER — NAVY (redesign)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: var(--color-navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-full {
    height: 35px;
    width: auto;
}

/* Desktop nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    margin-left: 0.5rem;
    height: 68px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s var(--ease-smooth), border-color 0.15s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    height: 68px;
    border-bottom: 2px solid transparent;
    padding-top: 2px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    border-color: rgba(242,95,34,0.6);
}

.nav-link.is-active {
    color: #fff;
    border-color: var(--color-orange);
}

/* Right-side actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Lang switch */
.lang-switch {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: flex;
    gap: 0.125rem;
    margin-right: 0.375rem;
}

.lang-switch a {
    text-decoration: none;
    padding: 0.25rem 0.4rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.15s;
}

.lang-switch a.lang-link--active { color: #fff; }
.lang-switch a:hover { color: var(--color-orange); }

/* Login text link */
.btn-login {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.625rem 0.875rem;
    transition: color 0.15s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    color: rgba(255,255,255,0.8);
}

.btn-login:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Header CTA pill — orange, shadow */
.btn-cta-header {
    font-size: 0.875rem;
    padding: 0.625rem 1.125rem;
}

/* --------------------------------------------------------------------------
   Hamburger Menu (Mobile)
   -------------------------------------------------------------------------- */
.hamburger {
    display: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 10000;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all 0.2s var(--ease-smooth);
    transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive: hide nav/actions on mobile, show hamburger */
@media (max-width: 860px) {
    .header-nav,
    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* --------------------------------------------------------------------------
   Mobile Menu — drop-down panel (redesign: below header, full-width)
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 68px;   /* below the 68px header */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    padding: 0.5rem var(--page-padding) 1.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 68px);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu.is-open .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

/* Nav links list */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.15s var(--ease-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--color-orange-light);
}

.mobile-nav-link.is-active {
    color: var(--color-orange-light);
}

.mobile-nav-arrow {
    color: var(--color-orange-light);
}

/* Footer: language + buttons */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 0.25rem;
}

.mobile-menu-lang {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.125rem 0.25rem;
}

.mobile-menu-lang-label {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
}

.lang-switch--mobile {
    gap: 0.375rem;
}

/* Pill-style lang buttons in mobile menu */
.lang-pill {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.15s;
}

.lang-pill--active {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-color: transparent;
}

/* CTA buttons row in mobile menu */
.mobile-menu-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.btn-login--mobile {
    display: inline-flex;
    justify-content: center;
    padding: 0.875rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.btn-login--mobile:hover {
    border-color: rgba(255,255,255,0.6);
}

.btn-cta-mobile {
    display: inline-flex;
    justify-content: center;
    padding: 0.875rem;
    font-size: 0.9375rem;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hide mobile menu on desktop */
@media (min-width: 861px) {
    .mobile-menu {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Footer — Redesign 2026 (4-column dark footer)
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-navy-dark);
    color: rgba(232, 236, 240, 0.75);
    font-family: var(--font-body);
}

/* ---- Main body (logo + columns) ---- */
.footer-main {
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* ---- Brand block ---- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-claim {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(232, 236, 240, 0.65);
    max-width: 280px;
    margin: 0;
}

/* ---- Columns ---- */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0 0 0.25rem;
}

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col-links a {
    font-size: 0.875rem;
    color: rgba(232, 236, 240, 0.65);
    text-decoration: none;
    transition: color 0.15s var(--ease-smooth);
    display: inline-block;
}

.footer-col-links a:hover {
    color: var(--color-orange-light);
}

/* ---- Bottom legal row ---- */
.footer-bottom {
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(232, 236, 240, 0.45);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.8125rem;
    color: rgba(232, 236, 240, 0.45);
    text-decoration: none;
    transition: color 0.15s var(--ease-smooth);
}

.footer-legal-links a:hover {
    color: var(--color-orange-light);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .footer-main-inner {
        grid-template-columns: 1fr;
    }

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

    .footer-claim {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-legal-links {
        gap: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Sections (Common)
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    position: relative;
}

.section--alt {
    background: var(--color-bg-white);
}

.section--hero {
    padding: 4rem 0 3rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

/* Legacy — kept for subpages; homepage uses .widget-section now */
.section--widget {
    padding: 0 0 5rem;
    position: relative;
}

.section--features {
    background: white;
    position: relative;
    overflow: hidden;
}

.section--stats {
    background: var(--color-orange);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section--stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section--cta {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* .section-badge removed — use .section-eyebrow instead */

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 50ch;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero Section — Asymmetric grid layout
   -------------------------------------------------------------------------- */
.hero {
    padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 95, 34, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fade-in-up 0.8s ease-out;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.hero-title .accent {
    color: var(--color-orange);
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 42ch;
    margin-bottom: 2rem;
}

.text-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Hero visual — QR mockup */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-qr-mockup {
    width: 280px;
    height: 280px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(27, 58, 92, 0.08);
}

.hero-qr-mockup svg {
    width: 180px;
    height: 180px;
    color: var(--color-navy);
}

.hero-qr-label {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--color-orange);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.75rem;
}

.hero-float-stat {
    position: absolute;
    top: -1rem;
    left: -2rem;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.9rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-float-stat span {
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; margin-bottom: 2rem; }
    .hero-qr-mockup { width: 200px; height: 200px; }
    .hero-qr-mockup svg { width: 120px; height: 120px; }
    .hero-float-stat { left: -1rem; top: -1rem; }
}

/* --------------------------------------------------------------------------
   Widget Container
   -------------------------------------------------------------------------- */
.widget-container {
    max-width: 900px;
    margin: 0 auto;
    min-height: 680px;
    position: relative;
    z-index: 1;
    contain: layout style;
}

.widget-wrapper {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}

.widget-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 680px;
    background: var(--color-bg-subtle);
    border-radius: 0;
    border: 1px solid rgba(242, 95, 34, 0.2);
}

.widget-loading-inner {
    text-align: center;
    color: var(--color-text-muted);
}

/* Widget section — homepage editor embed */
.widget-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    scroll-margin-top: 80px;
    background: var(--color-bg-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.widget-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-orange);
    margin-bottom: 0.75rem;
}

.section-eyebrow svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.widget-spinner {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
    stroke: var(--color-orange);
    will-change: transform;
}

/* --------------------------------------------------------------------------
   Features Section — Asymmetric Layout
   -------------------------------------------------------------------------- */
.features-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.features-header .section-desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

#features .feature-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    position: relative;
    transition: border-color 0.2s var(--ease-smooth),
                box-shadow 0.2s var(--ease-smooth);
}

#features .feature-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 8px 30px rgba(242, 95, 34, 0.06);
}

#features .feature-num {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-orange);
    margin-bottom: 1rem;
    display: block;
}

#features .feature-icon {
    width: 40px;
    height: 40px;
    color: var(--color-navy);
    background: transparent;
    margin-bottom: 1rem;
}

#features .feature-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    background: none;
}

#features .feature-desc {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
    opacity: 1;
}

/* First card spans full height of left column */
#features .feature-card--hero {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#features .feature-card--hero .feature-title {
    font-size: 1.375rem;
}

.features-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-orange);
    text-decoration: none;
    margin-top: 2.5rem;
    transition: gap 0.15s var(--ease-smooth);
}

.features-link:hover { gap: 0.7rem; }

.features-link svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card--hero { grid-row: auto; }
}

/* Steps variant — equal 3-column with arrows */
#features .features-grid--steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
}

#features .features-grid--steps .feature-card--hero {
    grid-row: auto;
}

#features .features-grid--steps .feature-card--hero .feature-title {
    font-size: 1.125rem;
}

#features .feature-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    opacity: 0.4;
}

#features .feature-step-arrow svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    #features .features-grid--steps {
        grid-template-columns: 1fr;
    }

    #features .feature-step-arrow {
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }
}

/* Legacy: features-more-link kept for subpages */
.features-more {
    text-align: center;
    margin-top: 3rem;
}

.features-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s var(--ease-smooth);
    border: 2px solid transparent;
}

.features-more-link:hover {
    background: var(--color-bg-subtle);
    border-color: rgba(242, 95, 34, 0.2);
}

.features-more-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s var(--ease-smooth);
}

.features-more-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Stats Section — Navy Background
   -------------------------------------------------------------------------- */
.stats {
    background: var(--color-bg-navy);
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-on-navy-muted);
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* --------------------------------------------------------------------------
   CTA Section — Navy Block
   -------------------------------------------------------------------------- */
.cta {
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.cta-block {
    background: var(--color-bg-navy);
    padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.cta-block::after {
    content: '';
    position: absolute;
    right: -5%;
    top: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 95, 34, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-block > div {
    position: relative;
    z-index: 1;
    max-width: 60%;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--color-text-on-navy-muted);
    margin-bottom: 2rem;
    max-width: 40ch;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-phone-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    z-index: 0;
}

.cta-block--centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-block--centered .cta-desc {
    margin-left: auto;
    margin-right: auto;
}

.cta-block--centered .cta-actions {
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-block { text-align: center; }
    .cta-block > div { max-width: 100%; }
    .cta-desc { margin-left: auto; margin-right: auto; }
    .cta-actions { justify-content: center; }
    .cta-block > .cta-phone-img { display: none !important; }
}

/* Legacy CTA button (kept for subpages) */
.btn-cta,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-orange);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s var(--ease-smooth);
    box-shadow: var(--shadow-lg), var(--shadow-glow-orange);
}

.btn-cta:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(242, 95, 34, 0.3);
}

.cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s var(--ease-smooth);
}

.btn-cta:hover .cta-icon,
.cta-button:hover .cta-icon {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Registration CTA (after widget)
   -------------------------------------------------------------------------- */
.section--register-cta {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-bg-navy);
    overflow: hidden;
    position: relative;
}

.register-cta {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.register-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.register-cta__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
}

.register-cta__btn {
    font-size: 1.0625rem;
    padding: 1rem 2.5rem;
}

.register-cta__note {
    margin: 1.25rem 0 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-bg);
}

.faq-header {
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-orange);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s;
}

details[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.faq-answer p {
    margin: 0;
}

/* FAQ Page — category grouping */
.faq-category-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 2.5rem 0 0.5rem;
}

.faq-category-title:first-child {
    margin-top: 0;
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    background: var(--color-bg-white);
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.trust-icon-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pricing Page
   -------------------------------------------------------------------------- */
.pricing-page {
    min-height: 100vh;
    background: transparent;
    padding: 3rem 1rem;
    overflow-x: hidden;
}

.pricing-widget-container {
    max-width: 80rem;
    margin: 0 auto;
    overflow-x: hidden;
}

.pricing-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--color-text-muted);
}

.loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    will-change: transform;
}

.pricing-sections-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .pricing-sections-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing-sections-container {
        padding: 0 2rem;
    }
}

/* FAQ Section */
.faq-section {
    margin-top: 5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    transition: all 0.2s var(--ease-smooth);
}

.faq-card:hover {
    border-color: var(--color-orange);
    transform: translateX(4px);
}

.faq-question {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.faq-answer {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-container {
    max-width: 800px;
}

.about-section {
    margin-bottom: 4rem;
}

.about-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.about-text {
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Offer List */
.offer-list {
    display: grid;
    gap: 1.5rem;
}

.offer-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: white;
    border-radius: 0;
    border: 1px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
}

.offer-item:hover {
    border-color: var(--color-orange);
    transform: translateY(-4px);
}

.offer-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-orange);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.offer-icon svg {
    stroke: white;
    width: 24px;
    height: 24px;
}

.offer-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.offer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Box — legacy definition (overridden by About Page Enhanced section below) */

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */
/* Compact hero for legal pages */
[data-page-type="legal"] .section--hero {
    min-height: auto;
    padding: 2rem 0 1.5rem;
}

[data-page-type="legal"] .section-header {
    margin-bottom: 0;
}

[data-page-type="legal"] .hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.legal-container {
    max-width: 800px;
}

.legal-updated {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-subtle);
    border-radius: 0;
}

.legal-updated::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
}

.legal-content {
    margin-top: 1.5rem;
}

.legal-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 0;
    border: 1px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
}

.legal-section:hover {
    border-color: rgba(242, 95, 34, 0.2);
    box-shadow: var(--shadow-lg);
}

.legal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-title::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: var(--color-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-text {
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
}

.legal-link {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transition: transform 0.2s var(--ease-smooth);
}

.legal-link:hover::after {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Rich-text legal content (admin WYSIWYG output)
   Mirrors the TipTap editor typography from templates/admin/legal/edit.html.twig
   so published documents look the same as in the editor. Scoped under
   .legal-richtext so it never leaks into the rest of the site.
   -------------------------------------------------------------------------- */
.legal-richtext {
    color: #374151;
}
.legal-richtext h2 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #111827;
    margin: 1.1rem 0 0.45rem;
}
.legal-richtext h3 {
    font-weight: 600;
    font-size: 1.02rem;
    color: #111827;
    margin: 0.9rem 0 0.35rem;
}
.legal-richtext h4 {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    margin: 0.8rem 0 0.3rem;
}
.legal-richtext p {
    margin: 0.55rem 0;
    line-height: 1.7;
}
.legal-richtext ul {
    margin: 0.55rem 0 0.55rem 1.25rem;
    padding: 0;
    list-style: disc;
}
.legal-richtext ol {
    margin: 0.55rem 0 0.55rem 1.25rem;
    padding: 0;
    list-style: decimal;
}
.legal-richtext li {
    margin: 0.2rem 0;
    padding-left: 0;
    line-height: 1.7;
}
.legal-richtext li::before {
    content: none;
}
.legal-richtext a {
    color: #4f46e5;
    text-decoration: underline;
    font-weight: inherit;
}
.legal-richtext blockquote {
    border-left: 3px solid #d1d5db;
    padding-left: 1em;
    color: #6b7280;
    margin: 1em 0;
}
.legal-richtext hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 1.5em 0;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.animate-fade-in {
    animation: fade-in-up 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* --------------------------------------------------------------------------
   Selection & Scrollbar
   -------------------------------------------------------------------------- */
::selection {
    background: rgba(242, 95, 34, 0.2);
    color: var(--color-text);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 5px;
    border: 2px solid var(--color-bg-subtle);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange-hover);
}

/* --------------------------------------------------------------------------
   Legacy Hero CTA Group (kept for subpages that may reference these classes)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Use Cases Section — Horizontal Scroll
   -------------------------------------------------------------------------- */
.usecases-header {
    margin-bottom: 2.5rem;
}

.usecases-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.usecases-scroll::-webkit-scrollbar { display: none; }

.usecase-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: clamp(260px, 32vw, 300px);
    padding: 1.75rem;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    transition: border-color 0.2s var(--ease-smooth),
                transform 0.2s var(--ease-spring);
}

.usecase-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-4px);
}

.usecase-card:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
}

.usecase-icon {
    width: 36px;
    height: 36px;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.usecase-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}

.usecase-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.usecase-arrow {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s var(--ease-smooth);
}

.usecase-card:hover .usecase-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Use Cases More Link */
.usecases-more {
    text-align: center;
    margin-top: 2.5rem;
}

.usecases-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
}

.usecases-more-link:hover {
    color: var(--color-orange-hover);
}

.usecases-more-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s var(--ease-smooth);
}

.usecases-more-link:hover svg {
    transform: translateX(4px);
}

/* Social Proof (Story 9.1) */
.social-proof {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.social-proof p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-style: italic;
    margin: 0;
}

/* Large CTA Button Variant (Story 9.1) */
.btn-cta--large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Compare Section (Homepage) — Sticky Sidebar Layout */
.compare {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--color-bg-white);
}

.compare-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.compare-sticky {
    position: sticky;
    top: 5rem;
}

.compare-sticky .section-title {
    text-align: left;
}

.compare-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.compare-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: border-color 0.2s var(--ease-smooth);
}

.compare-card:hover {
    border-color: var(--color-orange);
}

.compare-card:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
}

.compare-vs {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    width: 2.5rem;
    text-align: center;
}

.compare-info h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.2rem;
}

.compare-info p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin: 0;
}

.compare-arrow {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    transition: color 0.15s, transform 0.15s var(--ease-smooth);
}

.compare-card:hover .compare-arrow {
    color: var(--color-orange);
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .compare-layout { grid-template-columns: 1fr; }
    .compare-sticky { position: static; }
}

/* Legacy Compare More Link (kept for subpages) */
.compare-more {
    text-align: center;
    margin-top: 2.5rem;
}

.compare-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
}

.compare-more-link:hover {
    color: var(--color-orange-hover);
}

.compare-more-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s var(--ease-smooth);
}

.compare-more-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Features Page (Story 9.2)
   -------------------------------------------------------------------------- */

/* Compact Hero for subpages */
.section--hero-compact {
    min-height: auto;
    padding: 3rem 0 2rem;
}

/* Feature Category Section */
.section--feature-category {
    padding: 5rem 0;
    background: white;
}

.section--feature-category.section--alt {
    background: var(--color-bg-subtle);
}

.feature-category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-category-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-orange);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.feature-category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.feature-category-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* QR Types Grid */
.qr-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .qr-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.qr-type-group {
    background: white;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
    position: relative;
}

.qr-type-group:hover {
    border-color: var(--color-orange);
}

.qr-type-group--highlight {
    border-color: var(--color-orange);
    background: var(--color-bg-subtle);
}

.qr-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.qr-type-badge--coming-soon {
    background: var(--color-text-muted);
}

.qr-type-group--coming-soon {
    opacity: 0.6;
    position: relative;
}

.qr-type-group--coming-soon .qr-type-list li {
    text-decoration: line-through;
    text-decoration-color: var(--color-border);
}

/* --------------------------------------------------------------------------
   Coming Soon — blur overlay for sections under development
   -------------------------------------------------------------------------- */
.coming-soon-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.coming-soon-wrapper > *:not(.coming-soon-overlay) {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* Blur-only wrapper (no overlay text) */
.comparison-blur-wrapper {
    position: relative;
    overflow: hidden;
}

.comparison-blur-wrapper > * {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(250, 250, 248, 0.6);
}


.coming-soon-badge {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--color-navy);
    padding: 0.5rem 1.25rem;
}

.coming-soon-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    text-align: center;
    max-width: 40ch;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Pricing Variant B — Simplified plan cards
   -------------------------------------------------------------------------- */
.pricing-variant-b {
    max-width: 960px;
    margin: 0 auto;
}

.pricing-beta-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #1E40AF;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-plan-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 2rem;
    position: relative;
}

.pricing-plan-card--featured {
    border: 2px solid var(--color-orange);
}

.pricing-plan-badge {
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    background: var(--color-orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-plan-tier {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.pricing-plan-tier--pro {
    color: var(--color-orange);
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.pricing-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 2.2;
}

.pricing-plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-plan-features li::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F25F22' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}

.pricing-plans-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .pricing-plans-grid {
        grid-template-columns: 1fr;
    }
}

.qr-type-group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.qr-type-group-title svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-orange);
}

.qr-type-group-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.qr-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qr-type-list li {
    font-size: 0.9rem;
    color: var(--color-text-body);
    padding-left: 1.5rem;
    position: relative;
}

.qr-type-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--color-orange);
    border-radius: 50%;
}

/* Feature Showcase (2-column layout) */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .feature-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .feature-showcase--reverse {
        direction: rtl;
    }

    .feature-showcase--reverse > * {
        direction: ltr;
    }
}

.feature-showcase-content {
    order: 2;
}

@media (min-width: 768px) {
    .feature-showcase-content {
        order: 1;
    }

    .feature-showcase--reverse .feature-showcase-content {
        order: 2;
    }
}

.feature-showcase-visual {
    order: 1;
}

@media (min-width: 768px) {
    .feature-showcase-visual {
        order: 2;
    }

    .feature-showcase--reverse .feature-showcase-visual {
        order: 1;
    }
}

.feature-video {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
    display: block;
}

/* Analytics carousel */
.analytics-carousel-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-subtle);
}

.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.carousel-image--active {
    opacity: 1;
}

.feature-benefits-list--carousel .carousel-trigger {
    cursor: pointer;
    transition: background-color 0.2s var(--ease-smooth), border-left-color 0.2s var(--ease-smooth);
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.feature-benefits-list--carousel .carousel-trigger:hover {
    background: rgba(242, 95, 34, 0.04);
}

.feature-benefits-list--carousel .carousel-trigger--active {
    border-left-color: var(--color-orange);
    background: rgba(242, 95, 34, 0.06);
}

.feature-benefits-list--carousel .carousel-trigger--active strong {
    color: var(--color-orange);
}

.feature-placeholder {
    background: var(--color-bg-subtle);
    border: 2px dashed rgba(242, 95, 34, 0.2);
    border-radius: 0;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--color-orange);
    opacity: 0.5;
}

.feature-placeholder span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Feature Benefits List */
.feature-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-benefits-list li > svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: var(--color-orange);
    margin-top: 0.25rem;
}

.feature-benefits-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-benefits-list li strong {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-navy);
}

.feature-benefits-list li span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Export Formats Grid */
.export-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .export-formats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.export-format-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.2s var(--ease-smooth);
}

.export-format-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-4px);
}

.export-format-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-bg-subtle);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid var(--color-border);
}

.export-format-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-orange);
}

.export-format-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.export-format-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.export-format-detail {
    font-size: 0.8rem;
    color: var(--color-orange);
    font-weight: 600;
}

/* Comparison Section */
.section--comparison {
    padding: 5rem 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-bg-navy);
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
}

.comparison-feature-col {
    width: 40%;
}

.comparison-plan-col {
    width: 30%;
    text-align: center !important;
}

.comparison-plan-col--highlight {
    background: var(--color-bg-navy-deep) !important;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.plan-price {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-on-navy-muted);
}

.comparison-table tbody td {
    vertical-align: middle;
    text-align: center;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text-body);
}

.check-icon {
    color: var(--color-orange);
    font-weight: 600;
}

.check-yes::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--color-orange);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.check-no::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--color-text-muted);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.check-partial {
    color: var(--color-orange);
    font-weight: 500;
}

.limit-text {
    color: var(--color-text-muted);
    font-weight: 500;
}

.comparison-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--color-text);
    padding: 0.875rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s var(--ease-smooth);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Use Cases Pages
   ======================================== */

/* Breadcrumb */
.use-case-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.use-case-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}

.use-case-breadcrumb a:hover {
    color: var(--color-orange);
}

.use-case-breadcrumb svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Use Cases Grid (Index Page) */
.section--use-cases-grid {
    padding: 4rem 0 5rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    background: white;
    border-radius: 0;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.use-case-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.use-case-card--large {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--color-bg-subtle);
}

.use-case-card--large .use-case-icon {
    flex-shrink: 0;
}

.use-case-card--large .use-case-title {
    margin-bottom: 0.25rem;
}

.use-case-card--large .use-case-link {
    margin-top: 0;
    margin-left: auto;
}

.use-case-icon {
    width: 56px;
    height: 56px;
    background: var(--color-orange);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.use-case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.use-case-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.use-case-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-top: auto;
}

.use-case-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease-smooth);
}

.use-case-card:hover .use-case-link svg {
    transform: translateX(4px);
}

/* Problems Section */
.section--problems {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.problem-icon svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
}

.problem-card p {
    font-size: 1rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.6;
}

/* Solutions Section */
.section--solutions {
    padding: 5rem 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--color-bg-subtle);
    border-radius: 0;
    padding: 2rem;
    border: 2px solid var(--color-border);
}

.solution-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

.solution-desc {
    font-size: 1rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.6;
}

/* Examples Section */
.section--examples {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.example-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
}

.example-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-md);
}

.example-visual {
    height: 180px;
    background: var(--color-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-placeholder {
    text-align: center;
    color: var(--color-text-muted);
}

.example-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.example-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    padding: 1.25rem 1.5rem 0.5rem;
}

.example-desc {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

/* Related Use Cases */
.section--related {
    padding: 5rem 0;
    background: white;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-subtle);
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s var(--ease-smooth);
    border: 2px solid transparent;
}

.related-card:hover {
    background: white;
    border-color: var(--color-orange);
    box-shadow: var(--shadow-md);
}

.related-icon {
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.related-title {
    font-weight: 600;
    color: var(--color-text);
    flex-grow: 1;
}

.related-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    opacity: 0;
    transition: all 0.2s var(--ease-smooth);
}

.related-card:hover .related-arrow {
    opacity: 1;
    color: var(--color-orange);
}

/* Responsive Use Cases */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-case-card--large {
        grid-column: span 2;
    }

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

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

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .use-case-card--large {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .use-case-card--large .use-case-link {
        margin-left: 0;
    }

    .problems-grid,
    .solutions-grid,
    .examples-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .section--problems,
    .section--solutions,
    .section--examples,
    .section--related {
        padding: 3rem 0;
    }
}

/* ========================================
   Use Case Sections — Enhanced Styles
   ======================================== */

/* Scroll reveal animation */
@keyframes uc-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.use-case-sections .section {
    animation: uc-fade-up 0.6s var(--ease-emphasize) both;
    scroll-margin-top: 100px;
}

.use-case-sections .section:nth-child(1) { animation-delay: 0.05s; }
.use-case-sections .section:nth-child(2) { animation-delay: 0.1s; }
.use-case-sections .section:nth-child(3) { animation-delay: 0.15s; }
.use-case-sections .section:nth-child(4) { animation-delay: 0.2s; }
.use-case-sections .section:nth-child(5) { animation-delay: 0.25s; }
.use-case-sections .section:nth-child(6) { animation-delay: 0.3s; }
.use-case-sections .section:nth-child(7) { animation-delay: 0.35s; }

/* Section headers — consistent */
.use-case-sections .section-header {
    margin-bottom: 2.5rem;
}

.use-case-sections .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    position: relative;
    display: inline-block;
}

.use-case-sections .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-orange);
    margin-top: 0.75rem;
}

/* Problem cards — enhanced */
.problem-card {
    position: relative;
    transition: all 0.25s var(--ease-smooth);
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

/* Solution cards — enhanced */
.solution-card {
    position: relative;
    transition: all 0.25s var(--ease-smooth);
}

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

/* Features section (use-case context) */
.use-case-sections .section--features {
    padding: 5rem 0;
    background: var(--color-bg-navy);
    position: relative;
    overflow: hidden;
}

.use-case-sections .section--features::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 95, 34, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.use-case-sections .section--features .section-title {
    color: #fff;
}

.use-case-sections .section--features .section-title::after {
    background: var(--color-orange);
}

.use-case-sections .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.use-case-sections .feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    transition: all 0.3s var(--ease-smooth);
}

.use-case-sections .feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(242, 95, 34, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.use-case-sections .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.use-case-sections .feature-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.use-case-sections .feature-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}

.use-case-sections .feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-on-navy);
    margin: 0;
    line-height: 1.6;
    opacity: 0.85;
}

/* Rich text section */
.section--rich-text {
    padding: 4rem 0;
    background: white;
}

.section--rich-text .prose {
    max-width: 760px;
    margin: 0 auto;
}

.section--rich-text .prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section--rich-text .prose h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-orange);
    margin-top: 0.75rem;
}

.section--rich-text .prose h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 2rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section--rich-text .prose h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    flex-shrink: 0;
}

.section--rich-text .prose p {
    font-size: 1.05rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

/* Testimonial section */
.section--testimonial {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
    position: relative;
}

.testimonial-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem 2rem;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-orange);
    opacity: 0.15;
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: block;
    font-style: normal;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-company {
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Comparison table — use case context enhancements */
.use-case-sections .section--comparison {
    padding: 5rem 0;
    background: white;
}

.use-case-sections .comparison-table {
    table-layout: fixed;
    width: 100%;
}

.use-case-sections .section--comparison .comparison-table th,
.use-case-sections .section--comparison .comparison-table td {
    text-align: center !important;
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

.use-case-sections .section--comparison .comparison-table th:first-child,
.use-case-sections .section--comparison .comparison-table td:first-child {
    text-align: left !important;
    width: 30%;
}

.use-case-sections .section--comparison .comparison-table th:first-child {
    background: none !important;
}

.use-case-sections .section--comparison .comparison-table th:nth-child(2) {
    background: var(--color-bg-subtle) !important;
    color: var(--color-text-muted);
    font-weight: 600;
}

.use-case-sections .section--comparison .comparison-table th:nth-child(3) {
    background: var(--color-orange) !important;
    color: #fff;
    font-weight: 700;
}

.use-case-sections .comparison-table tbody tr {
    transition: background 0.15s var(--ease-smooth);
}

.use-case-sections .comparison-table tbody tr:hover {
    background: rgba(242, 95, 34, 0.03);
}

.use-case-sections .comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--color-text);
}

.use-case-sections .comparison-table tbody td:last-child {
    color: var(--color-orange);
    font-weight: 600;
}

/* Responsive — features & testimonial */
@media (max-width: 1024px) {
    .use-case-sections .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .use-case-sections .features-grid {
        grid-template-columns: 1fr;
    }

    .section--testimonial {
        padding: 3rem 0;
    }

    .testimonial-card {
        padding: 2rem 1rem;
    }

    .testimonial-card::before {
        font-size: 5rem;
    }

    .section--rich-text {
        padding: 3rem 0;
    }

    .use-case-sections .section--features {
        padding: 3rem 0;
    }
}

/* ========================================
   Comparison Pages (Story 9.4)
   ======================================== */

/* Breadcrumb */
.compare-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.compare-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}

.compare-breadcrumb a:hover {
    color: var(--color-orange);
}

.compare-breadcrumb svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Comparisons Grid (Index Page) */
.section--comparisons-grid {
    padding: 4rem 0 5rem;
}

.comparisons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.comparison-card {
    background: white;
    border-radius: 0;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.comparison-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0.5rem 1rem;
    background: var(--color-bg-subtle);
    border-radius: 0;
}

.comparison-logo--qrflex {
    background: var(--color-orange);
    color: white;
}

.comparison-vs-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.comparison-summary {
    font-size: 1rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.comparison-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-top: auto;
}

.comparison-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ease-smooth);
}

.comparison-card:hover .comparison-link svg {
    transform: translateX(4px);
}

/* Why Compare Section */
.section--why-compare {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.why-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-compare-item {
    text-align: center;
    padding: 2rem;
}

.why-compare-icon {
    width: 64px;
    height: 64px;
    background: var(--color-bg-subtle);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-compare-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
}

.why-compare-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

.why-compare-item p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.6;
}

/* Quick Comparison Table */
.section--quick-compare {
    padding: 4rem 0;
    background: white;
}

.quick-compare-wrapper {
    overflow-x: auto;
    padding-top: 0.5rem;
}

.quick-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.quick-compare-table th,
.quick-compare-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.quick-compare-table th {
    background: var(--color-bg-subtle);
    font-weight: 600;
    color: var(--color-text);
}

.compare-feature-col {
    width: 40%;
    text-align: left !important;
}

.compare-qrflex-col {
    width: 30%;
    background: var(--color-bg-subtle) !important;
}

.compare-competitor-col {
    width: 30%;
}

.compare-logo {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
}

.compare-logo--qrflex {
    background: var(--color-orange);
    color: white;
}

.compare-value {
    font-weight: 500;
}

.compare-value--good {
    color: var(--color-orange);
    font-weight: 600;
}

.compare-check {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--color-orange);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.compare-cross {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #ef4444;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.quick-compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text-body);
}

/* Detailed Comparison Sections */
.section--compare-details {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.compare-detail-card {
    background: white;
    border-radius: 0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--color-border);
}

.compare-detail-card:last-child {
    margin-bottom: 0;
}

.compare-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.compare-detail-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-orange);
}

.compare-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.compare-detail-content p {
    font-size: 1rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.compare-verdict {
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.compare-verdict--qrflex {
    background: var(--color-bg-subtle);
    border-left: 4px solid var(--color-orange);
}

.compare-verdict strong {
    color: var(--color-orange);
}

/* Honest Assessment Section */
.section--honest-assessment {
    padding: 5rem 0;
    background: white;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.assessment-card {
    padding: 2rem;
    border-radius: 0;
    border: 2px solid var(--color-border);
}

.assessment-card--competitor {
    background: #fef2f2;
    border-color: #fecaca;
}

.assessment-card--qrflex {
    background: var(--color-bg-subtle);
    border-color: var(--color-orange);
}

.assessment-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1.5rem;
}

.assessment-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.assessment-card--competitor .assessment-title svg {
    color: #ef4444;
}

.assessment-card--qrflex .assessment-title svg {
    color: var(--color-orange);
}

.assessment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assessment-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.5;
}

.assessment-list li:last-child {
    margin-bottom: 0;
}

.assessment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.assessment-card--competitor .assessment-list li::before {
    background: #f87171;
}

.assessment-card--qrflex .assessment-list li::before {
    background: var(--color-orange);
}

/* Other Comparisons Section */
.section--other-comparisons {
    padding: 4rem 0;
    background: var(--color-bg-subtle);
}

.other-comparisons-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.other-comparison-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: white;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--color-border);
    transition: all 0.2s var(--ease-smooth);
}

.other-comparison-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-md);
}

.other-comparison-vs {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.other-comparison-name {
    font-weight: 700;
    color: var(--color-text);
}

.other-comparison-card svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    transition: all 0.2s var(--ease-smooth);
}

.other-comparison-card:hover svg {
    color: var(--color-orange);
    transform: translateX(4px);
}

/* Responsive Comparison Pages */
@media (max-width: 1024px) {
    .comparisons-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .comparisons-grid {
        max-width: 100%;
    }

    .why-compare-grid {
        grid-template-columns: 1fr;
    }

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

    .other-comparisons-grid {
        flex-direction: column;
        align-items: center;
    }

    .compare-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section--quick-compare,
    .section--compare-details,
    .section--honest-assessment,
    .section--other-comparisons {
        padding: 3rem 0;
    }
}

/* --------------------------------------------------------------------------
   About Page Enhanced (Story 9.6)
   -------------------------------------------------------------------------- */

/* Story Section */
.section--story {
    padding: 5rem 0;
    background: var(--color-bg);
}

.story-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }
}

.story-text .about-title {
    margin-bottom: 1.5rem;
}

.about-text--large {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text);
}

.story-highlight {
    position: sticky;
    top: 2rem;
}

.story-quote {
    background: var(--color-bg-subtle);
    border-left: 4px solid var(--color-orange);
    padding: 2rem;
    border-radius: 0;
    margin: 0;
}

.story-quote p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Mission Section */
.section--mission {
    padding: 4rem 0;
    background: var(--color-bg-navy);
}

.mission-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-orange);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.mission-statement {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-statement {
        font-size: 1.5rem;
    }
}

/* Values Section */
.section--values {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.value-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s var(--ease-smooth);
}

.value-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(242, 95, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-orange);
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.75rem 0;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Offer Section */
.section--offer {
    padding: 5rem 0;
    background: var(--color-bg);
}

/* Contact CTA Section */
.section--contact-cta {
    padding: 5rem 0;
    background: var(--color-bg-subtle);
}

.contact-box {
    background: var(--color-bg-navy);
    border: none;
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--color-text-on-navy-muted);
    margin: 0 0 2rem 0;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
}

.btn-contact--primary {
    background: var(--color-orange);
    color: white;
}

.btn-contact--primary:hover {
    background: var(--color-orange-hover);
    transform: translateY(-2px);
}

.btn-contact--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact--secondary:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* Social Links */
.social-links {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-on-navy-muted);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--color-text-on-navy);
    transition: all 0.2s var(--ease-smooth);
}

.social-link:hover {
    background: var(--color-orange);
    color: white;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Contact Page (Story 9.6)
   -------------------------------------------------------------------------- */

.contact-container {
    max-width: 1100px;
}

.section--contact {
    padding: 5rem 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #ef4444;
}

.form-input {
    padding: 0.75em 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    color: var(--color-text);
    transition: all 0.2s var(--ease-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form-group.has-error .form-input {
    border-bottom-color: #ef4444;
}

.form-error {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.5rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-orange);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}

.btn-submit:hover {
    background: var(--color-orange-hover);
    transform: translateY(-2px);
}

/* Success State */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(242, 95, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-orange);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.75rem 0;
}

.success-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 2rem 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-bg-subtle);
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s var(--ease-smooth);
}

.btn-back:hover {
    background: var(--color-border);
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 1.5rem;
}

.info-card--highlight {
    background: var(--color-bg-subtle);
    border-color: var(--color-orange);
}

.info-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1.25rem 0;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--color-bg-subtle);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-orange);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

a.info-value {
    color: var(--color-orange);
    text-decoration: none;
}

a.info-value:hover {
    text-decoration: underline;
}

.info-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

/* Social Links in Contact */
.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg-subtle);
    border-radius: 0;
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s var(--ease-smooth);
}

.social-link-item:hover {
    background: var(--color-orange);
    color: white;
}

.social-link-item svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Widget Container - Responsive CLS Prevention
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .widget-container,
    .widget-loading {
        min-height: 720px;
    }
}

@media (max-width: 480px) {
    .widget-container,
    .widget-loading {
        min-height: 780px;
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion — Global Override (must be last)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   HOMEPAGE — Redesign B "Dark Tech" (Task E1)
   Page-scoped styles for the redesigned homepage (hp-* prefix).
   ========================================================================== */

/* Shared typographic helpers on the light body */
.hp-h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 0;
}
.hp-lead {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 44ch;
}
.hp-accent { color: var(--color-orange); }

/* -------------------------------------------------- HERO (navy) */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 9vw, 88px) 0 clamp(88px, 11vw, 112px);
    background: var(--color-navy-dark);
    color: #fff;
}
.hp-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: 760px;
    height: 760px;
}
.hp-hero__glow--orange {
    right: -10%; top: -20%;
    background: radial-gradient(circle, rgba(242,95,34,0.35), rgba(242,95,34,0.05) 45%, transparent 70%);
}
.hp-hero__glow--navy {
    left: -15%; bottom: -45%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
}
.hp-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 56px;
    align-items: center;
}
.hp-hero__content { animation: fade-in-up 0.6s ease both; }
.hp-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 22px;
    text-wrap: balance;
}
.hp-hero__perex {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    max-width: 46ch;
    margin: 0 0 36px;
    line-height: 1.6;
}
.hp-hero__perex strong { color: #fff; font-weight: 600; }
.hp-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.hp-hero__cta .btn--large { padding: 16px 26px; font-size: 16px; }
.hp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s var(--ease-smooth);
}
.hp-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.hp-hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hp-stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.hp-stat__label { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Generator card in hero */
.hp-hero__gen { position: relative; animation: fade-in-up 0.7s 0.1s ease both; }
.hp-gen-frame {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 10px;
}
.hp-gen-widget {
    background: #fff;
    border-radius: 14px;
    color: var(--color-navy);
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* -------------------------------------------------- LIGHT BODY */
.hp-body { background: #fff; position: relative; }

/* Trust / client logos — floating card overlapping hero */
.hp-trust-wrap { position: relative; z-index: 2; }
.hp-trust {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: 0 24px 60px -20px rgba(19,41,75,0.35);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    transform: translateY(-30px);
}
.hp-trust__label {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    white-space: nowrap;
}
.hp-trust__logos {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
}
.hp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.2s, opacity 0.2s;
}
.hp-logo:hover { filter: none; opacity: 1; }
.hp-logo__mark {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--color-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
}
.hp-logo__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Steps */
.hp-steps { padding: clamp(40px, 9vw, 88px) 0 clamp(35px, 8vw, 64px); }
.hp-steps__head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(34px, 8vw, 56px);
}
.hp-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.hp-step {
    padding: clamp(16px, 5.5vw, 32px);
    border-radius: var(--radius-card);
    background: #fff;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: border-color 0.15s;
}
.hp-step:hover { border-color: var(--color-orange); }
.hp-step__num {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: rgba(242,95,34,0.12);
    line-height: 1;
    position: absolute;
    right: 20px; top: 12px;
}
.hp-step__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--color-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.hp-step__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 8px;
}
.hp-step__desc { margin: 0; font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }

/* Feature tabs */
.hp-features { padding: clamp(44px, 11vw, 80px) 0 clamp(57px, 11vw, 104px); }
.hp-features__head,
.hp-usecases__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hp-pill-navy {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--color-navy);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
}
.hp-pill-navy:hover { background: var(--color-navy-dark); color: #fff; }
.hp-link-underline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 2px;
    white-space: nowrap;
}
.hp-features__layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 24px;
    align-items: stretch;
}
.hp-tablist { display: flex; flex-direction: column; gap: 6px; }
.hp-tab {
    text-align: left;
    padding: 16px 18px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.15s, background 0.15s;
}
.hp-tab.is-active {
    border-color: var(--color-orange);
    background: var(--color-orange-bg);
}
.hp-tab__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F0F3F6;
    color: var(--color-navy);
}
.hp-tab.is-active .hp-tab__icon { background: var(--color-orange); color: #fff; }
.hp-tab__title {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}
.hp-tab.is-active .hp-tab__title { color: var(--color-orange-hover); }
.hp-tab__sub { display: block; font-size: 13px; color: var(--color-text-tertiary); margin-top: 2px; }

.hp-panelwrap { position: relative; min-height: 100%; display: grid; }
.hp-panel {
    border-radius: var(--radius-card);
    background: var(--color-navy-dark);
    color: #fff;
    padding: clamp(20px, 5.5vw, 40px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 32px;
    position: relative;
    overflow: hidden;
    grid-area: 1 / 1;
}
.hp-panel[hidden] { display: none; }
.hp-panel__glow {
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.35), transparent 70%);
    pointer-events: none;
}
.hp-panel__copy { position: relative; display: flex; flex-direction: column; }
.hp-panel__kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-orange-light);
    margin-bottom: 12px;
}
.hp-panel__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    line-height: 1.1;
    color: #fff;
}
.hp-panel__body { margin: 0 0 22px; font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.65; }
.hp-panel__points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.hp-panel__points li { display: flex; gap: 10px; align-items: center; }
.hp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-orange); flex-shrink: 0; }
.hp-panel__link {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid var(--color-orange);
    text-decoration: none;
    padding-bottom: 2px;
}
.hp-mock {
    position: relative;
    border-radius: var(--radius-card);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 300px;
}
.hp-mock__head { display: flex; justify-content: space-between; align-items: center; }
.hp-mock__title { font-size: 12px; color: rgba(255,255,255,0.6); }
.hp-mock__metric { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #7BE0A3; }
.hp-mock__bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; }
.hp-mock__bars span { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.3); }
.hp-mock__cells { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.hp-mock__cell {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.hp-mock__cellv { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }

/* Use cases */
.hp-usecases { padding: clamp(53px, 11vw, 96px) 0; background: var(--color-bg-section); }
.hp-usecases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.hp-usecase {
    padding: 24px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    transition: border-color 0.15s, transform 0.15s;
}
.hp-usecase:hover { border-color: var(--color-orange); transform: translateY(-3px); }
.hp-usecase__tag { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--color-text-tertiary-alt); }
.hp-usecase__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--color-navy); margin: 0; }
.hp-usecase__desc { margin: 0; font-size: 14px; color: var(--color-text-secondary); line-height: 1.55; }
.hp-usecase__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--color-orange); }

/* Pricing (dark navy) */
.hp-pricing {
    padding: clamp(53px, 11vw, 96px) 0;
    background: var(--color-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hp-pricing__glow {
    position: absolute;
    left: 50%; top: -200px;
    width: 900px; height: 500px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(242,95,34,0.25), transparent);
    pointer-events: none;
}
.hp-pricing__inner { position: relative; }
.hp-pricing__head { text-align: center; max-width: 600px; margin: 0 auto clamp(29px, 8vw, 48px); }
.hp-pricing__kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-orange-light);
    margin-bottom: 12px;
}
.hp-pricing__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    color: #fff;
}
.hp-pricing__perex { font-size: 17px; color: rgba(255,255,255,0.7); margin: 0; }
.hp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.hp-plan {
    padding: clamp(16px, 5.5vw, 32px);
    border-radius: var(--radius-card);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}
.hp-plan--featured {
    background: #fff;
    border-color: #fff;
    color: var(--color-navy);
}
.hp-plan__badge {
    position: absolute;
    top: -12px; left: 32px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-orange);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hp-plan__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
}
.hp-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.hp-plan__amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hp-plan__per { font-size: 14px; opacity: 0.7; }
.hp-plan__for { margin: 0 0 22px; font-size: 14px; opacity: 0.75; }
.hp-plan__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.hp-plan__features li { display: flex; gap: 10px; align-items: flex-start; }
.hp-plan__features svg { flex-shrink: 0; margin-top: 3px; }
.hp-plan__cta {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    transition: background 0.15s;
}
.hp-plan__cta:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hp-plan--featured .hp-plan__cta { color: var(--color-navy); border-color: var(--color-navy); }
.hp-plan--featured .hp-plan__cta:hover { background: rgba(19,41,75,0.06); color: var(--color-navy); }
.hp-plan__cta--primary,
.hp-plan--featured .hp-plan__cta--primary {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
}
.hp-plan__cta--primary:hover { background: var(--color-orange-hover); color: #fff; }

/* FAQ */
.hp-faq { padding: clamp(53px, 11vw, 96px) 0; }
.hp-faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 48px 64px;
}
.hp-faq__intro .kicker { color: var(--color-orange); }
.hp-faq__list { display: flex; flex-direction: column; }
.hp-faq-item { border-bottom: 1px solid var(--color-border); }
.hp-faq-item__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
}
.hp-faq-item__q::-webkit-details-marker { display: none; }
.hp-faq-item__plus {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--color-border-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    transition: transform 0.2s var(--ease-smooth);
}
.hp-faq-item[open] .hp-faq-item__plus { transform: rotate(45deg); }
.hp-faq-item__a { padding: 0 0 20px; }
.hp-faq-item__a p { margin: 0; font-size: 15px; color: var(--color-text-secondary); line-height: 1.65; }

/* CTA band */
.hp-ctaband-wrap { padding: clamp(57px, 11vw, 104px) 0; background: #fff; }
.hp-ctaband {
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
    padding: clamp(32px, 5.5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.hp-ctaband__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 12px;
}
.hp-ctaband__perex { margin: 0; font-size: 17px; color: rgba(255,255,255,0.9); }
.hp-ctaband__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    background: var(--color-navy);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.hp-ctaband__btn:hover { background: var(--color-navy-dark); color: #fff; }

/* ── Dočasné překrytí ceníku (PRICING_LOCKED) ───────────────────────── */
.pricing-lock-wrap { position: relative; }
.pricing-lock-wrap.is-locked {
    /* Strop výšky: u dlouhé srovnávací tabulky by jinak byl blur přes tisíce px (drahé na vykreslení). */
    max-height: 600px;
    overflow: hidden;
}
.pricing-lock-wrap.is-locked > :not(.pricing-lock) {
    pointer-events: none;
    user-select: none;
    filter: blur(13px);
}
.pricing-lock {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    border-radius: var(--radius-card);
    background: rgba(27, 58, 92, 0.32);
}
.pricing-lock__box {
    max-width: 460px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(27, 58, 92, 0.08);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 44px);
    box-shadow: 0 24px 70px rgba(16, 32, 56, 0.28);
}
.pricing-lock__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-orange);
    background: rgba(242, 95, 34, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.pricing-lock__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin: 0 0 10px;
}
.pricing-lock__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #51627a;
}

/* Responsive: single column, tabs above panel on mobile */
@media (max-width: 860px) {
    .hp-features__layout { grid-template-columns: 1fr; }
    .hp-tablist { order: -1; }
}

/* ==========================================================================
   Features page (fn-*) — Redesign B
   ========================================================================== */

/* ---- Hero ---- */
.fn-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 11vw, 80px) 0 clamp(77px, 11vw, 140px);
    background: var(--color-navy-dark);
    color: #fff;
    text-align: center;
}
.fn-hero__glow--orange {
    position: absolute;
    right: -10%; top: -30%;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.28), rgba(242,95,34,0.04) 45%, transparent 70%);
    pointer-events: none;
}
.fn-hero__bg-mark {
    position: absolute;
    right: -6%; bottom: -22%;
    width: min(46vw, 560px);
    opacity: .05;
    pointer-events: none;
    transform: rotate(-8deg);
    background: url('/images/logo-mark-white.svg') center/contain no-repeat;
    aspect-ratio: 1;
}
.fn-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: fn-rise 0.6s ease both;
}
.fn-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 14px auto 18px;
    max-width: 20ch;
}
.fn-hero__perex {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.6;
}
@keyframes fn-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ---- Compare wrap (overlaps hero bottom) ---- */
.fn-compare-wrap { background: #fff; position: relative; }
.fn-compare { padding: 0 0 40px; }
.fn-compare .container { position: relative; z-index: 2; transform: translateY(-72px); }
.fn-compare__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 16px;
    align-items: stretch;
}

/* ---- Compare cards ---- */
.fn-compare-card {
    padding: clamp(18px, 5.5vw, 36px);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-compare-card--light {
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}
.fn-compare-card--dark {
    background: var(--color-navy);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 -12px 40px -8px rgba(0,0,0,0.45), 0 30px 60px -20px rgba(19,41,75,0.6);
    position: relative;
    overflow: hidden;
}
.fn-compare-card__glow {
    position: absolute;
    right: -80px; top: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.35), transparent 70%);
    pointer-events: none;
}
.fn-compare-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fn-compare-card__head--rel { position: relative; }
.fn-compare-card__h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
    letter-spacing: -0.02em;
}
.fn-compare-card--dark .fn-compare-card__h2 { color: #fff; }
.fn-compare-card__body { margin: 0; font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }
.fn-compare-card__body--light { color: rgba(255,255,255,0.75); }

/* ---- Badges ---- */
.fn-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.fn-badge--gray { background: #F1F3F5; color: var(--color-navy); }
.fn-badge--orange { background: var(--color-orange); color: #fff; }
.fn-badge--green { background: #E8F7EE; color: var(--color-success); }
.fn-badge--sm { font-size: 11px; padding: 3px 8px; }

/* ---- Diagrams ---- */
.fn-diagram {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--color-bg-section);
}
.fn-diagram--three {
    grid-template-columns: auto minmax(12px, 1fr) auto minmax(12px, 1fr) auto;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}
.fn-diagram__icon {
    width: 64px; height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fn-diagram__icon--light { background: #fff; border: 1px solid var(--color-border); }
.fn-diagram__icon--dark { background: var(--color-navy); color: #fff; }
.fn-diagram__icon--white-bg { width: 56px; height: 56px; background: #fff; }
.fn-diagram__icon--orange { width: 56px; height: 56px; background: var(--color-orange); }
.fn-diagram__line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.fn-diagram__label { font-size: 12px; color: var(--color-text-tertiary); white-space: nowrap; }
.fn-diagram__dash {
    width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 14px);
}
.fn-diagram__dash--navy { color: var(--color-navy); }
.fn-diagram__dash--orange { color: var(--color-orange); }
.fn-diagram__mid, .fn-diagram__end {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.fn-diagram__sub { font-size: 11px; color: rgba(255,255,255,0.7); text-align: center; max-width: 84px; line-height: 1.3; }

/* ---- Checklists ---- */
.fn-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    font-size: 14px;
    color: var(--color-navy);
}
.fn-checklist li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.fn-checklist li::before {
    content: '';
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B3A5C' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fn-checklist--orange li::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F25F22' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.fn-checklist--cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- Chips ---- */
.fn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.fn-chip {
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
}
.fn-chip--ghost {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 13px;
    color: #fff;
}
.fn-chip--ghost:hover { background: rgba(255,255,255,0.18); }

/* ---- Link with underline ---- */
.fn-link-underline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    align-self: flex-start;
    padding-bottom: 1px;
}
.fn-link-underline--navy { color: var(--color-navy); }
.fn-link-underline:hover { color: var(--color-orange); }

/* ---- Chapters section ---- */
.fn-chapters { padding: 0 0 40px; }
.fn-chapters__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(34px, 8vw, 56px);
}
.fn-chapters__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 12px 0;
}
.fn-chapters__perex { font-size: 16px; color: var(--color-text-secondary); margin: 0; }
.fn-chapters__list { display: flex; flex-direction: column; gap: 24px; }

/* ---- Individual chapter ---- */
.fn-chapter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #fff;
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-chapter--border-top { margin-top: 24px; }
.fn-chapter__text {
    padding: clamp(22px, 5.5vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    order: 1;
}
.fn-chapter--reverse .fn-chapter__text { order: 1; }
.fn-chapter__h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.fn-chapter__body { margin: 0; font-size: 15px; color: var(--color-text-secondary); line-height: 1.65; }
.fn-chapter__points {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--color-navy);
}
.fn-chapter__points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.fn-chapter__points li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
    margin-top: 8px;
}
.fn-chapter__plans { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.fn-plan-chip {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-navy);
}
.fn-chapter__visual {
    background: var(--color-bg-section);
    padding: clamp(22px, 5.5vw, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}
.fn-chapter--reverse .fn-chapter__visual { order: 0; }

/* ---- Analytics card mockup ---- */
.fn-analytics-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-navy-dark);
    color: #fff;
    border-radius: var(--radius-card);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-panel);
}
.fn-analytics-card__meta { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); }
.fn-analytics-card__growth { color: #7BE0A3; font-weight: 700; }
.fn-analytics-card__bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 90px;
}
.fn-analytics-card__bars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(242,95,34,0.55);
    min-height: 4px;
}
.fn-analytics-card__bar--hi { background: var(--color-orange); }
.fn-analytics-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.fn-analytics-stat {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}
.fn-analytics-stat__val { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.fn-analytics-card__target {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    font-size: 12px;
    flex-wrap: wrap;
}
.fn-analytics-card__target-label { color: rgba(255,255,255,0.6); }
.fn-analytics-card__target-url { color: var(--color-orange-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

/* ---- UTM card mockup ---- */
.fn-utm-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: var(--radius-card);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fn-utm-card__title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--color-navy); }
.fn-utm-card__rows { display: flex; flex-direction: column; gap: 6px; }
.fn-utm-row {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--color-bg-section);
    font-size: 13px;
    align-items: center;
}
.fn-utm-row__label { color: var(--color-text-tertiary); min-width: 110px; }
.fn-utm-row__val { color: var(--color-navy); font-weight: 600; }
.fn-utm-row__val--orange { color: var(--color-orange); }
.fn-utm-card__preview {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--color-bg-section);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fn-utm-card__preview-label { color: var(--color-text-tertiary); }
.fn-utm-card__preview-url { color: var(--color-navy); word-break: break-all; line-height: 1.4; }

/* ---- Phone mockup ---- */
.fn-phone {
    width: 160px;
    height: 320px;
    border-radius: 28px;
    background: var(--color-navy-dark);
    padding: 10px;
    box-shadow: var(--shadow-panel);
    flex-shrink: 0;
}
.fn-phone--tall { width: 200px; height: 400px; }
.fn-phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #fff;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    overflow: hidden;
}
.fn-phone__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--color-navy); margin-top: 8px; }
.fn-phone__name-line { height: 10px; width: 110px; border-radius: 5px; background: var(--color-navy); }
.fn-phone__sub-line { height: 7px; width: 80px; border-radius: 4px; background: var(--color-border-mid); }
.fn-phone__btn { width: 100%; height: 32px; border-radius: 8px; }
.fn-phone__btn--primary { background: var(--color-orange); margin-top: 8px; }
.fn-phone__btn--secondary { background: var(--color-bg-section); border: 1px solid var(--color-border); }
.fn-phone__img-placeholder { width: 100%; height: 64px; border-radius: 8px; background: var(--color-border); margin-top: 4px; }

/* ---- Micro site wrap ---- */
.fn-micro-wrap { display: flex; gap: 20px; align-items: center; justify-content: center; }
.fn-micro-blocks { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex-shrink: 1; }
.fn-micro-block {
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: 1.25;
}
.fn-micro-block span {
    width: 14px; height: 14px;
    border-radius: 4px;
    background: var(--color-orange);
    opacity: 0.85;
    flex-shrink: 0;
}

/* ---- vCard mockup ---- */
.fn-vcard-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.fn-phone--tall .fn-phone__screen { padding: 0; flex-direction: column; gap: 0; align-items: stretch; }
.fn-vcard-header {
    background: var(--color-navy);
    padding: 26px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.fn-vcard-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
}
.fn-vcard-name { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 14px; }
.fn-vcard-role { font-size: 11px; color: rgba(255,255,255,0.7); }
.fn-vcard-rows { padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: var(--color-navy); }
.fn-vcard-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--color-bg-section);
}
.fn-vcard-row::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
}
.fn-vcard-save {
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    background: var(--color-orange);
    color: #fff;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
}
.fn-vcard-platforms { display: flex; justify-content: center; gap: 6px; font-size: 10px; color: var(--color-text-tertiary-alt); }
.fn-vcard-meta { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }
.fn-vcard-change, .fn-vcard-stats {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
}
.fn-vcard-change__label { font-size: 11px; color: var(--color-text-tertiary-alt); margin-bottom: 4px; }
.fn-vcard-change__row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.fn-vcard-change__old { text-decoration: line-through; color: #9AA6B2; }
.fn-vcard-change__new { color: var(--color-orange); }
.fn-vcard-stats {
    background: var(--color-navy-dark);
    border-color: transparent;
    color: #fff;
}
.fn-vcard-stats__label { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.fn-vcard-stats__row { display: flex; gap: 14px; font-size: 12px; }
.fn-vcard-stats__row strong { font-size: 16px; }

/* ---- Bulk mockup ---- */
.fn-bulk { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.fn-bulk-csv {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 12px;
}
.fn-bulk-csv__header {
    padding: 8px 12px;
    background: var(--color-bg-section);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-tertiary);
    display: flex;
    justify-content: space-between;
}
.fn-bulk-csv__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 6px;
    padding: 7px 12px;
    border-bottom: 1px solid #EEF1F4;
    color: var(--color-text-secondary);
}
.fn-bulk-csv__row--head { color: var(--color-navy); font-weight: 700; }
.fn-bulk-csv__row--hi { color: var(--color-orange); font-weight: 700; }
.fn-bulk-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-tertiary);
    justify-content: center;
    flex-wrap: wrap;
}
.fn-bulk-qrs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 8px;
}
.fn-bulk-qr {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-navy);
}

/* ---- URL Shortener ---- */
.fn-shortener {
    padding: 40px 0 clamp(53px, 11vw, 96px);
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-shortener__card {
    border-radius: var(--radius-card);
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    padding: clamp(20px, 5.5vw, 40px) clamp(20px, 5.5vw, 44px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 32px;
    align-items: center;
}
.fn-shortener__h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 12px 0 10px;
    letter-spacing: -0.02em;
}
.fn-shortener__body { margin: 0; font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }
.fn-shortener__demo {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fn-shortener__row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    flex-wrap: wrap;
}
.fn-shortener__row-label { color: var(--color-text-tertiary-alt); white-space: nowrap; }
.fn-shortener__row-val { color: var(--color-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.fn-shortener__row-val--strong { color: var(--color-navy); font-size: 15px; }

/* ---- Security section ---- */
.fn-security {
    padding: 0 0 clamp(35px, 11vw, 64px);
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-security__card {
    border-radius: var(--radius-card);
    background: var(--color-navy-dark);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    overflow: hidden;
    position: relative;
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-security__glow {
    position: absolute;
    left: -120px; bottom: -160px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.35), transparent 70%);
    pointer-events: none;
}
.fn-security__text {
    padding: clamp(24px, 5.5vw, 48px);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fn-security__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #fff;
}
.fn-security__body { margin: 0; font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 52ch; }
.fn-security .fn-checklist { color: #fff; }
.fn-security__panel {
    padding: clamp(24px, 5.5vw, 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,0.03);
    border-left: 1px solid rgba(255,255,255,0.08);
}

/* Security check card */
.fn-sec-card {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-card);
    background: #fff;
    color: var(--color-navy);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.fn-sec-card__head { display: flex; align-items: center; gap: 12px; }
.fn-sec-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #E8F7EE;
    color: var(--color-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fn-sec-card__name { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.fn-sec-card__status { font-size: 12px; color: var(--color-success); font-weight: 700; }
.fn-sec-card__rows { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.fn-sec-card__row {
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 9px;
    background: var(--color-bg-section);
}
.fn-sec-card__ok { color: var(--color-success); font-weight: 700; }
.fn-sec-card__neutral { color: var(--color-navy); font-weight: 700; }
.fn-sec-card__action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 9px;
    background: #FFF6F1;
    border: 1px solid var(--color-orange-light);
    font-size: 12px;
}
.fn-sec-card__action-label { color: var(--color-orange-hover); font-weight: 700; }

/* ---- All features grid ---- */
.fn-all {
    padding: 0 0 clamp(53px, 11vw, 96px);
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-all__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-navy);
}
.fn-all__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 12px 0 0;
}
.fn-all__subtitle { font-size: 14px; color: var(--color-text-secondary); margin: 0; max-width: 44ch; }
.fn-all__pricing-link { color: var(--color-orange); font-weight: 600; }
.fn-all-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}
.fn-all-group__meta {
    flex: 1 1 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
}
.fn-all-group__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--color-navy); margin: 0 0 4px; letter-spacing: -0.01em; }
.fn-all-group__count { font-size: 13px; color: var(--color-text-tertiary-alt); }
.fn-all-group__link { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--color-orange); text-decoration: none; }
.fn-all-group__link:hover { color: var(--color-orange-hover); }
.fn-all-group__items {
    flex: 999 1 480px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 4px 28px;
}
.fn-all-item {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.fn-all-item svg { flex-shrink: 0; margin-top: 4px; }
.fn-all-item__name { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 2px; }
.fn-all-item__desc { font-size: 13px; color: var(--color-text-tertiary); line-height: 1.5; }

/* ---- Static types ---- */
.fn-static-types {
    padding: clamp(44px, 11vw, 80px) 0;
    background: var(--color-bg-section);
    border-top: 1px solid var(--color-border);
    scroll-margin-top: clamp(55px, 11vw, 100px);
}
.fn-static-types__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.fn-static-types__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 12px 0 0;
}
.fn-static-types__subtitle { font-size: 15px; color: var(--color-text-secondary); margin: 0; max-width: 40ch; }
.fn-static-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.fn-static-type {
    padding: 18px;
    border-radius: var(--radius-card);
    background: #fff;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fn-static-type__name { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--color-navy); }
.fn-static-type__desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; }

/* ---- FAQ section ---- */
.fn-faq { padding: clamp(53px, 11vw, 96px) 0; }
.fn-faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 48px 64px;
}
.fn-faq__h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 12px 0 16px;
}
.fn-faq__perex { font-size: 16px; color: var(--color-text-secondary); margin: 0 0 20px; }
.fn-faq__list { display: flex; flex-direction: column; }

/* ---- Responsive adjustments ---- */
@media (max-width: 860px) {
    .fn-compare .container { transform: translateY(-48px); }
    .fn-chapter { grid-template-columns: 1fr; }
    .fn-chapter__text { order: 1 !important; }
    .fn-chapter__visual { order: 2 !important; }
    .fn-micro-wrap { flex-direction: column; align-items: center; }
    .fn-vcard-wrap { flex-direction: column; align-items: center; }
    .fn-all__head { flex-direction: column; align-items: flex-start; }
    .fn-all-group__meta { max-width: none; }
    .fn-static-types__head { flex-direction: column; align-items: flex-start; }
    .fn-security .fn-checklist--cols { grid-template-columns: 1fr; }
    .fn-security__panel { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ==========================================================================
   Pricing page — Task E3 (cp-* namespace)
   ========================================================================== */

/* ── Hero ── */
.cp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 11vw, 80px) 0 clamp(66px, 11vw, 120px);
    background: var(--color-navy-dark);
    color: #fff;
}
.cp-hero__glow {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.28), rgba(242,95,34,0.04) 45%, transparent 70%);
    pointer-events: none;
}
.cp-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: rise .6s ease both;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.cp-hero__kicker { color: #FF6A39; margin-bottom: 14px; }
.cp-hero__h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 auto 18px;
    max-width: 18ch;
    color: #fff;
}
.cp-hero__perex {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    max-width: 50ch;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ── Toggle ── */
.cp-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    gap: 4px;
}
.cp-toggle__btn {
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: rgba(255,255,255,0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 150ms, color 150ms;
}
.cp-toggle__btn--active {
    background: #fff;
    color: var(--color-navy);
}
.cp-toggle__badge {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--color-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* ── Plan cards wrap ── */
.cp-plans-wrap { background: #fff; position: relative; }
.cp-plans-inner { transform: translateY(-64px); }
.cp-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* ── Plan card ── */
.cp-plan {
    padding: clamp(16px, 5.5vw, 32px);
    border-radius: var(--radius-card);
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-navy);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
}
.cp-plan--featured {
    background: var(--color-navy);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 -12px 40px -8px rgba(0,0,0,0.45), 0 30px 60px -20px rgba(19,41,75,0.6);
}
.cp-plan__badge {
    position: absolute;
    top: -12px;
    left: 32px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.cp-plan__name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 14px;
}
.cp-plan__price-wrap { margin-bottom: 6px; }
.cp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.cp-price-val {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.cp-plan__currency { font-size: 18px; font-weight: 700; }
.cp-plan__per { font-size: 14px; opacity: 0.7; margin-bottom: 22px; }
.cp-plan--featured .cp-plan__per { opacity: 0.75; }
.cp-plan__desc { font-size: 14px; opacity: 0.75; margin: 0 0 22px; }
.cp-plan__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.cp-plan__feat {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cp-check-icon { flex-shrink: 0; margin-top: 3px; }
.cp-plan--featured .cp-check-icon { stroke: #FF6A39; }
.cp-plan__feat--hi { font-weight: 600; }
.cp-plan__cta {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    padding: 13px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
    transition: background 150ms, color 150ms;
}
.cp-plan__cta:hover { background: var(--color-bg-section); }
.cp-plan__cta--primary {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
    box-shadow: var(--shadow-cta);
}
.cp-plan__cta--primary:hover { background: var(--color-orange-hover); border-color: var(--color-orange-hover); }

/* ── Individual card ── */
.cp-individual {
    margin-top: 16px;
    padding: clamp(20px, 5.5vw, 32px);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
    background: var(--color-bg-section);
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
    justify-content: space-between;
}
.cp-individual__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cp-individual__body {
    flex: 1 1 320px;
    min-width: 0;
}
.cp-individual__head {
    display: flex;
    gap: 4px 10px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.cp-individual__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}
.cp-individual__sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-tertiary);
}
.cp-individual__desc {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.55;
    max-width: 70ch;
}
.cp-individual__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: min(100%, 260px);
}
.cp-btn {
    flex: 1 1 140px;
    display: inline-flex;
    justify-content: center;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms;
}
.cp-btn--navy { background: var(--color-navy); color: #fff; }
.cp-btn--navy:hover { background: #01426A; color: #fff; }
.cp-btn--outline-navy { border: 1px solid var(--color-navy); color: var(--color-navy); background: transparent; }
.cp-btn--outline-navy:hover { background: var(--color-bg-section); }

/* ── Comparison section ── */
.cp-compare { padding: 16px 0 clamp(57px, 11vw, 104px); background: #fff; }
.cp-compare__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}
.cp-compare__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 8px 0 12px;
}
.cp-compare__subtitle { font-size: 16px; color: var(--color-text-secondary); margin: 0; }
.cp-compare__note { margin: 16px 0 0; font-size: 13px; color: var(--color-text-tertiary-alt); text-align: center; }

/* ── Mobile tabs ── */
.cp-mobile-tabs {
    display: none;
    position: sticky;
    top: 68px;
    z-index: 6;
    background: #fff;
    padding: 10px 0;
    margin: 0 0 6px;
    box-shadow: 0 10px 16px -12px rgba(19,41,75,0.25);
}
.cp-mobile-tab {
    padding: 10px 4px;
    border-radius: var(--radius-pill);
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    color: var(--color-text-secondary);
    transition: background 150ms, color 150ms, box-shadow 150ms;
}
.cp-mobile-tab--active {
    background: #fff;
    color: var(--color-navy);
    box-shadow: 0 2px 8px rgba(19,41,75,0.15);
}

/* ── Table ── */
.cp-tbl-wrap {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    overflow: hidden;
}
.cp-tbl-head {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr));
    position: sticky;
    top: 69px;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    overflow: hidden;
}
.cp-tbl-head__label {
    padding: 18px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}
.cp-tbl-head__col {
    padding: 14px 12px;
    text-align: center;
    border-left: 1px solid #EEF1F4;
}
.cp-col--featured { background: #FFF6F1; }
.cp-tbl-head__name {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-navy);
}
.cp-col--featured .cp-tbl-head__name { color: var(--color-orange-hover); }
.cp-tbl-head__price {
    font-size: 12px;
    color: var(--color-text-tertiary-alt);
}
.cp-col--featured .cp-tbl-head__price { color: var(--color-orange-hover); }

.cp-tbl-group-head {
    padding: 12px 24px;
    background: var(--color-bg-section);
    border-bottom: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-navy);
}
.cp-tbl-row {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr));
    border-bottom: 1px solid #EEF1F4;
    align-items: center;
    transition: background 150ms;
}
.cp-tbl-row:hover { background: #FAFBFC; }
.cp-tbl-row__label {
    padding: 14px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cp-tbl-row__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 150ms;
}
.cp-tbl-row__link:hover { color: var(--color-orange); }
.cp-tbl-row__link svg { opacity: 0.5; flex-shrink: 0; }
.cp-tbl-row__note { font-size: 12px; color: var(--color-text-tertiary-alt); }
.cp-tbl-cell {
    padding: 14px 12px;
    text-align: center;
    border-left: 1px solid #EEF1F4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}
.cp-cell-yes {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E8F7EE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cp-cell-no {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F1F3F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cp-cell-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
}

/* Table CTA row */
.cp-tbl-cta-row {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr));
    background: #fff;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    overflow: hidden;
}
.cp-tbl-cta-row__spacer { padding: 20px 24px; }
.cp-tbl-cta-row__col {
    padding: 16px 12px;
    border-left: 1px solid #EEF1F4;
    display: flex;
    justify-content: center;
}
.cp-tbl-cta-btn {
    display: inline-flex;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
    white-space: nowrap;
    transition: background 150ms;
}
.cp-tbl-cta-btn:hover { background: var(--color-bg-section); }
.cp-tbl-cta-btn--primary { background: var(--color-orange); color: #fff; border-color: var(--color-orange); }
.cp-tbl-cta-btn--primary:hover { background: var(--color-orange-hover); border-color: var(--color-orange-hover); }
.cp-tbl-cta-btn--navy { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.cp-tbl-cta-btn--navy:hover { background: #01426A; }

/* ── FAQ ── */
.cp-faq { padding: clamp(53px, 11vw, 96px) 0; }
.cp-faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 48px 64px;
}
.cp-faq__intro {}
.cp-faq__h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 8px 0 16px;
}
.cp-faq__perex { font-size: 16px; color: var(--color-text-secondary); margin: 0 0 20px; }
.cp-faq__all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
}
.cp-faq__list { display: flex; flex-direction: column; }

/* ── CTA section ── */
.cp-cta-section { padding: 0 0 clamp(57px, 11vw, 104px); background: #fff; }
.cp-cta-card {
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #F25F22, #FF6A39);
    padding: clamp(32px, 5.5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.cp-cta-card__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 12px;
}
.cp-cta-card__perex { margin: 0; font-size: 17px; color: rgba(255,255,255,0.9); }
.cp-cta-card__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    background: var(--color-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms;
}
.cp-cta-card__btn:hover { background: #01426A; color: #fff; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .cp-plans-inner { transform: translateY(-48px); }
    .cp-mobile-tabs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        padding: 14px var(--page-padding);
        background: #fff;
    }
    .cp-tbl-head {
        grid-template-columns: minmax(0, 1fr) 104px;
        top: 128px;
    }
    .cp-tbl-row { grid-template-columns: minmax(0, 1fr) 104px; }
    .cp-tbl-cta-row { grid-template-columns: minmax(0, 1fr); }
    .cp-tbl-cta-row__spacer { display: none; }
    .cp-tbl-row__label { padding: 12px 14px; }
}

/* ==========================================================================
   USE CASES INDEX PAGE  (uc-*)
   ========================================================================== */

/* ── Hero ── */
.uc-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 11vw, 72px) 0 clamp(83px, 11vw, 150px);
    background: var(--color-navy-dark);
    color: #fff;
}
.uc-hero__glow-left {
    position: absolute;
    left: -15%;
    bottom: -45%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
    pointer-events: none;
}
.uc-hero__glow-right {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.28), rgba(242,95,34,0.04) 45%, transparent 70%);
    pointer-events: none;
}
.uc-hero__bg-mark {
    position: absolute;
    right: -6%;
    bottom: -22%;
    width: min(46vw, 560px);
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(-8deg);
    background: url('/assets/images/qr-mark-white.svg') no-repeat center / contain;
    aspect-ratio: 1;
}
.uc-hero__inner {
    position: relative;
    text-align: center;
    animation: rise 0.6s ease both;
}
.uc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 14px auto 14px;
    max-width: 20ch;
    color: #fff;
}
.uc-hero__perex {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Body wrapper ── */
.uc-body {
    background: #fff;
    position: relative;
}

/* ── Directory cards grid ── */
.uc-directory {
    padding: 0 0 32px;
}
.uc-directory__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    transform: translateY(-90px);
    margin-bottom: -90px;
    position: relative;
    z-index: 2;
}
.uc-dir-card {
    padding: 22px;
    border-radius: var(--radius-card);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px -24px rgba(19, 41, 75, 0.35);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
    transition: border-color 150ms, transform 150ms;
}
.uc-dir-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-3px);
}
.uc-dir-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.uc-dir-card__name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
}
.uc-dir-card__tagline {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    flex: 1;
}
.uc-dir-card__cta {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-orange);
}

/* ── Industry sections ── */
.uc-industry {
    scroll-margin-top: clamp(50px, 11vw, 90px);
    padding: clamp(44px, 11vw, 80px) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}
.uc-industry--alt {
    background: var(--color-bg-section);
}
.uc-industry__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 48px;
    align-items: start;
}
.uc-industry__left {
    position: sticky;
    top: 96px;
}
.uc-industry__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 12px 0 18px;
}
.uc-industry__perex {
    font-size: 16px;
    line-height: 1.7;
    color: #3D4F63;
    margin: 0 0 20px;
}
.uc-industry__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 22px;
}
.uc-industry__features-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-right: 4px;
    align-self: center;
}
.uc-industry__guide-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
    transition: color 150ms;
}
.uc-industry__guide-link:hover {
    color: var(--color-orange);
}

/* ── Case card (right column) ── */
.uc-case-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-card);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px -24px rgba(19, 41, 75, 0.2);
    transition: border-color 150ms, box-shadow 150ms;
}
.uc-case-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 16px 40px rgba(27, 58, 92, 0.08);
}
.uc-case-card__body {
    flex: 1;
}
.uc-case-card__title {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}
.uc-case-card__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}
.uc-case-card__link {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-orange);
    text-decoration: none;
    border-bottom: 1px solid var(--color-orange);
    transition: color 150ms;
}
.uc-case-card__link:hover {
    color: var(--color-orange-hover);
    border-color: var(--color-orange-hover);
}

/* ── Missing industry banner ── */
.uc-missing {
    padding: clamp(35px, 11vw, 64px) 0 clamp(53px, 11vw, 96px);
    border-top: 1px solid var(--color-border);
}
.uc-missing__card {
    border-radius: var(--radius-card);
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    padding: clamp(18px, 5.5vw, 36px) clamp(18px, 5.5vw, 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
    justify-content: space-between;
}
.uc-missing__h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 6px;
}
.uc-missing__p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}
.uc-missing__btn {
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    background: var(--color-navy);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms;
}
.uc-missing__btn:hover {
    background: #01426A;
    color: #fff;
}

/* ── Empty state ── */
.uc-empty {
    padding: clamp(64px, 11vw, 112px) 0;
}
.uc-empty__wrap {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.uc-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}
.uc-empty__h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
}
.uc-empty__p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}
.uc-empty__examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .uc-directory__grid {
        transform: translateY(-60px);
        margin-bottom: -60px;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    .uc-industry__left {
        position: static;
    }
    .uc-industry__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* === Use Case Detail (E5) === */

/* Reading progress bar */
.uc-detail-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #F25F22;
    z-index: 200;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* Dark hero */
.uc-detail-hero {
    position: relative;
    background: #13294B;
    color: #fff;
    padding: 52px 0 96px;
    overflow: hidden;
}

.uc-detail-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(242,95,34,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(19,41,75,0.5) 0%, transparent 60%);
    pointer-events: none;
}

/* Breadcrumb in hero */
.uc-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.uc-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.uc-detail-breadcrumb a:hover {
    color: #fff;
}

.uc-detail-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
}

.uc-detail-breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero content */
.uc-detail-hero-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.uc-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242, 95, 34, 0.18);
    border: 1px solid rgba(242, 95, 34, 0.4);
    color: #F97544;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.uc-detail-kicker-icon {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

.uc-detail-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 18px;
}

.uc-detail-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 24px;
    max-width: 680px;
}

.uc-detail-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.uc-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Two-column layout body */
.uc-detail-body {
    position: relative;
    z-index: 2;
    padding: 0 0 64px;
    margin-top: -88px;
}

.uc-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

/* Article card */
.uc-detail-article {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E6EAEE;
    box-shadow: 0 24px 60px -24px rgba(19, 41, 75, 0.35);
    overflow: hidden;
    min-width: 0;
}

.uc-detail-hero-img {
    height: 280px;
    background: linear-gradient(135deg, #EEF1F4 0%, #E0E6EF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.uc-detail-hero-img-icon {
    width: 80px;
    height: 80px;
    opacity: 0.25;
    filter: grayscale(1);
}

.uc-detail-article-content {
    padding: 44px clamp(1.25rem, 4vw, 3rem);
}

/* Use case sections inside article */
.uc-detail-article-content .use-case-sections .section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.uc-detail-article-content .use-case-sections .section .container {
    padding: 0;
}

/* Inline CTA in article */
.uc-detail-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #13294B 0%, #1e3f6b 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 40px 0 0;
    flex-wrap: wrap;
}

.uc-detail-inline-cta-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.uc-detail-inline-cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Article footer */
.uc-detail-article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #E6EAEE;
}

.uc-detail-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-detail-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F25F22, #13294B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.uc-detail-author-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1C2B3A;
}

.uc-detail-author-label {
    display: block;
    font-size: 12px;
    color: #8A97A5;
}

/* Sidebar */
.uc-detail-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* TOC panel */
.uc-detail-toc-panel,
.uc-detail-share-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E6EAEE;
    padding: 20px;
}

.uc-detail-panel-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A97A5;
    margin: 0 0 14px;
}

.uc-detail-toc {
    display: flex;
    flex-direction: column;
    border-left: 2px solid #EEF1F4;
}

.uc-toc-item {
    display: block;
    padding: 6px 0 6px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    font-size: 13px;
    color: #5B6B7D;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.15s, border-color 0.15s;
}

.uc-toc-item:hover {
    color: #F25F22;
    border-left-color: rgba(242, 95, 34, 0.4);
}

.uc-toc-item.is-active {
    color: #F25F22;
    border-left-color: #F25F22;
    font-weight: 700;
}

/* Share panel */
.uc-detail-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.uc-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E6EAEE;
    background: #fff;
    color: #5B6B7D;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    padding: 0;
}

.uc-share-btn:hover {
    background: #F7F9FC;
    border-color: #BCC5CF;
    color: #1C2B3A;
}

.uc-share-btn--linkedin:hover { color: #0A66C2; }
.uc-share-btn--twitter:hover { color: #000; }
.uc-share-btn--facebook:hover { color: #1877F2; }

.uc-copy-feedback {
    font-size: 12px;
    color: #1E7A46;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sidebar CTA card */
.uc-detail-sidebar-cta {
    background: #13294B;
    border-radius: 14px;
    padding: 20px;
    color: #fff;
}

.uc-detail-sidebar-cta-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.uc-detail-sidebar-cta-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 16px;
    line-height: 1.5;
}

.uc-detail-sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F25F22;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 9px 16px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.uc-detail-sidebar-cta-btn:hover {
    background: #D94F16;
}

/* Related section */
.uc-detail-related {
    padding: 56px 0 64px;
    background: #F7F9FC;
    border-top: 1px solid #E6EAEE;
}

/* Mobile responsive */
@media (max-width: 860px) {
    .uc-detail-hero {
        padding: 40px 0 80px;
    }

    .uc-detail-body {
        margin-top: -60px;
    }

    .uc-detail-layout {
        grid-template-columns: 1fr;
    }

    .uc-detail-sidebar {
        position: static;
        order: -1;
    }

    .uc-detail-toc-panel {
        display: none;
    }

    .uc-detail-hero-img {
        height: 210px;
    }

    .uc-detail-inline-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .uc-detail-article-content {
        padding: 28px 20px;
    }
}

@media (max-width: 560px) {
    .uc-detail-hero {
        padding: 32px 0 72px;
    }

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

    .uc-detail-hero-subtitle {
        font-size: 16px;
    }
}

/* ==========================================================================
   Blog index — Redesign B
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 11vw, 72px) 0 clamp(66px, 11vw, 120px);
    background: var(--color-navy-dark);
    color: #fff;
    animation: rise .6s ease both;
}

.blog-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.blog-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 32px;
    align-items: end;
}

.blog-hero__badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-orange-light);
    margin-bottom: 14px;
}

.blog-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0 0 14px;
    color: #fff;
}

.blog-hero__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 50ch;
    margin: 0;
    line-height: 1.6;
}

/* ── Search & filter controls ──────────────────────────────────────────── */
.blog-controls {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    height: 52px;
    border-radius: 999px;
    background: #fff;
    color: var(--color-navy);
    border: 1px solid #fff;
}

.blog-search svg {
    flex-shrink: 0;
    color: var(--color-navy);
}

.blog-search__input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 15px;
    color: var(--color-navy);
    background: transparent;
    min-width: 0;
    font-family: var(--font-body);
}

.blog-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-chip {
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background .15s, border-color .15s;
}

.blog-chip:hover {
    background: rgba(255, 255, 255, 0.12);
}

.blog-chip--active,
.blog-chip[data-active="true"] {
    background: var(--color-orange);
    border-color: var(--color-orange);
}

/* ── Content area ──────────────────────────────────────────────────────── */
.blog-content {
    background: #fff;
    position: relative;
}

/* ── Featured card ─────────────────────────────────────────────────────── */
.blog-featured-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
    transform: translateY(-56px);
    margin-bottom: -32px;
}

.blog-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 60px -24px rgba(19, 41, 75, 0.35);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s;
}

.blog-featured:hover {
    border-color: var(--color-orange);
}

.blog-featured__image-wrap {
    min-height: 320px;
    background: var(--color-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-featured__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured__image-placeholder {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, var(--color-bg-subtle) 0%, #e8ecf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border-mid);
}

.blog-featured__body {
    padding: clamp(20px, 5.5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-featured__meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-featured__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.blog-featured__excerpt {
    margin: 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

.blog-featured__cta {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    border-bottom: 2px solid var(--color-orange);
    align-self: flex-start;
    padding-bottom: 1px;
}

/* ── Article list section ──────────────────────────────────────────────── */
.blog-list {
    padding: 0 0 clamp(35px, 11vw, 64px);
}

.blog-list__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.blog-list__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-list__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
}

.blog-list__count {
    font-size: 13px;
    color: var(--color-text-tertiary-alt);
}

.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ── Article card ──────────────────────────────────────────────────────── */
.blog-acard {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.blog-acard:hover {
    border-color: var(--color-orange);
    box-shadow: 0 16px 40px rgba(27, 58, 92, 0.08);
    transform: translateY(-3px);
}

.blog-acard__img {
    height: 190px;
    background: var(--color-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-acard__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-acard__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-acard__cat {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-orange-bg);
    color: var(--color-orange-hover);
    font-size: 12px;
    font-weight: 700;
}

.blog-acard__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
}

.blog-acard__excerpt {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-acard__meta {
    margin-top: auto;
    font-size: 12px;
    color: var(--color-text-tertiary-alt);
}

/* ── Empty state ───────────────────────────────────────────────────────── */
.blog-empty {
    text-align: center;
    padding: clamp(35px, 11vw, 64px) 0;
    color: var(--color-text-tertiary-alt);
    display: none;
}

.blog-empty.is-visible {
    display: block;
}

.blog-empty__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
}

/* ── Redesign B pagination ─────────────────────────────────────────────── */
.blog-pager {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.blog-pager__item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.blog-pager__item:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.blog-pager__item--active {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

.blog-pager__item--disabled {
    color: #C9D1D9;
    pointer-events: none;
}

/* ── Blog CTA strip ────────────────────────────────────────────────────── */
.blog-cta-section {
    padding: 0 0 clamp(57px, 11vw, 104px);
    background: #fff;
}

.blog-cta-section .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.blog-cta-strip {
    border-radius: 14px;
    background: linear-gradient(135deg, #F25F22, #FF6A39);
    padding: clamp(32px, 5.5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.blog-cta-strip__text {
    position: relative;
}

.blog-cta-strip__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #fff;
    margin: 0 0 12px;
}

.blog-cta-strip__desc {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-cta-strip__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}

.blog-cta-strip__btn:hover {
    background: #01426A;
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .blog-hero__grid {
        grid-template-columns: 1fr;
    }
    .blog-featured-wrap {
        transform: translateY(-40px);
        margin-bottom: -16px;
    }
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .blog-featured__image-placeholder {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .blog-list__grid {
        grid-template-columns: 1fr;
    }
    .blog-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* === Blog Article Page (E7 redesign) === */

/* Progress bar */
.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-orange, #F25F22);
    z-index: 200;
    width: 0%;
    transition: width 0.1s linear;
}

/* Dark hero */
.article-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 clamp(60px, 11vw, 100px);
    background: #13294B;
    color: #fff;
}
.article-hero-bg-circle {
    position: absolute;
    left: -15%;
    bottom: -45%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
    pointer-events: none;
}
.article-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.article-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.15s;
}
.article-breadcrumb a:hover {
    color: #fff;
}
.article-breadcrumb-sep {
    color: rgba(255,255,255,0.3);
}
.article-breadcrumb-current {
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.article-hero-inner {
    position: relative;
    z-index: 1;
}
.article-category-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F25F22;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-decoration: none;
}
.article-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -0.02em;
}
.article-hero-excerpt {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px;
    max-width: 720px;
}
.article-hero-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.article-hero-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-hero-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F25F22;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}
.article-hero-meta-sep {
    color: rgba(255,255,255,0.3);
}
.article-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F25F22;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

/* Body section */
.article-body-section {
    padding: 0 0 clamp(35px, 8vw, 64px);
    background: #fff;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: 28px;
}
@media (min-width: 860px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

/* Article card */
.article-card {
    border-radius: 14px;
    border: 1px solid #E6EAEE;
    background: #fff;
    box-shadow: 0 24px 60px -24px rgba(19,41,75,0.35);
    overflow: hidden;
    min-width: 0;
}
.article-card-image {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}
@media (min-width: 860px) {
    .article-card-image {
        height: 360px;
    }
}
.article-card-image-placeholder {
    width: 100%;
    height: 210px;
    background: linear-gradient(135deg, #1B3A5C 0%, #13294B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 860px) {
    .article-card-image-placeholder {
        height: 360px;
    }
}
.article-card-body {
    padding: 28px 24px;
}
@media (min-width: 640px) {
    .article-card-body {
        padding: 28px 32px;
    }
}

/* Article content typography */
.article-content {
    max-width: none;
    line-height: 1.8;
    color: #3D4F63;
    font-size: 17px;
}
.article-content h2 {
    font-size: clamp(1.3rem, 3vw, 1.625rem);
    font-weight: 800;
    color: #1B3A5C;
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    scroll-margin-top: clamp(5.5rem, 11vw, 6.5rem);
}
.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1B3A5C;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
    scroll-margin-top: clamp(5.5rem, 11vw, 6.5rem);
}
.article-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1B3A5C;
    margin: 1.5rem 0 0.5rem;
    scroll-margin-top: clamp(5.5rem, 11vw, 6.5rem);
}
.article-content p {
    margin: 0 0 1.25rem;
}
.article-content a {
    color: #F25F22;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-content a:hover {
    color: #D86018;
}
.article-content ul,
.article-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: 0.375rem;
}
.article-content strong {
    font-weight: 700;
    color: #1B3A5C;
}
.article-content blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    border-radius: 12px;
    background: #FFF6F1;
    border-left: 4px solid #F25F22;
    font-size: 17px;
    line-height: 1.7;
    color: #1B3A5C;
    font-style: italic;
}
.article-content pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}
.article-content code {
    background: #F5F7FA;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #1B3A5C;
}
.article-content pre code {
    background: none;
    padding: 0;
    font-size: inherit;
    color: inherit;
}
.article-content figure {
    margin: 2rem 0;
}
.article-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.article-content hr {
    border: none;
    border-top: 2px solid #E6EAEE;
    margin: 2.5rem 0;
}

/* Comparison table in content */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E6EAEE;
}
.article-content th {
    padding: 12px 14px;
    background: #13294B;
    color: #fff;
    font-weight: 700;
    text-align: left;
    font-size: 13px;
}
.article-content td {
    padding: 12px 14px;
    border-bottom: 1px solid #E6EAEE;
    color: #3D4F63;
}
.article-content tr:last-child td {
    border-bottom: none;
}
.article-content tr:nth-child(even) td {
    background: #F5F7FA;
}
.article-content td:first-child {
    color: #1B3A5C;
    font-weight: 600;
}

/* FAQ items in content */
.article-content .faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #EEF1F4;
}
.article-content .faq-item:last-child {
    border-bottom: none;
}
.article-content .faq-item-question {
    font-size: 17px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0 0 6px;
    line-height: 1.3;
}
.article-content .faq-item-answer {
    font-size: 16px;
    line-height: 1.7;
    color: #5B6B7D;
}
.article-content .faq-item-answer p:last-child {
    margin-bottom: 0;
}

/* HowTo steps in content */
.article-content .howto-step {
    position: relative;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: #F5F7FA;
    border-radius: 12px;
    border-left: 4px solid #F25F22;
}
.article-content .howto-step-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1B3A5C;
}
.article-content .howto-step-content p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 860px) {
    .article-sidebar {
        position: sticky;
        top: 88px;
        align-self: start;
    }
}

/* Sidebar panels */
.article-panel {
    border-radius: 14px;
    border: 1px solid #E6EAEE;
    background: #fff;
    padding: 20px;
}
.article-panel-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A97A5;
    margin: 0 0 12px;
}

/* TOC panel */
.article-toc {
    display: flex;
    flex-direction: column;
    border-left: 2px solid #EEF1F4;
}
.article-toc-link {
    padding: 6px 0 6px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    font-size: 13px;
    color: #5B6B7D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s, border-color 0.15s;
    line-height: 1.4;
}
.article-toc-link[data-level="3"] {
    padding-left: 28px;
}
.article-toc-link:hover,
.article-toc-link.is-active {
    color: #F25F22;
    border-left-color: #F25F22;
}

/* Share panel */
.article-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.article-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E6EAEE;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5B6B7D;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    text-decoration: none;
}
.article-share-btn:hover {
    border-color: #F25F22;
    color: #F25F22;
}
.article-copy-feedback {
    margin-top: 8px;
    font-size: 12px;
    color: #1E7A46;
    font-weight: 600;
}

/* CTA mini-card */
.article-sidebar-cta {
    border-radius: 14px;
    background: #13294B;
    color: #fff;
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.article-sidebar-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}
.article-sidebar-cta-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px;
    line-height: 1.5;
}
.article-sidebar-cta-btn {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: #F25F22;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: background 0.15s;
}
.article-sidebar-cta-btn:hover {
    background: #FF6A13;
    color: #fff;
}

/* Language switcher in sidebar */
.article-lang-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.article-lang-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    color: #5B6B7D;
    border: 1px solid #E6EAEE;
    background: #fff;
    transition: all 0.15s;
}
.article-lang-link:hover {
    color: #F25F22;
    border-color: #F25F22;
}
.article-lang-link--active {
    color: #fff;
    background: #F25F22;
    border-color: #F25F22;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}
.article-tag {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #E6EAEE;
    font-size: 13px;
    color: #5B6B7D;
}

/* Article footer */
.article-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #EEF1F4;
    display: flex;
    align-items: center;
    gap: 14px;
}
.article-author-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F25F22;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.article-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1B3A5C;
}
.article-author-label {
    font-size: 12px;
    color: #8A97A5;
    display: block;
}

/* Mobile TOC */
.article-toc-mobile {
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #E6EAEE;
    border-radius: 14px;
    overflow: hidden;
}
.article-toc-mobile-toggle {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: #1B3A5C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
}
.article-toc-mobile-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
    color: #8A97A5;
    flex-shrink: 0;
}
.article-toc-mobile-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.article-toc-mobile-body {
    display: none;
    padding: 8px 18px 16px;
    border-top: 1px solid #E6EAEE;
}
.article-toc-mobile-body.is-open {
    display: block;
}
.article-toc-mobile-body a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: #5B6B7D;
    text-decoration: none;
}
.article-toc-mobile-body a:hover {
    color: #F25F22;
}
.article-toc-mobile-body a[data-level="3"] {
    padding-left: 14px;
}
@media (min-width: 860px) {
    .article-toc-mobile {
        display: none;
    }
}

/* Related articles */
.article-related {
    padding: clamp(35px, 11vw, 64px) 0 clamp(53px, 11vw, 96px);
    background: #F5F7FA;
    border-top: 1px solid #E6EAEE;
}
.article-related-header {
    margin-bottom: 28px;
}
.article-related-title {
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #1B3A5C;
    margin: 0;
    letter-spacing: -0.02em;
}
.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.article-related-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E6EAEE;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.article-related-card:hover {
    border-color: #F25F22;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(19,41,75,0.12);
}
.article-related-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.article-related-card-img-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #1B3A5C 0%, #13294B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-related-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.article-related-card-cat {
    font-size: 12px;
    font-weight: 700;
    color: #D86018;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article-related-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0;
    line-height: 1.35;
}
.article-related-card-meta {
    font-size: 12px;
    color: #8A97A5;
    margin-top: auto;
}

/* ==========================================================================
   FAQ Page — Redesign 2026
   ========================================================================== */

/* ── Hero ── */
.faq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 11vw, 80px) 0 clamp(66px, 11vw, 120px);
    background: var(--color-navy-dark);
    color: #fff;
    text-align: center;
}
.faq-hero__glow-left {
    position: absolute;
    left: -15%;
    bottom: -45%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
    pointer-events: none;
}
.faq-hero__glow-right {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.28), rgba(242,95,34,0.04) 45%, transparent 70%);
    pointer-events: none;
}
.faq-hero__inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    animation: rise .6s ease both;
}
.faq-hero__h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0 auto 14px;
    max-width: 20ch;
    color: #fff;
}
.faq-hero__perex {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    max-width: 52ch;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.faq-hero__search-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.faq-hero__search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.faq-hero__search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: #fff;
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
    transition: border-color 0.15s;
}
.faq-hero__search-input:focus {
    border-color: var(--color-orange);
}

/* ── Layout ── */
.faq-content-section {
    background: #fff;
}
.faq-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 72px) clamp(1.25rem, 4vw, 3rem) clamp(53px, 11vw, 96px);
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
}

/* ── Sidebar ── */
.faq-sidebar {
    position: sticky;
    top: 96px;
    min-width: 0;
}
.faq-sidebar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-text-tertiary-alt);
    margin-bottom: 12px;
}
.faq-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.faq-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--color-navy);
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, color .15s, border-color .15s;
}
.faq-sidebar__link:hover {
    background: var(--color-bg-section);
    color: var(--color-orange);
}
.faq-sidebar__count {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-tertiary-alt);
    flex-shrink: 0;
}

/* ── Category sections ── */
.faq-cat-section {
    margin-bottom: clamp(36px, 6vw, 56px);
}
.faq-cat-section__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}
.faq-cat-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--color-navy);
    margin: 0;
}
.faq-cat-section__count {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-orange);
    flex-shrink: 0;
}
.faq-cat-section__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

/* ── FAQ accordion items ── */
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    user-select: none;
}
.faq-item__q::-webkit-details-marker {
    display: none;
}
.faq-item__plus {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-border-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease-smooth, ease);
    line-height: 1;
}
.faq-item[open] .faq-item__plus {
    transform: rotate(45deg);
}
.faq-item__a {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 68ch;
}

/* ── Empty state ── */
.faq-empty-state {
    padding: 48px 24px;
    border-radius: 14px;
    background: var(--color-bg-section);
    text-align: center;
    margin-bottom: 32px;
}
.faq-empty-state__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
}
.faq-empty-state__text {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ── Contact box ── */
.faq-contact-box {
    border-radius: 14px;
    background: var(--color-navy-dark);
    color: #fff;
    padding: clamp(22px, 5vw, 36px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.faq-contact-box__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}
.faq-contact-box__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}
.faq-contact-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.faq-contact-box__btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.faq-contact-box__btn--primary {
    background: var(--color-orange);
    color: #fff;
}
.faq-contact-box__btn--primary:hover {
    background: var(--color-orange-hover);
    color: #fff;
}
.faq-contact-box__btn--outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}
.faq-contact-box__btn--outline:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .faq-sidebar {
        position: static;
    }
    .faq-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .faq-sidebar__link {
        padding: 8px 14px;
    }
}

/* ============================================================
   DEVELOPERS PAGE
   ============================================================ */

/* Scroll margin for sticky nav */
.dev-section {
    scroll-margin-top: 90px;
}

/* ── Hero ── */
.dev-hero {
    background: var(--color-navy-dark);
    padding: 96px 0 80px;
}
.dev-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.dev-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    max-width: 720px;
    margin: 0;
}
.dev-hero__perex {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0;
    line-height: 1.65;
}
.dev-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ── Buttons ── */
.dev-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}
.dev-btn--primary {
    background: var(--color-orange);
    color: #fff;
}
.dev-btn--primary:hover {
    background: var(--color-orange-hover);
    color: #fff;
}
.dev-btn--outline {
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
}
.dev-btn--outline:hover {
    border-color: #fff;
    color: #fff;
}
.dev-btn--ghost {
    border: 2px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
}
.dev-btn--ghost:hover {
    border-color: rgba(255,255,255,0.65);
    color: #fff;
}

/* ── Section header ── */
.dev-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.dev-section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 8px 0 16px;
    line-height: 1.2;
}
.dev-section-perex {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Cards grid ── */
.dev-grid-cards {
    display: grid;
    gap: 20px;
}
.dev-grid-cards--4 {
    grid-template-columns: repeat(4, 1fr);
}
.dev-grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Card ── */
.dev-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .15s, transform .15s;
}
.dev-card:hover {
    box-shadow: 0 6px 24px rgba(19,41,75,.10);
    transform: translateY(-2px);
}
/* Cards inside grey sections get white bg by default — they already have it */
[style*="background:var(--color-bg-section)"] .dev-card,
[style*="background: var(--color-bg-section)"] .dev-card {
    background: #fff;
}
.dev-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(242,95,34,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dev-card__logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}
.dev-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}
.dev-card__desc {
    font-size: .9375rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.55;
}
.dev-card--rule {
    gap: 8px;
}
.dev-rule-code {
    display: block;
    margin-top: 6px;
    background: #f0f3f6;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: .8125rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #2d5fa6;
    word-break: break-all;
}

/* ── Quick-start layout ── */
.dev-start-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Steps ── */
.dev-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.dev-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.dev-step__num {
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dev-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 6px;
}
.dev-step__desc {
    font-size: .9375rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.55;
}

/* ── Code block ── */
.dev-code-block {
    background: #0f1923;
    border-radius: 12px;
    overflow: hidden;
}
.dev-code-block--compact {
    flex: 1;
}

/* ── Language tabs ── */
.dev-lang-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    background: #0a1118;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}
.dev-lang-tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.55);
    font-family: var(--font-body);
    font-size: .8125rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.dev-lang-tab:hover {
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
}
.dev-lang-tab.is-active {
    background: var(--color-orange);
    color: #fff;
}
.dev-code-endpoint {
    margin-left: auto;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    white-space: nowrap;
}

/* ── Code panes ── */
.dev-code-pane {
    padding: 0;
}
.dev-code-pane pre {
    margin: 0;
    padding: 22px 22px;
    color: #c9d8ec;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: .8125rem;
    line-height: 1.65;
    overflow-x: auto;
    white-space: pre;
}

/* ── Inline code ── */
.dev-inline-code {
    background: rgba(242,95,34,.1);
    color: var(--color-orange);
    border-radius: 4px;
    padding: 2px 7px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: .875em;
}

/* ── Endpoint table ── */
.dev-endpoint-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}
.dev-endpoint-table thead tr {
    background: var(--color-navy-dark);
    color: rgba(255,255,255,.75);
}
.dev-endpoint-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .875rem;
}
.dev-endpoint-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8edf2;
    color: var(--color-text-secondary);
    vertical-align: middle;
}
.dev-endpoint-table tr:last-child td {
    border-bottom: none;
}
.dev-endpoint-table tr:hover td {
    background: rgba(19,41,75,.03);
}
.dev-endpoint-table tbody {
    background: #fff;
}

/* ── HTTP method badges ── */
.dev-method {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
    font-family: 'Fira Code', 'Consolas', monospace;
    margin-right: 2px;
}
.dev-method--get    { background: #e6f4ec; color: #1a7a3a; }
.dev-method--post   { background: #e8f0fe; color: #1a56db; }
.dev-method--patch  { background: #fef3e2; color: #b35c00; }
.dev-method--delete { background: #fde8e8; color: #c0392b; }

/* ── OpenAPI link ── */
.dev-link-openapi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-orange);
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .12s;
}
.dev-link-openapi:hover {
    border-color: var(--color-orange);
}

/* ── Webhooks layout ── */
.dev-webhook-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Webhook events ── */
.dev-webhook-events {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dev-webhook-event {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.dev-webhook-event__dot {
    width: 10px;
    height: 10px;
    background: var(--color-orange);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.dev-webhook-event__name {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-navy);
}
.dev-webhook-event__desc {
    font-size: .875rem;
    color: var(--color-text-secondary);
    margin-top: 2px;
}
.dev-webhook-sig-note {
    margin-top: 8px;
    font-size: .875rem;
    color: var(--color-text-secondary);
    border-top: 1px solid #e8edf2;
    padding-top: 14px;
    line-height: 1.55;
}

/* ── Errors box ── */
.dev-errors-box {
    margin-top: 40px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.dev-errors-box__left {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.dev-errors-box__left h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}
.dev-errors-box__left p {
    font-size: .9375rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}
.dev-errors-box .dev-code-block {
    border-radius: 0;
}

/* ── CTA box ── */
.dev-cta-box {
    margin-top: 60px;
    background: var(--color-navy-dark);
    border-radius: 16px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.dev-cta-box__text {
    flex: 1;
    min-width: 240px;
}
.dev-cta-box__title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.dev-cta-box__desc {
    font-size: .9375rem;
    color: rgba(255,255,255,.72);
    margin: 0;
    line-height: 1.55;
}
.dev-cta-box__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .dev-grid-cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .dev-grid-cards--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dev-start-layout,
    .dev-webhook-layout {
        grid-template-columns: 1fr;
    }
    .dev-errors-box {
        grid-template-columns: 1fr;
    }
    .dev-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }
}
@media (max-width: 600px) {
    .dev-grid-cards--4,
    .dev-grid-cards--3 {
        grid-template-columns: 1fr;
    }
    .dev-hero {
        padding: 64px 0 56px;
    }
    .dev-cta-box {
        padding: 24px;
    }
    .dev-endpoint-table {
        font-size: .8125rem;
    }
    .dev-endpoint-table th,
    .dev-endpoint-table td {
        padding: 10px 10px;
    }
}

/* ── About page ── */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px,11vw,80px) 0 clamp(66px,11vw,120px);
    background: var(--color-navy-dark);
    color: #fff;
}
.about-hero__glow {
    position: absolute;
    left: -15%;
    bottom: -45%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
    pointer-events: none;
}
.about-hero__inner {
    position: relative;
}
.about-hero__h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0 0 36px;
    max-width: 18ch;
    text-wrap: balance;
    color: #fff;
}
.about-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.about-stat-card {
    padding: 22px 24px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 -6px 24px -8px rgba(0,0,0,0.25), 0 20px 40px -24px rgba(19,41,75,0.35);
}
.about-stat-card__value {
    font-size: clamp(13px, 2.5vw, 20px);
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}
.about-stat-card__label {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* Section base */
.about-section {
    padding: clamp(53px,11vw,96px) 0;
}
.about-section--white { background: #fff; }
.about-section--gray { background: var(--color-bg-section); }
.about-section__h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-navy);
    margin: 0 0 20px;
}
.about-section__p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0 0 16px;
}
.about-section__p:last-child { margin-bottom: 0; }

/* Story */
.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-team-photo {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8A97A5;
}
.about-team-photo__label {
    font-size: 13px;
    color: #8A97A5;
    text-align: center;
    padding: 0 16px;
}

/* Principles */
.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.about-principle-card {
    padding: 26px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
}
.about-principle-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-orange-bg);
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.about-principle-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 8px;
}
.about-principle-card__desc {
    margin: 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Timeline */
.about-timeline-layout {
    display: grid;
    grid-template-columns: minmax(min(100%, 300px), 1fr) 2fr;
    gap: 40px;
    align-items: start;
}
.about-timeline {
    display: flex;
    flex-direction: column;
}
.about-timeline-row {
    display: grid;
    grid-template-columns: 90px 24px 1fr;
    gap: 16px;
    align-items: start;
}
.about-timeline-year {
    font-weight: 800;
    color: var(--color-orange);
    font-size: 15px;
    padding-top: 2px;
}
.about-timeline-dotcol {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}
.about-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-orange);
    margin-top: 4px;
    flex-shrink: 0;
}
.about-timeline-line {
    flex: 1;
    width: 2px;
    background: #F6D9CB;
    margin: 4px 0;
}
.about-timeline-row--last .about-timeline-dotcol { align-self: auto; }
.about-timeline-content {
    padding-bottom: 28px;
}
.about-timeline-row--last .about-timeline-content { padding-bottom: 0; }
.about-timeline-content__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
}
.about-timeline-content__desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Singula soft */
.about-singula-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.about-singula-cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 2px;
}
.about-singula-cta:hover { color: var(--color-orange); }
.about-singula-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-singula-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-navy);
    font-weight: 600;
}

/* Social */
.about-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.about-social-card {
    padding: 26px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    text-decoration: none;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: border-color 150ms ease;
}
.about-social-card:hover { border-color: var(--color-orange); }
.about-social-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-navy-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-social-card__name {
    display: block;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 15px;
    margin-bottom: 2px;
}
.about-social-card__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* FAQ layout */
.about-faq-layout {
    display: grid;
    grid-template-columns: minmax(min(100%, 300px), 1fr) 2fr;
    gap: 40px;
    align-items: start;
}
.about-faq-sidebar {
    position: sticky;
    top: 90px;
}
.about-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-faq-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 2px;
}
.about-faq-link:hover { color: var(--color-orange); }

/* About FAQ items (override faq-item defaults for this layout) */
.about-faq-accordion .faq-item {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 0 22px;
    background: #fff;
}
.about-faq-accordion .faq-item__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}
.about-faq-accordion .faq-item__q::-webkit-details-marker { display: none; }
.about-faq-accordion .faq-item__plus {
    color: var(--color-orange);
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 200ms ease;
}
.about-faq-accordion .faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.about-faq-accordion .faq-item__a {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Kicker helpers */
.about-kicker { margin-bottom: 14px; }
.about-kicker--hero { color: var(--color-orange-light); margin-bottom: 16px; }

/* Hero title accent */
.about-hero__title-orange { color: var(--color-orange); }

/* Principles header constraint */
.about-principles-header { max-width: 620px; margin-bottom: 40px; }

/* Singula section nudges */
.about-singula-h2 { margin-bottom: 16px; }
.about-singula-p { margin-bottom: 28px; }

/* Social header nudge */
.about-social-header { margin-bottom: 32px; }
.about-social-h2 { margin: 0; }

/* FAQ sidebar nudge */
.about-faq-h2 { margin-bottom: 16px; }

/* Address / location section */
.about-address-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 28px 32px;
    max-width: 480px;
}
.about-address-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-orange-bg);
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-address-body { display: flex; flex-direction: column; gap: 4px; }
.about-address-company {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}
.about-address-line {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

/* Responsive */
@media (max-width: 860px) {
    .about-stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-team-photo {
        order: -1;
    }
    .about-principles-grid {
        grid-template-columns: 1fr;
    }
    .about-timeline-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-singula-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-faq-sidebar {
        position: static;
    }
}
@media (max-width: 540px) {
    .about-stat-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Contact Page Redesign B (ct2b-*)
   ========================================================================== */

/* Hero */
.ct2b-hero {
    position: relative;
    background: var(--color-navy-dark, #13294B);
    padding: clamp(64px, 10vw, 112px) 0 clamp(80px, 12vw, 128px);
    overflow: hidden;
}
.ct2b-hero__glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.ct2b-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ct2b-hero__kicker {
    color: var(--color-orange-light, #FF6A39);
    margin-bottom: 14px;
}
.ct2b-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}
.ct2b-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Page body */
.ct2b-page-body {
    background: #fff;
}

/* Channels (overlap hero) */
.ct2b-channels-section {
    transform: translateY(-56px);
    margin-bottom: -56px;
}
.ct2b-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.ct2b-channel-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 14px;
    padding: 20px 20px 20px 18px;
    box-shadow: 0 2px 12px rgba(19,41,75,0.08);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ct2b-channel-card:hover {
    border-color: var(--color-orange, #F25F22);
    box-shadow: 0 4px 20px rgba(242,95,34,0.1);
}
.ct2b-channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-navy-dark, #13294B);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct2b-channel-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary, #5B6B7D);
    margin-bottom: 3px;
}
.ct2b-channel-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy, #1B3A5C);
    text-decoration: none;
    line-height: 1.4;
}
a.ct2b-channel-value:hover {
    color: var(--color-orange, #F25F22);
}
.ct2b-channel-sub {
    font-size: 12px;
    color: var(--color-text-secondary, #5B6B7D);
    margin-top: 2px;
}

/* Form section */
.ct2b-form-section {
    padding: 40px 0 48px;
}
.ct2b-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

/* Form card */
.ct2b-form-card {
    flex: 2 1 480px;
    background: #fff;
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 14px;
    padding: clamp(18px, 5.5vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ct2b-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ct2b-form-h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-navy-dark, #13294B);
    margin: 0;
    line-height: 1.2;
}
.ct2b-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ct2b-topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.ct2b-topic-chip {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}
.ct2b-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ct2b-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy-dark, #13294B);
    margin-bottom: 2px;
}
.ct2b-input,
.ct2b-textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #D5DBE1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-navy, #1B3A5C);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.ct2b-input:focus,
.ct2b-textarea:focus {
    outline: none;
    border-color: var(--color-orange, #F25F22);
    box-shadow: 0 0 0 3px rgba(242,95,34,0.12);
}
.ct2b-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
}
.ct2b-has-error .ct2b-input,
.ct2b-has-error .ct2b-textarea {
    border-color: #e53e3e;
}
.ct2b-error-msg {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 2px;
}
.ct2b-support-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--color-bg-section, #F5F7FA);
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--color-text-secondary, #5B6B7D);
    line-height: 1.5;
}

/* Consent + submit footer */
.ct2b-form-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ct2b-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.ct2b-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #D5DBE1;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin-top: 1px;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
}
.ct2b-checkbox:checked {
    background: var(--color-orange, #F25F22);
    border-color: var(--color-orange, #F25F22);
}
.ct2b-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 2px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.ct2b-consent-text {
    font-size: 13px;
    color: var(--color-text-secondary, #5B6B7D);
    line-height: 1.5;
}
.ct2b-submit-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.ct2b-reply-time {
    font-size: 13px;
    color: var(--color-text-secondary, #5B6B7D);
    margin: 0;
}
.ct2b-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 99px;
    border: none;
    background: var(--color-orange, #F25F22);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.ct2b-submit-btn:not([disabled]):hover {
    background: var(--color-orange-hover, #D86018);
    transform: translateY(-2px);
}
.ct2b-submit-btn[disabled] {
    background: var(--color-orange-disabled, #F9B79B);
    cursor: not-allowed;
    transform: none;
}

/* Success panel */
.ct2b-success-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 40px 20px;
    text-align: center;
}
.ct2b-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar */
.ct2b-sidebar {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ct2b-sidebar-card {
    background: #fff;
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ct2b-sidebar-card--dark {
    background: var(--color-navy-dark, #13294B);
    border-color: transparent;
    color: #fff;
}
.ct2b-sidebar-kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-orange, #F25F22);
    margin-bottom: 4px;
}
.ct2b-sidebar-kicker--light {
    color: var(--color-orange-light, #FF6A39);
}
.ct2b-operator-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy-dark, #13294B);
    line-height: 1.3;
}
.ct2b-operator-detail {
    font-size: 13px;
    color: var(--color-text-secondary, #5B6B7D);
    line-height: 1.5;
}
.ct2b-operator-court {
    font-size: 12px;
    color: var(--color-text-secondary, #5B6B7D);
    line-height: 1.55;
    margin-top: 4px;
}
.ct2b-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-navy, #1B3A5C);
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.15s ease;
    margin-top: 4px;
}
.ct2b-social-link:hover {
    border-color: var(--color-orange, #F25F22);
    color: var(--color-orange, #F25F22);
}
.ct2b-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
}
.ct2b-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
    flex-shrink: 0;
}
.ct2b-status-label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.ct2b-status-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    margin: 0;
}
.ct2b-status-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-orange-light, #FF6A39);
    text-decoration: none;
    margin-top: 4px;
}
.ct2b-status-link:hover {
    text-decoration: underline;
}

/* Self-service section */
.ct2b-selfservice {
    background: var(--color-bg-section, #F5F7FA);
    padding: 56px 0 72px;
}
.ct2b-selfservice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}
.ct2b-selfservice-h2 {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 800;
    color: var(--color-navy-dark, #13294B);
    margin: 0 0 6px;
}
.ct2b-selfservice-sub {
    font-size: 15px;
    color: var(--color-text-secondary, #5B6B7D);
    margin: 0;
}
.ct2b-selfservice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.ct2b-ss-card {
    background: #fff;
    border: 1px solid var(--color-border, #E6EAEE);
    border-radius: 14px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.ct2b-ss-card:hover {
    border-color: var(--color-orange, #F25F22);
    box-shadow: 0 4px 16px rgba(242,95,34,0.1);
    transform: translateY(-2px);
}
.ct2b-ss-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.ct2b-ss-icon--blue  { background: #EFF6FF; color: #2563EB; }
.ct2b-ss-icon--purple { background: #F5F3FF; color: #7C3AED; }
.ct2b-ss-icon--green  { background: #F0FDF4; color: #16A34A; }
.ct2b-ss-icon--red    { background: #FFF1F2; color: #DC2626; }
.ct2b-ss-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy-dark, #13294B);
    line-height: 1.3;
}
.ct2b-ss-desc {
    font-size: 13px;
    color: var(--color-text-secondary, #5B6B7D);
    line-height: 1.5;
    flex: 1;
}
.ct2b-ss-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-orange, #F25F22);
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 860px) {
    .ct2b-layout {
        flex-direction: column;
    }
    .ct2b-form-card,
    .ct2b-sidebar {
        flex: 1 1 auto;
        width: 100%;
    }
}
@media (max-width: 540px) {
    .ct2b-field-grid {
        grid-template-columns: 1fr;
    }
    .ct2b-channels-grid {
        grid-template-columns: 1fr;
    }
    .ct2b-selfservice-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 360px) {
    .ct2b-selfservice-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Terms of Service page — Redesign B (Task E12)
   ========================================================================== */

/* Hero */
.tos-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 11vw, 80px) 0 clamp(66px, 11vw, 120px);
    background: var(--color-navy-dark);
    color: #fff;
}
.tos-hero__bg-gradient--left {
    position: absolute;
    left: -15%;
    bottom: -45%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,42,68,0.95), rgba(31,42,68,0.5) 40%, transparent 70%);
    pointer-events: none;
}
.tos-hero__bg-gradient--right {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,95,34,0.28), rgba(242,95,34,0.04) 45%, transparent 70%);
    pointer-events: none;
}
.tos-hero__mark {
    position: absolute;
    right: -6%;
    bottom: -22%;
    width: min(46vw, 560px);
    opacity: .05;
    pointer-events: none;
    transform: rotate(-8deg);
}
.tos-hero__mark img {
    width: 100%;
    height: auto;
}
.tos-hero__inner {
    position: relative;
}
.tos-hero .kicker {
    color: #FF6A39;
    margin-bottom: 14px;
}
.tos-hero__title {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 0 0 14px;
    color: #fff;
}
.tos-hero__updated {
    margin: 0;
    font-size: 15px;
    color: rgba(255,255,255,0.65);
}

/* Body section */
.tos-body {
    background: var(--color-bg-section);
    padding: 0 0 clamp(53px, 11vw, 96px);
}
.tos-body__container {
    /* re-use site container; no extra width override needed */
}

/* White panel that lifts over the hero */
.tos-panel {
    margin-top: -72px;
    position: relative;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    box-shadow: 0 -6px 24px -8px rgba(0,0,0,0.18), 0 30px 60px -30px rgba(19,41,75,0.35);
    padding: clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* TOC sidebar */
.tos-toc {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tos-toc__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8A97A5;
    margin: 0 0 8px 10px;
}
.tos-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tos-toc__item {
    display: flex;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: none;
    line-height: 1.4;
    transition: background 150ms ease, color 150ms ease;
}
.tos-toc__item:hover {
    background: var(--color-bg-section);
    color: var(--color-navy);
}
.tos-toc__item.is-active {
    background: #FFF1EA;
    color: var(--color-navy);
}
.tos-toc__text {
    flex: 1;
}

/* Content area */
.tos-content {
    min-width: 0;
    max-width: 760px;
}

/* Rich-text from DB — mirrors Redesign B spec */
.tos-richtext {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.75;
}
.tos-richtext h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 12px;
    letter-spacing: -.02em;
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 28px 0 0;
    border-top: 1px solid #EEF1F4;
}

.tos-richtext h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 20px 0 8px;
}
.tos-richtext p {
    margin: 0 0 14px;
}
.tos-richtext ul,
.tos-richtext ol {
    margin: 0 0 14px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tos-richtext a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
}
.tos-richtext a:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}
.tos-richtext blockquote {
    border-left: 3px solid var(--color-border);
    padding-left: 1em;
    color: var(--color-text-secondary);
    margin: 1em 0;
}
.tos-richtext hr {
    border: none;
    border-top: 1px solid #EEF1F4;
    margin: 28px 0;
}
.tos-richtext--empty {
    padding: 40px 0;
}
.tos-richtext__empty-msg {
    color: var(--color-text-secondary);
    font-size: 16px;
}

/* Mobile: single-column, TOC on top */
@media (max-width: 860px) {
    .tos-panel {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: -40px;
    }
    .tos-toc {
        position: static;
    }
    .tos-content {
        max-width: 100%;
    }
}
