/* IMH Press Portal — cinematic dark public theme */
@import url("landing-EPVcve0.css");

:root {
    --imh-bg: #08080c;
    --imh-bg-elevated: #111118;
    --imh-bg-card: #16161f;
    --imh-border: rgba(201, 162, 39, 0.18);
    --imh-gold: #c9a227;
    --imh-gold-light: #e4c65a;
    --imh-gold-dim: rgba(201, 162, 39, 0.12);
    --imh-text: #e8e6e3;
    --imh-text-muted: #9a9690;
    --imh-accent-glow: rgba(201, 162, 39, 0.35);
    --imh-font: 'Noto Sans', 'Noto Sans Arabic', system-ui, sans-serif;
    --imh-radius: 12px;
    --imh-container: 1120px;
    --imh-narrow: 760px;
    --imh-gutter: clamp(1rem, 4vw, 2rem);
    --site-header-height: 4rem;
    --site-footer-min: 14rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--imh-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--imh-text);
    background: var(--imh-bg);
    -webkit-font-smoothing: antialiased;
}

html.rtl body.public-site {
    font-family: 'Noto Sans Arabic', 'Noto Sans', system-ui, sans-serif;
}

html[lang="he"] body.public-site {
    font-family: 'Noto Sans Hebrew', 'Noto Sans', system-ui, sans-serif;
}

html[lang="am"] body.public-site {
    font-family: 'Noto Sans Ethiopic', 'Noto Sans', system-ui, sans-serif;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(80, 60, 120, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(201, 162, 39, 0.06), transparent 45%),
        var(--imh-bg);
    pointer-events: none;
}

.site-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: var(--imh-container);
    margin-inline: auto;
    padding-inline: var(--imh-gutter);
}

.container--narrow {
    max-width: var(--imh-narrow);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
    border-bottom: 1px solid var(--imh-border);
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header--scrolled {
    border-bottom-color: rgba(201, 162, 39, 0.28);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.42),
        0 1px 0 rgba(201, 162, 39, 0.08);
}

@supports (animation-timeline: scroll(root block)) {
    .site-header {
        animation: site-header-shadow linear both;
        animation-timeline: scroll(root block);
        animation-range: 0px 72px;
    }

    @keyframes site-header-shadow {
        from {
            border-bottom-color: var(--imh-border);
            box-shadow: none;
        }

        to {
            border-bottom-color: rgba(201, 162, 39, 0.28);
            box-shadow:
                0 4px 24px rgba(0, 0, 0, 0.42),
                0 1px 0 rgba(201, 162, 39, 0.08);
        }
    }
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4rem;
    flex-wrap: wrap;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--imh-text);
    margin-inline-end: auto;
}

.brand-mark__logo {
    display: block;
    width: auto;
    max-height: 44px;
    height: auto;
}

.brand-mark--footer .brand-mark__logo {
    max-height: 40px;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--imh-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--imh-gold-light);
}

.site-nav a.is-active {
    position: relative;
}

.site-nav a.is-active::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -0.35rem;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--imh-gold), transparent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.nav-action-link {
    color: var(--imh-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-action-link:hover,
.nav-action-link.is-active {
    color: var(--imh-gold-light);
}

/* Mobile navigation */

.mobile-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 210;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin-inline-start: auto;
    border: 1px solid var(--imh-border);
    border-radius: var(--imh-radius);
    background: var(--imh-bg-elevated);
    color: var(--imh-text);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.mobile-nav__toggle:hover,
.site-header.is-nav-open .mobile-nav__toggle {
    border-color: var(--imh-gold);
    color: var(--imh-gold-light);
}

.mobile-nav__icon {
    position: relative;
    display: block;
    width: 1.125rem;
    height: 0.875rem;
}

.mobile-nav__bar {
    position: absolute;
    inset-inline: 0;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.mobile-nav__bar:nth-child(1) {
    top: 0;
}

.mobile-nav__bar:nth-child(2) {
    top: 0.375rem;
}

.mobile-nav__bar:nth-child(3) {
    top: 0.75rem;
}

.site-header.is-nav-open .mobile-nav__bar:nth-child(1) {
    top: 0.375rem;
    transform: rotate(45deg);
}

.site-header.is-nav-open .mobile-nav__bar:nth-child(2) {
    opacity: 0;
}

.site-header.is-nav-open .mobile-nav__bar:nth-child(3) {
    top: 0.375rem;
    transform: rotate(-45deg);
}

.mobile-nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    border: 0;
    padding: 0;
    background: rgba(4, 4, 8, 0.72);
    backdrop-filter: blur(4px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-header.is-nav-open .mobile-nav__overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .brand-mark {
        margin-inline-end: 0;
        min-width: 0;
    }

    .mobile-nav__toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset-block: 0;
        inset-inline-end: 0;
        z-index: 200;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(85vw, 18rem);
        margin: 0;
        padding: 5rem 1.5rem 2rem;
        border-inline-start: 1px solid var(--imh-border);
        background: rgba(17, 17, 24, 0.98);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

    html.rtl .site-nav {
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
        transform: translateX(-100%);
    }

    .site-header.is-nav-open .site-nav {
        visibility: visible;
        transform: translateX(0);
    }

    .site-nav a {
        padding: 0.85rem 0;
        font-size: 1rem;
        text-align: start;
        border-bottom: 1px solid var(--imh-border);
    }

    .site-nav a.is-active::after {
        display: none;
    }

    .site-nav a.is-active {
        color: var(--imh-gold-light);
    }

    .nav-actions {
        margin-inline-start: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--imh-border);
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Bottom-left language switcher (Google/YouTube style) */

.language-switcher {
    position: fixed;
    inset-inline-start: 1rem;
    inset-inline-end: auto;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    z-index: 9010;
}

html.rtl .language-switcher {
    inset-inline-start: auto;
    inset-inline-end: 1rem;
}

.language-switcher__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated);
    color: var(--imh-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.language-switcher__trigger:hover,
.language-switcher__trigger[aria-expanded="true"] {
    border-color: var(--imh-gold);
    color: var(--imh-gold-light);
}

.language-switcher__icon {
    flex-shrink: 0;
    color: var(--imh-gold);
}

.language-switcher__current {
    white-space: nowrap;
}

.language-switcher__panel {
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: auto;
    bottom: calc(100% + 0.5rem);
    width: min(20rem, calc(100vw - 2rem));
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html.rtl .language-switcher__panel {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.language-switcher__panel-title {
    margin: 0 0 0.65rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--imh-text-muted);
}

.language-switcher__filter {
    display: block;
    width: 100%;
    margin: 0 0 0.65rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg);
    color: var(--imh-text);
    font: inherit;
    font-size: 0.875rem;
    text-align: start;
}

.language-switcher__filter::placeholder {
    color: var(--imh-text-muted);
}

.language-switcher__filter:focus {
    outline: none;
    border-color: var(--imh-gold);
}

.language-switcher__list-wrap {
    max-height: min(18rem, calc(100dvh - 11rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--imh-border) transparent;
}

.language-switcher__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
}

.language-switcher__empty {
    margin: 0.5rem 0 0;
    padding: 0 0.35rem;
    font-size: 0.85rem;
    color: var(--imh-text-muted);
    text-align: center;
}

.language-switcher__option {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    color: var(--imh-text);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: start;
    transition: background 0.12s ease, color 0.12s ease;
}

.language-switcher__option:hover {
    background: var(--imh-gold-dim);
    color: var(--imh-gold-light);
}

.language-switcher__option.is-current {
    background: rgba(201, 162, 39, 0.14);
    color: var(--imh-gold-light);
    font-weight: 600;
}

.language-switcher__option:focus-visible {
    outline: 2px solid var(--imh-gold);
    outline-offset: 1px;
}

/* Cookie consent banner */

.cookie-banner-root {
    --cookie-banner-z: 9000;
}

.cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--cookie-banner-z);
    padding: 1rem;
    pointer-events: none;
    background: transparent;
}

/* The [hidden] attribute must always win over the display rules below
   (a plain class selector otherwise overrides the UA [hidden] default). */
.cookie-banner[hidden] {
    display: none;
}

.cookie-banner--modal {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: auto;
    background: rgba(8, 8, 12, 0.72);
    backdrop-filter: blur(4px);
}

.cookie-banner__panel {
    pointer-events: auto;
    max-width: 42rem;
    margin-inline: auto;
    padding: 1.5rem;
    border-radius: var(--imh-radius);
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    max-height: min(85vh, calc(100dvh - 2rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--imh-gold-dim) transparent;
}

.cookie-banner__panel--settings {
    max-width: 32rem;
    width: 100%;
}

.cookie-banner__settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-banner__settings-head .cookie-banner__title {
    margin: 0;
}

.cookie-banner__close {
    flex-shrink: 0;
    margin: 0;
    padding: 0.25rem 0.5rem;
    border: 0;
    border-radius: var(--imh-radius, 12px);
    background: transparent;
    color: var(--imh-text-muted, #9a9690);
    font: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-banner__close:hover {
    color: var(--imh-gold-light, #e4c65a);
}

.cookie-banner__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--imh-gold-light, #e4c65a);
}

.cookie-banner__description {
    margin: 0 0 1.25rem;
    color: var(--imh-text-muted, #9a9690);
    font-size: 0.95rem;
}

.cookie-banner__link {
    color: var(--imh-gold, #c9a227);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-banner__category {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--imh-border, rgba(201, 162, 39, 0.18));
}

.cookie-banner__category:last-of-type {
    border-bottom: 0;
    margin-bottom: 1.25rem;
}

.cookie-banner__category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.cookie-banner__category-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--imh-text-muted, #9a9690);
}

.cookie-banner__badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--imh-gold-dim, rgba(201, 162, 39, 0.12));
    color: var(--imh-gold-light, #e4c65a);
}

.cookie-banner__reopen {
    position: fixed;
    inset-inline-start: 1rem;
    bottom: 1rem;
    z-index: calc(var(--cookie-banner-z) - 1);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated);
    color: var(--imh-text-muted);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    max-width: calc(100vw - 2rem);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner__reopen:hover {
    color: var(--imh-gold-light);
    border-color: var(--imh-gold);
}

/* Stack reopen above the fixed language switcher (same corner) */
body.public-site:has(.language-switcher) .cookie-banner__reopen {
    bottom: calc(1rem + 2.85rem + 0.35rem);
}

body.public-site:has(.language-switcher__trigger[aria-expanded="true"]) .cookie-banner__reopen {
    visibility: hidden;
    pointer-events: none;
}

/* Hero */

.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero--compact {
    padding: 3.5rem 0 2.5rem;
}

.hero--landing .hero__inner {
    max-width: 42rem;
    margin-inline: auto;
}

.hero__eyebrow {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--imh-gold);
}

.hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.text-gold {
    color: var(--imh-gold-light);
    background: linear-gradient(120deg, var(--imh-gold), var(--imh-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__lead {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    color: var(--imh-text-muted);
    max-width: 36rem;
    margin-inline: auto;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--imh-gold), #a88620);
    color: #0a0a0c;
    box-shadow: 0 4px 24px var(--imh-accent-glow);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 32px var(--imh-accent-glow);
}

.btn--ghost {
    background: transparent;
    border-color: var(--imh-border);
    color: var(--imh-text);
}

.btn--ghost:hover {
    border-color: var(--imh-gold);
    color: var(--imh-gold-light);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

/* Nav auth CTAs — override .site-nav a muted/gold link colors for contrast on dark header */
.nav-actions .nav-auth-btn {
    --nav-auth-text: #0a0a0c;
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.btn--ghost {
    background: rgba(228, 198, 90, 0.92);
    border-color: rgba(201, 162, 39, 0.55);
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.btn--ghost:hover,
.nav-actions .nav-auth-btn.btn--ghost:focus-visible {
    background: var(--imh-gold-light);
    border-color: var(--imh-gold-light);
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.btn--primary,
.nav-actions .nav-auth-btn.nav-auth-btn--register {
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.btn--primary:hover,
.nav-actions .nav-auth-btn.btn--primary:focus-visible,
.nav-actions .nav-auth-btn.nav-auth-btn--register:hover,
.nav-actions .nav-auth-btn.nav-auth-btn--register:focus-visible {
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.is-active.btn--ghost {
    background: var(--imh-gold-light);
    border-color: var(--imh-gold);
    color: var(--nav-auth-text);
}

.nav-actions .nav-auth-btn.is-active.btn--primary,
.nav-actions .nav-auth-btn.nav-auth-btn--register.is-active {
    color: var(--nav-auth-text);
    box-shadow: 0 0 0 1px var(--imh-gold), 0 4px 20px var(--imh-accent-glow);
}

.nav-actions .nav-auth-btn:active {
    transform: translateY(0);
}

/* Sections */

.section {
    padding: 3rem 0 4rem;
}

.section__title {
    text-align: center;
    margin: 0 0 2.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    border-radius: var(--imh-radius);
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
}

.feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: var(--imh-gold-light);
}

.feature-card p {
    margin: 0;
    color: var(--imh-text-muted);
    font-size: 0.95rem;
}

.cta-panel {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: calc(var(--imh-radius) + 4px);
    background: linear-gradient(160deg, var(--imh-bg-card), rgba(201, 162, 39, 0.06));
    border: 1px solid var(--imh-border);
}

.cta-panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
}

.cta-panel p {
    margin: 0 0 1.5rem;
    color: var(--imh-text-muted);
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: var(--imh-radius);
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
}

.pricing-card--featured {
    border-color: var(--imh-gold);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.12);
}

.pricing-card__badge {
    position: absolute;
    top: -0.65rem;
    inset-inline-end: 1.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--imh-gold);
    color: #0a0a0c;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card__name {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}

.pricing-card__price {
    margin: 0 0 1.5rem;
}

.pricing-card__amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--imh-gold-light);
}

.pricing-card__currency {
    display: block;
    font-size: 0.85rem;
    color: var(--imh-text-muted);
    margin-top: 0.25rem;
}

.pricing-card__features {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
    flex: 1;
}

.pricing-card__features li {
    padding: 0.45rem 0;
    padding-inline-start: 1.25rem;
    position: relative;
    color: var(--imh-text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card__features li::before {
    content: '✦';
    position: absolute;
    inset-inline-start: 0;
    color: var(--imh-gold);
    font-size: 0.65rem;
    top: 0.55rem;
}

/* Press list */

.press-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.press-card {
    padding: 1.75rem;
    border-radius: var(--imh-radius);
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
    transition: border-color 0.2s;
}

.press-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
}

.press-card__date {
    display: block;
    font-size: 0.8rem;
    color: var(--imh-gold);
    margin-bottom: 0.5rem;
}

.press-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.press-card__title a {
    color: var(--imh-text);
    text-decoration: none;
}

.press-card__title a:hover {
    color: var(--imh-gold-light);
}

.press-card__excerpt {
    margin: 0 0 1rem;
    color: var(--imh-text-muted);
    font-size: 0.95rem;
}

.press-card__link {
    color: var(--imh-gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.press-card__link:hover {
    color: var(--imh-gold-light);
}

/* Landing news rubrics */

.section--news {
    padding-block: 4rem 3rem;
    border-block-end: 1px solid var(--imh-border);
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
}

.news-rubric {
    margin-block-end: 2.75rem;
}

.news-rubric:last-child {
    margin-block-end: 0;
}

.news-rubric__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-block-end: 1.25rem;
    flex-wrap: wrap;
}

.news-rubric__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--imh-gold-light);
    letter-spacing: 0.02em;
}

.news-rubric__view-all {
    color: var(--imh-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.news-rubric__view-all:hover {
    color: var(--imh-gold);
}

.news-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.25rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--imh-radius);
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.news-card--external {
    border-inline-start: 3px solid rgba(201, 162, 39, 0.35);
}

.news-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-block-end: 0.75rem;
}

.news-card__badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--badge-color, var(--imh-gold));
    background: color-mix(in srgb, var(--badge-color, var(--imh-gold)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-color, var(--imh-gold)) 35%, transparent);
}

.news-card__badge--source {
    --badge-color: var(--imh-text-muted);
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.news-card__date {
    font-size: 0.78rem;
    color: var(--imh-text-muted);
}

.news-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.news-card__title a {
    color: var(--imh-text);
    text-decoration: none;
}

.news-card__title a:hover {
    color: var(--imh-gold-light);
}

.news-card__excerpt {
    margin: 0 0 1rem;
    flex: 1;
    color: var(--imh-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__link {
    margin-block-start: auto;
    color: var(--imh-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card__link:hover {
    color: var(--imh-gold-light);
}

/* Press detail */

.press-detail__header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--imh-border);
}

.press-detail__back {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--imh-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.press-detail__back:hover {
    color: var(--imh-gold);
}

.press-detail__date {
    display: block;
    font-size: 0.85rem;
    color: var(--imh-gold);
    margin-bottom: 0.75rem;
}

.press-detail__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.press-detail__excerpt {
    margin: 0;
    font-size: 1.125rem;
    color: var(--imh-text-muted);
}

/* Legal */

.legal-header {
    margin-bottom: 2rem;
}

.legal-header__title {
    margin: 0 0 0.75rem;
    font-size: 2rem;
}

.legal-header__notice {
    margin: 0 0 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: var(--imh-gold-dim);
    border: 1px solid var(--imh-border);
    color: var(--imh-gold-light);
    font-size: 0.875rem;
}

.legal-header__updated {
    margin: 0;
    font-size: 0.85rem;
    color: var(--imh-text-muted);
}

/* Prose */

.prose {
    color: var(--imh-text-muted);
}

.prose h2,
.prose h3 {
    color: var(--imh-text);
    margin-top: 2rem;
}

.prose a {
    color: var(--imh-gold-light);
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1rem;
}

/* Responsive video embeds (16:9) */

.video-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--imh-radius, 12px);
    background: var(--imh-bg-elevated, #111118);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.account-video {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--imh-border);
    border-radius: var(--imh-radius, 12px);
    background: var(--imh-bg-elevated, #111118);
}

.account-video__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--imh-text);
}

.account-video__lead {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--imh-text-muted);
}

.account-video__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
}

.account-video__url-field {
    flex: 1 1 16rem;
    margin: 0;
}

.account-video__insert {
    flex: 0 0 auto;
}

.account-video__preview {
    margin-top: 1rem;
}

.account-video__error {
    margin: 0;
    font-size: 0.875rem;
    color: #f87171;
}

.legal-toc {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--imh-radius, 12px);
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated, #111118);
}

.legal-toc__title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--imh-text);
}

.legal-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.legal-toc__item a {
    font-size: 0.875rem;
    color: var(--imh-gold-light);
    text-decoration: none;
}

.legal-toc__item--highlight a {
    font-weight: 600;
    text-decoration: underline;
}

.legal-processors {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.legal-processors__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-processors__table th,
.legal-processors__table td {
    padding: 0.75rem;
    border: 1px solid var(--imh-border);
    text-align: start;
    vertical-align: top;
}

.legal-processors__table th {
    background: var(--imh-bg-elevated, #111118);
    color: var(--imh-text);
}

.legal-anchor {
    display: block;
    position: relative;
    top: -4rem;
    visibility: hidden;
}

.empty-state {
    text-align: center;
    color: var(--imh-text-muted);
    padding: 3rem 1rem;
}

/* Footer */

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid var(--imh-border);
    padding: 3rem 0 2.75rem;
    background: rgba(8, 8, 12, 0.6);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
    align-items: start;
}

.brand-mark--footer {
    margin-bottom: 0.75rem;
}

.footer-brand {
    text-align: start;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    text-align: end;
}

.footer-nav--legal {
    min-width: 0;
}

.footer-tagline {
    margin: 0 0 0.5rem;
    color: var(--imh-text-muted);
    font-size: 0.9rem;
}

.footer-imh-link {
    color: var(--imh-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-imh-link:hover {
    color: var(--imh-gold-light);
}

.footer-nav a {
    color: var(--imh-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: var(--imh-gold);
}

.footer-copy {
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.03em;
    color: var(--imh-text-muted);
    text-align: center;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(100dvh - var(--site-header-height) - var(--site-footer-min));
}

/* RTL adjustments */

html.rtl .language-switcher__list {
    direction: rtl;
}

html.rtl .language-switcher__panel-title {
    text-align: start;
}


html.rtl .site-nav,
html.rtl .nav-actions,
html.rtl .footer-nav,
html.rtl .hero__actions,
html.rtl .cookie-banner__actions,
html.rtl .cookie-banner__settings-head {
    direction: rtl;
}

html.rtl .press-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

html.rtl .press-card__link,
html.rtl .footer-imh-link,
html.rtl .news-rubric__view-all,
html.rtl .news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.link-arrow::after {
    content: '→';
    margin-inline-start: 0.25rem;
}

.link-arrow--start::before {
    content: '←';
    margin-inline-end: 0.35rem;
}

.link-arrow--start::after {
    content: none;
    margin: 0;
}

html.rtl .link-arrow::after {
    content: '←';
}

html.rtl .link-arrow--start::before {
    content: '→';
}

.footer-imh-link__arrow::before {
    content: '→';
    margin-inline-start: 0.25rem;
}

html.rtl .footer-imh-link__arrow::before {
    content: '←';
}

@media (min-width: 641px) and (max-width: 899px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav--legal {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem 2rem;
        align-items: start;
        align-content: start;
        align-self: stretch;
        width: 100%;
        max-width: 22rem;
        margin-inline-start: auto;
        text-align: start;
    }

    .footer-nav--legal a {
        padding-block: 0.15rem;
    }

    html.rtl .footer-nav--legal {
        margin-inline-start: 0;
        margin-inline-end: auto;
        text-align: start;
    }
}

@media (max-width: 640px) {
    .brand-mark__logo {
        max-height: 36px;
    }

    .brand-mark--footer .brand-mark__logo {
        max-height: 32px;
    }

    .language-switcher__list {
        grid-template-columns: 1fr;
    }

    .language-switcher__list-wrap {
        max-height: min(14rem, calc(100dvh - 12rem));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .brand-mark--footer {
        justify-content: center;
        width: 100%;
    }

    .footer-nav,
    .footer-nav--legal {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        max-width: none;
        margin-inline: 0;
    }

    html.rtl .footer-brand,
    html.rtl .footer-nav,
    html.rtl .footer-nav--legal {
        text-align: center;
        align-items: center;
        margin-inline: 0;
        width: 100%;
    }

    html.rtl .footer-imh-link {
        justify-content: center;
    }

    .cookie-banner:not(.cookie-banner--modal) {
        padding: 0.5rem;
    }

    .cookie-banner--modal {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .cookie-banner__panel {
        padding: 1rem;
        max-height: min(52vh, calc(100dvh - 5.5rem));
        border-radius: 10px;
    }

    .cookie-banner__panel--settings {
        max-height: min(85vh, calc(100dvh - 1.5rem));
    }

    .cookie-banner__title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .cookie-banner__description {
        font-size: 0.85rem;
        margin-bottom: 0.85rem;
        line-height: 1.45;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .cookie-banner__actions .btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .cookie-banner__actions .btn--primary {
        grid-column: 1 / -1;
    }

    .cookie-banner__reopen {
        inset-inline-start: 0.75rem;
        bottom: 0.75rem;
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        max-width: calc(100vw - 1.5rem);
    }

    body.public-site:has(.language-switcher) .cookie-banner__reopen {
        bottom: calc(0.75rem + 2.85rem + 0.35rem);
    }

    html.rtl .language-switcher__panel {
        inset-inline-start: auto;
        inset-inline-end: 0;
        width: min(20rem, calc(100vw - 1.5rem));
    }
}

/* Customer account portal */

.account-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 2rem;
}

.account-card {
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
    border-radius: var(--imh-radius);
    padding: 1.25rem 1.5rem;
}

.account-card--highlight {
    border-color: var(--imh-gold);
    box-shadow: 0 0 24px var(--imh-gold-dim);
}

.account-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--imh-gold-light);
}

.account-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-card__list li + li {
    margin-top: 0.45rem;
}

.account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--imh-bg-card);
    border: 1px solid var(--imh-border);
    border-radius: var(--imh-radius);
    padding: 1rem 1.15rem;
}

.stat-card--warn {
    border-color: rgba(240, 160, 160, 0.45);
}

.stat-card__label {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    color: var(--imh-text-muted);
    line-height: 1.35;
}

.stat-card__value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--imh-gold-light);
    line-height: 1.2;
}

.stat-card__hint {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: var(--imh-text-muted);
}

.account-card__lead {
    margin: 0 0 1rem;
    color: var(--imh-text-muted);
    font-size: 0.9rem;
}

.stats-distribution {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stats-distribution li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.account-form .form-field {
    margin-bottom: 1.25rem;
}

/* Auth (login / register) */

.section--auth {
    padding-top: 0;
    padding-bottom: 4.5rem;
}

.hero--auth .hero__lead {
    margin-bottom: 0;
}

.auth-card {
    max-width: 28rem;
    margin-inline: auto;
    padding: 2rem 1.75rem 1.5rem;
    border-radius: calc(var(--imh-radius) + 2px);
    background: linear-gradient(165deg, var(--imh-bg-card) 0%, rgba(22, 22, 31, 0.92) 100%);
    border: 1px solid var(--imh-border);
    box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.35);
}

.auth-card--wide {
    max-width: 34rem;
}

.auth-card__alerts {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.auth-card__alerts .flash {
    margin-bottom: 0;
}

.auth-alert {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-alert--error {
    background: rgba(240, 160, 160, 0.1);
    border: 1px solid rgba(240, 160, 160, 0.35);
    color: #f5c4c4;
}

.auth-alert__text {
    margin: 0;
}

.auth-alert__list {
    margin: 0;
    padding-inline-start: 1.15rem;
}

.auth-alert__list li + li {
    margin-top: 0.35rem;
}

.auth-form .form-field {
    margin-bottom: 1.1rem;
}

.auth-form__row {
    display: grid;
    gap: 0 1rem;
}

@media (min-width: 520px) {
    .auth-form--register .auth-form__row {
        grid-template-columns: 1fr 1fr;
    }
}

.auth-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--imh-text);
    letter-spacing: 0.01em;
}

.auth-form input[type='email'],
.auth-form input[type='password'],
.auth-form input[type='text'] {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated);
    color: var(--imh-text);
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form input::placeholder {
    color: var(--imh-text-muted);
    opacity: 0.75;
}

.auth-form input:hover {
    border-color: rgba(201, 162, 39, 0.32);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--imh-gold);
    box-shadow: 0 0 0 3px var(--imh-gold-dim);
}

.auth-form .btn--primary {
    margin-top: 0.35rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.35rem 0 1.15rem;
}

.auth-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 162, 39, 0.28) 20%,
        rgba(201, 162, 39, 0.28) 80%,
        transparent
    );
}

.auth-divider__text {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--imh-text-muted);
}

.auth-socials {
    display: grid;
    gap: 0.6rem;
}

.btn--social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 10px;
    padding-block: 0.65rem;
    font-weight: 500;
}

.btn--social:hover {
    background: var(--imh-gold-dim);
}

.auth-social__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
}

.btn--social-github .auth-social__icon {
    color: var(--imh-text);
}

.btn--social-linkedin .auth-social__icon {
    color: #0a66c2;
}

.auth-social__label {
    line-height: 1.2;
}

.auth-passkey {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px dashed rgba(201, 162, 39, 0.22);
}

.btn--passkey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 10px;
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--imh-gold-light);
}

.btn--passkey:hover {
    border-color: var(--imh-gold);
    background: var(--imh-gold-dim);
    color: var(--imh-gold-light);
}

.auth-passkey__icon {
    display: inline-flex;
    color: var(--imh-gold);
}

.auth-passkey__hint {
    text-align: center;
}

.auth-switch {
    margin: 1.35rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.9rem;
    color: var(--imh-text-muted);
}

.auth-switch a {
    color: var(--imh-gold-light);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--imh-gold);
    text-decoration: underline;
}

.account-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.account-form input[type='text'],
.account-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--imh-border);
    background: var(--imh-bg-elevated);
    color: var(--imh-text);
    font: inherit;
}

.form-hint {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--imh-text-muted);
}

.form-hint--warn {
    color: #e8a87c;
}

.form-hint--ok {
    color: #8fd4a8;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.account-ai {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--imh-radius);
    border: 1px dashed var(--imh-border);
    background: var(--imh-bg-elevated);
}

.account-ai__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.account-ai__lead {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--imh-text-muted);
}

.account-ai__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.account-ai__status {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--imh-text-muted);
}

.account-ai__status--error {
    color: #f0a0a0;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.65rem 0.75rem;
    text-align: start;
    border-bottom: 1px solid var(--imh-border);
}

.data-table th {
    color: var(--imh-text-muted);
    font-weight: 600;
}

.status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: capitalize;
}

.status--paid,
.status--published,
.status--success {
    background: rgba(143, 212, 168, 0.15);
    color: #8fd4a8;
}

.status--pending {
    background: rgba(201, 162, 39, 0.15);
    color: var(--imh-gold-light);
}

.status--failed,
.status--expired {
    background: rgba(240, 160, 160, 0.12);
    color: #f0a0a0;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.flash--success {
    background: rgba(143, 212, 168, 0.12);
    border: 1px solid rgba(143, 212, 168, 0.35);
    color: #b8e8c8;
}

.flash--error {
    background: rgba(240, 160, 160, 0.1);
    border: 1px solid rgba(240, 160, 160, 0.35);
    color: #f5c4c4;
}

.flash--warning {
    background: rgba(232, 168, 124, 0.12);
    border: 1px solid rgba(232, 168, 124, 0.35);
    color: #f0d4b8;
}

.section__heading {
    margin: 2rem 0 0.5rem;
    font-size: 1.25rem;
}

.section__actions {
    margin: 0 0 1.25rem;
}

.empty-state {
    color: var(--imh-text-muted);
}

.text-muted {
    color: var(--imh-text-muted);
}

.hero--compact .hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.ad-slot {
    margin: 1.5rem auto;
    max-width: 728px;
    min-height: 90px;
    text-align: center;
}

.ad-slot--primary {
    padding: 0 1rem;
}

.ad-slot--secondary {
    margin: 2rem auto 1rem;
}
