/* site palette */
html:root {
    --bg: #F7F4EF;
    --surface: #FFFFFF;
    --surface-alt: #EEF0F6;
    --text: #292215;
    --text-muted: #726B5A;
    --border: #E4E0D8;
    --primary: #242D5A;
    --primary-hover: #1A2041;
    --on-primary: #FFFFFF;
    --primary-text: #242D5A;
    --accent: #D2BB9F;
    --on-accent: #111111;
    --accent-text: #85653E;
    --dark-band: #12172E;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BFB6;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #12172E;
    --section-alt-bg: #EEF0F6;
    --dark-band-bg: #12172E;
    --brand-band-bg: #242D5A;
    --hero-bg: #12172E;
}

html:root {
    --bs-primary: #242D5A;
    --bs-primary-rgb: 36, 45, 90;
    --bs-link-color: #242D5A;
    --bs-link-color-rgb: 36, 45, 90;
    --bs-link-hover-color: #1A2041;
    --mdb-primary: #242D5A;
    --mdb-primary-rgb: 36, 45, 90;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-color: var(--on-primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-hover-color: var(--on-primary);
    --bs-btn-active-bg: var(--primary-hover);
    --bs-btn-active-border-color: var(--primary-hover);
    --bs-btn-active-color: var(--on-primary);
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-text);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: var(--on-primary);
    color: var(--primary-text);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.text-primary,
.link-primary {
    color: var(--primary-text) !important;
}

.bg-primary,
.text-bg-primary,
.badge.bg-primary {
    color: var(--on-primary) !important;
}

/* /site palette */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Andika', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

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

.jw-section {
    padding: 64px 0;
    background-color: var(--bg);
}

.jw-section-alt {
    padding: 64px 0;
    background-color: var(--section-alt-bg, var(--surface-alt));
}

.jw-section-dark {
    padding: 64px 0;
    background-color: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
}

.jw-section-brand {
    padding: 64px 0;
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
}

@media (min-width: 992px) {

    .jw-section,
    .jw-section-alt,
    .jw-section-dark,
    .jw-section-brand {
        padding: 96px 0;
    }
}

.jw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-text);
    margin-bottom: 12px;
}

.jw-eyebrow::before,
.jw-eyebrow::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-text);
}

.jw-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 20px;
}

.jw-title .jw-wavy,
.jw-title-wavy {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.jw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--on-primary) !important;
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.jw-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary) !important;
    transform: translateY(-1px);
}

.jw-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--primary-text) !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.jw-btn-alt:hover {
    background-color: var(--surface);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

.jw-section-brand .jw-btn {
    background-color: var(--brand-btn-bg);
    color: var(--brand-btn-text) !important;
    border-color: var(--brand-btn-bg);
}

.jw-section-brand .jw-btn:hover {
    background-color: var(--surface-alt);
    color: var(--brand-btn-text) !important;
    border-color: var(--surface-alt);
}

.jw-section-brand .jw-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary) !important;
}

.jw-section-brand .jw-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--on-primary) !important;
}

.jw-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jw-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(18, 23, 46, 0.06);
}

.jw-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.jw-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jw-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.jw-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-alt);
    color: var(--primary);
    flex-shrink: 0;
}

.jw-on-dark,
.jw-section-dark {
    color: var(--on-dark);
}

.jw-on-dark .jw-title,
.jw-section-dark .jw-title {
    color: var(--on-dark);
}

.jw-on-dark .jw-title .jw-wavy,
.jw-section-dark .jw-title .jw-wavy,
.jw-on-dark .jw-title-wavy,
.jw-section-dark .jw-title-wavy {
    text-decoration-color: var(--accent);
}

.jw-on-dark .jw-eyebrow,
.jw-section-dark .jw-eyebrow {
    color: var(--accent);
}

.jw-on-dark .jw-eyebrow::before,
.jw-on-dark .jw-eyebrow::after,
.jw-section-dark .jw-eyebrow::before,
.jw-section-dark .jw-eyebrow::after {
    background-color: var(--accent);
}

.jw-on-dark p,
.jw-section-dark p,
.jw-on-dark .text-muted,
.jw-section-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.jw-on-dark .jw-btn-alt,
.jw-section-dark .jw-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark) !important;
}

.jw-on-dark .jw-btn-alt:hover,
.jw-section-dark .jw-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.jw-on-dark .jw-card,
.jw-section-dark .jw-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.jw-on-dark .jw-card p,
.jw-section-dark .jw-card p {
    color: var(--text-muted) !important;
}

.jw-on-dark .jw-card .jw-title,
.jw-section-dark .jw-card .jw-title {
    color: var(--text);
}

/* ===== header ===== */
.header-block {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(18, 23, 46, 0.05);
    z-index: 1030;
}

.header-block .header-top-bar {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-block .header-top-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--on-primary);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-block .header-top-info {
    color: var(--on-dark-muted);
}

.header-block .header-top-link {
    color: var(--on-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-block .header-top-link:hover {
    color: var(--accent);
}

.header-block .header-top-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.header-block .header-main-nav {
    background: var(--surface);
}

.header-block .header-logo-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-block .header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-block .header-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-block .header-brand-highlight {
    color: var(--primary-text);
}

.header-block .header-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 6px;
}

.header-block .header-toggler:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.header-block .header-nav-link {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.header-block .header-nav-link:hover,
.header-block .header-nav-link:focus {
    color: var(--primary);
}

.header-block .header-dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(18, 23, 46, 0.12);
    padding: 8px 0;
    min-width: 260px;
}

.header-block .header-dropdown-item {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 18px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-block .header-dropdown-item:hover,
.header-block .header-dropdown-item:focus {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.header-block .header-dropdown-divider {
    border-top-color: var(--border);
    margin: 6px 0;
    opacity: 1;
}

.header-block .header-cta-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.header-block .header-cta-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 991.98px) {
    .header-block .navbar-collapse {
        background: var(--surface);
        padding-top: 16px;
        padding-bottom: 12px;
        border-top: 1px solid var(--border);
        margin-top: 12px;
    }

    .header-block .header-nav-link {
        padding: 10px 0;
    }

    .header-block .header-dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 12px;
        background: var(--surface-alt);
        margin-bottom: 8px;
    }

    .header-block .header-cta-btn {
        width: 100%;
    }
}

/* ===== hero ===== */
.hero-section {
    background-color: var(--hero-bg, #12172E);
    min-height: 540px;
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.hero-section__bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(18, 23, 46, 0.94) 0%, rgba(18, 23, 46, 0.82) 60%, rgba(18, 23, 46, 0.65) 100%);
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

.hero-section__pill {
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    max-width: fit-content;
}

.hero-section__pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent, #D2BB9F);
    display: inline-block;
}

.hero-section__pill-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark, #FFFFFF);
}

.hero-section__title {
    font-size: clamp(1.85rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--on-dark, #FFFFFF);
    margin: 0;
    overflow-wrap: anywhere;
}

.hero-section__lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    max-width: 680px;
    margin: 0;
}

.hero-section__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary, #242D5A);
    color: var(--on-primary, #FFFFFF);
    border-radius: 6px;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    transition: all 0.25s ease-in-out;
}

.hero-section__btn-primary:hover,
.hero-section__btn-primary:focus {
    background-color: var(--primary-hover, #1A2041);
    color: var(--on-primary, #FFFFFF);
    transform: translateY(-1px);
}

.hero-section__btn-arrow {
    transition: transform 0.2s ease;
}

.hero-section__btn-primary:hover .hero-section__btn-arrow {
    transform: translateX(4px);
}

.hero-section__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    padding: 14px 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease-in-out;
}

.hero-section__btn-secondary:hover,
.hero-section__btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--on-dark, #FFFFFF);
    color: var(--on-dark, #FFFFFF);
    transform: translateY(-1px);
}

.hero-section__stamp {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px dashed rgba(210, 187, 159, 0.7);
    background: rgba(18, 23, 46, 0.65);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--on-dark, #FFFFFF);
    padding: 16px;
    position: relative;
    user-select: none;
}

.hero-section__stamp-icon {
    color: var(--accent, #D2BB9F);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section__stamp-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.2;
}

.hero-section__stamp-sub {
    font-size: 0.65rem;
    color: var(--accent, #D2BB9F);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-section__title {
        font-size: 1.5rem;
        hyphens: auto;
    }

    .hero-section__lead {
        font-size: 0.95rem;
    }

    .hero-section__btn-primary,
    .hero-section__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .hero-section__stamp {
        width: 130px;
        height: 130px;
        padding: 12px;
    }

    .hero-section__stamp-heading {
        font-size: 0.65rem;
    }

    .hero-section__stamp-sub {
        font-size: 0.6rem;
    }
}

/* ===== architecture_mechanic ===== */
.aw-mechanic-section {
    color: var(--text);
}

.aw-mechanic-section .aw-title-wave {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.aw-mechanic-section .aw-lead-text {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.aw-mechanic-section .aw-specimen-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.aw-mechanic-section .aw-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #16a34a;
    display: inline-block;
}

.aw-mechanic-section .aw-parameters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.aw-mechanic-section .aw-param-item {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    background-color: var(--surface-alt);
    border-radius: 6px;
    border: 1px solid rgba(36, 45, 90, 0.06);
}

.aw-mechanic-section .aw-param-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.aw-mechanic-section .aw-param-val {
    font-size: 0.9rem;
    color: var(--text);
    overflow-wrap: anywhere;
}

.aw-mechanic-section .aw-interactive-panel {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
}

.aw-mechanic-section .aw-principle-list .list-group-item {
    border: 1px solid var(--border);
    margin-bottom: 8px;
    border-radius: 6px !important;
    background-color: var(--surface);
    color: var(--text);
    transition: all 0.2s ease;
}

.aw-mechanic-section .aw-principle-list .list-group-item:hover {
    background-color: #fff;
    border-color: var(--primary);
}

.aw-mechanic-section .aw-principle-list .list-group-item.active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

.aw-mechanic-section .aw-principle-list .list-group-item.active .aw-item-icon {
    stroke: var(--on-primary);
    transform: translateX(3px);
}

.aw-mechanic-section .aw-scenario-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.aw-mechanic-section .aw-card-img-link {
    height: 200px;
    overflow: hidden;
}

.aw-mechanic-section .aw-card-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aw-mechanic-section .aw-scenario-card:hover .aw-card-img {
    transform: scale(1.03);
}

.aw-mechanic-section .jw-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aw-mechanic-section .jw-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.aw-mechanic-section .jw-btn-alt {
    background: transparent;
    color: var(--primary-text);
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.aw-mechanic-section .jw-btn-alt:hover {
    background: var(--primary);
    color: var(--on-primary);
}

.aw-mechanic-section .jw-badge {
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .aw-mechanic-section .aw-parameters-grid {
        grid-template-columns: 1fr;
    }

    .aw-mechanic-section h2 {
        font-size: 1.5rem;
    }

    .aw-mechanic-section h3 {
        font-size: 1.25rem;
    }
}

/* ===== featured_case ===== */
.case-scenarios-section {
    background-color: var(--surface-alt);
}

.case-scenarios-section .case-eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background-color: var(--primary);
    vertical-align: middle;
}

.case-scenarios-section .case-main-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
}

.case-scenarios-section .case-wavy-word {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.case-scenarios-section .case-lead-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.case-scenarios-section .case-device-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.case-scenarios-section .case-device-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 23, 46, 0.07);
}

.case-scenarios-section .case-card-header {
    background-color: var(--surface);
}

.case-scenarios-section .case-type-badge {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-scenarios-section .case-badge-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-scenarios-section .case-header-icon {
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-alt);
    border-radius: 6px;
    color: var(--primary-text);
}

.case-scenarios-section .case-svg-icon {
    width: 20px;
    height: 20px;
}

.case-scenarios-section .case-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.case-scenarios-section .case-card-desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.case-scenarios-section .case-question-list li {
    font-size: 0.875rem;
    line-height: 1.45;
}

.case-scenarios-section .case-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 50%;
    margin-top: 2px;
}

.case-scenarios-section .case-check-icon svg {
    width: 12px;
    height: 12px;
}

.case-scenarios-section .case-q-text {
    color: var(--text);
}

.case-scenarios-section .case-q-text strong {
    color: var(--text);
    font-weight: 700;
}

.case-scenarios-section .case-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--on-primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.case-scenarios-section .case-btn:hover,
.case-scenarios-section .case-btn:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 767px) {
    .case-scenarios-section .case-main-title {
        font-size: 1.5rem;
    }

    .case-scenarios-section .case-card-title {
        font-size: 1.2rem;
    }
}

/* ===== knowledge_grid ===== */
.jw-knowledge-grid {
    overflow-wrap: anywhere;
}

.jw-knowledge-grid .jw-title-wave {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.jw-knowledge-grid .jw-section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.jw-knowledge-grid .knowledge-article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jw-knowledge-grid .knowledge-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 23, 46, 0.08);
}

.jw-knowledge-grid .knowledge-media-link {
    display: block;
    overflow: hidden;
}

.jw-knowledge-grid .knowledge-media-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.jw-knowledge-grid .knowledge-media-frame .jw-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.jw-knowledge-grid .knowledge-article-card:hover .jw-media {
    transform: scale(1.04);
}

.jw-knowledge-grid .knowledge-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.jw-knowledge-grid .knowledge-meta-icon {
    width: 15px;
    height: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.jw-knowledge-grid .knowledge-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.jw-knowledge-grid .knowledge-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.jw-knowledge-grid .knowledge-title-link:hover {
    color: var(--primary);
}

.jw-knowledge-grid .knowledge-card-text {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.jw-knowledge-grid .jw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    border-radius: 6px;
    padding: 10px 18px;
    border: 1px solid var(--primary);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jw-knowledge-grid .jw-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 767px) {
    .jw-knowledge-grid h2 {
        font-size: 1.5rem;
    }

    .jw-knowledge-grid .knowledge-card-title {
        font-size: 1.05rem;
    }
}

/* ===== tools_platforms ===== */
.tools-platforms-section {
    color: var(--text);
}

.tools-platforms-section .jw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-text);
}

.tools-platforms-section .eyebrow-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

.tools-platforms-section .jw-title {
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.tools-platforms-section .jw-wave {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.tools-platforms-section .tools-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.tools-platforms-section .tools-filter-wrapper {
    background: var(--surface);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: inline-flex;
}

.tools-platforms-section .tools-filter-tab {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.tools-platforms-section .tools-filter-tab:hover {
    background: var(--surface-alt);
    color: var(--primary-text);
}

.tools-platforms-section .tools-filter-tab.active {
    background: var(--primary);
    color: var(--on-primary);
}

.tools-platforms-section .tools-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tools-platforms-section .tools-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tools-platforms-section .tools-icon-box {
    width: 38px;
    height: 38px;
    background: var(--surface-alt);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text);
}

.tools-platforms-section .tools-icon-svg {
    width: 22px;
    height: 22px;
}

.tools-platforms-section .tools-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.tools-platforms-section .tools-card-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tools-platforms-section .tools-card-link:hover {
    color: var(--primary-text);
}

.tools-platforms-section .tools-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.tools-platforms-section .tools-checklist li {
    font-size: 0.85rem;
    color: var(--text);
}

.tools-platforms-section .check-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

.tools-platforms-section .tools-card-meta {
    border-color: var(--border) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.tools-platforms-section .meta-label {
    color: var(--text-muted);
    font-weight: 400;
}

.tools-platforms-section .meta-value {
    color: var(--primary-text);
    font-weight: 700;
}

.tools-platforms-section .scenario-image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.tools-platforms-section .scenario-image-wrapper img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.3s ease;
}

.tools-platforms-section .tools-card:hover .scenario-image-wrapper img {
    transform: scale(1.03);
}

.tools-platforms-section .scenario-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--dark-band);
    color: var(--on-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.tools-platforms-section .scenario-author {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tools-platforms-section .jw-btn {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.2s ease;
}

.tools-platforms-section .jw-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.tools-platforms-section .jw-badge {
    background: var(--surface-alt);
    color: var(--primary-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
    .tools-platforms-section .tools-filter-wrapper {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px;
    }

    .tools-platforms-section .tools-filter-tab {
        flex-grow: 1;
        text-align: center;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .tools-platforms-section .jw-title {
        font-size: 1.4rem;
    }
}

/* ===== cost_calculator ===== */
.calc-loss-block {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem
}

.calc-eyebrow {
    letter-spacing: .12em;
    font-size: var(--scale-eyebrow);
    font-weight: 700
}

.calc-wave {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px
}

.calc-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto
}

.calc-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text)
}

.calc-input-card,
.calc-summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px
}

.calc-preset-btn {
    background: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease
}

.calc-preset-btn:hover {
    background: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary)
}

.calc-preset-btn.active {
    background: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary)
}

.calc-label {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text)
}

.calc-value-badge {
    background: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 700
}

.calc-range {
    accent-color: var(--primary);
    cursor: pointer
}

.calc-range:focus {
    box-shadow: none;
    border-color: var(--primary)
}

.calc-range-hint {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 4px
}

.calc-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--surface-alt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text)
}

.calc-svg {
    width: 20px;
    height: 20px
}

.calc-metric-box {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    height: 100%
}

.calc-metric-number {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-text)
}

.calc-metric-unit {
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text);
    margin-top: 4px;
    margin-bottom: 6px
}

.calc-metric-desc {
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--text-muted)
}

.calc-diagnostic-label {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text)
}

.calc-diagnostic-status {
    font-size: .875rem;
    font-weight: 700;
    color: var(--accent-text)
}

.calc-progress-track {
    width: 100%;
    height: 8px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 9999px;
    overflow: hidden
}

.calc-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 9999px;
    transition: width .3s ease
}

.calc-foot-note {
    font-size: .8125rem;
    color: var(--text-muted);
    line-height: 1.4
}

.calc-action-btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: .875rem
}

@media (max-width:767px) {
    .calc-loss-block {
        padding-top: 3rem;
        padding-bottom: 3rem
    }

    .calc-preset-btn {
        padding: 4px 8px;
        font-size: .75rem
    }

    .calc-metric-number {
        font-size: 1.5rem
    }

    .calc-summary-bottom {
        border-top: 1px solid var(--border)
    }
}

/* ===== founder_note ===== */
.fn-block {
    background-color: var(--brand-band-bg);
    color: var(--on-primary);
    overflow: hidden;
}

.fn-image-wrapper {
    position: relative;
    max-width: 440px;
}

.fn-image-frame {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--dark-band);
    border: 2px solid rgba(255, 255, 255, 0.15);
    aspect-ratio: 1 / 1;
}

.fn-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fn-badge-accent {
    position: absolute;
    bottom: -16px;
    right: -12px;
    background-color: var(--surface);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(18, 23, 46, 0.2);
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid var(--border);
}

.fn-badge-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.fn-eyebrow-wrapper {
    display: inline-flex;
    align-items: center;
}

.fn-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.fn-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    line-height: 1.25;
    font-weight: 700;
}

.fn-wavy-word {
    text-decoration: underline wavy var(--accent);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.fn-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
}

.fn-body {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.fn-author-name {
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.fn-author-role {
    font-size: 0.8125rem;
}

.fn-signature-mark {
    width: 130px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fn-sig-svg {
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.fn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-btn-bg);
    color: var(--brand-btn-text);
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fn-btn:hover {
    background-color: var(--surface-alt);
    color: var(--brand-btn-text);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .fn-image-wrapper {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .fn-title {
        font-size: 1.5rem;
    }

    .fn-signature-mark {
        justify-content: flex-start;
    }
}

/* ===== faq ===== */
.faq-block .faq-eyebrow {
    color: var(--primary-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faq-block .faq-heading {
    color: var(--text);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.faq-block .faq-title-wavy {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.faq-block .faq-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.faq-block .faq-visual-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-height: 380px;
}

.faq-block .faq-icon-base {
    width: 104px;
    height: 104px;
    background-color: var(--surface-alt);
    border-radius: 50%;
    color: var(--primary);
}

.faq-block .faq-person-svg {
    width: 54px;
    height: 54px;
}

.faq-block .faq-badge-mark {
    width: 42px;
    height: 42px;
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 50%;
    bottom: -4px;
    right: -4px;
    border: 3px solid var(--surface);
}

.faq-block .faq-question-svg {
    width: 22px;
    height: 22px;
}

.faq-block .faq-visual-title {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.faq-block .faq-visual-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 280px;
}

.faq-block .faq-status-pill {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 9999px;
}

.faq-block .faq-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-text);
}

.faq-block .faq-status-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-block .faq-accordion-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-block .faq-accordion-item.is-active {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(36, 45, 90, 0.06);
}

.faq-block .faq-accordion-trigger {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
}

.faq-block .faq-item-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.2s ease;
}

.faq-block .faq-accordion-item.is-active .faq-item-title {
    color: var(--primary-text);
}

.faq-block .faq-icon-holder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-block .faq-chevron-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    transform: rotate(0deg);
}

.faq-block .faq-accordion-item.is-active .faq-icon-holder {
    background-color: var(--primary);
    color: var(--on-primary);
}

.faq-block .faq-accordion-item.is-active .faq-chevron-icon {
    transform: rotate(90deg);
}

.faq-block .faq-accordion-body p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .faq-block .faq-heading {
        font-size: 1.375rem;
        hyphens: auto;
    }

    .faq-block .faq-visual-card {
        min-height: auto;
        padding: 24px 16px;
    }

    .faq-block .faq-accordion-item {
        padding: 14px 16px;
    }

    .faq-block .faq-item-title {
        font-size: 0.9375rem;
    }

    .faq-block .faq-accordion-body p {
        font-size: 0.875rem;
    }
}

/* ===== footer ===== */
.footer-section {
    background-color: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    padding-top: 56px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-wrap: anywhere;
}

.footer-section .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--on-dark, #FFFFFF);
    margin-bottom: 16px;
}

.footer-section .footer-logo {
    max-width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-section .footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.3;
}

.footer-section .footer-brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
    max-width: 340px;
}

.footer-section .footer-column-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent, #D2BB9F);
    margin-bottom: 18px;
}

.footer-section .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section .footer-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-section .footer-link:hover,
.footer-section .footer-link:focus {
    color: var(--on-dark, #FFFFFF);
    transform: translateX(3px);
}

.footer-section .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--on-dark-muted, #C3BFB6);
}

.footer-section .footer-icon-wrap {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent, #D2BB9F);
    margin-top: 2px;
}

.footer-section .footer-svg-icon {
    width: 18px;
    height: 18px;
}

.footer-section .footer-contact-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-contact-link:hover,
.footer-section .footer-contact-link:focus {
    color: var(--on-dark, #FFFFFF);
}

.footer-section .footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .footer-copyright {
    font-size: 0.85rem;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
}

.footer-section .footer-utility-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-section .footer-utility-links {
        justify-content: flex-end;
    }
}

.footer-section .footer-utility-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-utility-link:hover,
.footer-section .footer-utility-link:focus {
    color: var(--on-dark, #FFFFFF);
    text-decoration: underline;
}

.footer-section .footer-utility-separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 767px) {
    .footer-section {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .footer-section .footer-brand-text {
        max-width: 100%;
    }

    .footer-section .footer-bottom {
        margin-top: 32px;
    }
}

/* ===== PAGE: access-modes ===== */
.am-page-wrapper { overflow: hidden; }
.am-page-wrapper .am-eyebrow-line { display: inline-block; width: 24px; height: 2px; background-color: var(--primary); vertical-align: middle; }
.am-page-wrapper .am-wavy { text-decoration: underline wavy var(--primary); text-underline-offset: 6px; }
.am-page-wrapper .am-check-icon { width: 32px; height: 32px; border-radius: 50%; background-color: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; }
.am-page-wrapper .am-svg-icon { width: 16px; height: 16px; }
.am-page-wrapper .am-collage-wrap { position: relative; padding: 20px 10px; }
.am-page-wrapper .am-collage-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 30px rgba(18, 23, 46, 0.08); position: relative; z-index: 2; }
.am-page-wrapper .am-card-main { max-width: 420px; margin-left: auto; }
.am-page-wrapper .am-card-sub { max-width: 260px; margin-top: -30px; margin-left: 20px; z-index: 3; background: var(--surface-alt); }
.am-page-wrapper .am-badge-tag { background: var(--dark-band); color: var(--on-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 6px 14px; border-radius: 12px 0 12px 0; display: inline-block; }
.am-page-wrapper .am-deco-diamond { position: absolute; width: 48px; height: 48px; background-color: var(--accent); transform: rotate(45deg); right: 20px; top: 10px; z-index: 1; opacity: 0.7; }
.am-page-wrapper .am-status-dot { width: 10px; height: 10px; border-radius: 50%; background-color: #10B981; display: inline-block; }
.am-page-wrapper .am-heading-line { height: 1px; background-color: var(--border); }
.am-page-wrapper .am-tile-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.am-page-wrapper .am-tile-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(18, 23, 46, 0.08); }
.am-page-wrapper .am-tile-media { aspect-ratio: 3 / 4; width: 100%; overflow: hidden; background-color: var(--surface-alt); }
.am-page-wrapper .am-tile-media img { object-fit: cover; transition: transform 0.3s ease; }
.am-page-wrapper .am-tile-card:hover .am-tile-media img { transform: scale(1.04); }
.am-page-wrapper .am-arrow-link { width: 32px; height: 32px; border-radius: 6px; background: var(--surface-alt); color: var(--primary-text); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.am-page-wrapper .am-arrow-link:hover { background: var(--primary); color: var(--on-primary); }
@media (max-width: 767px) {
  .am-page-wrapper .am-card-main { max-width: 100%; margin-left: 0; }
  .am-page-wrapper .am-card-sub { max-width: 100%; margin-left: 0; margin-top: 15px; }
}

/* ===== PAGE: maintenance-scenarios ===== */
.scenario-wavy { text-decoration: underline wavy var(--primary); text-underline-offset: 6px; }
.scenario-intro-box { background-color: var(--surface); border: 1px solid var(--border); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.scenario-intro-box:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(18, 23, 46, 0.06); }
.scenario-icon-circle { width: 44px; height: 44px; border-radius: 50%; background-color: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--primary-text); }
.scenario-svg { width: 22px; height: 22px; }
.scenario-sidebar { background-color: var(--surface); border: 1px solid var(--border); position: sticky; top: 100px; }
.scenario-stat-block { background-color: var(--surface-alt); border-left: 3px solid var(--primary); }
.scenario-stat-number { font-size: 1.75rem; font-weight: 700; color: var(--primary-text); line-height: 1; }
.scenario-stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; margin-top: 4px; }
.scenario-card { background-color: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.scenario-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18, 23, 46, 0.08); }
.scenario-media-wrapper { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background-color: var(--surface-alt); }
.scenario-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.scenario-card:hover .scenario-card-img { transform: scale(1.03); }
.scenario-title-link { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.scenario-title-link:hover { color: var(--primary-text); text-decoration: none; }
.scenario-arrow-link { color: var(--primary-text); text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.scenario-arrow-link:hover { color: var(--primary-hover); transform: translateX(3px); text-decoration: none; }
.scenario-icon-arrow { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .scenario-sidebar { position: static; margin-bottom: 1.5rem; }
}

/* ===== PAGE: knowledge-base ===== */
.kb-intro-section{padding:4.5rem 0 3.5rem;}.kb-articles-section{padding:4rem 0 5rem;}.kb-section-heading{color:var(--text);font-weight:700;}.kb-wavy-underline{text-decoration:underline wavy var(--primary);text-decoration-thickness:2px;text-underline-offset:6px;}.kb-lead-text{color:var(--text-muted);font-size:1.05rem;line-height:1.65;max-width:800px;margin-left:auto;margin-right:auto;}.kb-pillar-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;}.kb-pillar-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--surface-alt);color:var(--primary-text);}.kb-svg{width:18px;height:18px;}.kb-pillar-title{color:var(--text);font-size:0.95rem;}.kb-pillar-desc{color:var(--text-muted);font-size:0.875rem;line-height:1.45;}.kb-article-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .2s ease,border-color .2s ease;}.kb-article-card:hover{transform:translateY(-4px);border-color:var(--primary);}.kb-image-link{display:block;overflow:hidden;width:100%;}.kb-image-wrapper{width:100%;aspect-ratio:1/1;overflow:hidden;background:var(--surface-alt);}.kb-card-img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}.kb-article-card:hover .kb-card-img{transform:scale(1.03);}.kb-tag{background:var(--surface-alt);color:var(--primary-text);font-size:0.75rem;font-weight:700;padding:4px 10px;border-radius:4px;text-transform:uppercase;letter-spacing:.05em;display:inline-block;}.kb-card-title{color:var(--text);font-size:1.15rem;font-weight:700;line-height:1.35;margin-bottom:0.75rem;}.kb-card-large .kb-card-title{font-size:1.3rem;}.kb-title-link{color:var(--text);text-decoration:none;transition:color .2s ease;}.kb-title-link:hover{color:var(--primary);}.kb-card-text{color:var(--text-muted);font-size:0.9rem;line-height:1.5;}.kb-card-meta{color:var(--text-muted);font-size:0.825rem;border-color:var(--border) !important;}.kb-meta-author{font-weight:700;color:var(--text);}.kb-arrow-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--primary);color:var(--on-primary);text-decoration:none;transition:background-color .2s ease;}.kb-arrow-btn:hover{background:var(--primary-hover);color:var(--on-primary);}.kb-arrow-svg{width:16px;height:16px;}@media (max-width:767px){.kb-intro-section{padding:2.5rem 0;}.kb-articles-section{padding:2.5rem 0 3.5rem;}.kb-card-title{font-size:1rem;}.kb-card-large .kb-card-title{font-size:1.05rem;}}

/* ===== PAGE: about ===== */
.jw-about-content .jw-eyebrow, .jw-about-contact .jw-eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-text); display: inline-block; } .jw-about-content .jw-title-wave, .jw-about-contact .jw-title-wave { text-decoration: underline wavy var(--primary); text-underline-offset: 6px; } .jw-about-image-wrapper { position: relative; } .jw-about-main-img { border-radius: 12px; width: 100%; height: 380px; object-fit: cover; box-shadow: 0 12px 30px rgba(18, 23, 46, 0.08); } .jw-about-badge-card { position: absolute; bottom: -16px; right: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; max-width: 260px; box-shadow: 0 10px 25px rgba(18, 23, 46, 0.12); } .jw-about-icon-pill { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; } .jw-about-role-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: transform 0.2s ease, border-color 0.2s ease; } .jw-about-role-card:hover { transform: translateY(-4px); border-color: var(--primary); } .jw-role-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--surface-alt); color: var(--primary); display: flex; align-items: center; justify-content: center; } .jw-about-contact .jw-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; } .jw-input { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px; color: var(--text); } .jw-input:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(36, 45, 90, 0.15); background: var(--surface); color: var(--text); } .jw-input::placeholder { color: #9E9789; opacity: 1; } .jw-check-input { width: 1.15em; height: 1.15em; border-color: var(--border); } .jw-check-input:checked { background-color: var(--primary); border-color: var(--primary); } .jw-btn { background-color: var(--primary); color: var(--on-primary); border-radius: 6px; font-weight: 700; text-transform: uppercase; border: none; transition: background-color 0.2s ease; } .jw-btn:hover { background-color: var(--primary-hover); color: var(--on-primary); } .jw-link { color: var(--primary-text); text-decoration: underline; } .jw-link:hover { color: var(--primary-hover); } @media (max-width: 767px) { .jw-about-main-img { height: 260px; } .jw-about-badge-card { position: static; margin-top: 12px; max-width: 100%; } }

/* ===== PAGE: privacy ===== */
.policy-section {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font_family_base, 'Andika', sans-serif);
  line-height: 1.6;
}

.policy-section .jw-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
}

.policy-section .jw-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.policy-section .policy-title-highlight {
  text-decoration: underline wavy var(--primary);
  text-underline-offset: 6px;
}

.policy-section .policy-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.policy-section .policy-heading {
  color: var(--text);
  font-weight: 700;
  position: relative;
}

.policy-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.policy-section .policy-list {
  color: var(--text-muted);
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-section .policy-list li {
  margin-bottom: 0.5rem;
}

.policy-section .policy-list li strong {
  color: var(--text);
}

.policy-section .border-bottom {
  border-color: var(--border) !important;
}

@media (max-width: 767px) {
  .policy-section .jw-title {
    font-size: 1.5rem;
    hyphens: auto;
  }
  .policy-section .policy-card {
    padding: 1.25rem !important;
  }
  .policy-section .policy-heading {
    font-size: 1.15rem;
  }
}

/* ===== PAGE: terms ===== */
.terms-block {
  background-color: var(--bg);
  color: var(--text);
}
.terms-block .terms-eyebrow {
  color: var(--primary-text);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.terms-block .terms-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}
.terms-block .terms-wavy {
  text-decoration: underline wavy var(--primary);
  text-underline-offset: 6px;
}
.terms-block .terms-lead {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.terms-block .terms-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--surface-alt);
  color: var(--primary-text);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}
.terms-block .terms-summary-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.terms-block .terms-summary-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.terms-block .terms-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.terms-block .terms-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--surface-alt);
  color: var(--primary);
}
.terms-block .terms-icon {
  width: 18px;
  height: 18px;
}
.terms-block .terms-content-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.terms-block .terms-heading {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.terms-block .terms-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.terms-block .terms-inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.terms-block .terms-inline-link:hover {
  color: var(--primary-hover);
}
.terms-block .terms-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.terms-block .terms-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.6;
}
.terms-block .terms-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}
.terms-block .terms-contact-highlight {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.terms-block .terms-highlight-title {
  color: var(--text);
  font-size: 0.95rem;
}
.terms-block .terms-action-btn {
  background-color: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.terms-block .terms-action-btn:hover {
  background-color: var(--primary-hover);
  color: var(--on-primary);
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .terms-block .terms-content-box {
    padding: 1.5rem !important;
  }
  .terms-block .terms-heading {
    font-size: 1.15rem;
  }
  .terms-block .terms-title {
    font-size: 1.4rem;
  }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-page-block .disclaimer-eyebrow { font-size: 0.8rem; font-weight: 700; color: var(--primary-text); letter-spacing: 0.12em; }
.disclaimer-page-block .disclaimer-heading { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.2; }
.disclaimer-page-block .disclaimer-lead { max-width: 680px; font-size: 1.05rem; line-height: 1.6; }
.disclaimer-page-block .disclaimer-wavy { text-decoration: underline wavy var(--primary); text-underline-offset: 6px; }
.disclaimer-page-block .disclaimer-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: transform 0.2s ease, border-color 0.2s ease; }
.disclaimer-page-block .disclaimer-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.disclaimer-page-block .disclaimer-card-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-alt); color: var(--primary-text); border-radius: 8px; }
.disclaimer-page-block .disclaimer-card-icon .jw-icon { width: 24px; height: 24px; }
.disclaimer-page-block .disclaimer-card-title { font-size: 1.2rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.disclaimer-page-block .disclaimer-card-text { font-size: 0.95rem; line-height: 1.6; }
.disclaimer-faq-section .disclaimer-side-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.disclaimer-faq-section .disclaimer-side-heading { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.disclaimer-faq-section .disclaimer-notice-box { background: var(--surface-alt); border-left: 4px solid var(--primary); border-radius: 6px; }
.disclaimer-faq-section .disclaimer-notice-title { font-size: 0.95rem; color: var(--text); }
.disclaimer-faq-section .disclaimer-notice-desc { font-size: 0.875rem; line-height: 1.5; }
.disclaimer-faq-section .disclaimer-check-icon { width: 20px; height: 20px; color: var(--primary-text); flex-shrink: 0; }
.disclaimer-faq-section .disclaimer-accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.disclaimer-faq-section .disclaimer-accordion-btn { background: var(--surface); border: none; font-weight: 700; font-size: 1rem; color: var(--text); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.disclaimer-faq-section .disclaimer-accordion-btn:hover { background: var(--surface-alt); color: var(--primary-text); }
.disclaimer-faq-section .disclaimer-accordion-btn.active { color: var(--primary-text); }
.disclaimer-faq-section .disclaimer-arrow-icon { width: 18px; height: 18px; color: var(--text-muted); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 12px; }
.disclaimer-faq-section .disclaimer-accordion-btn.active .disclaimer-arrow-icon { transform: rotate(90deg); color: var(--primary-text); }
.disclaimer-faq-section .disclaimer-accordion-body { border-top: 1px solid var(--border); font-size: 0.95rem; line-height: 1.6; }
.disclaimer-action-section .disclaimer-summary-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.disclaimer-action-section .disclaimer-summary-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--text); }
.disclaimer-action-section .disclaimer-summary-text { max-width: 600px; font-size: 1rem; line-height: 1.6; }
@media (max-width: 767px) { .disclaimer-page-block .disclaimer-heading { font-size: 16px; hyphens: auto; } .disclaimer-page-block .disclaimer-card-title { font-size: 14px; hyphens: auto; } .disclaimer-faq-section .disclaimer-side-heading { font-size: 16px; hyphens: auto; } .disclaimer-action-section .disclaimer-summary-title { font-size: 16px; hyphens: auto; } .disclaimer-action-section .jw-btn, .disclaimer-action-section .jw-btn-alt { width: 100%; text-align: center; } }

.comment-item {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4E0D8);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-item:hover {
    border-color: #D2BB9F;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid var(--border, #E4E0D8);
}

.comment-author {
    color: var(--text, #292215);
    font-size: 1rem;
}

.comment-meta {
    color: var(--text-muted, #726B5A);
    font-size: 0.8125rem;
}

.comment-badge {
    background-color: var(--surface-alt, #EEF0F6);
    color: var(--primary-text, #242D5A);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.comment-body {
    color: var(--text, #292215);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.comment-like-btn,
.comment-reply-btn {
    background: transparent;
    border: 1px solid var(--border, #E4E0D8);
    color: var(--text-muted, #726B5A);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.comment-like-btn:hover,
.comment-reply-btn:hover {
    background-color: var(--surface-alt, #EEF0F6);
    color: var(--primary, #242D5A);
    border-color: var(--primary, #242D5A);
}

.comment-icon {
    flex-shrink: 0;
}

.comment-reply-item {
    background-color: var(--surface-alt, #EEF0F6);
    border: 1px solid var(--border, #E4E0D8);
    border-left: 3px solid var(--primary, #242D5A) !important;
    border-radius: 12px;
}

.comment-reply-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid var(--surface, #FFFFFF);
}

.comment-reply-author {
    color: var(--text, #292215);
    font-size: 0.9375rem;
}

.comment-meta {
    color: var(--text-muted, #726B5A);
    font-size: 0.75rem;
}

.comment-staff-badge {
    background-color: var(--primary, #242D5A);
    color: var(--on-primary, #FFFFFF);
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.comment-reply-body {
    color: var(--text, #292215);
    line-height: 1.55;
    font-size: 0.875rem;
}

.comment-like-btn {
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4E0D8);
    color: var(--text-muted, #726B5A);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.comment-like-btn:hover {
    background-color: var(--surface, #FFFFFF);
    color: var(--primary, #242D5A);
    border-color: var(--primary, #242D5A);
}

.comment-icon {
    flex-shrink: 0;
}


/* ===== PAGE TEMPLATE: access-modes-list ===== */
.header-block {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(18, 23, 46, 0.05);
    z-index: 1030;
}

.header-block .header-top-bar {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-block .header-top-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--on-primary);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-block .header-top-info {
    color: var(--on-dark-muted);
}

.header-block .header-top-link {
    color: var(--on-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-block .header-top-link:hover {
    color: var(--accent);
}

.header-block .header-top-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.header-block .header-main-nav {
    background: var(--surface);
}

.header-block .header-logo-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-block .header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-block .header-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-block .header-brand-highlight {
    color: var(--primary-text);
}

.header-block .header-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 6px;
}

.header-block .header-toggler:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.header-block .header-nav-link {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.header-block .header-nav-link:hover,
.header-block .header-nav-link:focus {
    color: var(--primary);
}

.header-block .header-dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(18, 23, 46, 0.12);
    padding: 8px 0;
    min-width: 260px;
}

.header-block .header-dropdown-item {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 18px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-block .header-dropdown-item:hover,
.header-block .header-dropdown-item:focus {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.header-block .header-dropdown-divider {
    border-top-color: var(--border);
    margin: 6px 0;
    opacity: 1;
}

.header-block .header-cta-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.header-block .header-cta-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.hero-section {
    background-color: var(--hero-bg, #12172E);
    min-height: 420px;
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.hero-section__bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(18, 23, 46, 0.94) 0%, rgba(18, 23, 46, 0.82) 60%, rgba(18, 23, 46, 0.65) 100%);
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

.hero-section__pill {
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    max-width: fit-content;
}

.hero-section__pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent, #D2BB9F);
    display: inline-block;
}

.hero-section__pill-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark, #FFFFFF);
}

.hero-section__title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--on-dark, #FFFFFF);
    margin: 0;
    overflow-wrap: anywhere;
}

.hero-section__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    max-width: 720px;
}

.hero-section__stamp {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px dashed rgba(210, 187, 159, 0.7);
    background: rgba(18, 23, 46, 0.65);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--on-dark, #FFFFFF);
    padding: 16px;
    position: relative;
    user-select: none;
}

.hero-section__stamp-icon {
    color: var(--accent, #D2BB9F);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section__stamp-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.2;
}

.hero-section__stamp-sub {
    font-size: 0.65rem;
    color: var(--accent, #D2BB9F);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
}

.article-facts-strip {
    background-color: var(--surface-alt);
    border-color: var(--border) !important;
}

.article-facts-item {
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.article-facts-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary-text);
}

.article-facts-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.article-detail-page {
    background-color: var(--bg);
}

.article-meta-row {
    border-color: var(--border) !important;
}

.article-meta-unit {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-meta-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-text);
    flex-shrink: 0;
}

.article-featured-media {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
}

.article-media-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.article-media-caption {
    font-size: 0.8125rem;
    color: var(--text-muted);
    background-color: var(--surface-alt);
    border-top: 1px solid var(--border);
}

.article-toc-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.article-toc-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.article-toc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.article-toc-list {
    list-style: none;
}

.article-toc-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-toc-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.article-toc-number {
    background: var(--surface-alt);
    color: var(--primary-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.article-rich-body h2.jw-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.article-rich-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.article-callout-card {
    background-color: var(--surface-alt);
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 4px;
}

.article-callout-icon-wrap {
    color: var(--primary-text);
}

.article-callout-icon {
    width: 24px;
    height: 24px;
}

.article-callout-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.article-callout-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.article-custom-list {
    list-style: none;
}

.article-list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
}

.article-pull-quote {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.article-quote-text {
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.article-pull-quote .blockquote-footer {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-tags-wrapper {
    border-color: var(--border) !important;
}

.article-tags-label {
    color: var(--text);
    font-size: 0.9rem;
}

.article-author-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.article-author-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.article-author-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-text);
    letter-spacing: 0.08em;
}

.article-author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.article-author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.article-related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-related-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(18, 23, 46, 0.06);
}

.article-related-thumb {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
}

.article-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-text);
    letter-spacing: 0.05em;
}

.article-related-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.article-consultation-banner {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
}

.article-consultation-lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

.article-form-input {
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9375rem;
}

.article-form-input:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 45, 90, 0.15);
    color: var(--text);
}

.article-form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.article-consent-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.article-inline-link {
    color: var(--primary-text);
    text-decoration: underline;
}

.article-inline-link:hover {
    color: var(--primary-hover);
}

.article-submit-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.article-submit-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
    transform: translateY(-1px);
}

.footer-section {
    background-color: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    padding-top: 56px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-wrap: anywhere;
}

.footer-section .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--on-dark, #FFFFFF);
    margin-bottom: 16px;
}

.footer-section .footer-logo {
    max-width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-section .footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.3;
}

.footer-section .footer-brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
    max-width: 340px;
}

.footer-section .footer-column-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent, #D2BB9F);
    margin-bottom: 18px;
}

.footer-section .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section .footer-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-section .footer-link:hover,
.footer-section .footer-link:focus {
    color: var(--on-dark, #FFFFFF);
    transform: translateX(3px);
}

.footer-section .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--on-dark-muted, #C3BFB6);
}

.footer-section .footer-icon-wrap {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent, #D2BB9F);
    margin-top: 2px;
}

.footer-section .footer-svg-icon {
    width: 18px;
    height: 18px;
}

.footer-section .footer-contact-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-contact-link:hover,
.footer-section .footer-contact-link:focus {
    color: var(--on-dark, #FFFFFF);
}

.footer-section .footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .footer-copyright {
    font-size: 0.85rem;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
}

.footer-section .footer-utility-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-section .footer-utility-links {
        justify-content: flex-end;
    }
}

.footer-section .footer-utility-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-utility-link:hover,
.footer-section .footer-utility-link:focus {
    color: var(--on-dark, #FFFFFF);
    text-decoration: underline;
}

.footer-section .footer-utility-separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .header-block .navbar-collapse {
        background: var(--surface);
        padding-top: 16px;
        padding-bottom: 12px;
        border-top: 1px solid var(--border);
        margin-top: 12px;
    }

    .header-block .header-nav-link {
        padding: 10px 0;
    }

    .header-block .header-dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 12px;
        background: var(--surface-alt);
        margin-bottom: 8px;
    }

    .header-block .header-cta-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-section__title {
        font-size: 1.5rem;
        hyphens: auto;
    }

    .hero-section__lead {
        font-size: 0.95rem;
    }

    .hero-section__stamp {
        width: 120px;
        height: 120px;
        padding: 10px;
    }

    .hero-section__stamp-heading {
        font-size: 0.62rem;
    }

    .hero-section__stamp-sub {
        font-size: 0.58rem;
    }

    .article-facts-strip .article-facts-item {
        width: 100%;
        justify-content: space-between;
    }

    .article-rich-body h2.jw-title {
        font-size: 1.35rem;
        hyphens: auto;
    }

    .article-pull-quote {
        padding: 1.25rem !important;
    }

    .article-quote-text {
        font-size: 1rem;
    }

    .footer-section {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .footer-section .footer-brand-text {
        max-width: 100%;
    }

    .footer-section .footer-bottom {
        margin-top: 32px;
    }
}

/* ===== PAGE TEMPLATE: maintenance-scenarios-list ===== */
.scenario-detail__breadcrumb {
    list-style: none;
    font-size: 0.8125rem;
}

.scenario-detail__breadcrumb-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.scenario-detail__breadcrumb-link:hover {
    color: var(--on-dark, #FFFFFF);
    text-decoration: underline;
}

.scenario-detail__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.scenario-detail__breadcrumb-active {
    color: var(--accent, #D2BB9F);
    font-weight: 700;
}

.scenario-detail__hero-meta {
    font-size: 0.875rem;
    color: var(--on-dark-muted, #C3BFB6);
}

.scenario-detail__meta-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 9999px;
    color: var(--on-dark, #FFFFFF);
}

.scenario-detail__meta-icon {
    width: 16px;
    height: 16px;
    color: var(--accent, #D2BB9F);
    flex-shrink: 0;
}

.scenario-detail__sticky-card {
    top: 90px;
    z-index: 10;
}

.scenario-detail__media-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    aspect-ratio: 16 / 10;
}

.scenario-detail__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scenario-detail__media-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
}

.scenario-detail__tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent, #D2BB9F);
}

.scenario-detail__facts-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.scenario-detail__eyebrow-line {
    color: var(--primary-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scenario-detail__fact-tile {
    background: var(--surface-alt);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.scenario-detail__fact-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--on-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scenario-detail__fact-icon {
    width: 18px;
    height: 18px;
}

.scenario-detail__fact-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
}

.scenario-detail__fact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scenario-detail__fact-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

.scenario-detail__article-body {
    color: var(--text);
}

.scenario-detail__h2 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    margin: 0;
    overflow-wrap: anywhere;
}

.scenario-detail__wavy-underline {
    text-decoration: underline wavy var(--primary);
    text-underline-offset: 6px;
}

.scenario-detail__h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.scenario-detail__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    overflow-wrap: anywhere;
}

.scenario-detail__quote-box {
    background: var(--surface-alt);
    border-left: 4px solid var(--accent-text);
    border-radius: 0 12px 12px 0;
}

.scenario-detail__quote-text {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
}

.scenario-detail__quote-author {
    font-size: 0.85rem;
    color: var(--accent-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scenario-detail__checklist-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.scenario-detail__checklist {
    list-style: none;
}

.scenario-detail__checklist-item {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.scenario-detail__checklist-item strong {
    color: var(--text);
}

.scenario-detail__check-icon-holder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.scenario-detail__check-icon {
    width: 14px;
    height: 14px;
}

.scenario-detail__accordion-item {
    border: 1px solid var(--border);
    border-radius: 8px !important;
    overflow: hidden;
    background: var(--surface);
}

.scenario-detail__accordion-btn {
    font-weight: 700;
    color: var(--text);
    background-color: var(--surface);
    font-size: 1rem;
    padding: 16px 20px;
    box-shadow: none !important;
}

.scenario-detail__accordion-btn:not(.collapsed) {
    color: var(--primary);
    background-color: var(--surface-alt);
}

.scenario-detail__accordion-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 16px 20px;
    background: var(--surface);
}

.scenario-detail__consultation-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.scenario-detail__form-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.scenario-detail__input,
.scenario-detail__textarea {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 12px 14px;
    font-size: 0.9375rem;
}

.scenario-detail__input:focus,
.scenario-detail__textarea:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(36, 45, 90, 0.15);
}

.scenario-detail__input::placeholder,
.scenario-detail__textarea::placeholder {
    color: #8c867a;
    opacity: 1;
}

.scenario-detail__consent-check {
    padding-left: 1.8em;
}

.scenario-detail__check-input {
    margin-top: 0.25em;
    border-color: var(--border);
    border-radius: 4px;
}

.scenario-detail__check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.scenario-detail__consent-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.scenario-detail__privacy-link {
    color: var(--primary-text);
    text-decoration: underline;
}

.scenario-detail__submit-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.scenario-detail__submit-btn:hover,
.scenario-detail__submit-btn:focus {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.scenario-detail__related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.scenario-detail__related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.scenario-detail__related-thumb-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-alt);
}

.scenario-detail__related-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scenario-detail__related-card:hover .scenario-detail__related-img {
    transform: scale(1.03);
}

.scenario-detail__related-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scenario-detail__related-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.scenario-detail__related-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.scenario-detail__related-link:hover {
    color: var(--primary);
}

.scenario-detail__related-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.scenario-detail__related-btn {
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.scenario-detail__related-btn:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

.scenario-detail__cta-band {
    background-color: var(--brand-band-bg, #242D5A);
    color: var(--on-dark, #FFFFFF);
}

.scenario-detail__cta-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--on-dark, #FFFFFF);
}

.scenario-detail__cta-lead {
    font-size: 0.95rem;
    color: var(--on-dark-muted, #C3BFB6);
    line-height: 1.6;
}

.scenario-detail__newsletter-input {
    background-color: var(--surface);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text);
    padding: 12px 16px;
    font-size: 0.9375rem;
}

.scenario-detail__newsletter-input::placeholder {
    color: #726b5a;
    opacity: 1;
}

.scenario-detail__newsletter-btn {
    background-color: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.scenario-detail__newsletter-btn:hover,
.scenario-detail__newsletter-btn:focus {
    background-color: #0b0f20;
    color: #ffffff;
    border-color: var(--accent);
}

.scenario-detail__newsletter-consent-label {
    font-size: 0.78rem;
    color: var(--on-dark-muted, #C3BFB6);
}

.scenario-detail__privacy-link-alt {
    color: var(--accent, #D2BB9F);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .scenario-detail__sticky-card {
        position: static !important;
    }
}

@media (max-width: 767.98px) {
    .scenario-detail__h2 {
        font-size: 1.35rem;
    }

    .scenario-detail__h3 {
        font-size: 1.15rem;
    }

    .scenario-detail__facts-box,
    .scenario-detail__consultation-box,
    .scenario-detail__checklist-box,
    .scenario-detail__quote-box {
        padding: 1rem !important;
    }
}

/* ===== PAGE TEMPLATE: knowledge-base-list ===== */
.header-block {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(18, 23, 46, 0.05);
    z-index: 1030;
}

.header-block .header-top-bar {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-block .header-top-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--on-primary);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-block .header-top-info {
    color: var(--on-dark-muted);
}

.header-block .header-top-link {
    color: var(--on-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-block .header-top-link:hover {
    color: var(--accent);
}

.header-block .header-top-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.header-block .header-main-nav {
    background: var(--surface);
}

.header-block .header-logo-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-block .header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-block .header-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-block .header-brand-highlight {
    color: var(--primary-text);
}

.header-block .header-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 6px;
}

.header-block .header-toggler:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.header-block .header-nav-link {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.header-block .header-nav-link:hover,
.header-block .header-nav-link:focus {
    color: var(--primary);
}

.header-block .header-dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(18, 23, 46, 0.12);
    padding: 8px 0;
    min-width: 260px;
}

.header-block .header-dropdown-item {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 18px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-block .header-dropdown-item:hover,
.header-block .header-dropdown-item:focus {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.header-block .header-dropdown-divider {
    border-top-color: var(--border);
    margin: 6px 0;
    opacity: 1;
}

.header-block .header-cta-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.header-block .header-cta-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 991.98px) {
    .header-block .navbar-collapse {
        background: var(--surface);
        padding-top: 16px;
        padding-bottom: 12px;
        border-top: 1px solid var(--border);
        margin-top: 12px;
    }

    .header-block .header-nav-link {
        padding: 10px 0;
    }

    .header-block .header-dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 12px;
        background: var(--surface-alt);
        margin-bottom: 8px;
    }

    .header-block .header-cta-btn {
        width: 100%;
    }
}

.hero-section {
    background-color: var(--hero-bg, #12172E);
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.hero-section__bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(18, 23, 46, 0.94) 0%, rgba(18, 23, 46, 0.85) 60%, rgba(18, 23, 46, 0.7) 100%);
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

.hero-section__pill {
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    max-width: fit-content;
}

.hero-section__pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent, #D2BB9F);
    display: inline-block;
}

.hero-section__pill-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark, #FFFFFF);
}

.hero-section__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--on-dark, #FFFFFF);
    margin: 0;
    overflow-wrap: anywhere;
}

.hero-section__lead {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    max-width: 780px;
    margin: 0;
}

.hero-section__meta-bar {
    color: var(--accent, #D2BB9F);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-section__meta-divider {
    color: rgba(255, 255, 255, 0.3);
}

.article-detail-block {
    background-color: var(--bg);
    overflow-wrap: anywhere;
}

.article-detail__top-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.article-detail__eyebrow-wrap {
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.article-detail__section-title {
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.article-detail__summary-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.article-detail__facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.article-detail__fact-tile {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.article-detail__fact-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-detail__fact-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.article-detail__fact-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-detail__media-wrapper {
    position: relative;
    padding: 10px 0 0 10px;
}

.article-detail__media-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 10px;
    bottom: 10px;
    background: var(--accent);
    border-radius: 12px;
    z-index: 1;
    opacity: 0.6;
}

.article-detail__media-box {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.article-detail__main-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.article-detail__toc-card {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 8px;
}

.article-detail__toc-icon {
    color: var(--primary-text);
}

.article-detail__toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.article-detail__toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 16px;
}

.article-detail__toc-link {
    color: var(--primary-text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.article-detail__toc-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.article-detail__accordion-item {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.article-detail__accordion-btn {
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 18px 22px;
    border: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.article-detail__accordion-btn:not(.collapsed) {
    background-color: var(--surface-alt);
    color: var(--primary-text);
    box-shadow: none;
}

.article-detail__accordion-btn:focus {
    box-shadow: none;
}

.article-detail__acc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    flex-shrink: 0;
}

.article-detail__body-content {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    padding: 24px 22px;
}

.article-detail__check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-detail__check-icon {
    color: var(--primary-text);
    flex-shrink: 0;
    margin-top: 3px;
}

.article-detail__callout {
    background: var(--surface-alt);
    border-left: 3px solid var(--accent-text);
    border-radius: 4px;
    font-style: italic;
    color: var(--text);
}

.article-detail__pull-quote {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.article-detail__quote-svg {
    color: var(--accent);
}

.article-detail__quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    margin: 0;
}

.article-detail__quote-author {
    font-size: 0.9rem;
    color: var(--primary-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-detail__cta-card {
    background: var(--dark-band);
    color: var(--on-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-detail__cta-badge {
    background: rgba(210, 187, 159, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 9999px;
}

.article-detail__cta-title {
    color: var(--on-dark);
    font-size: 1.35rem;
    font-weight: 700;
}

.article-detail__cta-desc {
    color: var(--on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-detail__cta-btn {
    background: var(--primary);
    color: var(--on-primary);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, transform 0.15s ease;
}

.article-detail__cta-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
    transform: translateY(-1px);
}

.article-detail__author-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.article-detail__author-img {
    border-radius: 50%;
    border: 3px solid var(--border);
    object-fit: cover;
}

.article-detail__author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-text);
    font-weight: 700;
}

.article-detail__author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.article-detail__author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.article-detail__author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-detail__related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.article-detail__related-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--surface-alt);
}

.article-detail__related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-detail__related-card:hover .article-detail__related-img {
    transform: scale(1.03);
}

.article-detail__related-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-detail__related-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-detail__related-link:hover {
    color: var(--primary);
}

.article-detail__related-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-detail__read-more {
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-detail__read-more:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.newsletter-band-block {
    background-color: var(--brand-band-bg, #242D5A);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-band__badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--on-primary);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.newsletter-band__title {
    color: var(--on-primary);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
}

.newsletter-band__desc {
    color: var(--on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-band__input {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text);
}

.newsletter-band__input::placeholder {
    color: var(--text-muted);
}

.newsletter-band__submit-btn {
    background: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.newsletter-band__submit-btn:hover {
    background: #0a0d1a;
    color: var(--on-dark, #FFFFFF);
}

.newsletter-band__consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.newsletter-band__checkbox {
    margin-top: 3px;
    cursor: pointer;
}

.newsletter-band__consent-label {
    font-size: 0.8rem;
    color: var(--on-dark-muted);
    cursor: pointer;
    line-height: 1.4;
}

.newsletter-band__consent-link {
    color: var(--accent);
    text-decoration: underline;
}

.newsletter-band__consent-link:hover {
    color: var(--on-primary);
}

.footer-section {
    background-color: var(--dark-band, #12172E);
    color: var(--on-dark, #FFFFFF);
    padding-top: 56px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-wrap: anywhere;
}

.footer-section .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--on-dark, #FFFFFF);
    margin-bottom: 16px;
}

.footer-section .footer-logo {
    max-width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-section .footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.3;
}

.footer-section .footer-brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
    max-width: 340px;
}

.footer-section .footer-column-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent, #D2BB9F);
    margin-bottom: 18px;
}

.footer-section .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section .footer-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-section .footer-link:hover,
.footer-section .footer-link:focus {
    color: var(--on-dark, #FFFFFF);
    transform: translateX(3px);
}

.footer-section .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--on-dark-muted, #C3BFB6);
}

.footer-section .footer-icon-wrap {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent, #D2BB9F);
    margin-top: 2px;
}

.footer-section .footer-svg-icon {
    width: 18px;
    height: 18px;
}

.footer-section .footer-contact-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-contact-link:hover,
.footer-section .footer-contact-link:focus {
    color: var(--on-dark, #FFFFFF);
}

.footer-section .footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .footer-copyright {
    font-size: 0.85rem;
    color: var(--on-dark-muted, #C3BFB6);
    margin-bottom: 0;
}

.footer-section .footer-utility-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-section .footer-utility-links {
        justify-content: flex-end;
    }
}

.footer-section .footer-utility-link {
    color: var(--on-dark-muted, #C3BFB6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-utility-link:hover,
.footer-section .footer-utility-link:focus {
    color: var(--on-dark, #FFFFFF);
    text-decoration: underline;
}

.footer-section .footer-utility-separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-section__title {
        font-size: 1.5rem;
        hyphens: auto;
    }

    .hero-section__lead {
        font-size: 0.95rem;
    }

    .article-detail__facts-grid {
        grid-template-columns: 1fr;
    }

    .article-detail__toc-list {
        grid-template-columns: 1fr;
    }

    .article-detail__pull-quote {
        padding: 20px;
    }

    .article-detail__quote-text {
        font-size: 1.05rem;
    }

    .article-detail__cta-card {
        padding: 24px;
    }

    .newsletter-band__submit-btn {
        width: 100%;
    }

    .footer-section {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .footer-section .footer-brand-text {
        max-width: 100%;
    }

    .footer-section .footer-bottom {
        margin-top: 32px;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}

/* ===== featured case (faq) ===== */
.faq-block .faq-case-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
}

.faq-block .faq-case-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.faq-block .faq-case-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 9999px;
    padding: 3px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.faq-block .faq-case-lead {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.faq-block .faq-case-device {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.faq-block .faq-case-device:last-of-type {
    margin-bottom: 12px;
}

.faq-block .faq-case-device-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 4px;
}

.faq-block .faq-case-device-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.faq-block .faq-case-q-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.faq-block .faq-case-q-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-block .faq-case-q-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text);
}

.faq-block .faq-case-q-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.faq-block .faq-case-result {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
}

.faq-block .faq-case-result-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.faq-block .faq-case-verdict {
    flex-shrink: 0;
    min-width: 34px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 8px;
}

.faq-block .faq-case-verdict--no {
    background: rgba(220, 53, 69, 0.1);
    color: #a33340;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.faq-block .faq-case-verdict--yes {
    background: rgba(36, 45, 90, 0.08);
    color: var(--primary-text);
    border: 1px solid rgba(36, 45, 90, 0.2);
}

.faq-block .faq-case-result-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text);
}

/* ===== calculator range fill ===== */
.calc-range {
    --calc-fill: 0%;
}

.calc-range::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--calc-fill), var(--surface-alt) var(--calc-fill), var(--surface-alt) 100%);
}

.calc-range::-moz-range-progress {
    background-color: var(--primary);
    height: 0.5rem;
    border-radius: 1rem;
}

.calc-range::-moz-range-track {
    background-color: var(--surface-alt);
    height: 0.5rem;
    border-radius: 1rem;
}

/* ===== mobile header: logo + title + toggler in one line ===== */
@media (max-width: 991.98px) {
    .header-block .header-logo-wrap {
        width: 34px;
        height: 34px;
    }

    .header-block .header-brand-title {
        font-size: 1rem;
        white-space: nowrap;
    }

    .header-block .navbar-brand {
        gap: 8px !important;
        min-width: 0;
        flex-shrink: 1;
    }
}

@media (max-width: 420px) {
    .header-block .header-logo-wrap {
        width: 30px;
        height: 30px;
    }

    .header-block .header-brand-title {
        font-size: 0.82rem;
        letter-spacing: 0;
    }

    .header-block .header-toggler {
        padding: 4px 8px;
    }
}

/* ===== mobile: session parameters header in one line ===== */
@media (max-width: 575.98px) {
    .calc-card-head {
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 8px !important;
    }

    .calc-card-head .calc-card-title {
        font-size: 0.95rem;
        line-height: 1.25;
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: normal;
    }

    .calc-card-head .calc-presets {
        flex-wrap: nowrap;
        flex-shrink: 0;
        gap: 4px !important;
    }

    .calc-card-head .calc-preset-btn {
        padding: 3px 7px;
        font-size: 0.68rem;
        white-space: nowrap;
    }
}

/* ===== policy pages: prevent white content card from overlapping footer ===== */
.policy-section .policy-card,
.terms-block .terms-content-box {
    height: auto;
}
