.navbar.navbar-premium {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.3) 0%, rgba(8, 17, 31, 0) 100%) !important;
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
}

.navbar.navbar-premium.scrolled {
    background: linear-gradient(135deg, rgba(10, 22, 39, 0.96) 0%, rgba(17, 33, 54, 0.94) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.navbar-premium .navbar-inner {
    gap: 18px;
    align-items: center;
}

.navbar.navbar-premium .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 999px;
    background: rgba(8, 18, 32, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
}

.navbar.navbar-premium .nav-item {
    position: relative;
    list-style: none;
}

.navbar.navbar-premium .nav-link,
.navbar.navbar-premium .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.navbar.navbar-premium .nav-item.is-current > .nav-link,
.navbar.navbar-premium .nav-item.is-current > .nav-dropdown-toggle,
.navbar.navbar-premium .nav-link:hover,
.navbar.navbar-premium .nav-dropdown-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: transform 0.24s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg,
.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    padding: 14px;
    display: grid;
    gap: 8px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 21, 36, 0.98) 0%, rgba(16, 31, 51, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(5, 10, 18, 0.38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.nav-dropdown-link strong {
    color: #fff;
    font-size: 0.95rem;
}

.nav-dropdown-link span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.45;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.navbar.navbar-premium .nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar.navbar-premium .nav-secondary-cta {
    border-radius: 999px;
    padding-inline: 24px;
    border: 1px solid transparent;
    color: #fff !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7a 48%, #1e3a5f 100%);
    box-shadow: 0 16px 36px rgba(7, 12, 20, 0.2);
    transition: all 0.3s ease;
}

.navbar.navbar-premium .nav-secondary-cta:hover {
    background: linear-gradient(135deg, #2a4f7a 0%, #3a6090 48%, #2a4f7a 100%);
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.25);
}

.navbar.navbar-premium .nav-primary-cta {
    border-radius: 999px;
    padding-inline: 24px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7a 48%, #1e3a5f 100%);
    color: #fff !important;
    box-shadow: 0 20px 44px rgba(7, 12, 20, 0.24);
    transition: all 0.3s ease;
}

.navbar.navbar-premium .nav-primary-cta:hover {
    background: linear-gradient(135deg, #2a4f7a 0%, #3a6090 48%, #2a4f7a 100%);
    transform: translateY(-1px);
    box-shadow: 0 24px 48px rgba(30, 58, 95, 0.3);
}

.navbar.navbar-premium .nav-primary-cta.active {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24), 0 18px 40px rgba(7, 12, 20, 0.26);
}

.nav-mobile-action {
    display: none;
}

.section {
    padding: clamp(76px, 8vw, 112px) 0;
}

.premium-hero .container,
.systems-preview-grid,
.systems-hub-grid-clean {
    gap: clamp(26px, 4vw, 48px);
}

.systems-preview-card,
.systems-hub-copy,
.service-card,
.approach-card,
.software-feature-card {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.portal-auth-layout,
.workspace-form-layout {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.workspace-form-stack,
.workspace-card-stack {
    display: grid;
    gap: 18px;
}

.portal-auth-page .page-header,
.demo-page .page-header,
.client-workspace-page .page-header,
.ops-page .page-header {
    padding-top: 152px;
    padding-bottom: 72px;
}

.portal-auth-page .page-header-content,
.demo-page .page-header-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.portal-auth-page .page-header-content h1,
.demo-page .page-header-content h1 {
    max-width: 14ch;
    margin-inline: auto;
}

.portal-auth-page .page-header-content .section-subtitle,
.demo-page .page-header-content .section-subtitle {
    max-width: 60ch;
    margin-inline: auto;
}

.workspace-alert,
.login-status-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
}

.workspace-alert.success,
.login-status-note.success {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.08);
}

.workspace-alert.error,
.login-status-note.error {
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.08);
}

.workspace-alert.is-hidden {
    display: none;
}

.portal-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-auth-links .forgot-password-link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.portal-auth-hero,
.demo-portal-hero {
    background:
        radial-gradient(circle at 18% 16%, rgba(199, 155, 37, 0.18), transparent 24%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 20%),
        linear-gradient(135deg, #0f2136 0%, #17304f 56%, #27466f 100%);
}

.portal-auth-hero .section-label,
.demo-portal-hero .section-label,
.portal-auth-hero h1,
.demo-portal-hero h1,
.portal-auth-hero .section-subtitle,
.demo-portal-hero .section-subtitle {
    color: #fff;
}

.premium-auth-standards .security-section {
    max-width: 1060px;
    margin: 0 auto;
    text-align: center;
}

.workspace-select {
    display: grid;
    gap: 8px;
    min-width: 180px;
    text-align: left;
}

.workspace-select span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workspace-select select {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
}

.workspace-form-card {
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 253, 0.96) 100%);
    border: 1px solid rgba(226, 232, 240, 0.94);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.workspace-form-card h3 {
    margin-bottom: 16px;
}

.workspace-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-form-grid .form-group:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.workspace-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.workspace-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--text);
}

.workspace-empty-state {
    padding: 28px;
    border-radius: 26px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 252, 0.96) 100%);
    border: 1px dashed rgba(148, 163, 184, 0.34);
}

.workspace-empty-state h3 {
    margin-bottom: 10px;
}

.workspace-empty-state p {
    max-width: 48ch;
    margin: 0 auto;
}

.workspace-empty-actions {
    margin-top: 18px;
}

.workspace-select-card {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
    text-align: left;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.workspace-select-card:hover,
.workspace-select-card.active {
    transform: translateY(-2px);
    border-color: rgba(199, 155, 37, 0.42);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.workspace-inline-records {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.workspace-inline-note {
    color: var(--text-light);
    font-size: 0.85rem;
}

.demo-disclaimer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.demo-disclaimer-bar span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(199, 155, 37, 0.12);
    color: #7a5b10;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.demo-showcase-shell {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    margin-bottom: 30px;
}

.demo-hero-card {
    padding: clamp(28px, 4vw, 42px);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(15, 33, 54, 0.98) 0%, rgba(24, 49, 79, 0.96) 52%, rgba(35, 64, 102, 0.94) 100%);
    color: #fff;
    box-shadow: 0 34px 80px rgba(7, 15, 28, 0.2);
}

.demo-stat-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.demo-stat-grid article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-stat-grid span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.demo-tab-shell {
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.demo-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.demo-tab-shell .workspace-nav-button {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: var(--primary);
}

.demo-tab-shell .workspace-nav-button:hover,
.demo-tab-shell .workspace-nav-button.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 33, 54, 0.98) 0%, rgba(35, 64, 102, 0.92) 100%);
    border-color: rgba(15, 33, 54, 0.14);
    transform: none;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

.demo-cta {
    margin-top: 36px;
}

@media (max-width: 1080px) {
    .navbar.navbar-premium .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw, 360px);
        margin: 0;
        padding: 104px 18px 26px;
        border-radius: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: linear-gradient(180deg, rgba(8, 17, 31, 0.98) 0%, rgba(13, 27, 45, 0.98) 100%);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
    }

    .navbar.navbar-premium .nav-links.active {
        transform: translateX(0);
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 6px;
        padding: 8px 0 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: grid;
    }

    .nav-mobile-action {
        display: block;
    }

    .portal-auth-layout,
    .workspace-form-layout,
    .demo-showcase-shell {
        grid-template-columns: 1fr;
    }

    .demo-stat-grid,
    .workspace-form-grid {
        grid-template-columns: 1fr;
    }

    .portal-toolbar-selects {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar.navbar-premium .nav-links {
        width: min(92vw, 340px);
    }

    .portal-auth-page .page-header,
    .demo-page .page-header,
    .client-workspace-page .page-header,
    .ops-page .page-header {
        padding-top: 116px;
        padding-bottom: 44px;
    }

    .portal-auth-page .page-header-content h1,
    .demo-page .page-header-content h1 {
        max-width: 10.5ch;
    }

    .demo-disclaimer-bar {
        flex-direction: column;
        border-radius: 26px;
        text-align: center;
    }

    .demo-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .workspace-form-card,
    .demo-tab-shell {
        padding: 20px;
        border-radius: 24px;
    }

    .workspace-form-actions {
        align-items: stretch;
    }
}

/* Portal gateway headers */
.portal-gateway-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 14px 0;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.94) 0%, rgba(12, 23, 39, 0.88) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(140%) blur(20px);
    -webkit-backdrop-filter: saturate(140%) blur(20px);
    box-shadow: 0 20px 60px rgba(5, 10, 18, 0.18);
}

.portal-preview-header {
    background:
        radial-gradient(circle at 18% 18%, rgba(199, 155, 37, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(12, 24, 40, 0.96) 0%, rgba(15, 31, 51, 0.9) 100%);
}

.portal-gateway-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.portal-gateway-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: #fff;
}

.portal-gateway-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.portal-gateway-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.portal-gateway-copy span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portal-gateway-copy strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.1;
}

.portal-gateway-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.portal-gateway-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.22);
    background: rgba(201, 162, 39, 0.12);
    color: #f4deac;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portal-gateway-pill.subtle {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.76);
}

.portal-gateway-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-gateway-page .page-header {
    padding-top: 124px;
}

/* Product shell header */
.workspace-product-page {
    min-height: 100vh;
}

.workspace-app-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    padding: 12px 0;
    background:
        radial-gradient(circle at 82% 14%, rgba(199, 155, 37, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(8, 17, 31, 0.98) 0%, rgba(11, 22, 37, 0.94) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(140%) blur(20px);
    -webkit-backdrop-filter: saturate(140%) blur(20px);
    box-shadow: 0 24px 64px rgba(5, 10, 18, 0.2);
}

.workspace-app-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.workspace-app-leading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.workspace-drawer-toggle,
.workspace-drawer-close {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.workspace-drawer-toggle {
    flex-direction: column;
}

.workspace-drawer-toggle:hover,
.workspace-drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 162, 39, 0.32);
    transform: translateY(-1px);
}

.workspace-drawer-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    margin: 2px 0;
}

.workspace-drawer-close svg {
    width: 18px;
    height: 18px;
}

.workspace-app-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-app-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.workspace-app-brand-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.workspace-app-brand-copy span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workspace-app-brand-copy strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.08;
}

.workspace-app-context {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.workspace-app-context-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workspace-app-context strong {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-app-trailing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.workspace-account-shell {
    position: relative;
}

.workspace-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 320px;
    padding: 10px 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.workspace-account-trigger:hover,
.workspace-account-shell.is-open .workspace-account-trigger {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 162, 39, 0.28);
}

.workspace-account-trigger svg {
    width: 16px;
    height: 16px;
    opacity: 0.72;
    flex-shrink: 0;
    transition: transform 0.24s ease;
}

.workspace-account-shell.is-open .workspace-account-trigger svg {
    transform: rotate(180deg);
}

.workspace-account-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #f2ddab 0%, #d6b35e 48%, #c79b25 100%);
    color: #102138;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.workspace-account-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    text-align: left;
    flex: 1;
}

.workspace-account-copy strong {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-account-copy span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    display: grid;
    gap: 6px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 21, 36, 0.98) 0%, rgba(16, 31, 51, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 72px rgba(5, 10, 18, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.workspace-account-shell.is-open .workspace-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.workspace-menu-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.workspace-menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateY(-1px);
}

.workspace-menu-link-danger {
    color: #ffd6d6;
}

.workspace-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1180;
    border: 0;
    background: rgba(8, 17, 31, 0.32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

body.workspace-drawer-open .workspace-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.workspace-product-main {
    flex: 1;
}

.workspace-product-page .workspace-demo-section {
    margin-top: 0;
    padding-top: 34px;
    padding-bottom: 84px;
}

.workspace-product-page .workspace-shell {
    grid-template-columns: 1fr;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.workspace-product-page .workspace-shell::before {
    display: none;
}

.workspace-product-page .workspace-sidebar {
    position: fixed;
    top: 92px;
    left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    bottom: 24px;
    width: min(340px, calc(100vw - 48px));
    gap: 18px;
    padding: 24px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 36px 88px rgba(5, 10, 18, 0.34);
    transform: translateX(calc(-100% - 40px));
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    z-index: 1190;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

body.workspace-drawer-open .workspace-sidebar {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.workspace-sidebar-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.workspace-sidebar-head {
    display: grid;
    gap: 8px;
}

.workspace-sidebar-kicker {
    color: rgba(242, 221, 171, 0.88);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workspace-sidebar-head strong {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1;
}

.workspace-sidebar-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

.workspace-product-page .workspace-nav {
    margin: 0;
    overflow: visible;
}

.workspace-product-page .workspace-nav-button {
    width: 100%;
}

.workspace-product-page .workspace-main {
    display: grid;
    gap: 18px;
    padding: 0;
}

.workspace-product-page .workspace-toolbar {
    margin-bottom: 0;
    padding: 28px 30px;
}

.workspace-toolbar-copy {
    margin: 10px 0 0;
    color: var(--text-light);
    line-height: 1.65;
    max-width: 58ch;
}

.workspace-product-page .workspace-alert {
    margin: 0;
}

.workspace-product-page .workspace-view.active {
    display: grid;
    gap: 18px;
}

.workspace-product-page .workspace-panel-grid {
    margin-top: 0;
}

.workspace-product-page .workspace-section-head,
.workspace-product-page .workspace-thread,
.workspace-product-page .workspace-composer,
.workspace-product-page .workspace-form-card,
.workspace-product-page .workspace-data-card,
.workspace-product-page .workspace-file-card,
.workspace-product-page .invoice-card,
.workspace-product-page .workspace-panel,
.workspace-product-page .workspace-kpi-card,
.workspace-product-page .workspace-toolbar {
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.workspace-product-page .workspace-thread {
    min-height: 0;
    max-height: 520px;
    padding: 20px;
}

.workspace-product-page .workspace-message {
    border-radius: 22px;
}

.workspace-product-page .workspace-select {
    min-width: 220px;
}

/* Homepage refinements */
.homepage .premium-hero {
    min-height: min(880px, calc(100vh - 24px));
    padding-top: 132px;
    padding-bottom: 74px;
}

.homepage .premium-hero > .container {
    gap: clamp(40px, 5vw, 72px);
}

.homepage .premium-hero .hero-content {
    max-width: 640px;
}

.homepage .premium-hero h1 {
    max-width: 11.4ch;
    margin-bottom: 28px;
}

.homepage .premium-hero .hero-subtitle {
    max-width: 54ch;
}

.homepage .authority-band {
    padding-bottom: 82px;
}

.homepage .section-header {
    margin-bottom: clamp(38px, 4vw, 56px);
}

.homepage .cta-content {
    max-width: 920px;
    margin-inline: auto;
}

/* Demo Portal Dropdown Menu */
.demo-menu-dropdown {
    animation: slideDownMenu 0.2s ease-out !important;
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-menu-item {
    transition: all 0.2s ease !important;
    position: relative;
}

.demo-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1a2647, #2a3f6f);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.demo-menu-item:hover {
    background: rgba(26, 38, 71, 0.08) !important;
    color: #1a2647 !important;
}

.demo-menu-item:hover::before {
    transform: scaleY(1);
}

.demo-menu-item.active {
    background: rgba(26, 38, 71, 0.12) !important;
    color: #1a2647 !important;
    font-weight: 600;
}

.demo-menu-item.active::before {
    transform: scaleY(1);
}

@media (max-width: 768px) {
    .demo-menu-dropdown {
        min-width: 180px;
    }
    
    .demo-menu-item {
        padding: 10px 14px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 1100px) {
    .portal-gateway-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .portal-gateway-badges,
    .portal-gateway-actions {
        justify-content: flex-start;
    }

    .workspace-app-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .workspace-app-leading,
    .workspace-app-trailing {
        width: 100%;
    }

    .workspace-app-trailing {
        justify-content: space-between;
    }

    .workspace-product-page .workspace-sidebar {
        top: 118px;
        left: 16px;
        width: min(360px, calc(100vw - 32px));
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .portal-gateway-header {
        padding: 12px 0;
    }

    .portal-gateway-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-gateway-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .portal-gateway-page .page-header {
        padding-top: 102px;
    }

    .workspace-app-header {
        padding: 10px 0;
    }

    .workspace-app-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .workspace-app-leading {
        width: 100%;
        min-width: 0;
    }

    .workspace-app-brand {
        padding-right: 0;
        border-right: 0;
    }

    .workspace-app-brand img {
        width: 46px;
        height: 46px;
    }

    .workspace-app-brand-copy span,
    .workspace-app-context-label,
    .workspace-account-copy span {
        display: none;
    }

    .workspace-app-brand-copy strong {
        font-size: 0.82rem;
    }

    .workspace-app-context strong {
        font-size: 0.82rem;
        white-space: normal;
    }

    .workspace-app-trailing {
        width: auto;
    }

    .workspace-app-trailing .workspace-pill,
    .workspace-account-copy {
        display: none;
    }

    .workspace-account-trigger {
        min-width: 0;
        width: 48px;
        max-width: 48px;
        padding: 4px;
        justify-content: center;
    }

    .workspace-account-trigger svg {
        display: none;
    }

    .workspace-product-page .workspace-demo-section {
        padding-top: 22px;
        padding-bottom: 64px;
    }

    .workspace-product-page .workspace-sidebar {
        top: 82px;
        left: 12px;
        width: calc(100vw - 24px);
        bottom: 12px;
        border-radius: 28px;
        padding: 20px;
    }

    .workspace-product-page .workspace-toolbar {
        padding: 22px;
    }

    .workspace-product-page .workspace-toolbar-meta,
    .workspace-product-page .portal-toolbar-selects {
        width: 100%;
        justify-content: flex-start;
    }

    .workspace-product-page .workspace-select {
        width: 100%;
        min-width: 0;
    }

    .workspace-product-page .workspace-thread {
        max-height: none;
    }

    .workspace-product-page .workspace-panel-grid,
    .workspace-product-page .workspace-kpi-grid,
    .workspace-product-page .workspace-file-grid,
    .workspace-product-page .invoice-card-grid {
        grid-template-columns: 1fr;
    }

    .homepage .premium-hero {
        padding-top: 122px;
        padding-bottom: 54px;
    }
}

/* Embedded demo shell */
.demo-shell-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(199, 155, 37, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.demo-shell-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(199, 155, 37, 0.16), transparent 22%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 22%),
        linear-gradient(135deg, #102138 0%, #17304f 56%, #29476d 100%);
}

.demo-shell-copy {
    max-width: 900px;
    margin: 0 auto;
}

.demo-shell-copy h1 {
    max-width: 13ch;
    margin-left: auto;
    margin-right: auto;
}

.demo-shell-copy .section-subtitle {
    max-width: 60ch;
}

.demo-shell-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.demo-shell-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.demo-shell-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-shell-pill.emphasis {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(201, 162, 39, 0.16);
    color: #f3dfaf;
}

.demo-embed-section {
    padding-top: 54px;
}

.demo-embed-shell {
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at top right, rgba(199, 155, 37, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 252, 0.98) 100%);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12);
}

.demo-embed-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.82);
}

.demo-embed-toolbar-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.demo-embed-toolbar-copy span {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.demo-embed-toolbar-copy strong {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.15;
}

.demo-embed-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.demo-embed-status.live {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.demo-embed-status.fallback {
    border-color: rgba(199, 155, 37, 0.24);
    background: rgba(199, 155, 37, 0.1);
    color: #8a6914;
}

.demo-embed-status.error {
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.demo-embed-frame-shell {
    padding: clamp(14px, 2vw, 22px);
}

.demo-embed-frame {
    width: 100%;
    height: min(86vh, 980px);
    min-height: 720px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.demo-embed-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(199, 155, 37, 0.22);
    background: rgba(199, 155, 37, 0.08);
    color: #5f4b0f;
}

.demo-embed-meta {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.demo-embed-meta-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.demo-embed-meta-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.demo-embed-meta-card h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.demo-embed-meta-card p {
    margin: 0;
    color: var(--text-light);
}

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

    .demo-embed-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-embed-status {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .demo-shell-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .demo-shell-actions .btn {
        width: 100%;
    }

    .demo-shell-copy h1 {
        max-width: 10.8ch;
    }

    .demo-embed-frame {
        min-height: 540px;
        height: min(78vh, 640px);
    }
}

/* Homepage mobile premium pass */
@media (max-width: 768px) {
    .homepage .premium-hero {
        min-height: auto;
        padding-top: 112px;
        padding-bottom: 40px;
    }

    .homepage .premium-hero > .container {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 22px;
    }

    .homepage .premium-hero .hero-content {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
        padding: 28px 20px 24px;
        text-align: center !important;
        align-items: center;
        border-radius: 30px;
        border: 1px solid rgba(226, 232, 240, 0.9);
        background:
            radial-gradient(circle at top, rgba(199, 155, 37, 0.12), transparent 36%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    }

    .homepage .premium-hero .hero-tagline {
        margin-inline: auto;
    }

    .homepage .premium-hero h1 {
        width: 100%;
        max-width: 13ch;
        margin-inline: auto;
        margin-bottom: 22px;
        font-size: clamp(2.25rem, 11vw, 3.2rem);
        line-height: 1.01;
        text-wrap: balance;
    }

    .homepage .premium-hero h1::after {
        left: 50%;
        width: 86px;
        transform: translateX(-50%);
    }

    .homepage .premium-hero .hero-subtitle {
        max-width: 32ch;
        margin-inline: auto;
        margin-bottom: 22px;
        font-size: 0.98rem;
    }

    .homepage .premium-hero .hero-proof-list {
        justify-content: center !important;
        margin-bottom: 18px;
    }

    .homepage .premium-hero .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 320px);
        margin-inline: auto;
        justify-content: center !important;
        gap: 12px;
    }

    .homepage .premium-hero .hero-buttons .btn {
        width: 100%;
    }

    .homepage .premium-hero .hero-visual {
        display: grid !important;
        gap: 14px;
        width: min(100%, 540px);
        max-width: 100%;
        margin-inline: auto;
        opacity: 1;
        animation: none;
    }

    .homepage .premium-hero .premium-browser {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .homepage .premium-hero .premium-browser-url {
        max-width: 58%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .homepage .premium-hero .premium-browser-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .homepage .premium-hero .premium-browser-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    }

    .homepage .premium-hero .premium-browser-sidebar span {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .homepage .premium-hero .premium-browser-main {
        padding: 18px;
    }

    .homepage .premium-hero .premium-kpi-grid {
        grid-template-columns: 1fr;
    }

    .homepage .premium-hero .hero-float-card {
        position: static;
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .homepage .premium-hero .hero-content {
        padding: 24px 18px 22px;
        border-radius: 26px;
    }

    .homepage .premium-hero h1 {
        max-width: 12.2ch;
        font-size: clamp(2.05rem, 10.4vw, 2.7rem);
    }

    .homepage .premium-hero .hero-subtitle {
        max-width: 29ch;
        font-size: 0.94rem;
    }

    .homepage .premium-hero .hero-proof-pill {
        width: 100%;
        justify-content: center;
    }

    .homepage .premium-hero .premium-browser-header {
        gap: 10px;
    }

    .homepage .premium-hero .premium-browser-url {
        display: none;
    }

    .homepage .premium-hero .premium-browser-sidebar span {
        flex-basis: 100%;
    }

    .homepage .premium-hero .premium-browser-main,
    .homepage .premium-hero .premium-browser-hero-card {
        padding: 16px;
    }

    .homepage .premium-hero .premium-browser-hero-card h4 {
        font-size: 1.28rem;
    }
}

.demo-menu-dropdown[hidden] {
    display: none !important;
}

.demo-embed-empty {
    min-height: 560px;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at top, rgba(199, 155, 37, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(243, 247, 252, 0.98) 100%);
}

.demo-embed-empty-card {
    width: min(100%, 560px);
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.demo-embed-empty-card strong {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 1.38rem;
    line-height: 1.2;
}

.demo-embed-empty-card p {
    margin: 0 0 24px;
    color: var(--text-light);
}

.demo-embed-status.offline {
    color: #8a5a12;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.22);
}

/* Final homepage hero simplification */
.homepage .premium-hero {
    min-height: auto;
    padding-top: clamp(120px, 15vw, 152px);
    padding-bottom: clamp(60px, 9vw, 104px);
    overflow: visible;
}

.homepage .premium-hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.88fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}

.homepage .hero-focus-card {
    position: relative;
    padding: clamp(26px, 3.2vw, 38px);
    border-radius: 32px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background:
        radial-gradient(circle at top right, rgba(199, 155, 37, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.1);
}

.homepage .hero-focus-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 120px;
    height: 120px;
    border-radius: 32px 0 100% 0;
    background: radial-gradient(circle, rgba(199, 155, 37, 0.14) 0%, rgba(199, 155, 37, 0) 72%);
    pointer-events: none;
}

.homepage .hero-focus-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.homepage .hero-focus-kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2ddab 0%, #c79b25 100%);
    box-shadow: 0 0 0 8px rgba(199, 155, 37, 0.12);
}

.homepage .hero-focus-card h2 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.homepage .hero-focus-intro {
    margin: 0 0 24px;
    color: var(--text-light);
}

.homepage .hero-focus-list {
    display: grid;
    gap: 14px;
}

.homepage .hero-focus-item {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.84);
}

.homepage .hero-focus-item span,
.homepage .hero-focus-highlight span {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.homepage .hero-focus-item strong,
.homepage .hero-focus-highlight strong {
    display: block;
    color: var(--primary);
    font-size: 0.98rem;
    line-height: 1.55;
}

.homepage .hero-focus-highlight {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 33, 54, 0.98) 0%, rgba(35, 64, 102, 0.94) 100%);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.18);
}

.homepage .hero-focus-highlight strong {
    color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 900px) {
    .homepage .premium-hero > .container {
        grid-template-columns: 1fr;
    }

    .homepage .hero-focus-card {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .homepage .premium-hero {
        padding-top: 108px;
        padding-bottom: 44px;
    }

    .homepage .premium-hero > .container {
        gap: 20px;
        justify-items: center;
    }

    .homepage .premium-hero .hero-content {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
        padding: 28px 20px 24px;
        text-align: center !important;
        align-items: center;
        border-radius: 30px;
        border: 1px solid rgba(226, 232, 240, 0.9);
        background:
            radial-gradient(circle at top, rgba(199, 155, 37, 0.12), transparent 36%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    }

    .homepage .hero-focus-card {
        padding: 24px 18px;
        border-radius: 26px;
    }

    .homepage .hero-focus-card h2 {
        font-size: clamp(1.6rem, 8vw, 2.15rem);
    }
}

@media (max-width: 560px) {
    .demo-embed-empty {
        min-height: 460px;
        padding: 20px;
    }

    .demo-embed-empty-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .homepage .premium-hero .hero-content {
        padding: 24px 18px 22px;
        border-radius: 26px;
    }

    .homepage .hero-focus-item,
    .homepage .hero-focus-highlight {
        padding: 16px;
    }
}
