:root {
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0e1428;
    background-color: #fffdf8;
    line-height: 1.6;

    /* ── Brand Colors ── */
    --color-orange: #ff8a00;
    --color-orange-soft: #ffc18a;
    --color-orange-light: rgba(255, 138, 0, 0.1);
    --color-orange-lighter: rgba(255, 138, 0, 0.06);
    --color-navy: #0e1428;
    --color-white: #ffffff;
    --color-cream: #fffdf8;

    /* ── Semantic Colors ── */
    --color-text: #0e1428;
    --color-text-muted: #5b647b;
    --color-text-secondary: #718096;
    --color-border: #e6e7ef;
    --color-border-light: rgba(14, 20, 40, 0.06);
    --color-border-medium: rgba(14, 20, 40, 0.12);
    --color-bg-body: #fffefc;
    --color-bg-muted: #f7f8fb;
    --color-bg-hover: rgba(14, 20, 40, 0.04);
    --color-bg-active: rgba(14, 20, 40, 0.06);

    /* ── Status Colors ── */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* ── Spacing Scale (8-point grid) ── */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    /* ── Typography Scale ── */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.05rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(6, 11, 25, 0.08);
    --shadow-md: 0 4px 16px rgba(6, 11, 25, 0.12);
    --shadow-lg: 0 8px 24px rgba(6, 11, 25, 0.15);
    --shadow-orange: 0 10px 25px rgba(255, 138, 0, 0.25);

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 999px;

    /* ── Transitions ── */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* ── Container Widths ── */
    --container-sm: 640px;
    --container-md: 800px;
    --container-lg: 1100px;
    --container-xl: 1280px;

    /* ── Backward-compatible aliases (legacy) ── */
    --orange: var(--color-orange);
    --orange-soft: var(--color-orange-soft);
    --orange-light: var(--color-orange-light);
    --orange-lighter: var(--color-orange-lighter);
    --navy: var(--color-navy);
    --text-muted: var(--color-text-muted);
    --border: var(--color-border);
    --bg-muted: var(--color-bg-muted);
    --body-bg: var(--color-bg-body);
    --portal-border-color: var(--color-border-medium);
    --portal-border-light: var(--color-border-light);
    --portal-border-medium: var(--color-border-medium);
    --portal-bg-hover: var(--color-bg-hover);
    --portal-bg-active: var(--color-bg-active);
    --portal-shadow-sm: var(--shadow-sm);
    --portal-shadow-md: var(--shadow-md);
    --portal-shadow-lg: var(--shadow-lg);
    --portal-radius-sm: var(--radius-md);
    --portal-radius-md: var(--radius-lg);
    --portal-radius-lg: var(--radius-xl);
    --portal-transition: var(--transition-base);
    --portal-transition-slow: var(--transition-slow);
}

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

body {
    margin: 0;
    font-family: inherit;
    color: inherit;
    background: var(--color-bg-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

body[data-page-theme="dark"] {
    background: #05060a;
    color: #f7f7ff;
    --text-muted: #cbd5ff;
    --body-bg: #05060a;
}

main {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 2px;
    box-shadow: none;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    padding: var(--space-3) var(--space-5);
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: var(--radius-full);
    z-index: 999;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 10px;
}

/* ── Utility Classes ── */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.contrast-mode {
    background: #05060a;
    color: #f7f7ff;
    --text-muted: #cbd5ff;
}

body.contrast-mode .candidate-panel,
body.contrast-mode .question-card,
body.contrast-mode .session-utility-bar,
body.contrast-mode .question-progress,
body.contrast-mode .answer-preview,
body.contrast-mode .question-instructions,
body.contrast-mode .focus-banner,
body.contrast-mode .question-guidance,
body.contrast-mode .device-support {
    background: rgba(10, 13, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f7f7ff;
}

body.contrast-mode .progress-stat,
body.contrast-mode .behavioral-set-card,
body.contrast-mode .question-card .option-list label {
    background: rgba(15, 20, 40, 0.85);
    color: #f7f7ff;
    border-color: rgba(255, 255, 255, 0.25);
}

body.contrast-mode .device-support input {
    background: #020617;
    color: #f7f7ff;
    border-color: rgba(255, 255, 255, 0.35);
}

body.contrast-mode .btn {
    background: #fbbf24;
    color: #111;
    box-shadow: none;
}

body.contrast-mode .btn-outline {
    background: transparent;
    color: #f7f7ff;
    border-color: rgba(255, 255, 255, 0.6);
}

body.contrast-mode .btn-ghost {
    color: #fbbf24;
}

body.contrast-mode .progress-stat span,
body.contrast-mode .help-text {
    color: #cbd5ff;
}

body.contrast-mode .progress-bar {
    background: rgba(255, 255, 255, 0.25);
}

body.contrast-mode .progress-bar span {
    background: linear-gradient(120deg, #fbbf24, #fde047);
}

body.contrast-mode .accessibility-toggles {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}
body.contrast-mode .theme-toggle,
body.contrast-mode .contrast-toggle {
    color: #f8f9ff;
}

body.candidate-experience {
    font-size: 1.05rem;
    line-height: 1.65;
    background: var(--color-bg-muted);
}

body.candidate-experience .candidate-panel {
    font-size: 1rem;
}

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

.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 9999;
    max-width: min(420px, calc(100vw - 40px));
}

.flash {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 0.875rem;
    line-height: 1.4;
    animation: flash-in 0.35s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash.removing {
    opacity: 0;
    transform: translateX(20px);
}

.flash-icon::before {
    font-size: 1.1rem;
    line-height: 1;
}

.flash-text {
    flex: 1;
    min-width: 0;
}

.flash-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.125rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.flash-close:hover {
    color: #fff;
}

.flash.success {
    background: #065f46;
}

.flash.success .flash-icon::before {
    content: "\2713";
}

.flash.error {
    background: #991b1b;
}

.flash.error .flash-icon::before {
    content: "\2717";
}

.flash.warning {
    background: #92400e;
}

.flash.warning .flash-icon::before {
    content: "\26A0";
}

.flash.info {
    background: var(--color-navy);
}

.flash.info .flash-icon::before {
    content: "\2139";
}

@keyframes flash-in {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

.nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: space-between;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-navy);
    flex-shrink: 0;
    text-decoration: none;
}

.brand:visited {
    color: var(--color-navy);
}

.brand img {
    height: 72px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-full);
    transition: background 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(14, 20, 40, 0.05);
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: var(--radius-full);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    flex: 1;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    position: relative;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
    color: var(--color-navy);
    background: rgba(0, 0, 0, 0.03);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -4px;
    height: 2px;
    border-radius: var(--radius-full);
    background: var(--color-orange);
    transition: left 0.2s ease, right 0.2s ease;
    opacity: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    left: 0.75rem;
    right: 0.75rem;
    opacity: 1;
}

.nav-ai-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.nav-ai-link svg {
    color: var(--color-orange);
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-actions .btn-outline {
    font-size: 0.875rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    border-color: #e2e5ea;
    font-weight: 500;
    box-shadow: none;
}

.nav-actions .btn-outline:hover {
    border-color: var(--color-navy);
    color: var(--color-navy);
    background: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    border: none;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: inherit;
    font-weight: 600;
    font-size: var(--text-base);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-orange);
    text-decoration: none;
    line-height: 1.4;
    flex-shrink: 0;
}

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

.btn-outline {
    background: var(--color-white);
    color: var(--color-navy);
    border: 1px solid var(--color-border-medium);
    box-shadow: none;
}

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

.btn-ghost {
    background: transparent;
    color: var(--color-navy);
    border: none;
    box-shadow: none;
    text-decoration: underline;
}

.btn-ghost:hover {
    color: var(--color-orange);
}

.btn-sm,
.btn.small,
.btn-outline.small {
    padding: 0.55rem 1.2rem;
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
}

.btn-danger {
    background: var(--color-error);
    color: var(--color-white);
    box-shadow: none;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-pill.secondary {
    background: var(--color-white);
    color: var(--color-orange);
    border: 1px solid var(--color-orange);
    box-shadow: none;
}

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

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

.hero {
    position: relative;
    text-align: center;
    padding: 6rem 1rem 8rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream), #f6f9ff);
    transition: background 0.6s ease;
}
.hero[data-persona="candidate"] {
    background: linear-gradient(135deg, #f2f7ff, #fff6fb);
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.hero-badge span {
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero-tagline {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
    line-height: 1.1;
    color: var(--color-navy);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}


.hero h1 .highlight {
    color: var(--color-orange);
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-persona-toggle {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.persona-btn {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-muted);
}
.persona-btn.is-active {
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
}

.nav-primary-cta {
    box-shadow: none;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-primary-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.25);
}

.trusted-strip {
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.05);
    background: rgba(255, 255, 255, 0.6);
}

.trusted-strip .logo-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-weight: 700;
    color: rgba(14, 20, 40, 0.6);
    margin: 0.75rem 0 0.5rem;
    flex-wrap: wrap;
}

.trusted-strip blockquote {
    margin: 0.5rem auto 0;
    max-width: 640px;
    font-style: italic;
    color: var(--color-navy);
}

.live-feed {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.05);
}
.live-feed-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.feed-label {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--color-orange);
}
.feed-slot {
    font-weight: 500;
    color: var(--color-navy);
    min-height: 24px;
}
.feed-slot .ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-slide 4s ease;
}

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

.suite {
    padding: 4rem 1rem 3rem;
}

.suite-map {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}
.suite-instructions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.suite-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.suite-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(14, 20, 40, 0.05);
    cursor: pointer;
    width: 100%;
}
.suite-card.is-active {
    border-color: rgba(255, 138, 0, 0.4);
    box-shadow: 0 25px 45px rgba(255, 138, 0, 0.15);
}
.suite-card:hover {
    border-color: rgba(255, 138, 0, 0.25);
}
.suite-card .pill {
    margin-bottom: 0.5rem;
}
.suite-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--color-orange);
    font-size: 0.9rem;
}
.suite-focus {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}
.suite-focus li {
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.05);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.suite-detail {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    background: rgba(249, 250, 255, 0.9);
    height: 100%;
}
.suite-panel {
    display: none;
}
.suite-panel.is-active {
    display: block;
    height: 100%;
}
.suite-metrics {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.65rem;
}
.suite-metrics li {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.05);
    padding: 0.75rem;
}
.suite-metrics span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}
.suite-metrics strong {
    font-size: 1.05rem;
}
.suite-panel li + li {
    margin-top: 0;
    color: var(--color-text-muted);
}
.suite-panel.is-active li {
    opacity: 0;
    animation: suite-list 0.4s forwards;
}
.suite-panel.is-active li:nth-child(1) {
    animation-delay: 0.05s;
}
.suite-panel.is-active li:nth-child(2) {
    animation-delay: 0.15s;
}
.suite-panel.is-active li:nth-child(3) {
    animation-delay: 0.25s;
}

@keyframes suite-list {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accent-marketing {
    background: rgba(14, 116, 144, 0.12);
    color: #0f766e;
}

.accent-product {
    background: rgba(78, 63, 156, 0.12);
    color: #4f3f9c;
}

.accent-behavioral {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

.accent-ux_design {
    background: rgba(168, 85, 247, 0.12);
    color: #7c3aed;
}

.accent-hr {
    background: rgba(236, 72, 153, 0.12);
    color: #db2777;
}

.accent-finance {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

@media (max-width: 900px) {
    .suite-map {
        grid-template-columns: 1fr;
    }
    .suite-detail {
        height: auto;
    }
}

.outcomes {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fdfcf9, #f4f6ff);
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.outcome-grid canvas {
    margin-top: 0.75rem;
}
.metric-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 20px 40px rgba(14, 20, 40, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.metric-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 600;
}
.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}
.metric-card .btn-outline.small {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing {
    background: radial-gradient(circle at top, rgba(83, 55, 239, 0.08), transparent 55%), rgba(248, 249, 255, 0.95);
    border-top: 1px solid rgba(14, 20, 40, 0.05);
    border-bottom: 1px solid rgba(14, 20, 40, 0.05);
}
.pricing .section-shell {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.pricing-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.pricing-card {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: var(--color-white);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: 0 25px 40px rgba(14, 20, 40, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 540px;
}
.pricing-card.is-highlighted {
    border-color: rgba(83, 55, 239, 0.4);
    box-shadow: 0 30px 50px rgba(83, 55, 239, 0.18);
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(83, 55, 239, 0.08), rgba(255, 255, 255, 0.95));
}
.pricing-card.theme-starter {
    border-color: rgba(15, 183, 122, 0.2);
    background: linear-gradient(180deg, rgba(15, 183, 122, 0.08), rgba(255, 255, 255, 0.98));
}
.pricing-card.theme-pro {
    border-color: rgba(83, 55, 239, 0.3);
    background: linear-gradient(180deg, rgba(163, 137, 255, 0.18), rgba(255, 255, 255, 0.98));
}
.pricing-card.theme-enterprise {
    border-color: rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, rgba(14, 20, 40, 0.07), rgba(255, 255, 255, 0.98));
}
.pricing-card-head .muted {
    margin-top: 0.35rem;
}
.plan-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}
.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.06);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    align-self: flex-start;
}
.pricing-card.is-highlighted .plan-badge {
    background: rgba(83, 55, 239, 0.15);
    color: #4b2edd;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.3rem 0 0.6rem;
}
.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-navy);
}
.pricing-price .frequency {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.pricing-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}
.pricing-meta p {
    margin: 0;
    font-size: 0.95rem;
}
.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--color-text-muted);
}
.pricing-feature-list li {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}
.pricing-feature-list svg {
    width: 16px;
    height: 16px;
    color: #15bf7c;
    flex-shrink: 0;
}
.pricing-card.is-highlighted .pricing-feature-list svg {
    color: #5337ef;
}
.pricing-cta {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}
.pricing-cta .btn {
    width: 100%;
    max-width: 240px;
    text-align: center;
    box-shadow: 0 18px 35px rgba(255, 138, 0, 0.25);
}
.pricing-footnote {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
}

.case-slider {
    padding: 4rem 1rem;
}
.case-slider-body {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.case-panels {
    position: relative;
    min-height: 220px;
}
.case-panel {
    opacity: 0;
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 45px rgba(14, 20, 40, 0.05);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}
.case-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}
.case-metric {
    margin-top: 1.25rem;
    display: inline-flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 138, 0, 0.1);
    color: var(--color-navy);
}
.case-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.case-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 20, 40, 0.2);
    cursor: pointer;
}
.case-dots button.is-active {
    background: var(--color-orange);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(14, 20, 40, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 20, 40, 0.03) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.5;
}

/* hero-orb base styles are in the Hero V2 section below */

main {
    flex: 1;
}

.section-heading {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 720px;
}
.section-heading.section-heading-tight {
    margin-bottom: 1.5rem;
}

.section-heading.align-left {
    text-align: left;
    margin: 0 0 2rem;
    max-width: none;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.85rem;
}

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

.muted.small {
    font-size: 0.85rem;
}

.feature-suite {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.assessment-catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.pillars {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.pillar-card {
    border-radius: var(--radius-2xl);
    background: var(--color-white);
    padding: 1.75rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 25px 45px rgba(15, 20, 40, 0.05);
}

.pillar-card h3 {
    margin: 0.5rem 0 0.5rem;
    font-size: 1.4rem;
}

.pillar-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.workflow {
    background: var(--color-bg-muted);
    padding: 3.5rem 1.5rem 4.5rem;
}

.workflow-steps {
    list-style: none;
    margin: 2rem auto;
    padding: 0;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}

.workflow-steps li {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 25px 45px rgba(14, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.workflow-steps li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 138, 0, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workflow-steps li:hover::after {
    opacity: 1;
}

.step-header {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.step-label {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

.workflow-steps h3 {
    margin: 0;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.workflow-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.journey-hero,
.journey-board {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 0;
}
.journey-board {
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.journey-hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}
.journey-hero-content {
    flex: 1;
    min-width: 320px;
}
.journey-hero-detail {
    flex: 1;
    min-width: 280px;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: 0 25px 55px rgba(11, 16, 30, 0.08);
}
.journey-legend {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.tag {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.tag.company {
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
}
.tag.candidate {
    background: rgba(14, 20, 40, 0.08);
    color: var(--color-navy);
}
.journey-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: var(--color-navy);
    font-weight: 600;
}
.journey-benefits li::before {
    content: "•";
    color: var(--color-orange);
    margin-right: 0.5rem;
}
.journey-benefits li {
    display: flex;
    align-items: flex-start;
}
.journey-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.journey-card {
    border-radius: var(--radius-2xl);
    padding: 1.4rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 20px 35px rgba(10, 15, 30, 0.08);
    background: #f9fafc;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.journey-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 30px 45px rgba(10, 15, 30, 0.12);
}
.journey-card.company {
    background: rgba(255, 138, 0, 0.08);
}
.journey-card.candidate {
    background: rgba(14, 20, 40, 0.05);
}
.journey-card .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    margin: 0;
    color: var(--color-text-muted);
}
.journey-card .title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.45rem 0;
}
.journey-card .meta {
    margin: 0;
    color: var(--color-text-muted);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}

.catalog-card {
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: 0 20px 35px rgba(8, 17, 33, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.catalog-header h3 {
    margin: 0.4rem 0 0;
    font-size: 1.2rem;
}

.catalog-card .pill.subtle {
    background: rgba(14, 20, 40, 0.05);
    color: var(--color-navy);
}

.catalog-card .ghost-link {
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.catalog-card .ghost-link:hover {
    opacity: 1;
}

.category-summary {
    margin: 0.35rem 0 0;
    color: var(--color-text-muted);
}

.assessment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assessment-summary-card {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.assessment-summary-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.assessment-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.assessment-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(99, 112, 255, 0.12);
    color: #6370ff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.assessment-title {
    font-weight: 700;
    margin: 0;
}

.assessment-meta {
    margin: 0.2rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.skill-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.4rem;
    justify-items: flex-end;
}

.skill-pill-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 138, 0, 0.12);
    color: var(--color-orange);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
}

.empty-state {
    color: var(--color-text-muted);
    font-style: italic;
    margin: 0;
}

.feature-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.feature-accordion {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-item {
    text-align: left;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 1.15rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion-item small {
    display: block;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    margin-top: 0.5rem;
}

.accordion-item .chevron {
    position: absolute;
    right: 20px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(-45deg);
}

.accordion-item.is-active {
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
}

.feature-accordion .accent-bar {
    position: absolute;
    left: 0;
    width: 4px;
    height: 60px;
    background: var(--color-orange);
    border-radius: 0 4px 4px 0;
    transform: translateY(18px);
    transition: transform 0.3s ease;
}

.feature-panels {
    position: relative;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f7f7fb 100%);
    border-radius: var(--radius-full);
    padding: 2rem 2.25rem;
    box-shadow: 0 35px 60px rgba(15, 26, 58, 0.08);
    border: 1px solid rgba(14, 20, 40, 0.05);
    display: none;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.feature-card.is-active {
    display: flex;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.6rem;
}

.feature-card p {
    margin: 0;
    color: var(--color-text-muted);
}

.feature-card .pill {
    align-self: flex-start;
}

.feature-points {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--color-navy);
    font-weight: 600;
}

.feature-points li {
    position: relative;
    padding-left: 1.4rem;
}

.feature-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
}

.mobile-suite {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 4rem;
    align-items: center;
}

.device-mockup {
    justify-self: center;
    position: relative;
}

.device-screen {
    width: 260px;
    height: 520px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, #ffefcf 0%, #ffe1ba 100%);
    border: 8px solid var(--color-navy);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4rem;
    position: relative;
}

.device-notch {
    width: 120px;
    height: 22px;
    background: var(--color-navy);
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.schedule-pill {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    box-shadow: 0 20px 40px rgba(255, 138, 0, 0.25);
}

.schedule-pill span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.lock-time {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 500;
}

.lock-time small {
    display: block;
    font-size: 1rem;
    color: var(--color-navy);
}

.device-shadow {
    width: 80%;
    height: 20px;
    background: radial-gradient(circle, rgba(15, 21, 40, 0.2), transparent);
    margin: 20px auto 0;
    border-radius: 50%;
}

.mobile-copy p {
    color: var(--color-text-muted);
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.5rem;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.dot-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.store-btn {
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    font-weight: 600;
}

.store-btn.play-store {
    border-color: #dfe4ff;
}

.resources {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.resource-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.resource-grid article {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-2xl);
    padding: 1.4rem 1.5rem;
    background: var(--color-white);
    box-shadow: 0 20px 35px rgba(14, 20, 40, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.resource-actions {
    margin-top: auto;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 50px rgba(15, 26, 58, 0.12);
}
.resource-card header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    justify-content: space-between;
    flex-wrap: wrap;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pill {
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
}

.pill.accent {
    background: rgba(255, 138, 0, 0.1);
    color: var(--color-orange);
}

.pill.success {
    background: rgba(28, 206, 151, 0.1);
    color: #1cce97;
}

.pill.neutral {
    background: rgba(99, 112, 255, 0.1);
    color: #6370ff;
}

.resource-card h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.1rem;
}
.resource-card h3 a {
    text-decoration: none;
    color: var(--color-navy);
}
.resource-card h3 a:hover {
    text-decoration: underline;
}

.resource-card p {
    color: var(--color-text-muted);
}

.author {
    font-weight: 500;
    margin-top: auto;
}

.outline-link {
    border: 1px solid rgba(14, 20, 40, 0.15);
    background: transparent;
    border-radius: var(--radius-full);
    padding: 0.45rem 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.75rem;
}

.resource-card .card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(255, 138, 0, 0.12), rgba(14, 20, 40, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.resource-card:hover .card-shade {
    opacity: 1;
}

.testimonial {
    padding: 6rem 1.5rem;
}
.testimonial-grid {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff 0%, #fff6ee 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: 0 45px 80px rgba(12, 18, 40, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
    padding: 3rem;
    align-items: center;
}
.testimonial-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.testimonial-copy .lede {
    margin: 0;
    color: var(--color-text-muted);
}
.testimonial-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--color-navy);
    font-weight: 600;
}
.testimonial-points li {
    display: flex;
    align-items: flex-start;
}
.testimonial-points li::before {
    content: "→";
    color: var(--color-orange);
    margin-right: 0.45rem;
}
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2.75rem 2.5rem;
    box-shadow: 0 35px 70px rgba(12, 18, 40, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.testimonial-slider {
    position: relative;
    min-height: 260px;
}
.testimonial-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    inset: 0;
    padding: 0 1rem;
}
.testimonial-panel.is-active {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-panel .person {
    margin: 0.65rem 0 0.1rem;
    font-weight: 600;
    font-size: 1.05rem;
}
.testimonial-panel .role {
    margin: 0 0 0.8rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.testimonial-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.25rem;
}
.testimonial-avatar img,
.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.3rem;
}
.testimonial blockquote {
    font-size: 1.15rem;
    color: #2c2f44;
    font-weight: 500;
    margin: -14px auto 1.5rem;
    max-width: 520px;
    line-height: 1.2;
}
.dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.dots button {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: #d7dbe8;
    border: none;
    cursor: pointer;
}
.dots button.is-active {
    background: var(--color-orange);
    width: 22px;
}

.cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    align-items: stretch;
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), #fff);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 30px 50px rgba(15, 26, 58, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.cta-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
}

.cta-highlights article {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: inset 0 0 20px rgba(255, 138, 0, 0.08);
}

.highlight-value {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
}

.highlight-label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cta-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cta-checks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cta-checks li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 600;
}

.cta-checks li::before {
    content: "✓";
    color: var(--color-orange);
    font-weight: 700;
}

.cta-form-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 20px 45px rgba(15, 26, 58, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.cta-form label {
    font-weight: 600;
    color: var(--color-text-muted);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-muted);
    padding: 3rem 1rem;
}

.auth-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 35px 60px rgba(15, 26, 58, 0.08);
    max-width: 640px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.auth-copy h1 {
    margin: 0.5rem 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 3rem;
    align-items: center;
}

.cta ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.cta li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cta li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-orange);
    font-weight: 700;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-form label {
    font-weight: 600;
    color: var(--color-text-muted);
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    width: 100%;
}

.cta-form textarea {
    border-radius: var(--radius-xl);
    resize: vertical;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.form-field label {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-navy);
}

.field-error {
    color: var(--color-error);
    font-size: var(--text-sm);
}

.form-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    color: var(--color-error);
    font-size: var(--text-sm);
}

/* ── Footer V2 — clean professional layout ── */
.site-footer-v2 {
    background: var(--color-white);
    border-top: 1px solid #ebedf0;
    margin-top: 0;
}

.footer-main {
    padding: 4rem 2rem 3rem;
}

.footer-main-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}

/* Brand column */
.footer-brand-v2 {
    padding-right: 1rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

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

.footer-tagline {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    transition: background 0.2s ease, color 0.2s ease;
}

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

/* Nav columns */
.footer-nav-v2 {
    display: contents;
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 0 0 0.85rem;
}

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

.footer-col a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* Subscribe column */
.footer-subscribe {
    max-width: 280px;
}

.footer-subscribe-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.footer-subscribe-field {
    display: flex;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    transition: border-color 0.2s ease;
}

.footer-subscribe-field:focus-within {
    border-color: var(--color-orange);
    background: var(--color-white);
}

.footer-subscribe-field input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.6rem 0.85rem;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--color-navy);
    outline: none;
}

.footer-subscribe-field input::placeholder {
    color: #9ca3af;
}

.footer-subscribe-field button {
    border: none;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 0.6rem 1.1rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.footer-subscribe-field button:hover {
    background: #e07800;
}

.footer-subscribe-field button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.site-footer-v2 .footer-form-message {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Bottom bar */
.footer-bar {
    border-top: 1px solid #ebedf0;
}

.footer-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-legal a:hover {
    color: var(--color-navy);
}

/* Old .site-footer class no longer used — replaced by .site-footer-v2 */

@media (max-width: 900px) {
    body {
        font-size: 1.02rem;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    .nav {
        padding: 0 1.25rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-header {
        width: 100%;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        background: var(--color-white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav.is-open .nav-menu {
        display: flex;
    }

    .brand img {
        height: 56px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.15rem;
    }

    .nav-links a {
        padding: 0.55rem 0.75rem;
        width: 100%;
        border-radius: 8px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: #f3f4f6;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

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

    .hero {
        padding: 5rem 1.25rem 4.5rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 6vw, 3.6rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-persona-toggle,
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-heading {
        padding: 0 0.25rem;
        max-width: 640px;
    }

    .suite,
    .feature-suite,
    .pillars,
    .workflow,
    .journey-hero,
    .journey-board,
    .resources,
    .testimonial,
    .case-slider,
    .outcomes,
    .pricing,
    .cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .pillar-grid,
    .workflow-steps,
    .feature-body,
    .journey-board-grid,
    .catalog-grid,
    .outcome-grid,
    .pricing-grid,
    .resource-grid,
    .cta-highlights,
    .cta-checks {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .journey-hero {
        gap: 1.5rem;
    }

    .cta {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        gap: 2rem;
    }

    .footer-shell {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .site-header {
        padding: 0.4rem 0;
    }

    .brand img {
        height: 30px;
    }

    .hero {
        padding: 4.5rem 1rem 3.5rem;
        text-align: left;
    }

    .hero-inner {
        max-width: 100%;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-persona-toggle,
    .hero-cta {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-persona-toggle .persona-btn,
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .section-heading {
        text-align: left;
    }

    .section-heading h2 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .section-shell {
        padding: 0 1rem;
    }

    .suite {
        padding: 3rem 0.5rem 2.5rem;
    }

    .suite-map {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .suite-instructions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        font-size: 0.9rem;
    }

    .suite-card,
    .suite-detail,
    .pillar-card,
    .workflow-steps li,
    .feature-card,
    .catalog-card,
    .journey-hero-detail,
    .journey-card,
    .metric-card,
    .pricing-card,
    .resource-grid article,
    .cta-card,
    .cta-form-card {
        padding: 1.25rem;
    }

    .suite-metrics {
        grid-template-columns: 1fr;
    }

    .suite-detail .btn {
        width: 100%;
        text-align: center;
    }

    .workflow-steps,
    .pillar-grid,
    .feature-body,
    .journey-board-grid,
    .outcome-grid,
    .pricing-grid,
    .resource-grid,
    .cta-highlights,
    .cta-checks,
    .cta-form .form-row,
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .journey-hero {
        flex-direction: column;
        padding: 3rem 1rem 0;
    }

    .journey-hero-content,
    .journey-hero-detail {
        min-width: auto;
    }

    .journey-board {
        padding: 2rem 1rem 3rem;
    }

    .journey-legend {
        flex-wrap: wrap;
    }

    .feature-suite,
    .pillars,
    .workflow,
    .journey-board,
    .resources,
    .testimonial,
    .case-slider,
    .outcomes,
    .pricing,
    .cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .feature-body {
        gap: 1.5rem;
    }

    .feature-accordion {
        position: static;
    }

    .feature-accordion .accent-bar {
        display: none;
    }

    .feature-card {
        min-height: auto;
    }

    .case-slider {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .case-panels {
        min-height: 0;
    }

    .case-panel {
        position: relative;
        opacity: 1;
        transform: none;
        margin-bottom: 1rem;
    }

    .case-panel:not(.is-active) {
        display: none;
    }

    .testimonial {
        padding: 4rem 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

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

    .testimonial-slider {
        min-height: 0;
    }

    .testimonial-panel {
        position: relative;
        padding: 0;
    }

    .testimonial-panel:not(.is-active) {
        display: none;
    }

    .outcomes {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .metric-card {
        gap: 0.5rem;
    }

    .pricing-card {
        min-height: auto;
    }

    .cta {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 1rem 4rem;
    }

    .cta-form button {
        width: 100%;
    }

    /* Footer V2 responsive */
    .footer-main-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand-v2 {
        grid-column: 1 / -1;
        padding-right: 0;
    }

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

    .footer-subscribe {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bar-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

.console-shell {
    min-height: 100vh;
    display: flex;
    background: var(--color-bg-muted);
}

.console-sidebar {
    width: 260px;
    background: #101632;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
}

.console-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.console-brand .glyph {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(130deg, var(--color-orange), #ffb347);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.console-brand p {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.console-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.console-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.console-sidebar nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.console-sidebar nav a.is-active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.console-sidebar-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.console-sidebar-foot p {
    margin: 0;
    font-weight: 600;
}

.console-logout {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.console-main {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.console-panel {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 20px 40px rgba(14, 20, 40, 0.04);
}
.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.content-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.content-block-grid article {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f9f9ff;
}
.content-block-grid .block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.status-pill {
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
}
.status-pill.is-on {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.console-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.console-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.console-form input,
.console-form textarea,
.console-form select {
    border: 1px solid rgba(14, 20, 40, 0.15);
    border-radius: var(--radius-lg);
    padding: 0.6rem 0.8rem;
}
.console-form .field-error {
    color: #b91c1c;
    font-size: 0.85rem;
}
.console-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.console-table th,
.console-table td {
    padding: 0.65rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    text-align: left;
}
.console-table th {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.console-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}
.console-hero {
    width: 100%;
    background: linear-gradient(120deg, #eef1ff 0%, #fff9f2 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 45px rgba(14, 20, 40, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}
.hero-content {
    max-width: 520px;
}
.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}
.hero-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(254, 244, 233, 0.9));
    border-radius: var(--radius-2xl);
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-highlight-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-right: 1rem;
}

.hero-highlight-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: rgba(14, 20, 40, 0.08);
}

.hero-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    background: rgba(14, 20, 40, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}

.hero-stat-icon svg {
    width: 28px;
    height: 28px;
}

.hero-stat-label {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-stat-value {
    margin: 0.15rem 0 0;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.hero-stat-helper {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .hero-highlight {
        grid-template-columns: 1fr;
    }

    .hero-highlight-stat {
        padding-right: 0;
    }

    .hero-highlight-stat:not(:last-child)::after {
        display: none;
    }
}

.console-page-header .lede {
    margin-top: 0.5rem;
    color: var(--color-text-muted);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.panel {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 20px 40px rgba(13, 18, 34, 0.05);
}
.panel-contained {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-bottom: 1.75rem;
}
.section-tight {
    margin-bottom: 1.25rem;
}

.panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stats-grid article {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    border: 1px solid rgba(14, 20, 40, 0.05);
}

.stats-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .stats-grid.three-up {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.assessment-stat-card {
    --card-accent: var(--color-orange);
    --card-accent-soft: rgba(255, 138, 0, 0.15);
    padding: 1.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 20, 40, 0.06);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 243, 255, 0.95));
    box-shadow: 0 25px 45px rgba(14, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.assessment-grid {
    margin-top: 2rem;
}

.assessment-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.assessment-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: var(--card-accent-soft);
    color: var(--card-accent);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-heading {
    flex: 1;
}

.assessment-card-header h3 {
    margin: 0.2rem 0 0;
}

.assessment-stat-card .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.micro-pill {
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
}

.stat-total {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-navy);
}

.stat-total span {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--card-accent);
    transition: width 0.3s ease;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.stat-breakdown {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.stat-breakdown dt {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.stat-breakdown dd {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    color: var(--color-navy);
}

.stat-breakdown div {
    flex: 1;
}

.assessment-stat-card .card-actions {
    margin-top: auto;
}

.theme-marketing {
    --card-accent: var(--color-orange);
    --card-accent-soft: rgba(255, 138, 0, 0.18);
    background: linear-gradient(150deg, rgba(255, 236, 210, 0.6), rgba(255, 255, 255, 0.95));
}

.theme-product {
    --card-accent: #5f6bff;
    --card-accent-soft: rgba(95, 107, 255, 0.18);
    background: linear-gradient(150deg, rgba(232, 236, 255, 0.8), rgba(255, 255, 255, 0.98));
}

.theme-behavioral {
    --card-accent: #ff5f9e;
    --card-accent-soft: rgba(255, 95, 158, 0.16);
    background: linear-gradient(150deg, rgba(255, 230, 239, 0.8), rgba(255, 255, 255, 0.98));
}

@media (max-width: 640px) {
    .assessment-card-header {
        flex-wrap: wrap;
    }

    .micro-pill {
        margin-left: auto;
    }
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}
.panel-grid.metric-grid .panel {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: 0 18px 35px rgba(14, 20, 40, 0.05);
}
.panel-grid.metric-grid .panel.emphasize {
    background: linear-gradient(160deg, rgba(255, 255, 255, 1), rgba(239, 243, 255, 0.9));
}
.quick-links-panel .chip-row {
    justify-content: flex-start;
}

.deadline-list,
.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deadline-list li,
.activity-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.deadline-list li:last-child,
.activity-list li:last-child {
    border-bottom: none;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}

.detail-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--color-text-muted);
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.card-actions a {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-orange);
}

.table {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;
}

.table-row.table-head {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.table-row:last-child {
    border-bottom: none;
}

.question-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.question-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.choice-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0 0;
    color: var(--color-text-muted);
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-family: inherit;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    background: var(--color-white);
    color: var(--color-text);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--color-orange);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-orange-lighter);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-text-secondary);
}

.inline-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.inline-form input {
    flex: 1;
    min-width: 240px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 0.65rem 0.85rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-grid strong {
    font-size: 1.5rem;
}

.session-panel header {
    align-items: center;
    gap: 1rem;
}

.session-meta {
    color: var(--color-text-muted);
    margin-top: -0.5rem;
}

.session-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.metric-panel {
    padding: 1.5rem 2rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metric-card {
    background: #f6f7fb;
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(14, 20, 40, 0.05);
}

.metric-cluster .metric-panel {
    position: relative;
    overflow: hidden;
}

.metric-panel-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.metric-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-xl);
    background: rgba(14, 20, 40, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    flex-shrink: 0;
}

.metric-icon svg {
    width: 28px;
    height: 28px;
}

.accent-clients {
    background: linear-gradient(135deg, rgba(194, 255, 232, 0.5), rgba(255, 255, 255, 0.9));
}

.accent-users {
    background: linear-gradient(135deg, rgba(255, 240, 219, 0.8), rgba(255, 255, 255, 0.95));
}

.quick-links-panel.neutral {
    background: linear-gradient(135deg, rgba(238, 240, 255, 0.6), rgba(255, 255, 255, 0.95));
}

.metric-label {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.metric-value {
    margin: 0.35rem 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
}

.metric-panel .metric-value {
    font-size: 2rem;
}

.metric-helper {
    color: var(--color-text-muted);
    margin: 0.35rem 0 0;
}

.metric-breakdown {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.metric-breakdown li {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.metric-breakdown strong {
    font-size: 1.4rem;
    color: var(--color-navy);
    line-height: 1.2;
}

.metric-value.decision.advance {
    color: #0faa7c;
}

.metric-value.decision.reject {
    color: #eb5757;
}

.candidate-shell {
    min-height: 100vh;
    background: var(--color-bg-muted);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    padding: 3rem 1.5rem;
}

.candidate-shell.single-column {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.candidate-skip-link {
    align-self: flex-end;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-decoration: underline;
    color: var(--color-navy);
}

.candidate-panel {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 25px 45px rgba(15, 20, 40, 0.06);
}

.candidate-panel .lede {
    color: var(--color-text-muted);
}

.candidate-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.candidate-meta dt {
    font-weight: 600;
    color: var(--color-text-muted);
}

.candidate-meta dd {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
}

.candidate-callout {
    background: rgba(255, 138, 0, 0.1);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
}

.candidate-rules {
    background: #f6f7fb;
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.candidate-rules ul {
    margin: 0.75rem 0 0 1rem;
    color: var(--color-text-muted);
}

.candidate-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.pause-panel {
    text-align: center;
    padding: 3rem 2.5rem;
}

.pause-panel .lede {
    max-width: 520px;
    margin: 0.5rem auto 2rem;
}

.practice-panel .practice-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
.practice-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.practice-card {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    background: rgba(249, 250, 255, 0.9);
}
.practice-feedback {
    margin-top: 0.75rem;
    font-weight: 600;
}
.practice-feedback.success {
    color: #16a34a;
}
.practice-feedback.warning {
    color: #d97706;
}

.pause-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pause-meta article {
    background: rgba(246, 247, 251, 0.9);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    min-width: 180px;
}

.pause-meta span {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.pause-meta strong {
    font-size: 1.15rem;
    color: var(--color-navy);
}

.resume-form {
    margin-bottom: 1.5rem;
}

.candidate-question label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.candidate-question ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.candidate-question li {
    margin-bottom: 0.35rem;
}

.candidate-panel input[type="radio"],
.candidate-panel input[type="checkbox"] {
    margin-right: 0.5rem;
}

.candidate-panel textarea {
    resize: vertical;
}

.candidate-next-steps {
    list-style: disc;
    margin: 1.5rem 0 2rem 1.25rem;
    color: var(--color-text-muted);
}

.completed-panel {
    place-items: center;
}

.behavior-panel {
    margin-top: 2rem;
}
.behavior-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(120deg, rgba(255, 138, 0, 0.12), rgba(78, 70, 229, 0.08));
    border-radius: var(--radius-xl);
    margin: -1rem -1.5rem 1.5rem;
}
.behavior-title {
    max-width: 640px;
}
.behavior-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}
.meta-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    min-width: 150px;
    box-shadow: inset 0 0 0 1px rgba(14, 20, 40, 0.05);
}
.meta-card p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.meta-card .meta-value {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.4rem;
    font-weight: 700;
}
.risk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: 0.35rem;
}
.risk-badge.risk-high_risk,
.risk-badge.risk-reject {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}
.risk-badge.risk-moderate_risk,
.risk-badge.risk-consider_interview {
    background: rgba(255, 206, 84, 0.2);
    color: #b97300;
}
.risk-badge.risk-low_risk,
.risk-badge.risk-low,
.risk-badge.risk-invite_to_interview {
    background: rgba(46, 204, 113, 0.18);
    color: #1d7d46;
}
.behavior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.behavior-card {
    background: #f5f6fc;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 0 1px rgba(14, 20, 40, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.behavior-card .card-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.behavior-card .card-value {
    font-size: 1.4rem;
    margin: 0;
}
.behavior-card .card-metric {
    margin: 0;
    font-weight: 600;
}
.behavior-card .card-metric small {
    display: block;
    font-weight: 400;
    color: var(--color-text-muted);
}
.behavior-card .muted {
    color: var(--color-text-muted);
    margin: 0;
}
.chip-list {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.chip {
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.behavior-split {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 900px) {
    .behavior-split {
        grid-template-columns: 1fr;
    }
    .language-flex {
        grid-template-columns: 1fr;
    }
    .language-aside {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
}
.behavior-summary {
    display: grid;
    gap: 1rem;
}
.behavior-summary article {
    padding: 1rem 1.25rem;
    background: #f8f9fd;
    border-radius: var(--radius-xl);
}
.behavior-summary .trait-label {
    font-weight: 600;
    margin: 0.25rem 0;
}
.behavior-summary .muted {
    color: var(--color-text-muted);
    margin: 0;
}
.trait-table {
    margin-top: 0;
}
.behavior-risks {
    margin-top: 2rem;
}
.behavior-risks .flag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.behavior-risks .flag-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}
.behavior-risks .follow-up {
    margin-top: 1.5rem;
    background: #f5f6fc;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
}
.question-step .question-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, var(--color-cream), #f5f6fc);
    border: 1px solid rgba(14, 20, 40, 0.05);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 14px 35px rgba(14, 20, 40, 0.06);
    gap: 1.5rem;
}
.question-step .progress-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-orange);
    font-weight: 700;
}
.status-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.16);
}
.progress-count {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
}
.progress-count .progress-total {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.progress-meter {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}

.session-utility-bar {
    margin: 1.5rem 0 1.2rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.session-utility-bar strong {
    font-size: 1.05rem;
    color: var(--color-navy);
}

.session-utility-bar form {
    margin: 0;
}

.device-support {
    border: 1px dashed rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(249, 250, 255, 0.9);
}

.device-support p {
    margin: 0.3rem 0 0;
    color: var(--color-text-muted);
}

.device-support form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
}

.device-support input {
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    min-width: 220px;
}

.input-hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: -1rem 0 1.5rem;
}

.accessibility-hint {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.support-center {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 35px rgba(14, 20, 40, 0.08);
}
.support-center-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.support-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.support-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.support-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.support-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.support-submit .tiny {
    font-size: 0.8rem;
}

.help-drawer {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
}

.help-drawer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
}

.help-drawer .chevron {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--color-navy);
    border-bottom: 2px solid var(--color-navy);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.help-drawer[open] .chevron {
    transform: rotate(225deg);
}

.help-drawer .help-content {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.75rem;
}

.help-drawer article strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.help-drawer article p {
    margin: 0;
    color: var(--color-text-muted);
}
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(14, 20, 40, 0.08);
}
.progress-bar span {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(120deg, var(--color-orange), #ffb347);
    border-radius: inherit;
    box-shadow: 0 10px 20px rgba(255, 138, 0, 0.3);
}
.progress-percent {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.question-step .question-progress {
    flex-wrap: wrap;
}
.question-step .question-progress,
.progress-meter,
.progress-bar {
    min-width: 0;
}
.progress-meter {
    min-width: 220px;
}
.progress-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.progress-stat {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 20, 40, 0.08);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}
.progress-stat span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}
.progress-stat strong {
    display: block;
    font-size: 1.4rem;
    margin-top: 0.25rem;
}
@media (max-width: 640px) {
    .question-step .question-progress {
        flex-direction: column;
        align-items: flex-start;
    }
    .progress-meter {
        width: 100%;
        align-items: flex-start;
    }
    .progress-bar {
        margin-left: 0;
    }
    .session-utility-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .device-support {
        flex-direction: column;
        align-items: flex-start;
    }
    .device-support form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .device-support input,
    .device-support button {
        width: 100%;
    }
    .support-center-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .support-submit {
        flex-direction: column;
        align-items: flex-start;
    }
}
.question-instructions {
    background: #f5f6fc;
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
.focus-banner {
    background: rgba(255, 138, 0, 0.08);
    border: 1px solid rgba(255, 138, 0, 0.2);
    border-radius: var(--radius-xl);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
}
.focus-banner span {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-orange);
    font-size: 0.75rem;
    margin-right: 0.5rem;
}
.question-guidance {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1rem;
    margin: 0.75rem 0 1rem;
    background: rgba(249, 250, 255, 0.8);
}
.question-guidance strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}
.question-guidance p {
    margin: 0;
    color: var(--color-text-muted);
}
.answer-preview {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    background: #fdfcf9;
}
.answer-preview .preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}
.answer-preview .char-count {
    font-weight: 600;
    color: var(--color-text-muted);
}
.answer-preview .char-count.is-warning {
    color: #d97706;
}
.preview-hint {
    margin: 0 0 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.preview-body {
    min-height: 80px;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    border: 1px dashed rgba(15, 23, 42, 0.12);
    color: var(--color-navy);
    white-space: pre-wrap;
}
.preview-body.is-empty {
    color: var(--color-text-muted);
    font-style: italic;
}

.help-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0 1rem;
}
.ranking-items {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
    color: var(--color-navy);
    font-weight: 600;
}
.ranking-items li {
    margin-bottom: 0.35rem;
}

.timer {
    margin: 0;
    font-weight: 600;
    color: var(--color-orange);
}
.share-meta p {
    margin: 0;
}
.share-meta {
    text-align: right;
}

.score-highlight .share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.share-meta {
    text-align: right;
}
.score-highlight .meta {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.fit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.fit-grid .label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}
.fit-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fit-grid li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
    font-size: 0.95rem;
}
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.chip {
    background: rgba(255, 138, 0, 0.12);
    color: var(--color-navy);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.9rem;
    font-weight: 600;
    font-size: 0.85rem;
}
.chip.warning {
    background: rgba(255, 100, 100, 0.12);
    color: #eb5757;
}
.chip.emphasis {
    background: rgba(15, 170, 124, 0.15);
    color: #0faa7c;
}
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.risk-card {
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(14, 20, 40, 0.05);
}
.risk-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--color-white);
}
.risk-copy h3 {
    margin: 0 0 0.25rem;
}
.risk-copy p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.risk-pill {
    margin-left: auto;
    font-weight: 600;
}
.risk-card.severity-watchlist .risk-icon {
    background: rgba(255, 138, 0, 0.8);
}
.risk-card.severity-watchlist .risk-pill {
    color: var(--color-orange);
}
.risk-card.severity-reject .risk-icon {
    background: rgba(235, 87, 87, 0.85);
}
.risk-card.severity-reject .risk-pill {
    color: #eb5757;
}
.summary-callout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(225, 242, 255, 0.9));
    border: 1px solid rgba(14, 20, 40, 0.05);
}
.summary-callout-responsive {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.summary-callout.tone-positive {
    background: linear-gradient(120deg, rgba(225, 255, 244, 0.9), rgba(255, 255, 255, 0.95));
}
.summary-callout.tone-warning {
    background: linear-gradient(120deg, rgba(255, 235, 230, 0.9), rgba(255, 255, 255, 0.95));
}
.summary-callout-main h2 {
    margin: 0.4rem 0;
}
.summary-callout-main p {
    margin: 0;
    color: var(--color-text-muted);
}
.summary-callout-main .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.summary-callout-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.metric-chip {
    min-width: 120px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 20, 40, 0.08);
    text-align: center;
}
.metric-chip strong {
    font-size: 1.5rem;
}
.drilldown-panel details {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
}
.drilldown-panel summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.drilldown-panel summary::-webkit-details-marker {
    display: none;
}
.drilldown-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(14, 20, 40, 0.05);
    color: var(--color-text-muted);
}
.drilldown-status {
    font-weight: 600;
}
.drilldown-status.positive {
    color: #0faa7c;
}
.drilldown-status.warning {
    color: #eb5757;
}
.decision-cta-panel .decision-cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.decision-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.decision-tab {
    border-radius: var(--radius-xl);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
    background: var(--color-white);
}
.decision-tab .tab-title {
    font-weight: 700;
}
.decision-tab .tab-helper {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.decision-tab.positive {
    background: rgba(225, 255, 244, 0.9);
}
.decision-tab.warning {
    background: rgba(255, 235, 230, 0.9);
}
.decision-note textarea {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.8rem;
    font-family: inherit;
}
.followup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.followup-card {
    border-radius: var(--radius-xl);
    padding: 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 235, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}
.followup-card .card-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
}
.comparative-grid,
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.heatmap-card {
    border-radius: var(--radius-xl);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.05);
    text-align: center;
}
.heatmap-card strong {
    font-size: 1.8rem;
}
.trait-bar {
    padding: 0.5rem 0;
}
.trait-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}
.trait-bar .progress {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    overflow: hidden;
}
.trait-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), #ffc562);
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.summary-card {
    border-radius: var(--radius-xl);
    padding: 1rem 1.2rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(14, 20, 40, 0.05);
}
.summary-card h3 {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}
.summary-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.35rem 0;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.review-card {
    border-radius: var(--radius-xl);
    padding: 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
}
.review-card .badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.review-card strong {
    font-size: 2rem;
    display: block;
    margin-top: 0.4rem;
}
.review-card.is-recommended {
    border-color: rgba(15, 170, 124, 0.4);
    box-shadow: 0 12px 30px rgba(15, 170, 124, 0.1);
}
.heatmap-card.status-positive {
    border-color: rgba(15, 170, 124, 0.3);
    background: rgba(225, 255, 244, 0.9);
}
.heatmap-card.status-warning {
    border-color: rgba(235, 87, 87, 0.3);
    background: rgba(255, 235, 230, 0.9);
}
.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.timeline-list::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(14, 20, 40, 0.08);
}
.timeline-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-navy);
    flex-shrink: 0;
    margin-top: 0.35rem;
}
.timeline-label {
    margin: 0;
    font-weight: 600;
}
.timeline-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.timeline-desc {
    margin: 0.35rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--color-text-muted);
}
.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.audit-card {
    border-radius: var(--radius-xl);
    padding: 1rem 1.2rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: rgba(255, 255, 255, 0.95);
}
.audit-card h3 {
    margin: 0.35rem 0;
}
.audit-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.feedback-insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}
.notes-timeline {
    margin-top: 1.5rem;
    position: relative;
}
.notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.notes-list li {
    display: flex;
    gap: 1rem;
    position: relative;
}
.note-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
    margin-top: 0.4rem;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.15);
}
.note-body {
    flex: 1;
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: rgba(255, 255, 255, 0.8);
}
.note-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.chip-row.warning .chip {
    background: rgba(235, 87, 87, 0.12);
    color: #eb5757;
}

/* ── API Page (ap-*) ── */
.ap-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* AP Hero */
.ap-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}
.ap-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}
.ap-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin: 0 0 0.75rem;
}
.ap-eyebrow--light {
    color: rgba(255, 138, 0, 0.85);
}
.ap-hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.ap-hero-desc {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}
.ap-hero-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.ap-hero-tags li {
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: #f3f4f6;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-navy);
}
.ap-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.ap-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    background: var(--color-orange);
    color: var(--color-white);
    border: 1px solid var(--color-orange);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.ap-btn-primary:hover {
    background: #e67a00;
}
.ap-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--color-navy);
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.ap-btn-secondary:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.ap-btn-small {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.ap-btn-small:hover { background: #e67a00; }
.ap-btn-small--muted {
    background: #f3f4f6;
    color: var(--color-navy);
}
.ap-btn-small--muted:hover {
    background: #e5e7eb;
}
.ap-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto;
}
.ap-metric {
    padding: 1rem 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: var(--color-white);
}
.ap-metric strong {
    display: block;
    font-size: 1.25rem;
    color: var(--color-navy);
}
.ap-metric span {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* AP Sections */
.ap-section {
    padding: 3rem 0;
    scroll-margin-top: 100px;
}
.ap-section--alt {
    background: #fafafa;
    padding: 3rem 0;
    margin: 0 -1.5rem;
}
.ap-section--alt .ap-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ap-section--dark {
    background: #0f172a;
    color: #f8f8ff;
    padding: 3rem 0;
    margin: 0 -1.5rem;
}
.ap-section--dark .ap-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ap-section-inner {
    max-width: 1100px;
}
.ap-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.ap-section-header h2 {
    margin: 0.25rem 0 0;
}
.ap-section-lede {
    max-width: 360px;
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}
.ap-lede--light {
    color: rgba(248, 248, 255, 0.7);
}
.ap-dark-title {
    color: var(--color-white);
}

/* AP Nav */
.ap-nav {
    position: sticky;
    top: 72px;
    z-index: 12;
    margin: 0 0 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    border: 1px solid #ebedf0;
    backdrop-filter: blur(12px);
    padding: 0.3rem;
}
.ap-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
}
.ap-nav ul::-webkit-scrollbar { display: none; }
.ap-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: #6b7280;
    font-size: 0.85rem;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.ap-nav a:hover {
    color: var(--color-navy);
    background: #f3f4f6;
}
.ap-nav a.is-active {
    background: var(--color-navy);
    color: var(--color-white);
}
/* AP Flow */
.ap-flow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.ap-flow-title {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0.25rem 0 0.75rem;
}
.ap-flow-desc {
    color: rgba(248, 248, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.ap-flow-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ap-flow-steps li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ap-step-num {
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-white);
}
.ap-flow-steps strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
}
.ap-flow-steps p {
    margin: 0;
    color: rgba(248, 248, 255, 0.6);
    font-size: 0.85rem;
}
.ap-flow-visual {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ap-flow-header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: rgba(248, 248, 255, 0.6);
}
.ap-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(248, 248, 255, 0.4);
}
.ap-flow-track {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
}
.ap-flow-node {
    border-radius: 10px;
    padding: 0.85rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ap-flow-node strong {
    display: block;
    color: var(--color-white);
    font-size: 0.9rem;
}
.ap-flow-node small {
    color: rgba(248, 248, 255, 0.5);
    font-size: 0.8rem;
}
.ap-flow-arrow {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
}
.ap-flow-arrow::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid rgba(255, 255, 255, 0.25);
    transform: translateY(-50%);
}
/* AP Downloads */
.ap-downloads {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ap-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #ebedf0;
    background: var(--color-white);
}
.ap-download-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-navy);
}
.ap-download-item p {
    margin: 0.2rem 0 0;
    color: #6b7280;
    font-size: 0.85rem;
}
/* AP Playground */
.ap-playground {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
}
.ap-playground-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ap-playground-tab {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-white);
    padding: 0.75rem 0.85rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}
.ap-playground-tab:hover {
    background: rgba(255, 255, 255, 0.08);
}
.ap-playground-method {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-orange);
}
.ap-playground-path {
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    word-break: break-all;
}
.ap-playground-tab p {
    margin: 0;
    color: rgba(248, 248, 255, 0.55);
    font-size: 0.8rem;
}
.ap-playground-tab.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}
.ap-playground-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.ap-playground-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.ap-playground-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(248, 248, 255, 0.7);
}
.ap-playground-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}
.ap-playground-card header code {
    word-break: break-all;
    font-size: 0.8rem;
}
.ap-playground-meta strong {
    display: block;
    margin-bottom: 0.25rem;
    color: rgba(248, 248, 255, 0.7);
    font-size: 0.8rem;
}
.ap-playground-meta pre {
    margin: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.85rem;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
    color: #e5e7eb;
    min-height: 80px;
}
.ap-playground-run {
    align-self: flex-start;
}
.ap-playground-run:disabled {
    opacity: 0.6;
    cursor: wait;
}
.ap-playground-tip {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(248, 248, 255, 0.5);
}
/* AP Environment */
.ap-env-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.ap-env-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
}
.ap-env-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.ap-env-card strong {
    font-size: 1rem;
    color: var(--color-navy);
    word-break: break-all;
}

/* AP Architecture */
.ap-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ap-arch-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
}
.ap-arch-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--color-navy);
}
.ap-arch-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* AP Endpoints */
.ap-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
}
.ap-endpoint {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
    transition: border-color 0.15s;
}
.ap-endpoint:hover {
    border-color: var(--color-orange);
}
.ap-endpoint-method {
    font-weight: 700;
    color: var(--color-orange);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ap-endpoint-path {
    display: block;
    margin: 0.2rem 0 0.6rem;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.85rem;
    color: var(--color-navy);
    word-break: break-all;
}
.ap-endpoint-desc {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
}
.ap-schema {
    margin-top: 0.65rem;
    border-radius: 8px;
    border: 1px solid #ebedf0;
    background: #fafafa;
    padding: 0.5rem 0.75rem;
}
.ap-schema summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.ap-schema summary::before {
    content: "↓";
    font-size: 0.7rem;
    color: #9ca3af;
    transition: transform 0.15s;
}
.ap-schema[open] summary::before {
    transform: rotate(-180deg);
}
.ap-schema pre {
    margin: 0.5rem 0 0;
    background: var(--color-white);
    border-radius: 6px;
    padding: 0.5rem;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--color-navy);
    white-space: pre-wrap;
    word-break: break-word;
}
/* AP Language section */
.ap-lang-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}
.ap-lang-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0 1rem;
}
.ap-lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.ap-lang-pill {
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    background: #f3f4f6;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-navy);
}
.ap-lang-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #6b7280;
    font-size: 0.9rem;
}
.ap-lang-stats-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--color-white);
}
.ap-lang-stats-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    font-weight: 700;
    margin-bottom: 1rem;
}
.ap-lang-stats {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #ebedf0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.ap-lang-stats article {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.ap-lang-stats strong {
    font-size: 1.5rem;
    color: var(--color-navy);
}
.ap-lang-stats span {
    color: #9ca3af;
    font-size: 0.8rem;
}
.ap-lang-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* AP Code tabs */
.ap-code-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.ap-code-tab {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(248, 248, 255, 0.8);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: background 0.15s, border-color 0.15s;
}
.ap-code-token {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.ap-code-tab.is-active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
.ap-code-stack {
    position: relative;
    min-height: 200px;
}
.ap-code-card {
    display: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
}
.ap-code-card.is-active {
    display: flex;
}
.ap-code-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.ap-code-card-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 248, 255, 0.5);
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
}
.ap-code-card pre {
    margin: 0;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    color: #e5e7eb;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 1rem;
}

/* AP Stacks */
.ap-stacks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.ap-stacks-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--color-white);
}
.ap-stacks-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: var(--color-navy);
}
.ap-stacks-card > p {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}
.ap-stacks-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ap-stacks-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: var(--color-navy);
}
.ap-stacks-card li span {
    font-weight: 600;
    color: #6b7280;
}
.ap-stacks-note {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--color-white);
}
.ap-stacks-note-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--color-orange);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.ap-stacks-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* AP Samples */
.ap-samples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ap-sample-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: border-color 0.15s;
}
.ap-sample-card:hover {
    border-color: var(--color-orange);
}
.ap-sample-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f3f4f6;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-orange);
}
.ap-sample-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}
.ap-sample-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}
.ap-sample-header strong {
    font-size: 0.85rem;
    color: var(--color-navy);
    word-break: break-all;
}
.ap-sample-card pre {
    margin: 0;
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 8px;
    padding: 0.85rem;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

/* AP Partners */
.ap-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.ap-partner-card {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
}
.ap-partner-name {
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--color-navy);
}
.ap-partner-card blockquote {
    margin: 0;
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

/* AP Changelog */
.ap-changelog {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ap-changelog li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: var(--color-white);
}
.ap-changelog-date {
    font-weight: 600;
    color: var(--color-orange);
    min-width: 100px;
    font-size: 0.85rem;
}
.ap-changelog p {
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
}

/* AP Token */
.ap-token-card {
    background: #0f172a;
    border-radius: 12px;
    padding: 1.5rem;
    color: #f8f8ff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ap-token-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: rgba(248, 248, 255, 0.6);
    margin-bottom: 0.3rem;
}
.ap-token-card pre {
    margin: 0;
    font-size: 1rem;
}
.ap-token-card code {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    word-break: break-all;
    font-size: 0.9rem;
}
.ap-token-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* AP Request form */
.ap-request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.ap-request-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0 1.5rem;
}
.ap-request-note {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--color-white);
}
.ap-request-note-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.ap-request-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}
.ap-request-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ap-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.ap-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.ap-form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}
.ap-form-field input,
.ap-form-field textarea {
    padding: 0.65rem 0.85rem;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: border-color 0.15s;
}
.ap-form-field textarea {
    min-height: 100px;
    resize: vertical;
}
.ap-form-field input:focus,
.ap-form-field textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    background: var(--color-white);
}
.ap-field-error {
    color: #f87171;
    font-size: 0.8rem;
}

/* AP Responsive */
@media (max-width: 900px) {
    .ap-flow-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .ap-playground { grid-template-columns: 1fr; }
    .ap-playground-body { grid-template-columns: 1fr; }
    .ap-lang-grid { grid-template-columns: 1fr; }
    .ap-stacks-grid { grid-template-columns: 1fr; }
    .ap-samples { grid-template-columns: repeat(2, 1fr); }
    .ap-arch-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-request-grid { grid-template-columns: 1fr; }
    .ap-section--alt,
    .ap-section--dark { margin: 0 -1rem; }
    .ap-section--alt .ap-section-inner,
    .ap-section--dark .ap-section-inner { padding: 0 1rem; }
}
@media (max-width: 640px) {
    .ap-shell { padding: 0 1rem; }
    .ap-hero { padding: 4rem 0 2rem; }
    .ap-hero-actions { flex-direction: column; }
    .ap-form-row { grid-template-columns: 1fr; }
    .ap-section-header { flex-direction: column; }
    .ap-section-lede { max-width: 100%; }
    .ap-samples { grid-template-columns: 1fr; }
    .ap-arch-grid { grid-template-columns: 1fr; }
}
/* ── Login Page (lg-*) ── */
.lg-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 3rem 1.5rem;
}
.lg-card {
    max-width: 440px;
    width: 100%;
    background: var(--color-white);
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 2.5rem;
}
.lg-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin: 0 0 0.5rem;
}
.lg-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.lg-desc {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
    line-height: 1.5;
}
.lg-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.lg-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #dc2626;
    font-size: 0.9rem;
}
.lg-error p { margin: 0; }
.lg-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.lg-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}
.lg-field input {
    padding: 0.65rem 0.85rem;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: border-color 0.15s;
}
.lg-field input:focus {
    outline: none;
    border-color: var(--color-orange);
    background: var(--color-white);
}
.lg-field-error {
    color: #f87171;
    font-size: 0.8rem;
}
.lg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    background: var(--color-orange);
    color: var(--color-white);
    border: 1px solid var(--color-orange);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 0.25rem;
}
.lg-btn:hover { background: #e67a00; }
.lg-forgot {
    text-align: center;
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.lg-forgot a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 500;
}
.lg-forgot a:hover { text-decoration: underline; }
.lg-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.85rem;
}
.lg-divider::before,
.lg-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ebedf0;
}
.lg-divider span {
    padding: 0 0.75rem;
    white-space: nowrap;
}
.lg-social {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.lg-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    cursor: pointer;
}
.lg-social-icon { flex-shrink: 0; }
.lg-provider-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.lg-social-google {
    background: var(--color-white);
    color: #374151;
    border: 1px solid #ebedf0;
}
.lg-social-google:hover {
    border-color: #d1d5db;
    background: #fafafa;
}
.lg-social-linkedin {
    background: #0A66C2;
    color: var(--color-white);
    border: 1px solid #0A66C2;
}
.lg-social-linkedin:hover {
    background: #004182;
    border-color: #004182;
}
.lg-footer-text {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.lg-footer-text a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
}
.lg-footer-text a:hover { text-decoration: underline; }
.lg-provider-icon--error { background: #fef2f2; color: #dc2626; }
.lg-provider-icon--warning { background: #fffbeb; color: #d97706; }
.lg-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.lg-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--color-navy);
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.lg-btn-outline:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.lg-troubleshoot {
    text-align: left;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}
.lg-troubleshoot-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}
.lg-troubleshoot code {
    font-size: 0.8rem;
    background: #f3f4f6;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    word-break: break-all;
}
.lg-troubleshoot p { margin: 0.35rem 0; }
@media (max-width: 640px) {
    .lg-main { padding: 2rem 1rem; }
    .lg-card { padding: 2rem 1.25rem; }
}

/* ── Signup (su-*) ───────────────────────────────────────────── */
.su-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

/* Header */
.su-header {
    text-align: center;
    margin-bottom: 2rem;
}
.su-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0 0 0.5rem;
}
.su-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.su-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Social auth row (reuses lg-social-btn from login) */
.su-social { margin-bottom: 1.25rem; }
.su-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.su-divider::before,
.su-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ebedf0;
}
.su-divider span {
    font-size: 0.8rem;
    color: #9ca3af;
    white-space: nowrap;
}
.su-social-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
.su-social-row .lg-social-btn {
    flex: 1;
    max-width: 240px;
}
.su-login-link {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}
.su-login-link a {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
}
.su-login-link a:hover { text-decoration: underline; }

/* Steps bar */
.su-steps {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #ebedf0;
    border-radius: 12px;
}
.su-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
}
.su-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 138, 0, 0.1);
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.8rem;
}

/* Form */
.su-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Sections (fieldsets) — reset browser fieldset defaults */
.su-section {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: #fff;
    padding: 2rem;
    margin: 0;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}
.su-section-title {
    float: left;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #f3f4f6;
}
.su-section-title + .su-row,
.su-section-title + .su-assess-header {
    clear: both;
}

/* Rows */
.su-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.su-row:last-child { margin-bottom: 0; }
.su-row--single { grid-template-columns: 1fr; }

/* Fields */
.su-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.su-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}
.su-req { color: var(--color-orange); }
.su-field input[type="text"],
.su-field input[type="email"],
.su-field input[type="tel"],
.su-field input[type="password"],
.su-field input[type="url"],
.su-field input[type="number"],
.su-field select,
.su-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #f8f9fa;
    color: var(--color-navy);
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.su-field input:focus,
.su-field select:focus,
.su-field textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
    background: #fff;
}
.su-field input[type="file"] {
    font-size: 0.85rem;
    padding: 0.5rem;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
}
.su-field input[type="file"]:hover {
    border-color: var(--color-orange);
}
.su-help {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 0.15rem;
}
.su-field-error {
    font-size: 0.8rem;
    color: #dc2626;
}

/* Textarea + char counter */
.su-textarea-wrap { position: relative; }
.su-textarea-wrap textarea {
    min-height: 100px;
    resize: vertical;
    padding-bottom: 2.5rem;
}
.su-char-counter {
    position: absolute;
    bottom: 0.6rem;
    right: 0.85rem;
    font-size: 0.75rem;
    color: #9ca3af;
}
.su-char-counter.warning { color: #f59e0b; }
.su-char-counter.error { color: #dc2626; }

/* Assessment grid */
.su-assess-header {
    margin-bottom: 1rem;
}
.su-assess-header label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}
.su-assess-header p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.su-assess-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}
.su-assess-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.su-assess-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.08);
}
.su-assess-card input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-orange);
    cursor: pointer;
}
.su-assess-card:has(input:checked) {
    border-color: var(--color-orange);
    background: rgba(255, 138, 0, 0.04);
}
.su-assess-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}
.su-assess-card p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.su-footer {
    text-align: center;
    padding-top: 0.5rem;
}
.su-submit {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 0.85rem 2rem;
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.su-submit:hover {
    background: #e07800;
    transform: translateY(-1px);
}
.su-submit:active { transform: translateY(0); }
.su-req-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 1rem 0 0;
}

/* Responsive */
@media (max-width: 900px) {
    .su-main { padding: 3rem 1.25rem 4rem; }
    .su-steps { flex-direction: column; gap: 0.75rem; }
    .su-row { grid-template-columns: 1fr; }
    .su-section { padding: 1.5rem; }
}
@media (max-width: 640px) {
    .su-main { padding: 2rem 1rem 3rem; }
    .su-title { font-size: 1.4rem; }
    .su-social-row { flex-direction: column; align-items: center; }
    .su-social-row .lg-social-btn { max-width: 100%; width: 100%; }
    .su-steps { padding: 1rem; }
    .su-step { font-size: 0.8rem; }
    .su-section { padding: 1.25rem; }
    .su-assess-grid { grid-template-columns: 1fr; }
    .su-submit { max-width: 100%; }
}

/* ── Page Builder (pb-*) — Contact, Careers, Security, Privacy, Terms ── */
.pb-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

/* Hero */
.pb-hero {
    text-align: center;
    margin-bottom: 3rem;
}
.pb-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0 0 0.75rem;
}
.pb-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 1rem;
    line-height: 1.15;
}
.pb-lede {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* Card grid */
.pb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* Cards */
.pb-card {
    background: #fff;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pb-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.06);
}
.pb-badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-orange);
    background: rgba(255, 138, 0, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    align-self: flex-start;
}
.pb-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0.25rem 0 0;
    line-height: 1.35;
    word-break: break-word;
}
.pb-card-body {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Lists inside cards */
.pb-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.pb-list li {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
    padding-left: 1.1rem;
    position: relative;
}
.pb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-orange);
    opacity: 0.6;
}

/* Meta (key-value pairs) */
.pb-meta {
    margin: 0.5rem 0 0;
    padding: 0;
}
.pb-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
}
.pb-meta-row:last-child { border-bottom: none; }
.pb-meta-row dt {
    font-weight: 600;
    color: var(--color-navy);
}
.pb-meta-row dd {
    margin: 0;
    color: #6b7280;
    text-align: right;
}

/* CTA button inside card */
.pb-cta {
    display: inline-block;
    margin-top: auto;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--color-orange);
    border-radius: 8px;
    color: var(--color-orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s, color 0.15s;
    align-self: flex-start;
}
.pb-cta:hover {
    background: var(--color-orange);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .pb-main { padding: 3rem 1.25rem 4rem; }
    .pb-hero { margin-bottom: 2rem; }
}
@media (max-width: 640px) {
    .pb-main { padding: 2rem 1rem 3rem; }
    .pb-title { font-size: 1.4rem; }
    .pb-lede { font-size: 0.95rem; }
    .pb-grid { grid-template-columns: 1fr; }
    .pb-card { padding: 1.25rem; }
}

/* ── Pricing (pr-*) ──────────────────────────────────────────── */
.pr-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

/* Hero */
.pr-hero {
    text-align: center;
    margin-bottom: 3rem;
}
.pr-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0 0 0.75rem;
}
.pr-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 1rem;
    line-height: 1.15;
}
.pr-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* Tier card grid */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}
.pr-card {
    position: relative;
    background: #fff;
    border: 1px solid #ebedf0;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pr-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.pr-card--popular {
    border-color: var(--color-orange);
    box-shadow: 0 8px 32px rgba(255, 138, 0, 0.12);
    transform: translateY(-4px);
}
.pr-ribbon {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--color-orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 0 0 8px 8px;
}
.pr-card-top { margin-bottom: 0.75rem; }
.pr-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}
.pr-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.pr-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
}
.pr-freq {
    font-size: 0.9rem;
    color: #9ca3af;
}
.pr-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 0.5rem;
}
.pr-limits {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    background: #f8f9fa;
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    margin: 0;
}

/* Feature list */
.pr-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pr-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.45;
}
.pr-features svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #10b981;
}
.pr-card--popular .pr-features svg {
    color: var(--color-orange);
}

/* CTA buttons */
.pr-cta {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-orange);
    border-radius: 10px;
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.pr-cta:hover {
    background: var(--color-orange);
    color: #fff;
    transform: translateY(-1px);
}
.pr-cta--filled {
    background: var(--color-orange);
    color: #fff;
}
.pr-cta--filled:hover {
    background: #e07800;
}

.pr-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0 0 4rem;
}

/* Sections */
.pr-section {
    margin-bottom: 4rem;
}
.pr-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    margin: 0 0 0.75rem;
}
.pr-section-sub {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 2rem;
}

/* Comparison table */
.pr-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ebedf0;
    border-radius: 12px;
}
.pr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.pr-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}
.pr-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: var(--color-navy);
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #ebedf0;
    white-space: nowrap;
}
.pr-table th:not(:first-child) { text-align: center; }
.pr-table td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.pr-table td:not(:first-child) { text-align: center; }
.pr-table tbody tr:last-child td { border-bottom: none; }
.pr-table tbody tr:hover { background: #fafafa; }
.pr-check { vertical-align: middle; }
.pr-dash { color: #d1d5db; font-size: 1.1rem; }

/* AI feature emphasis */
.pr-feature--ai {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.06), rgba(255, 138, 0, 0.02));
    border: 1px solid rgba(255, 138, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0.65rem !important;
    margin: 0 -0.65rem;
    font-weight: 600;
}
.pr-feature--ai svg { color: #ff8a00 !important; stroke: #ff8a00 !important; }
.pr-new-tag {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    color: #fff;
    vertical-align: middle;
    margin-left: 0.25rem;
    line-height: 1.4;
}
.pr-row--highlight {
    background: rgba(255, 138, 0, 0.04) !important;
}
.pr-row--highlight td:first-child { font-weight: 600; color: #0e1428; }

/* Assessment grid */
.pr-assess-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.pr-assess-card {
    background: #fff;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.15s;
}
.pr-assess-card:hover { border-color: var(--color-orange); }
.pr-assess-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.35rem;
}
.pr-assess-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* FAQ */
.pr-faq {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.pr-faq-item {
    border-bottom: 1px solid #ebedf0;
    padding: 1.25rem 0;
}
.pr-faq-item:first-child { border-top: 1px solid #ebedf0; }
.pr-faq-item summary {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.pr-faq-item summary::-webkit-details-marker { display: none; }
.pr-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.pr-faq-item[open] summary::after {
    content: "\2212";
    color: var(--color-orange);
}
.pr-faq-item p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0.75rem 0 0;
    padding-right: 2rem;
}

/* Final CTA */
.pr-final {
    text-align: center;
    background: #fff;
    border: 1px solid #ebedf0;
    border-radius: 14px;
    padding: 3.5rem 2rem;
    margin-bottom: 1rem;
}
.pr-final-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
}
.pr-final-sub {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}
.pr-final-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--color-orange);
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.pr-final-btn:hover {
    background: #e07800;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
    .pr-main { padding: 3rem 1.25rem 4rem; }
    .pr-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .pr-card--popular { transform: none; }
    .pr-assess-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pr-main { padding: 2rem 1rem 3rem; }
    .pr-title { font-size: 1.5rem; }
    .pr-grid { max-width: 100%; }
    .pr-card { padding: 1.5rem 1.25rem; }
    .pr-amount { font-size: 2rem; }
    .pr-assess-grid { grid-template-columns: 1fr; }
    .pr-final { padding: 2.5rem 1.25rem; }
    .pr-table { font-size: 0.8rem; }
    .pr-table th, .pr-table td { padding: 0.6rem 0.75rem; }
}

.nav-links a.is-active {
    color: var(--color-navy);
    font-weight: 600;
}

.nav-links a.is-active::after {
    left: 0.75rem;
    right: 0.75rem;
    opacity: 1;
}

/* ── Blog List (bl-*) ── */
.bl-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}
.bl-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}
.bl-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin: 0 0 0.75rem;
}
.bl-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}
.bl-desc {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.bl-search {
    max-width: 480px;
    margin: 0 auto;
}
.bl-search-field {
    position: relative;
    display: flex;
    align-items: center;
}
.bl-search-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    pointer-events: none;
}
.bl-search-field input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bl-search-field input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.08);
    background: var(--color-white);
}

/* Category Pills */
.bl-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.bl-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #6b7280;
    background: transparent;
    border: 1px solid #ebedf0;
    transition: all 0.15s ease;
}
.bl-cat-pill:hover {
    color: var(--color-navy);
    border-color: var(--color-navy);
}
.bl-cat-pill.is-active {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* Blog Card Grid */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.bl-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid #ebedf0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bl-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.bl-card:hover .bl-card-arrow svg {
    transform: translateX(3px);
}
.bl-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}
.bl-card-cat {
    font-weight: 600;
    color: var(--color-orange);
}
.bl-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}
.bl-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.35;
}
.bl-card-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.55;
    flex: 1;
}
.bl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}
.bl-card-author {
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
}
.bl-card-arrow {
    color: #d1d5db;
    display: flex;
}
.bl-card-arrow svg {
    transition: transform 0.2s;
}
.bl-card:hover .bl-card-arrow {
    color: var(--color-orange);
}

/* Empty state */
.bl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: #fafafa;
    border-radius: 12px;
    border: 1px dashed #e2e5ea;
}
.bl-empty h3 {
    margin: 0 0 0.5rem;
    color: var(--color-navy);
    font-size: 1.1rem;
}
.bl-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}
.bl-empty a {
    color: var(--color-orange);
}

/* Load more */
.bl-load-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.bl-load-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.bl-load-btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

@media (max-width: 900px) {
    .bl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .bl-shell {
        padding: 4rem 1rem 3rem;
    }
    .bl-grid {
        grid-template-columns: 1fr;
    }
    .bl-categories {
        justify-content: flex-start;
    }
}

.page-container.slim {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.hero-card.stacked {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.info-grid,
.pillar-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.info-card,
.value-card,
.pillar-card {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    background: var(--color-white);
    box-shadow: 0 20px 45px rgba(13, 18, 34, 0.05);
}
.info-card .label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.info-card h3 {
    margin: 0.35rem 0;
}
.info-card .sla {
    color: var(--color-text-muted);
    margin-bottom: 0.65rem;
}
.info-card ul,
.pillar-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.split-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.map-card {
    border: 1px dashed rgba(14, 20, 40, 0.2);
    border-radius: var(--radius-2xl);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8f9ff;
}
.map-visual {
    height: 200px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top, #ffdaaa, #ffd194, #ffe7c7);
}
.stacked-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.stacked-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    padding-bottom: 0.5rem;
}
.stacked-list li:last-child {
    border-bottom: none;
}
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.roles-list article {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--color-white);
}
.role-meta {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.hero-card {
    background: linear-gradient(120deg, #fff, #fff6ee);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: 0 40px 70px rgba(12, 18, 40, 0.08);
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
    align-items: stretch;
}
.blog-hero-card {
    gap: 2rem;
    align-items: stretch;
}
.hero-filters {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.filter-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.clear-filter {
    font-size: 0.85rem;
    color: var(--color-orange);
    text-decoration: underline;
}
.filter-chip-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-chip {
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.filter-chip small {
    background: rgba(14, 20, 40, 0.05);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}
.filter-chip.is-active {
    background: linear-gradient(120deg, #101632, #1f2f5c);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(16, 22, 50, 0.35);
}
.hero-note-latest {
    gap: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #fff, #fff6ef);
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: 0 25px 55px rgba(14, 20, 40, 0.1);
}
.hero-note-latest .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-orange);
}
.hero-note-latest .btn {
    align-self: flex-start;
    margin-top: 0.75rem;
}
.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.latest-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}
.latest-list li:last-child {
    border-bottom: none;
}
.latest-title {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
}
.latest-title a {
    color: var(--color-navy);
    text-decoration: none;
}
.latest-title a:hover {
    text-decoration: underline;
}
.latest-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: right;
}
.blog-filter-bar {
    position: sticky;
    top: 70px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 25px 55px rgba(14, 20, 40, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}
.blog-filter-bar .filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}
.search-field {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(14, 20, 40, 0.1);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.75rem;
    background: var(--color-white);
}
.search-field .filter-icon {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1;
}
.search-field input {
    border: none;
    flex: 1;
    font-size: 1rem;
    padding: 0.35rem 0.1rem;
    outline: none;
}
.search-field input::placeholder {
    color: rgba(14, 20, 40, 0.4);
}
.clear-search {
    border: none;
    background: transparent;
    color: var(--color-orange);
    font-weight: 600;
    cursor: pointer;
}
.clear-search.is-hidden {
    display: none;
}
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.tag-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}
.tag-chip-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag-chip {
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 20, 40, 0.1);
    padding: 0.4rem 0.9rem;
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-white);
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tag-chip span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    background: rgba(14, 20, 40, 0.05);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
}
.tag-chip.is-active {
    background: linear-gradient(120deg, var(--color-orange), #ff3c78);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(255, 100, 0, 0.35);
}
.tag-chip.is-active span {
    background: rgba(248, 248, 255, 0.25);
    color: var(--color-white);
}
.hero-note {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(13, 18, 34, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-note .btn {
    align-self: flex-start;
    margin-top: 0.25rem;
}
.featured-slider-panel {
    background: #0f172c;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem;
    color: #f8f8ff;
    box-shadow: 0 35px 65px rgba(9, 12, 25, 0.35);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.slider-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.slider-heading .eyebrow {
    color: rgba(248, 248, 255, 0.8);
}
.slider-heading h2 {
    margin: 0.25rem 0 0;
}
.slider-controls {
    display: flex;
    gap: 0.75rem;
}
.slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.slider-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}
.featured-slider {
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}
.featured-slide {
    min-width: 100%;
    padding: 1rem;
    position: relative;
    isolation: isolate;
}
.featured-slide::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: var(--radius-2xl);
    background: var(--slide-image, linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)));
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(2px);
}
.featured-slide::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.25));
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    background: rgba(5, 8, 18, 0.55);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 25px 55px rgba(3, 5, 12, 0.45);
}
.slide-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(248, 248, 255, 0.7);
}
.slide-meta .pill {
    color: var(--color-white);
}
.slide-content h3 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.slide-content h3 a {
    color: inherit;
    text-decoration: none;
}
.slide-content h3 a:hover {
    text-decoration: underline;
}
.slide-content p {
    color: rgba(248, 248, 255, 0.85);
}
.slide-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.slide-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
}
.slide-author span {
    display: block;
    color: rgba(248, 248, 255, 0.7);
    font-size: 0.9rem;
}
.slide-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.slider-indicators {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 1rem;
}
.slider-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.slider-indicators .indicator.is-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}
.reading-list-panel {
    margin-top: 2.5rem;
}
.reading-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.reading-card {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 25px 45px rgba(13, 18, 34, 0.08);
}
.reading-card-header h3 {
    margin: 0 0 0.35rem;
}
.reading-card-header p {
    margin: 0;
    color: var(--color-text-muted);
}
.reading-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.reading-card-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    padding-bottom: 0.6rem;
}
.reading-card-list li:last-child {
    border-bottom: none;
}
.reading-card-list a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
}
.reading-card-list a:hover {
    text-decoration: underline;
}
.reading-card-list span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.reading-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.proof-panel {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 1.75rem;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    background: linear-gradient(120deg, #0f172c 0%, #192b4d 55%, #fff8ef 55%);
    box-shadow: 0 35px 60px rgba(12, 18, 32, 0.15);
}
.proof-card {
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    background: linear-gradient(135deg, #101632, #1c2c58);
    color: #f7f9ff;
    box-shadow: 0 25px 65px rgba(9, 12, 25, 0.4);
}
.top-reads {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.top-reads li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(248, 248, 255, 0.08);
}
.top-reads .rank {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(248, 248, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(248, 248, 255, 0.85);
}
.top-read-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.top-read-content a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
}
.top-read-content a:hover {
    text-decoration: underline;
}
.top-read-content span {
    font-size: 0.85rem;
    color: rgba(248, 248, 255, 0.7);
}
.testimonial-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.testimonial-stack .subscribe-card {
    background: linear-gradient(135deg, #fff6e9, #fff);
    border: 1px solid rgba(255, 138, 0, 0.2);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(255, 138, 0, 0.15);
}
.testimonial-stack .subscribe-card h3 {
    margin: 0.25rem 0 0.5rem;
}
.testimonial-stack .subscribe-card p {
    color: var(--color-navy);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.testimonial-card {
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: var(--color-white);
    box-shadow: 0 20px 45px rgba(13, 18, 34, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.testimonial-card .quote {
    margin: 0;
    font-style: italic;
    color: var(--color-navy);
}
.testimonial-card .person {
    margin: 0;
    font-weight: 600;
}
.testimonial-card .company {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.newsletter-panel {
    margin: 3rem 0 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    padding: 2rem;
    background: linear-gradient(135deg, #f8faff, #fff);
    box-shadow: 0 30px 55px rgba(14, 20, 40, 0.08);
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.newsletter-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.newsletter-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--color-navy);
}
.newsletter-form input {
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-full);
    padding: 0.65rem 1rem;
    font-size: 1rem;
}
.newsletter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.newsletter-actions p {
    margin: 0;
    color: var(--color-text-muted);
}
/* ── Blog Detail (bd-*) ── */
.bd-shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}
.bd-hero {
    margin-bottom: 2rem;
}
.bd-hero-inner {
    max-width: 720px;
}
.bd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1.25rem;
}
.bd-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}
.bd-breadcrumb a:hover {
    color: var(--color-orange);
}
.bd-breadcrumb svg {
    color: #d1d5db;
}
.bd-preview-banner {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 138, 0, 0.08);
    color: #a35200;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.bd-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.bd-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.bd-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}
.bd-progress {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: #ebedf0;
    overflow: hidden;
}
.bd-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--color-orange);
    transition: width 0.15s;
}

/* Hero image */
.bd-hero-image {
    margin: 0 0 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}
.bd-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article layout */
.bd-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.bd-toc {
    position: sticky;
    top: 90px;
    align-self: flex-start;
    padding: 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: var(--color-white);
}
.bd-toc-heading {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bd-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.bd-toc a {
    color: #9ca3af;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.15s;
}
.bd-toc a:hover,
.bd-toc a.is-active {
    color: var(--color-navy);
    font-weight: 600;
}

/* Article body */
.bd-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #374151;
}
.bd-body p {
    margin: 0 0 1.25rem;
}
.bd-body h2, .bd-body h3 {
    color: var(--color-navy);
    margin: 2rem 0 0.75rem;
}

/* Share buttons */
.bd-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid #ebedf0;
    margin-bottom: 2rem;
}
.bd-share-label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}
.bd-share-icons {
    display: flex;
    gap: 0.5rem;
}
.bd-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.bd-share-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
}
.bd-copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s;
    margin-bottom: 0.4rem;
}
.bd-share-copy.copied .bd-copy-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Newsletter CTA — clean, white bg */
.bd-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: #fafafa;
    margin-bottom: 3rem;
}
.bd-newsletter-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.35rem;
}
.bd-newsletter-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}
.bd-newsletter-form {
    flex-shrink: 0;
}
.bd-newsletter-field {
    display: flex;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
}
.bd-newsletter-field input {
    padding: 0.65rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    min-width: 200px;
    background: transparent;
}
.bd-newsletter-field button {
    padding: 0.65rem 1.25rem;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.bd-newsletter-field button:hover {
    background: #e67a00;
}
.bd-newsletter-status {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    min-height: 1rem;
}
.bd-newsletter-status.success {
    color: var(--color-success);
}
.bd-newsletter-status.error {
    color: #f87171;
}

/* Related posts */
.bd-related {
    margin-top: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid #ebedf0;
}
.bd-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1.25rem;
}
.bd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .bd-layout {
        grid-template-columns: 1fr;
    }
    .bd-toc {
        position: static;
        margin-bottom: 1.5rem;
    }
    .bd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bd-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 640px) {
    .bd-shell {
        padding: 4rem 1rem 3rem;
    }
    .bd-related-grid {
        grid-template-columns: 1fr;
    }
    .bd-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .bd-newsletter-field {
        flex-direction: column;
    }
    .bd-newsletter-field input {
        min-width: auto;
    }
    .bd-newsletter-field button {
        width: 100%;
        text-align: center;
    }
}
.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.question-card {
    background: #f5f6fc;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.question-card h2 {
    margin-top: 0.5rem;
}
.question-input textarea {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 20, 40, 0.1);
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
}
.option-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.option-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    transform: scale(1.1);
}
.option-list.checkbox .option-item {
    align-items: flex-start;
}
.behavioral-set-card {
    background: #f5f6fc;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.behavioral-set-card .statement-list.large {
    margin: 1rem 0;
    list-style: none;
    padding: 0;
}
.behavioral-set-card .statement-list.large li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    display: flex;
    gap: 0.75rem;
}
.behavioral-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.behavioral-inputs label {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.35rem;
    display: inline-block;
}
.behavioral-select {
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-navy);
    box-shadow: 0 10px 30px rgba(14, 20, 40, 0.05);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5 7l5 6 5-6' stroke='%230e1428' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 2.5rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}
.behavioral-select:focus {
    border-color: var(--color-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.25);
}
.behavioral-select::-ms-expand {
    display: none;
}

.behavioral-response-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}
.behavioral-response-table th,
.behavioral-response-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}

@media (max-width: 900px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .feature-panel,
    .feature-accordion {
        border-radius: var(--radius-xl);
    }
    .console-shell {
        flex-direction: column;
    }
    .console-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }
    .console-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .console-main {
        padding: 1.5rem;
    }
    .console-page-header {
        flex-direction: column;
    }
    .candidate-shell {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    .session-utility-bar,
    .device-support {
        flex-direction: column;
        align-items: flex-start;
    }
    .device-support form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .device-support input,
    .device-support button {
        width: 100%;
    }
}
.request-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.request-copy {
    max-width: 520px;
}
.request-note {
    flex: 1;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: 0 20px 35px rgba(14, 20, 40, 0.08);
}
.request-note .label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--color-orange);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.request-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-navy);
}
.request-note li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
}
.request-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
}
.request-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.request-form .form-row.single {
    grid-template-columns: 1fr;
}
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.7rem 1rem;
    margin: 0.5rem 0 0.35rem;
}
.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.12);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.checkbox-pill input[type="checkbox"] {
    accent-color: var(--color-orange);
    width: 18px;
    height: 18px;
}
.checkbox-pill:hover {
    border-color: rgba(83, 55, 239, 0.4);
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.08);
    transform: translateY(-1px);
}
.checkbox-pill span:last-child {
    flex: 1;
}
.apply-page {
    background: linear-gradient(180deg, #f4f6ff 0%, #fef7f1 100%);
}
.apply-main {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}
.auth-main {
    max-width: 560px;
}
.portal-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, #f5f6ff 0%, #fff9f2 100%);
    padding: 3rem 1.5rem 4rem;
}
.portal-hero {
    background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.95), rgba(247, 241, 233, 0.6));
    border-radius: var(--radius-2xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 25px 40px rgba(14, 20, 40, 0.08);
}
.portal-hero.expanded {
    flex-wrap: wrap;
}
.portal-hero-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 40%;
}
.portal-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    flex: 1 1 40%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
}
.portal-hero.compact {
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
.portal-hero.compact .portal-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.portal-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    background: rgba(255, 138, 0, 0.15);
    display: grid;
    place-items: center;
    font-size: 2rem;
    position: relative;
}
.portal-hero-icon.logo {
    background: var(--color-white);
    padding: 8px;
}
.portal-hero-icon.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.portal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.portal-steps article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 15px 35px rgba(14, 20, 40, 0.06);
}
.portal-steps h3 {
    margin: 0.4rem 0;
}
.step-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.step-tag.subtle {
    background: rgba(14, 20, 40, 0.05);
    color: var(--color-navy);
}
.logo-edit-trigger {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--color-navy);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(14, 20, 40, 0.25);
}
.logo-edit-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}
.logo-edit-modal.is-visible {
    display: flex;
}
.logo-edit-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    width: min(520px, 100%);
    position: relative;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}
.logo-edit-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}
.portal-actions {
    justify-self: end;
}
.portal-actions.stacked {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}
.summary-toggle {
    margin: 0;
}
.toggle-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    cursor: pointer;
}
.toggle-control input {
    width: 40px;
    height: 20px;
}
.quick-action-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.quick-action-card {
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.08);
    box-shadow: 0 15px 30px rgba(14, 20, 40, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(14, 20, 40, 0.08);
}
.portal-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.portal-card-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.portal-card-grid.two-up {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.key-metrics {
    margin-bottom: 2.5rem;
}
.key-metrics .portal-card {
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: auto;
    position: relative;
    overflow: hidden;
}
.key-metrics .portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), #ff6b00);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.key-metrics .portal-card:hover::before {
    opacity: 1;
}
.metric-card .metric-value {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0.75rem 0;
    color: var(--color-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.metric-card .label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.metric-card .muted {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--color-text-muted);
}
.portal-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 12px 35px rgba(14, 20, 40, 0.08);
    min-height: 170px;
}
.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.project-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}
.project-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}
.project-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}
.project-kpi-row div {
    background: rgba(14, 20, 40, 0.03);
    border-radius: var(--radius-xl);
    padding: 0.85rem 1rem;
}
.micro-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(14, 20, 40, 0.6);
    margin-bottom: 0.15rem;
}
.project-spotlight-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: linear-gradient(135deg, rgba(243, 247, 255, 0.9), rgba(255, 255, 255, 0.9));
}
.project-spotlight-card .spotlight-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
}
.spotlight-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    text-align: right;
}
.spotlight-score strong {
    font-size: 1.6rem;
    font-weight: 700;
}
.project-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
.project-card-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.project-health-grid .portal-card {
    min-height: auto;
}
.top-candidate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.top-candidate-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 20px rgba(14, 20, 40, 0.05);
}
.top-candidate-card .label {
    margin-bottom: 0.2rem;
}
.pipeline-board {
    margin-bottom: 2rem;
}
.pipeline-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    gap: 1rem;
}
.pipeline-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.pipeline-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.06);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 260px;
}
.pipeline-column-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pipeline-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.pipeline-card {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 0.9rem 1rem;
    background: rgba(248, 250, 255, 0.9);
    box-shadow: 0 10px 25px rgba(14, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pipeline-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.score-pill {
    padding: 0.1rem 0.55rem;
    border-radius: var(--radius-lg);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
}
.pipeline-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pipeline-stage-form {
    margin: 0;
}
.pipeline-stage-select {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.15);
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    background: var(--color-white);
}
.muted.tiny {
    font-size: 0.75rem;
}
.metric-snapshot .portal-card {
    min-height: auto;
}
.status-overview-card {
    margin-bottom: 3rem;
}
.status-overview-header {
    margin-bottom: 1.5rem;
}
.status-overview-header h3 {
    margin: 0.25rem 0 0.5rem;
    font-size: 1.5rem;
}
.status-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 20, 40, 0.08);
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.portal-card-grid > *:nth-child(3n + 1) {
    grid-column: span 1;
}
.portal-card-grid > *:nth-child(3n + 2) {
    grid-column: span 1;
}
.portal-card-grid > *:nth-child(3n + 3) {
    grid-column: span 1;
}
.plan-overview-panel {
    margin-bottom: 2rem;
}
.plan-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.plan-card-head h2 {
    margin: 0.2rem 0 0;
}
.plan-usage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.usage-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}
.usage-bar {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    overflow: hidden;
}
.usage-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, #5337ef, #7c3aed);
    border-radius: var(--radius-full);
}
.plan-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.plan-actions .tiny {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.plan-card-compact {
    margin-bottom: 3rem;
}
.plan-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.plan-compact-header .label {
    margin-bottom: 0.25rem;
}
.plan-usage-compact {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: rgba(14, 20, 40, 0.02);
    border-radius: var(--radius-lg);
}
.usage-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.usage-item .usage-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: block;
}
.usage-bar-mini {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    overflow: hidden;
}
.usage-bar-mini span {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, #5337ef, #7c3aed);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}
.plan-warning {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: var(--color-orange);
}
.portal-card.card-muted {
    background: rgba(255, 255, 255, 0.6);
}
.benchmark-card {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(236, 243, 255, 0.95));
    min-height: auto;
}
.info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    background: rgba(14, 20, 40, 0.08);
    font-size: 0.7rem;
    margin-left: 0.25rem;
    cursor: help;
}
.notification-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.notification-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    background: var(--color-white);
    box-shadow: 0 12px 25px rgba(14, 20, 40, 0.05);
}
.notification-card.notification-warning {
    border-color: rgba(255, 138, 0, 0.4);
    background: rgba(255, 138, 0, 0.08);
}
.notification-card.notification-success {
    border-color: rgba(15, 170, 124, 0.3);
    background: rgba(15, 170, 124, 0.08);
}
.notification-card form {
    margin: 0;
}
.branding-section {
    margin-bottom: 2rem;
}
.branding-card .form-field {
    margin-bottom: 0.75rem;
}
.branding-card .logo-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.branding-card input[type="file"] {
    border: 1px dashed rgba(14, 20, 40, 0.2);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
}
.remove-logo-form {
    margin: 0;
}
.activity-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 255, 0.9));
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
}
.activity-filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    flex: 1;
}
.activity-filter-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    gap: 0.3rem;
    flex: 1 1 160px;
}
.activity-filter-form select {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 20, 40, 0.15);
    padding: 0.6rem 0.8rem;
    min-width: 140px;
    background: var(--color-white);
    font-weight: 600;
}
.activity-filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.activity-filter-section {
    margin-bottom: 2rem;
}
.activity-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.activity-filter-header h3 {
    margin: 0;
    font-size: 1.5rem;
}
.activity-filter-form-compact {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 1rem;
    border: 1px solid rgba(14, 20, 40, 0.06);
}
.filter-inputs {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.filter-inputs select {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 20, 40, 0.15);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    background: var(--color-white);
    font-weight: 500;
    min-width: 160px;
    flex: 1 1 auto;
}
.filter-inputs select:focus {
    border-color: var(--color-orange);
}
.filter-inputs button,
.filter-inputs a {
    white-space: nowrap;
}

.chart-card canvas {
    width: 100% !important;
    height: 260px !important;
    margin-top: 1rem;
}
.portal-card .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.portal-card h2 {
    margin: 0;
    font-size: 2rem;
}
.portal-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(14, 20, 40, 0.06);
    box-shadow: 0 25px 50px rgba(14, 20, 40, 0.08);
}
.assignment-highlight {
    border: 2px solid rgba(255, 138, 0, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 217, 0.9));
    margin-top: 0;
    margin-bottom: 3rem;
}
.assignment-highlight header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}
.assignment-highlight .muted {
    max-width: 540px;
}
.assignment-highlight .btn {
    box-shadow: 0 18px 40px rgba(255, 138, 0, 0.3);
}
.quick-action-head {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.quick-action-head h2 {
    margin: 0;
}
.portal-assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.portal-assessment-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    background: #f7f8ff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.portal-assessment-card.enhanced {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.85), rgba(237, 240, 255, 0.95));
    border: 1px solid rgba(14, 20, 40, 0.05);
    box-shadow: 0 12px 30px rgba(14, 20, 40, 0.06);
}
.portal-assessment-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}
.portal-assessment-card > p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    flex-grow: 1;
}
.assessment-stats-compact {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: auto;
}
.assessment-stats-compact span:nth-child(2) {
    color: rgba(14, 20, 40, 0.3);
}
.assessment-metrics {
    display: flex;
    gap: 1.25rem;
    margin: 1rem 0;
}
.assessment-metrics dt {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}
.assessment-metrics dd {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
}
.assessment-metrics div {
    flex: 1;
}
.attention-card ul,
.activity-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.attention-card li strong {
    display: block;
    margin-bottom: 0.35rem;
}
.activity-card li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
    padding-bottom: 0.75rem;
}
.activity-card li:last-child {
    border-bottom: none;
}
/* activity-name and activity-meta styles moved to db-* dashboard block below */
.mini-funnel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(14, 20, 40, 0.08);
}
.mini-funnel span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}
.mini-funnel strong {
    font-size: 1.3rem;
}
.quick-action-card .label {
    margin-bottom: 0.25rem;
    color: var(--color-navy);
}
.activity-card .pill {
    padding: 0.35rem 0.9rem;
}
.portal-hero-stats .hero-stat-value {
    font-size: 2.4rem;
}
.portal-hero-stats .hero-stat-helper {
    font-size: 0.85rem;
}
.activity-row .portal-card {
    min-height: 280px;
}
.quick-action-card span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
}
.project-preview {
    margin-bottom: 3rem;
}
.project-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.project-preview-grid article {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    background: var(--color-white);
    box-shadow: 0 20px 35px rgba(14, 20, 40, 0.05);
}
.project-preview-grid h3 {
    margin: 0.25rem 0 0.4rem;
}
.project-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.charts-row .portal-card {
    min-height: 360px;
}
.portal-assessment-actions {
    margin-top: 0.5rem;
}
.portal-assessment-actions .btn {
    width: 100%;
    font-weight: 600;
}
.invite-panel form .btn {
    width: 100%;
}
.portal-panel .table {
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.portal-panel .table-row {
    align-items: center;
}
.bulk-upload {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 20, 40, 0.08);
}
.alert-card {
    border: 1px solid rgba(255, 138, 0, 0.3);
    background: rgba(255, 214, 170, 0.2);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}
.project-filter {
    margin-bottom: 1rem;
}
.project-filter select {
    min-width: 220px;
}
.decision-pill {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.table-actions form {
    margin: 0;
}
.report-hero {
    background: linear-gradient(120deg, #eef1ff 0%, #fff9f2 100%);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    margin-bottom: 2rem;
    box-shadow: 0 20px 45px rgba(14, 20, 40, 0.08);
}
.report-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.report-card-grid.two-up {
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}
.report-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: 0 20px 35px rgba(14, 20, 40, 0.05);
    border: 1px solid rgba(14, 20, 40, 0.05);
}
.report-card .label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-orange);
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}
.report-card h2 {
    margin: 0;
    font-size: 2.25rem;
}
.report-card.chart-card canvas {
    width: 100% !important;
    height: 260px !important;
    margin-top: 1rem;
}
.auth-panel {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 255, 0.95));
}
.auth-panel .lede {
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}
.confirmation-panel {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 248, 255, 0.95));
    position: relative;
    overflow: hidden;
}
.confirmation-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(28, 207, 154, 0.15);
    color: #0faa7c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.request-panel {
    background: #f5f7ff;
    padding: 2rem 2.25rem;
}
.request-panel--glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px rgba(14, 20, 40, 0.08);
}
.request-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.request-panel .form-field label {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    display: inline-block;
}
.request-panel .form-field input,
.request-panel .form-field textarea {
    border: 1px solid rgba(14, 20, 40, 0.15);
    border-radius: var(--radius-xl);
    padding: 1rem 1.1rem;
    font-size: 1rem;
    width: 100%;
    background: var(--color-white);
    transition: border 0.15s ease, box-shadow 0.15s ease;
}
.request-panel .form-field textarea {
    min-height: 160px;
    resize: vertical;
}
.request-panel .form-field input:focus,
.request-panel .form-field textarea:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.15);
    outline: none;
}
.request-panel button {
    width: auto;
    align-self: flex-start;
    padding: 0.9rem 2.5rem;
    margin-top: 0.5rem;
}
.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}
.assessment-card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(14, 20, 40, 0.08);
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 150px;
}
.assessment-card:hover {
    border-color: rgba(255, 138, 0, 0.6);
    box-shadow: 0 18px 30px rgba(14, 20, 40, 0.12);
    transform: translateY(-2px);
}
.assessment-card input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-orange);
}
.assessment-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.assessment-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.assessment-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.assessment-section__header {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.assessment-section__header p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.activity-card ul .muted {
    font-size: 0.85rem;
}
.notes-panel .note-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.note-flag {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.note-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0 0 0.25rem;
}
.notes-list .pill {
    align-self: flex-start;
}
.feedback-panel {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
}
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.feedback-scale ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    gap: 1rem;
}
.feedback-scale li label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.feedback-panel textarea {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.8rem;
    font-family: inherit;
}
.feedback-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}
.feedback-form input[type="email"],
.feedback-form input[type="text"] {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.8rem;
    font-family: inherit;
}
.inline-checkbox {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.feedback-contact {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.feedback-contact p {
    margin: 0.35rem 0;
}
.integrity-panel .integrity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.integrity-panel article {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.8);
}
.integrity-panel .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0 0 0.35rem;
}
.integrity-panel .muted.small {
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .portal-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .activity-card li {
        flex-direction: column;
        align-items: flex-start;
    }
    /* activity-meta responsive styles moved to db-* block */
}
.divider {
    width: 100%;
    height: 1px;
    background: rgba(14, 20, 40, 0.08);
    margin: 1.5rem 0;
}
.section-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.slide-meta .pill {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}
.slide-meta span:not(:first-child)::before {
    content: "•";
    opacity: 0.6;
    margin-right: 0.35rem;
}
.pricing-card.theme-starter {
    border-color: rgba(15, 183, 122, 0.2);
    background: linear-gradient(180deg, rgba(15, 183, 122, 0.08), rgba(255, 255, 255, 0.98));
}
.pricing-card.theme-pro {
    border-color: rgba(83, 55, 239, 0.3);
    background: linear-gradient(180deg, rgba(83, 55, 239, 0.08), rgba(255, 255, 255, 0.98));
}
.pricing-card.theme-enterprise {
    border-color: rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, rgba(14, 20, 40, 0.05), rgba(255, 255, 255, 0.98));
}

/* =================================================================
   PORTAL NAVIGATION SYSTEM
   Phase 1: Sidebar Navigation Infrastructure
   ================================================================= */

/* Portal Layout Container */
.portal-layout {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.portal-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(180deg, #f5f6ff 0%, #fff9f2 100%);
}

/* Sidebar */
.portal-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
    border-right: 1px solid var(--color-border-medium);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    transition: transform var(--transition-slow);
    box-shadow: 2px 0 20px var(--color-bg-hover);
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity var(--transition-base);
}

.sidebar-logo:hover {
    opacity: 0.8;
}

.sidebar-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
}

.sidebar-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-navy);
    border-radius: var(--radius-sm);
    transition: all var(--transition-slow);
    will-change: transform;
}

/* Sidebar Search */
.sidebar-search {
    padding: 0 1rem 1rem;
    border-bottom: 1px solid var(--color-border-medium);
    position: relative;
    contain: layout style;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 0.875rem;
    color: rgba(14, 20, 40, 0.4);
    pointer-events: none;
}

.global-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    background: rgba(14, 20, 40, 0.02);
    transition: all var(--transition-base);
}

.global-search-input:focus {
    outline: none;
    border-color: var(--color-orange);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    color: rgba(14, 20, 40, 0.4);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.search-clear:hover {
    background: rgba(14, 20, 40, 0.08);
    color: rgba(14, 20, 40, 0.7);
}

.search-shortcut {
    position: absolute;
    right: 0.625rem;
    background: rgba(14, 20, 40, 0.06);
    color: rgba(14, 20, 40, 0.4);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    border: 1px solid rgba(14, 20, 40, 0.08);
    pointer-events: none;
    line-height: 1.4;
}

.search-results {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(6, 11, 25, 0.12);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
    text-decoration: none;
    color: var(--color-navy);
    transition: background 0.2s ease;
}

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

.search-result-item:hover {
    background: rgba(14, 20, 40, 0.04);
}

.search-result-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0.06));
    border-radius: var(--radius-md);
    color: var(--color-orange);
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 0.8rem;
    color: rgba(14, 20, 40, 0.6);
    margin: 0;
}

.search-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(14, 20, 40, 0.5);
    font-size: 0.9rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 0.75rem 0;
    overflow-y: auto;
}

.nav-group {
    margin-bottom: 0.25rem;
}

.nav-group-label {
    display: block;
    padding: 0.875rem 1.5rem 0.375rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(14, 20, 40, 0.35);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    margin: 0.125rem 0.75rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    position: relative;
}

.nav-item:hover {
    background: rgba(14, 20, 40, 0.04);
    color: var(--color-navy);
}

.nav-item.active {
    background: linear-gradient(120deg, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0.06));
    color: var(--color-orange);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.15);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--color-orange);
    border-radius: 0 2px 2px 0;
}

.nav-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.nav-label {
    flex: 1;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.nav-item.active .nav-badge {
    background: var(--color-navy);
}

.nav-badge.premium {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    font-size: 0.6rem;
    letter-spacing: 0.04em;
}

/* Sidebar Usage Indicator */
.sidebar-usage {
    padding: 0.875rem 1.25rem;
    margin: 0 0.75rem 0.5rem;
    background: rgba(14, 20, 40, 0.02);
    border: 1px solid rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-md);
}

.sidebar-usage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.sidebar-plan-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-navy);
}

.sidebar-upgrade-link {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(255, 138, 0, 0.08);
    transition: all var(--transition-base);
}

.sidebar-upgrade-link:hover {
    background: rgba(255, 138, 0, 0.15);
}

.sidebar-usage-bar {
    width: 100%;
    height: 4px;
    background: rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-full);
    margin-bottom: 0.375rem;
    overflow: hidden;
}

.sidebar-usage-fill {
    height: 100%;
    background: var(--color-orange);
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
    min-width: 2px;
}

.sidebar-usage-fill--warn {
    background: linear-gradient(90deg, var(--color-orange), #ef4444);
}

.sidebar-usage-text {
    font-size: 0.7rem;
    color: rgba(14, 20, 40, 0.45);
    font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(14, 20, 40, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.15), rgba(255, 138, 0, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-orange);
    flex-shrink: 0;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    min-width: 0;
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(14, 20, 40, 0.04);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.btn-logout:hover {
    background: rgba(14, 20, 40, 0.08);
    color: var(--color-navy);
}

/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-notification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-md);
    background: rgba(14, 20, 40, 0.04);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.btn-notification:hover {
    background: rgba(14, 20, 40, 0.08);
    color: var(--color-navy);
}

.btn-notification.has-notifications {
    color: var(--color-orange);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 138, 0, 0.3);
}

/* Notification Dropdown */
.notification-dropdown {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    max-height: 480px;
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(6, 11, 25, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}

.notification-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.mark-all-read {
    font-size: 0.8rem;
    color: var(--color-orange);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mark-all-read:hover {
    background: rgba(255, 138, 0, 0.08);
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.notification-item {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

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

.notification-item:hover {
    background: rgba(14, 20, 40, 0.03);
    transform: translateX(2px);
}

.notification-item.unread {
    background: rgba(255, 138, 0, 0.04);
    border-left-color: var(--color-orange);
}

.notification-item.unread:hover {
    background: rgba(255, 138, 0, 0.07);
}

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-icon svg {
    display: block;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-navy);
    margin: 0 0 0.125rem;
    line-height: 1.3;
}

.notification-message {
    font-size: 0.8rem;
    color: rgba(14, 20, 40, 0.6);
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.notification-empty p {
    color: rgba(14, 20, 40, 0.45);
    margin: 0;
    font-size: 0.85rem;
}

/* Main Content Area */
.portal-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-content {
    flex: 1;
    padding: 0;
}

/* Override portal-shell padding when inside portal-main */
.portal-main .portal-shell {
    padding: 2rem 2rem 4rem;
}

/* Dashboard Page Header */
.dashboard-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}

.dashboard-page-header h1 {
    margin: 0 0 0.25rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
}

.dashboard-page-header .muted {
    margin: 0;
    font-size: 1rem;
}

/* =================================================================
   PHASE 2: NEW DASHBOARD COMPONENTS
   Minimal dashboard with focused content
   ================================================================= */

/* Attention Banner */
/* Compact collapsible attention bar */
.db-attention {
    border: 1px solid rgba(255, 138, 0, 0.18);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    background: rgba(255, 138, 0, 0.03);
    overflow: hidden;
}

.db-attention-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s ease;
}

.db-attention-toggle::-webkit-details-marker { display: none; }

.db-attention-toggle:hover {
    background: rgba(255, 138, 0, 0.05);
}

.db-attention-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-orange), #ff6b00);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.db-attention-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-navy);
}

.db-attention-count {
    background: var(--color-orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    line-height: 1.3;
}

.db-attention-chevron {
    margin-left: auto;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.db-attention[open] .db-attention-chevron {
    transform: rotate(180deg);
}

.db-attention-body {
    border-top: 1px solid rgba(255, 138, 0, 0.1);
}

.db-attention-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 1.25rem;
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(255, 138, 0, 0.06);
    transition: background 0.15s ease;
}

.db-attention-row:last-child {
    border-bottom: none;
}

.db-attention-row:hover {
    background: rgba(255, 138, 0, 0.04);
}

.db-attention-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
}

.db-attention-text {
    flex: 1;
    min-width: 0;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-attention-text strong {
    color: var(--color-navy);
    font-weight: 600;
}

.db-attention-link {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
    white-space: nowrap;
}

.db-attention-link:hover {
    text-decoration: underline;
}

/* Primary Action Section */
.primary-action-section {
    margin-bottom: 3rem;
}

.primary-action-card {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0.06));
    border: 2px solid rgba(255, 138, 0, 0.3);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(255, 138, 0, 0.15);
}

.action-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-orange), #ff6b00);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.3);
}

.action-content {
    flex: 1;
}

.action-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.action-content p {
    margin: 0;
    color: var(--color-text-muted);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

/* Video Tour Section */
.video-tour-section {
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.video-tour-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.video-tour-header::before {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='white'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E") center no-repeat,
        linear-gradient(135deg, var(--color-orange), #ff6b00);
}

.video-tour-header h3 {
    margin: 0 0 0.125rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
}

.video-tour-header .muted {
    margin: 0;
    font-size: 0.85rem;
}

.video-container {
    padding: 1.5rem;
}

.video-container iframe,
.video-container video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    border: none;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.04), rgba(255, 138, 0, 0.02));
    border: 1px dashed rgba(255, 138, 0, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
    text-align: center;
}

.video-placeholder svg {
    color: var(--color-orange);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.video-placeholder h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
}

.video-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

.video-placeholder .video-help {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 400px;
}

.video-placeholder .video-help strong {
    color: var(--color-navy);
}

/* Quick Links Grid */
.quick-links-section {
    margin-bottom: 3rem;
}

.quick-links-section h3 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1rem;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.06);
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(14, 20, 40, 0.1);
    border-color: rgba(255, 138, 0, 0.3);
}

.link-icon {
    flex-shrink: 0;
    color: var(--color-orange);
}

.quick-link-card h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--color-navy);
}

.quick-link-card .muted {
    font-size: 0.85rem;
    margin: 0;
}

/* Recent Activity Section */
.recent-activity-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.link-subtle {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
    transition: background 0.15s ease;
}

.activity-item:hover {
    background: rgba(14, 20, 40, 0.02);
}

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

.activity-main {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
}

.activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.15), rgba(255, 138, 0, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-orange);
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
    min-width: 0;
}

.activity-name {
    margin: 0 0 0.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
}

.activity-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Plan Alert */
.plan-alert {
    margin-bottom: 2rem;
}

.plan-warning-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 138, 0, 0.06);
    border: 1px solid rgba(255, 138, 0, 0.2);
    border-radius: var(--radius-xl);
}

.plan-warning-card svg {
    flex-shrink: 0;
    color: var(--color-orange);
}

.plan-warning-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-navy);
}

.empty-state-card {
    text-align: center;
    padding: 3rem 2rem;
}

/* ============================================
   DASHBOARD REDESIGN — db-* scoped classes
   ============================================ */

/* Header */
.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
}
.db-header h1 {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
}
.db-header .muted {
    margin: 0;
    font-size: 0.95rem;
}
.db-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Onboarding Banner (compact, dismissible) */
.db-onboarding-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 138, 0, 0.04);
    border: 1px solid rgba(255, 138, 0, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1.75rem;
}
.db-onboarding-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-navy);
    min-width: 0;
}
.db-onboarding-info svg {
    flex-shrink: 0;
    color: var(--color-orange);
}
.db-onboarding-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Full-Width Activity Section */
.db-activity-full {
    margin-top: 0.5rem;
}
.db-activity-full .section-header {
    margin-bottom: 1rem;
}
.db-activity-full .section-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Plan Usage Bar */
.db-plan-usage {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(14, 20, 40, 0.04);
}
.db-usage-item {
    flex: 1;
    min-width: 120px;
}
.db-usage-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.db-usage-count {
    font-variant-numeric: tabular-nums;
    color: var(--color-navy);
}
.db-usage-bar {
    height: 6px;
    background: rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.db-usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), #ff6b00);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
    min-width: 2px;
}
.db-usage-fill.warn {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.db-usage-plan {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(14, 20, 40, 0.08);
}
.db-plan-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 138, 0, 0.1);
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.db-upgrade-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
}
.db-upgrade-link:hover {
    text-decoration: underline;
}

/* Vacancy Page Bar */
.db-vacancy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.05), rgba(255, 138, 0, 0.02));
    border: 1px solid rgba(255, 138, 0, 0.15);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}
.db-vacancy-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}
.db-vacancy-info > svg {
    flex-shrink: 0;
    color: var(--color-orange);
}
.db-vacancy-info > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.db-vacancy-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}
.db-vacancy-url {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.db-vacancy-count {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.2rem 0.65rem;
    border-radius: 10px;
}
.db-vacancy-count.db-vacancy-empty {
    color: var(--color-text-muted);
    background: rgba(14, 20, 40, 0.04);
}
.db-vacancy-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Key Metrics Row */
.db-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.db-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.05);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}
.db-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent, var(--color-orange));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.db-metric:hover::before {
    opacity: 1;
}
.db-metric:hover {
    box-shadow: 0 12px 30px rgba(14, 20, 40, 0.08);
}
.db-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent, var(--color-orange)) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent, var(--color-orange));
}
.db-metric-data {
    flex: 1;
    min-width: 0;
}
.db-metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.db-metric-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}
.db-metric-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Two-Column Content Grid */
.db-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 3rem;
}
.db-activity-col {
    min-width: 0;
}
.db-activity-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.05);
    overflow: hidden;
}

/* Status Dots in Activity */
.db-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--color-text-muted);
}
.db-status-dot.dot-success {
    background: #10b981;
}
.db-status-dot.dot-active {
    background: #6366f1;
}
.db-status-dot.dot-pending {
    background: #f59e0b;
}

/* Empty State */
.db-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-xl);
    color: var(--color-text-muted);
}
.db-empty-state p {
    margin: 0 0 1rem;
    font-size: 1rem;
}

/* Sidebar Column */
.db-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.db-sidebar-section {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 20, 40, 0.06);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.05);
}
.db-sidebar-title {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}
.db-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
.db-sidebar-header .db-sidebar-title {
    margin-bottom: 0;
}
.db-sidebar-header .link-subtle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: color var(--transition-base);
}
.db-sidebar-header .link-subtle:hover {
    color: var(--color-orange);
}

/* Quick Nav */
.db-quick-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.db-quick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-navy);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}
.db-quick-item:hover {
    background: rgba(255, 138, 0, 0.06);
    color: var(--color-orange);
}
.db-quick-item svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: color var(--transition-base);
}
.db-quick-item:hover svg {
    color: var(--color-orange);
}
.db-quick-count {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(14, 20, 40, 0.06);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

/* Project List */
.db-project-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.db-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}
.db-project-item:hover {
    background: rgba(255, 138, 0, 0.06);
}
.db-project-item:hover strong {
    color: var(--color-orange);
}
.db-project-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.1rem;
    line-height: 1.3;
    transition: color var(--transition-base);
}
.db-project-item .muted {
    font-size: 0.75rem;
}
.db-project-sessions {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Plan Warning in Sidebar */
.db-plan-warn {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 138, 0, 0.04);
    border-color: rgba(255, 138, 0, 0.15);
}
.db-plan-warn svg {
    flex-shrink: 0;
    color: var(--color-orange);
    margin-top: 0.1rem;
}
.db-plan-warn strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-navy);
    margin-bottom: 0.15rem;
}
.db-plan-warn .muted {
    font-size: 0.8rem;
    margin: 0;
}
.db-plan-warn .btn {
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
}

/* Dashboard Responsive */
@media (max-width: 900px) {
    .db-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .db-metric {
        padding: 1.25rem;
    }
    .db-content-grid {
        grid-template-columns: 1fr;
    }
    .db-plan-usage {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .db-usage-plan {
        border-left: none;
        padding-left: 0;
        width: 100%;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(14, 20, 40, 0.08);
    }
}
@media (max-width: 640px) {
    .db-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .db-header-cta {
        align-self: stretch;
        justify-content: center;
    }
    .db-vacancy-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .db-vacancy-info {
        flex-wrap: wrap;
    }
    .db-vacancy-actions {
        justify-content: stretch;
    }
    .db-vacancy-actions .btn {
        flex: 1;
        justify-content: center;
    }
    .db-metric-sub {
        display: none;
    }
    .db-onboarding-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ============================================
   ASSESSMENTS PAGE STYLES
   ============================================ */

/* Page header with action buttons */
.page-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.page-header-with-actions h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.page-header-with-actions .muted {
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Search and filter bar */
.search-filter-bar {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(14, 20, 40, 0.4);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: all var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
    background: rgba(14, 20, 40, 0.04);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(14, 20, 40, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(14, 20, 40, 0.06);
    color: var(--color-navy);
}

.filter-btn.active {
    background: var(--color-white);
    color: var(--color-navy);
    box-shadow: 0 1px 3px rgba(6, 11, 25, 0.08);
}

/* Assessment grid */
.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.assessment-card {
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assessment-card:hover {
    border-color: rgba(255, 138, 0, 0.3);
    box-shadow: 0 8px 24px rgba(6, 11, 25, 0.08);
    transform: translateY(-2px);
}

.assessment-card-header {
    flex: 1;
}

.assessment-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0.06));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-orange);
}

.assessment-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
}

.assessment-description {
    color: rgba(14, 20, 40, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.assessment-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(14, 20, 40, 0.02), rgba(14, 20, 40, 0.04));
    border-radius: var(--radius-md);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.metric-label {
    color: rgba(14, 20, 40, 0.6);
    font-weight: 500;
}

.metric-value {
    color: var(--color-navy);
    font-weight: 600;
}

.metric-value.highlight {
    color: var(--color-orange);
}

.assessment-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Help section */
.help-section {
    margin-top: 3rem;
}

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.06), rgba(255, 138, 0, 0.03));
    border: 1px solid rgba(255, 138, 0, 0.15);
    border-radius: var(--radius-lg);
}

.help-icon {
    flex-shrink: 0;
    color: var(--color-orange);
}

.help-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.help-card .muted {
    margin: 0 0 0.75rem;
}

.link-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.link-with-arrow:hover {
    gap: 0.75rem;
}

.empty-search-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(14, 20, 40, 0.5);
}

/* ============================================
   ANALYTICS PAGE STYLES
   ============================================ */

.coming-soon-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.03), rgba(255, 138, 0, 0.08));
    border: 1px solid rgba(255, 138, 0, 0.15);
}

.coming-soon-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

.coming-soon-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    min-width: 160px;
}

.feature-item svg {
    color: var(--color-orange);
}

.feature-item span {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.quick-data-section {
    margin-top: 2rem;
}

.quick-data-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 1.25rem;
}

.portal-card-grid.two-up {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.portal-card-grid.two-up .portal-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
}

/* Period Selector */
.period-selector {
    display: inline-block;
}

.period-select {
    padding: 0.5rem 2rem 0.5rem 0.875rem;
    border: 1px solid rgba(14, 20, 40, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-navy);
    background: var(--color-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230E1428' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: all var(--transition-base);
}

.period-select:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

/* Chart Components */
.chart-section {
    margin-bottom: 2rem;
}

.chart-card {
    display: flex;
    flex-direction: column;
}

.chart-header {
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.25rem;
}

.chart-header .muted {
    margin: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    flex: 1;
}

/* Funnel Visualization */
.funnel-section {
    margin-bottom: 2rem;
}

.funnel-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.funnel-bar {
    flex: 1;
    background: linear-gradient(90deg, var(--color-orange), rgba(255, 138, 0, 0.7));
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.funnel-bar:hover {
    transform: translateX(4px);
}

.funnel-label {
    font-size: 1rem;
}

.funnel-count {
    font-size: 1.25rem;
}

.funnel-percentage {
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: rgba(14, 20, 40, 0.6);
}

.funnel-arrow {
    display: flex;
    justify-content: center;
    color: rgba(14, 20, 40, 0.3);
    margin: 0.25rem 0;
}

/* Performance Table */
.performance-table {
    overflow-x: auto;
}

.performance-table table {
    width: 100%;
    border-collapse: collapse;
}

.performance-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(14, 20, 40, 0.6);
    border-bottom: 2px solid rgba(14, 20, 40, 0.08);
}

.performance-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
}

.performance-table tbody tr:last-child td {
    border-bottom: none;
}

.performance-table tbody tr:hover {
    background: rgba(14, 20, 40, 0.02);
}

.assessment-name {
    font-weight: 600;
    color: var(--color-navy);
}

.completion-bar-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.completion-bar {
    flex: 1;
    height: 8px;
    background: rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 200px;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), rgba(255, 138, 0, 0.7));
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
}

.completion-text {
    min-width: 45px;
    font-weight: 600;
    color: var(--color-navy);
}

/* Score Distribution */
.score-distribution {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.score-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-label {
    font-weight: 600;
    color: var(--color-navy);
}

.score-count {
    font-size: 0.9rem;
    color: rgba(14, 20, 40, 0.6);
}

.score-bar {
    height: 12px;
    background: rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), rgba(255, 138, 0, 0.7));
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
}

/* ============================================
   SETTINGS PAGE STYLES
   ============================================ */

.settings-section {
    margin-bottom: 3rem;
}

.settings-section-header {
    margin-bottom: 1.25rem;
}

.settings-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.settings-section-header .muted {
    margin: 0;
}

.settings-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-row:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.25rem;
}

.setting-info .muted {
    margin: 0;
}

/* Settings Form Styles */
.settings-form {
    padding: 0.5rem 0;
}

.settings-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.settings-form .form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-navy);
}

.settings-form .form-group input {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.settings-form .form-group input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px var(--color-orange-lighter);
}

.settings-form .form-help {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.settings-form .form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
}

.settings-form .form-actions {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border-light);
}

/* Toggle Switch Styles */
.toggle-row {
    gap: 1rem;
}

.toggle-row .setting-info {
    flex: 1;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 20, 40, 0.15);
    transition: 0.3s;
    border-radius: var(--radius-2xl);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--color-orange);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
    cursor: not-allowed;
    opacity: 0.5;
}

.badge-muted {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    background: rgba(14, 20, 40, 0.08);
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
}

/* Branding Section */
.branding-preview {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.08);
    margin-bottom: 1rem;
}

.logo-preview {
    flex-shrink: 0;
}

.logo-preview .current-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 2px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(14, 20, 40, 0.03);
    border: 2px dashed rgba(14, 20, 40, 0.15);
    border-radius: var(--radius-md);
}

.logo-placeholder svg {
    color: rgba(14, 20, 40, 0.3);
    margin-bottom: 0.5rem;
}

.logo-placeholder .muted {
    font-size: 0.85rem;
    margin: 0;
}

.logo-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.help-text {
    color: rgba(14, 20, 40, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Coming Soon Card */
.coming-soon-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(14, 20, 40, 0.02), rgba(14, 20, 40, 0.04));
}

.coming-soon-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.coming-soon-card .muted {
    margin: 0;
}

/* ========================================================================
   LOADING STATES & SKELETON SCREENS
   ======================================================================== */

/* Skeleton Base Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(14, 20, 40, 0.06) 0px,
        rgba(14, 20, 40, 0.12) 40px,
        rgba(14, 20, 40, 0.06) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
    will-change: background-position;
    contain: paint;
}

/* Skeleton Text Lines */
.skeleton-text {
    height: 1rem;
    margin-bottom: 0.75rem;
}

.skeleton-text.large {
    height: 2rem;
    margin-bottom: 1rem;
}

.skeleton-text.small {
    height: 0.75rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

/* Skeleton Metric Card */
.skeleton-metric-card {
    padding: 1.5rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

.skeleton-metric-card .skeleton-text.large {
    width: 50%;
}

.skeleton-metric-card .skeleton-text:last-child {
    margin-bottom: 0;
}

/* Skeleton Assessment Card */
.skeleton-assessment-card {
    padding: 1.5rem;
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
}

.skeleton-button {
    height: 42px;
    border-radius: var(--radius-2xl);
}

/* Skeleton Chart Container */
.skeleton-chart {
    height: 300px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.skeleton-chart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(14, 20, 40, 0.1);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Skeleton Table Rows */
.skeleton-table-row {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
}

.skeleton-table-row .skeleton {
    flex: 1;
    height: 1rem;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(14, 20, 40, 0.1);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    will-change: transform;
    contain: strict;
}

.loading-spinner.large {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

.loading-spinner.small {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

.loading-overlay .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

/* Chart Loading State */
.chart-loading {
    position: relative;
    min-height: 300px;
}

.chart-loading canvas {
    opacity: 0;
}

.chart-loading .loading-overlay {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.chart-loaded .loading-overlay {
    opacity: 0;
    pointer-events: none;
}

.chart-loaded canvas {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Search Loading State */
.search-results.loading {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Skeleton Grid Layouts */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}

.skeleton-grid.three-up {
    grid-template-columns: repeat(3, 1fr);
}

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

/* Hide content while loading */
.is-loading {
    opacity: 0;
    pointer-events: none;
}

.is-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Notification Loading */
.notification-list.loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fade-in animation for loaded content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
    will-change: opacity, transform;
}

.fade-in:not(:hover) {
    will-change: auto;
}

/* Skeleton Activity Item */
.skeleton-activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
}

.skeleton-activity-item .skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-activity-item .skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Pulse animation for important loading states */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================================================
   SMOOTH PAGE TRANSITIONS - Phase 4
   ======================================================================== */

/* Page Load Animation */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portal-shell {
    animation: pageLoad 0.5s ease-out;
}

/* Stagger animation for cards */
.portal-card,
.metric-card,
.assessment-card,
.quick-link-card {
    animation: fadeIn 0.5s ease-out backwards;
}

.portal-card:nth-child(1),
.metric-card:nth-child(1) {
    animation-delay: 0.05s;
}

.portal-card:nth-child(2),
.metric-card:nth-child(2) {
    animation-delay: 0.1s;
}

.portal-card:nth-child(3),
.metric-card:nth-child(3) {
    animation-delay: 0.15s;
}

.assessment-card:nth-child(1) { animation-delay: 0.05s; }
.assessment-card:nth-child(2) { animation-delay: 0.1s; }
.assessment-card:nth-child(3) { animation-delay: 0.15s; }
.assessment-card:nth-child(4) { animation-delay: 0.2s; }
.assessment-card:nth-child(5) { animation-delay: 0.25s; }
.assessment-card:nth-child(6) { animation-delay: 0.3s; }

/* Smooth hover transitions */
.nav-item,
.quick-link-card,
.assessment-card,
.portal-card {
    transition: all var(--transition-base);
}

/* View transitions for modern browsers */
@supports (view-transition-name: auto) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 0.3s;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .portal-shell,
    .portal-card,
    .metric-card,
    .assessment-card,
    .quick-link-card {
        animation: none !important;
    }
}

/* Support Options */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.support-option {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.support-option svg {
    flex-shrink: 0;
    color: var(--color-orange);
    margin-top: 0.25rem;
}

.support-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.25rem;
}

.support-option .muted {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1100px) {
    .portal-sidebar {
        transform: translateX(-100%);
    }

    .portal-sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .portal-main {
        margin-left: 0;
    }

    /* Sidebar overlay on mobile */
    .portal-container::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(6, 11, 25, 0.4);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .portal-container.sidebar-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Mobile header for toggle */
    .portal-main::before {
        content: '';
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--color-white);
        border-bottom: 1px solid rgba(14, 20, 40, 0.08);
        z-index: 50;
        display: flex;
        align-items: center;
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-nav {
        padding: 1rem 0;
    }

    .nav-item {
        padding: 0.55rem 1rem;
        margin: 0.125rem 0.5rem;
        font-size: 0.85rem;
    }

    .nav-group-label {
        padding: 0.75rem 1.25rem 0.25rem;
        font-size: 0.6rem;
    }

    .sidebar-usage {
        margin: 0 0.5rem 0.5rem;
        padding: 0.75rem 1rem;
    }

    .sidebar-footer {
        padding: 0.75rem 1rem;
    }

    .portal-main .portal-shell {
        padding: 1.5rem 1rem 3rem;
    }

    /* Dashboard page mobile adjustments */
    .dashboard-page-header h1 {
        font-size: 1.5rem;
    }

    .portal-card-grid.three-up {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .metric-card .metric-value {
        font-size: 2rem;
    }

    .db-attention-row {
        flex-wrap: wrap;
    }

    .db-attention-text {
        white-space: normal;
    }

    .primary-action-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        text-align: center;
    }

    .primary-action-card h3 {
        font-size: 1.25rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .activity-actions {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .plan-warning-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Assessments page mobile adjustments */
    .page-header-with-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-header-with-actions h1 {
        font-size: 1.5rem;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        flex: 1;
    }

    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-box {
        min-width: 100%;
    }

    .filter-controls {
        justify-content: space-between;
    }

    .filter-btn {
        flex: 1;
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
    }

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

    .assessment-card {
        padding: 1.5rem;
    }

    .help-card {
        flex-direction: column;
        text-align: center;
    }

    /* Analytics page mobile adjustments */
    .coming-soon-section {
        padding: 2.5rem 1.5rem;
    }

    .coming-soon-content h2 {
        font-size: 1.5rem;
    }

    .coming-soon-features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        min-width: 100%;
    }

    .portal-card-grid.two-up {
        grid-template-columns: 1fr;
    }

    /* Analytics page mobile adjustments */
    .chart-container {
        height: 250px;
    }

    .funnel-container {
        max-width: 100%;
    }

    .funnel-stage {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .funnel-bar {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }

    .funnel-percentage {
        margin-left: 1.25rem;
    }

    .performance-table {
        font-size: 0.9rem;
    }

    .performance-table th,
    .performance-table td {
        padding: 0.75rem;
    }

    .completion-bar {
        max-width: 100px;
    }

    /* Settings page mobile adjustments */
    .settings-section-header h2 {
        font-size: 1.25rem;
    }

    .branding-preview {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .logo-actions form,
    .logo-actions .btn {
        width: 100%;
    }

    .support-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Skeleton screens mobile adjustments */
    .skeleton-grid.three-up,
    .skeleton-grid.two-up {
        grid-template-columns: 1fr;
    }

    .skeleton-chart {
        height: 250px;
    }

    /* Prevent iOS auto-zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .portal-main .portal-shell {
        padding: 1rem 0.75rem 2.5rem;
    }

    .notification-dropdown {
        left: 10px;
        right: 10px;
        width: auto;
        bottom: 70px;
    }

    .db-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .db-header h1 {
        font-size: 1.4rem;
    }

    .db-plan-usage {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .db-usage-item {
        min-width: 100%;
    }
}

/* ========================================================================
   ONBOARDING TOUR SYSTEM
   ======================================================================== */

/* Overlay */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.85);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spotlight */
.onboarding-spotlight {
    position: fixed;
    border: 3px solid var(--color-orange);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 9999px rgba(6, 11, 25, 0.85),
                0 0 20px rgba(255, 138, 0, 0.5),
                inset 0 0 20px rgba(255, 138, 0, 0.3);
    pointer-events: none;
    z-index: 1003;
    transition: all var(--transition-slow);
    animation: spotlight-pulse 2s ease-in-out infinite;
}

@keyframes spotlight-pulse {
    0%, 100% {
        box-shadow: 0 0 0 9999px rgba(6, 11, 25, 0.85),
                    0 0 20px rgba(255, 138, 0, 0.5),
                    inset 0 0 20px rgba(255, 138, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 0 9999px rgba(6, 11, 25, 0.85),
                    0 0 30px rgba(255, 138, 0, 0.7),
                    inset 0 0 30px rgba(255, 138, 0, 0.5);
    }
}

/* Tooltip */
.onboarding-tooltip {
    position: fixed;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    max-width: 400px;
    z-index: 1004;
    animation: tooltip-slide-in 0.3s ease-out;
}

@keyframes tooltip-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

.tooltip-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(14, 20, 40, 0.4);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
    transition: color var(--transition-base);
}

.tooltip-close:hover {
    color: var(--color-navy);
}

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

.tooltip-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tooltip-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(14, 20, 40, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), rgba(255, 138, 0, 0.7));
    border-radius: var(--radius-sm);
    transition: width var(--transition-slow);
}

.progress-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.tooltip-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-skip {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color var(--transition-base);
}

.btn-skip:hover {
    color: var(--color-navy);
}

.btn-previous,
.btn-next {
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-navy);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-previous:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-next {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
}

.btn-next:hover:not(:disabled) {
    background: #e67d00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.btn-previous:hover:not(:disabled) {
    background: var(--color-bg-hover);
}

/* Completion Modal */
.onboarding-completion-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1005;
}

.completion-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.4s ease-out;
}

.completion-card svg {
    margin-bottom: 1.5rem;
}

.completion-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

.completion-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.completion-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.completion-card ul li {
    padding: 0.5rem 0;
    color: var(--color-navy);
    font-size: 0.95rem;
}

.completion-card .btn {
    margin-top: 1rem;
}

/* Pulse highlight effect for emphasized elements */
.pulse-highlight {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 138, 0, 0);
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .onboarding-tooltip {
        max-width: calc(100% - 2rem);
        left: 1rem !important;
        right: 1rem;
        width: calc(100% - 2rem);
    }

    .completion-card {
        max-width: calc(100% - 2rem);
        padding: 2rem 1.5rem;
    }
}

/* ========================================================================
   SOCIAL AUTHENTICATION STYLES
   ======================================================================== */

/* Social auth divider */
.social-auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.social-auth-divider::before,
.social-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.social-auth-divider span {
    padding: 0 1rem;
    white-space: nowrap;
}

/* Light variant for dark backgrounds */
.social-auth-divider--light {
    color: rgba(255, 255, 255, 0.7);
}

.social-auth-divider--light::before,
.social-auth-divider--light::after {
    background: rgba(255, 255, 255, 0.2);
}

/* Social auth buttons container */
.social-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-auth-buttons--horizontal {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social auth section in signup */
.social-auth-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

/* Social button base styles */
.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: 0.875rem var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 200px;
}

.btn-social .social-icon {
    flex-shrink: 0;
}

/* Google button */
.btn-google {
    background: var(--color-white);
    color: #3c4043;
    border-color: var(--color-border);
}

.btn-google:hover {
    background: var(--color-bg-muted);
    border-color: var(--color-border-medium);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: none;
}

/* LinkedIn button */
.btn-linkedin {
    background: #0A66C2;
    color: var(--color-white);
    border-color: #0A66C2;
}

.btn-linkedin:hover {
    background: #004182;
    border-color: #004182;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-linkedin:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-linkedin .social-icon path {
    fill: var(--color-white);
}

/* Auth main layout for login page */
.auth-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.auth-panel {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 440px;
    width: 100%;
}

.auth-panel h1 {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.75rem;
}

.auth-panel .lede {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.auth-panel .muted {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.auth-panel .muted .link {
    color: var(--color-orange);
    font-weight: 600;
}

/* Responsive social buttons */
@media (max-width: 640px) {
    .social-auth-buttons--horizontal {
        flex-direction: column;
    }

    .btn-social {
        width: 100%;
        min-width: auto;
    }

    .auth-panel {
        padding: 2rem 1.5rem;
    }
}

/* ========================================================================
   PUBLIC ASSESSMENTS - List and Detail Pages
   ======================================================================== */

/* ── Assessment List ── */
.al-shell {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.al-hero {
    text-align: center;
    padding: 3.5rem 0 2.5rem;
    max-width: 640px;
    margin: 0 auto;
}

.al-eyebrow {
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
}

.al-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.al-desc {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

/* Trust stats */
.al-trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.al-trust-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #6b7280;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 138, 0, 0.04);
    border: 1px solid rgba(255, 138, 0, 0.1);
    border-radius: var(--radius-full);
}

.al-trust-stat svg {
    color: var(--color-orange);
}

.al-trust-stat strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Search — inline with icon */
.al-search {
    max-width: 440px;
    margin: 0 auto;
}

.al-search-field {
    display: flex;
    align-items: center;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 0 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.al-search-field:focus-within {
    border-color: var(--color-orange);
    background: var(--color-white);
}

.al-search-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.al-search-field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.7rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--color-navy);
    outline: none;
}

.al-search-field input::placeholder {
    color: #9ca3af;
}

/* Grid */
.al-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Card — entire thing is a link, per-assessment accent color */
.al-card {
    --al-accent: var(--color-orange);
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid #ebedf0;
    border-radius: 14px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.al-card:hover {
    border-color: var(--al-accent);
    box-shadow: 0 8px 24px rgba(var(--al-accent-rgb, 255,138,0), 0.1);
    transform: translateY(-2px);
}

.al-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.al-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--al-accent-rgb, 255,138,0), 0.08);
    border-radius: 10px;
    color: var(--al-accent);
}

.al-card-icon svg {
    width: 20px;
    height: 20px;
}

.al-card-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.al-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.al-card-summary {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.al-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f1f3;
}

.al-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.al-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
}

/* Difficulty badge colors */
.al-difficulty {
    font-weight: 600;
}

.al-difficulty--adaptive { color: var(--al-accent, var(--color-orange)); }
.al-difficulty--beginner { color: #059669; }
.al-difficulty--intermediate { color: #e07800; }
.al-difficulty--advanced { color: #dc2626; }

.al-card-arrow {
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

/* Empty state */
.al-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
}

.al-empty h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.al-empty p {
    color: #6b7280;
    font-size: 0.9rem;
}

.al-empty a {
    color: var(--color-orange);
}

/* Load more */
.al-load-more {
    text-align: center;
    margin-top: 2.5rem;
}

.al-load-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    border: 1px solid #e2e5ea;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.al-load-btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* Bottom CTA */
.al-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.04) 0%, rgba(255, 138, 0, 0.08) 100%);
    border: 1px solid rgba(255, 138, 0, 0.12);
    border-radius: var(--radius-xl);
}

.al-cta-inner {
    max-width: 540px;
    margin: 0 auto;
}

.al-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.al-cta p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.al-cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .al-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .al-shell {
        padding: 0 1.25rem 3rem;
    }

    .al-hero {
        padding: 2rem 0 1.5rem;
    }

    .al-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .al-trust-stats {
        gap: 0.4rem;
    }

    .al-trust-stat {
        font-size: 0.75rem;
        padding: 0.3rem 0.65rem;
    }

    .al-cta {
        padding: 2.5rem 1.25rem;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        border-radius: 0;
    }

    .al-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Homepage "See All" Link */
.suite-see-all {
    text-align: center;
    margin-top: 3rem;
}

/* ── Assessment Detail — per-assessment themed design ── */
.ad-shell {
    --ad-accent: var(--color-orange);
    --ad-accent-rgb: 255, 138, 0;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Detail Hero — centered with accent top border */
.ad-hero {
    padding: 2.5rem 0 2.5rem;
    border-bottom: 1px solid #ebedf0;
    border-top: 3px solid var(--ad-accent);
}

.ad-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ad-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.ad-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.ad-breadcrumb a:hover {
    color: var(--ad-accent);
}

.ad-breadcrumb svg {
    color: #d1d5db;
}

.ad-preview-banner {
    background: #fef3c7;
    color: #92400e;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.ad-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ad-accent);
    margin-bottom: 0.75rem;
}

.ad-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.ad-subtitle {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    font-weight: 500;
}

.ad-summary {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

.ad-meta-row {
    display: inline-flex;
    gap: 2.5rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 2.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #ebedf0;
}

.ad-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ad-meta-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ad-accent);
}

.ad-meta-lbl {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Difficulty badge in detail */
.ad-difficulty { font-weight: 700; }
.ad-difficulty--adaptive { color: var(--ad-accent); }
.ad-difficulty--beginner { color: #059669; }
.ad-difficulty--intermediate { color: #e07800; }
.ad-difficulty--advanced { color: #dc2626; }

.ad-hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

/* Buttons — larger for better conversion */
.ad-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-btn-primary:hover {
    background: #e07800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.25);
}

.ad-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    border: 1px solid #e2e5ea;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ad-btn-secondary:hover {
    border-color: var(--color-navy);
}

/* Trust Stats (detail page) */
.ad-trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 1.75rem 0;
    border-bottom: 1px solid #ebedf0;
}

.ad-trust-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #6b7280;
    padding: 0.4rem 0.85rem;
    background: rgba(var(--ad-accent-rgb), 0.04);
    border: 1px solid rgba(var(--ad-accent-rgb), 0.1);
    border-radius: var(--radius-full);
}

.ad-trust-stat svg {
    color: var(--ad-accent);
}

.ad-trust-stat strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Sticky TOC */
.ad-toc {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin: 0;
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #ebedf0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ad-toc::-webkit-scrollbar {
    display: none;
}

.ad-toc-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    white-space: nowrap;
    flex-shrink: 0;
}

.ad-toc-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.ad-toc-link:hover {
    color: var(--color-navy);
    background: #f3f4f6;
}

.ad-toc-link--active {
    color: var(--ad-accent);
    background: rgba(var(--ad-accent-rgb), 0.08);
    border-color: rgba(var(--ad-accent-rgb), 0.2);
    font-weight: 600;
}

/* Sections — accent-colored title bar */
.ad-section {
    padding: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ad-section--alt {
    background: #f5f6f8;
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    max-width: none;
}

.ad-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ad-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--ad-accent);
}

.ad-section-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.ad-prose {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4b5563;
}

.ad-prose p { margin: 0 0 1rem; }
.ad-prose p:last-child { margin: 0; }

/* Focus tags — accent-tinted */
.ad-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ad-tag {
    padding: 0.5rem 1rem;
    background: rgba(var(--ad-accent-rgb), 0.06);
    border: 1px solid rgba(var(--ad-accent-rgb), 0.15);
    border-left: 3px solid var(--ad-accent);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
}

/* Skills — left accent border */
.ad-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.ad-skill {
    padding: 1.25rem;
    border: 1px solid #ebedf0;
    border-left: 3px solid var(--ad-accent);
    border-radius: 12px;
}

.ad-skill h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.4rem;
}

.ad-skill p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.55;
}

/* Samples — filled number circles */
.ad-samples {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ad-sample {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: var(--color-white);
}

.ad-sample-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ad-accent);
    border-radius: 50%;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.8rem;
}

.ad-sample-body {
    flex: 1;
}

.ad-sample-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ad-accent);
    margin-bottom: 0.35rem;
}

.ad-sample-body p {
    font-size: 0.9rem;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.55;
    font-weight: 500;
}

/* Mid-page CTA */
.ad-mid-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(var(--ad-accent-rgb), 0.04);
    border: 1px solid rgba(var(--ad-accent-rgb), 0.12);
    border-radius: 14px;
    margin: 0.5rem auto;
    max-width: 800px;
}

.ad-mid-cta p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-navy);
    margin: 0;
}

/* Scoring bars visualization */
.ad-scoring-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ad-scoring-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
}

.ad-scoring-bar-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

.ad-scoring-bar-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ad-accent);
}

.ad-scoring-bar-track {
    height: 10px;
    background: #ebedf0;
    border-radius: 5px;
    overflow: hidden;
}

.ad-scoring-bar-fill {
    height: 100%;
    background: var(--ad-accent);
    border-radius: 5px;
    transition: width 0.6s ease;
}

/* Stats */
.ad-stats-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ad-stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    background: var(--color-white);
}

.ad-stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ad-accent);
    margin-bottom: 0.25rem;
}

.ad-stat-lbl {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Use cases */
.ad-usecases {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ad-usecase {
    display: flex;
    gap: 0.85rem;
    padding: 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 12px;
}

.ad-usecase svg {
    flex-shrink: 0;
    color: var(--ad-accent);
    margin-top: 0.1rem;
}

.ad-usecase h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.3rem;
}

.ad-usecase p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.55;
}

/* FAQs */
.ad-faqs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ad-faq {
    border: 1px solid #ebedf0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
}

.ad-faq summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.ad-faq summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--ad-accent);
    transition: transform 0.2s ease;
}

.ad-faq[open] summary::after {
    transform: rotate(45deg);
}

.ad-faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
}

/* CTA — warm gradient */
.ad-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.04) 0%, rgba(255, 138, 0, 0.08) 100%);
    border: 1px solid rgba(255, 138, 0, 0.12);
    border-radius: var(--radius-xl);
}

.ad-cta-inner {
    max-width: 540px;
    margin: 0 auto;
}

.ad-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.ad-cta p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.ad-cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Roles "view all" link */
.ad-roles-more {
    text-align: center;
    margin-top: 1.5rem;
}

.ad-roles-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ad-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ad-roles-more a:hover {
    gap: 0.6rem;
}

/* Related */
.ad-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ad-related-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid #ebedf0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-related-card:hover {
    border-color: var(--al-accent, var(--ad-accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ad-related-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.ad-related-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.4rem;
}

.ad-related-card p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.ad-related-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Responsive — tablet */
@media (max-width: 900px) {
    .ad-related {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive — mobile */
@media (max-width: 640px) {
    .ad-shell {
        padding: 0 1.25rem 3rem;
    }

    .ad-hero {
        padding: 2rem 0 2rem;
    }

    .ad-section--alt {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding: 2.5rem 1.25rem;
    }

    .ad-cta {
        padding: 2.5rem 1.25rem;
        border-radius: 0;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }

    .ad-meta-row {
        gap: 1.25rem;
        padding: 1rem;
    }

    .ad-skills {
        grid-template-columns: 1fr;
    }

    .ad-related {
        grid-template-columns: 1fr;
    }

    .ad-hero-actions,
    .ad-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ad-btn-primary,
    .ad-btn-secondary {
        justify-content: center;
    }

    .ad-mid-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .ad-toc {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .ad-trust-stats {
        gap: 0.4rem;
    }

    .ad-trust-stat {
        font-size: 0.75rem;
        padding: 0.3rem 0.65rem;
    }

    .ad-section {
        padding: 2.5rem 0;
    }
}

/* ── Assessment Session Styles ── */

.assessment-session {
    padding-top: 80px;
}

/* Sticky Progress Header */
.session-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.session-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 20px 0;
}

.header-left {
    flex-shrink: 0;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.assessment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}

.assessment-badge svg {
    color: var(--color-orange);
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 14px;
}

.header-stat-value {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

.header-stat-sep {
    font-weight: 400;
    color: #94a3b8;
}

.header-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.header-stat-divider {
    width: 1px;
    height: 28px;
    background: var(--color-border);
    flex-shrink: 0;
}

.header-stat.stat-time .header-stat-value {
    color: var(--color-orange);
}

.header-stat.stat-time .header-stat-value svg {
    flex-shrink: 0;
}

.header-stat.stat-time .header-stat-label {
    color: var(--color-orange);
    opacity: 0.7;
}

.header-progress-row {
    padding: 0;
}

.header-progress {
    flex: 1;
    min-width: 0;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: 0 4px 4px 0;
    transition: width 0.4s ease;
    min-width: 2px;
}

.progress-stats-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item strong {
    color: var(--color-navy);
    font-weight: 700;
}

.time-left {
    color: var(--color-orange);
    font-weight: 600;
}

/* Utility Toolbar */
.utility-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-muted);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    border: 1px solid var(--color-border);
}

.utility-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.auto-save svg {
    color: var(--color-success);
}

.utility-actions {
    display: flex;
    gap: var(--space-2);
}

.utility-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.utility-btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: #fff7ed;
}

.pause-btn:hover {
    border-color: var(--color-orange);
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
}

/* Deadline Banner */
.deadline-banner {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-left: 4px solid var(--color-info);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
}

.deadline-banner.deadline-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    border-left: 4px solid var(--color-warning);
}

.deadline-banner.deadline-expired {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-left: 4px solid var(--color-error);
}

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

.deadline-icon svg {
    color: var(--color-info);
}

.deadline-banner.deadline-warning .deadline-icon svg {
    color: var(--color-warning);
}

.deadline-banner.deadline-expired .deadline-icon svg {
    color: var(--color-error);
}

.deadline-content {
    flex: 1;
}

.deadline-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.deadline-content p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Collapsible Panels */
.device-switch-panel,
.help-panel {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: var(--space-5);
    animation: slideDown var(--transition-slow);
}

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

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.panel-header h4 {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-navy);
}

.panel-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.panel-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-navy);
}

.device-switch-panel p {
    margin: 0 0 var(--space-4);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.form-group-inline {
    display: flex;
    gap: var(--space-2);
}

.form-group-inline input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

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

.btn-send {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-4);
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.help-topics {
    margin-bottom: var(--space-4);
}

.help-topic {
    padding: var(--space-3) 0;
    border-bottom: 1px solid #bae6fd;
}

.help-topic:last-child {
    border-bottom: none;
}

.help-topic strong {
    display: block;
    color: var(--color-navy);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.help-topic p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.help-footer {
    padding-top: var(--space-4);
    border-top: 1px solid #bae6fd;
}

.help-footer p {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.help-footer a {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
}

.help-footer a:hover {
    text-decoration: underline;
}

/* Enhanced Question Card */
.question-card-enhanced {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.question-header {
    margin-bottom: var(--space-4);
}

.question-category {
    display: inline-flex;
    padding: var(--space-2) var(--space-3);
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border: 1px solid var(--color-orange);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-orange);
}

.question-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
    margin: 0 0 20px;
}

.question-explanation {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-bg-muted);
    border-left: 3px solid var(--color-info);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.question-explanation svg {
    flex-shrink: 0;
    color: var(--color-info);
    margin-top: 2px;
}

.question-explanation p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.guidance-tip {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 3px solid var(--color-success);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
}

.guidance-tip svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.guidance-tip strong {
    display: block;
    color: var(--color-navy);
    font-size: 15px;
    margin-bottom: var(--space-2);
}

.guidance-tip p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.question-input-enhanced {
    margin-top: var(--space-5);
}

.input-instruction {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 var(--space-4);
}

/* Textarea & Select Styling */
.question-input-enhanced textarea,
.question-input-enhanced select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
    background: var(--color-white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.question-input-enhanced textarea {
    resize: vertical;
    min-height: 100px;
}

.question-input-enhanced textarea:focus,
.question-input-enhanced select:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px var(--color-orange-lighter);
}

.question-input-enhanced textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* Radio/Checkbox Options */
.question-input-enhanced ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.question-input-enhanced ul li {
    margin: 0;
}

.question-input-enhanced ul li label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) 20px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 15px;
    color: var(--color-navy);
}

.question-input-enhanced ul li label:hover {
    border-color: var(--color-orange);
    background: #fff9f5;
}

.question-input-enhanced ul li input[type="radio"],
.question-input-enhanced ul li input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-orange);
    flex-shrink: 0;
}

.question-input-enhanced ul li input[type="radio"]:checked + span,
.question-input-enhanced ul li input:checked ~ * {
    font-weight: 600;
}

.question-input-enhanced ul li label:has(input:checked) {
    border-color: var(--color-orange);
    background: linear-gradient(135deg, #fff9f5 0%, #fff3e8 100%);
}

/* Answer Preview */
.answer-preview-enhanced {
    margin-top: var(--space-5);
    padding: 20px;
    background: var(--color-bg-muted);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.preview-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-navy);
}

.preview-label svg {
    color: var(--color-orange);
}

.char-count {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.preview-hint {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.preview-body {
    padding: var(--space-4);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-height: 100px;
    font-size: 15px;
    color: var(--color-navy);
    line-height: 1.6;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
}

.btn-submit-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--space-4) var(--space-7);
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
    transition: all var(--transition-base);
}

.btn-submit-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}


/* ── Completion Page Styles ── */

.completion-panel {
    overflow: visible;
}

.completion-header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    overflow: hidden;
}

.completion-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: scaleIn 0.5s ease-out;
}

.completion-icon svg {
    color: var(--color-white);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.completion-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    font-size: 32px;
    animation: fall 3s ease-in-out infinite;
}

@keyframes fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(360deg); opacity: 0; }
}

.completion-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 var(--space-3);
}

.completion-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin: 0;
}

.completion-stats {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.stat-card {
    background: var(--color-bg-muted);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
}

.stat-content {
    text-align: left;
}

.stat-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: var(--text-2xl);
    color: var(--color-navy);
    font-weight: 800;
}

.completion-next-steps {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: var(--space-6);
}

.completion-next-steps h2 {
    margin: 0 0 20px;
    color: var(--color-navy);
    font-size: var(--text-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
}

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

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.next-steps-list li svg {
    flex-shrink: 0;
    color: var(--color-info);
    margin-top: 2px;
}

/* Feedback Section */
.feedback-section {
    background: linear-gradient(180deg, var(--color-white) 0%, #f8fafc 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-bottom: var(--space-5);
}

.feedback-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.2);
}

.feedback-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.feedback-header h3 {
    margin: 0 0 var(--space-2);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
}

.feedback-header p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.feedback-success {
    text-align: center;
    padding: 40px 20px;
}

.feedback-success svg {
    color: var(--color-success);
    margin-bottom: var(--space-4);
}

.feedback-success p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin: 0;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-section .feedback-rating {
    margin-bottom: 28px;
}

.feedback-section .rating-input {
    display: flex;
    justify-content: center;
}

.feedback-section .rating-input > div {
    display: flex;
    gap: 10px;
    width: 100%;
}

.feedback-section .rating-input > div > div {
    flex: 1;
    min-width: 0;
}

.feedback-section .rating-input label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 8px 16px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    width: 100%;
    position: relative;
}

.feedback-section .rating-input label:hover {
    border-color: var(--color-orange);
    background: #fffbf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.1);
}

.feedback-section .rating-input input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.feedback-section .rating-input label:has(input:checked) {
    border-color: var(--color-orange);
    background: linear-gradient(135deg, #fff9f5 0%, #fff3e8 100%);
    color: var(--color-navy);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.15);
    transform: translateY(-2px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: 20px;
}

.inline-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    cursor: pointer;
}

.inline-checkbox input {
    width: 18px;
    height: 18px;
}

.inline-checkbox span {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.field-hint {
    margin: var(--space-2) 0 0;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.completion-footer {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.btn-large {
    padding: var(--space-4) var(--space-6);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}


/* ── Assessment Session Mobile ── */

@media (max-width: 640px) {
    .assessment-session {
        padding-top: 110px;
    }

    .session-header-content {
        padding: 10px 16px 0;
    }

    .header-top-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 10px;
    }

    .assessment-badge {
        align-self: flex-start;
        white-space: normal;
    }

    .header-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 0;
        background: #f8fafc;
        border-radius: var(--radius-md);
        padding: var(--space-2) 0;
    }

    .progress-stats-compact {
        gap: var(--space-3);
        font-size: var(--text-xs);
    }

    .utility-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .utility-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .question-card-enhanced {
        padding: 20px;
    }

    .question-title {
        font-size: 18px;
    }

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

    .btn-submit-enhanced {
        width: 100%;
    }

    .completion-title {
        font-size: 28px;
    }

    .completion-subtitle {
        font-size: var(--text-base);
    }

    .completion-icon {
        width: 72px;
        height: 72px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

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

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

    .feedback-section {
        padding: var(--space-5) var(--space-4);
    }

    .feedback-section .rating-input > div {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .feedback-section .rating-input > div > div {
        flex: 0 0 calc(33.333% - 6px);
    }

    .feedback-section .rating-input label {
        padding: 14px 4px 12px;
        font-size: var(--text-xs);
    }
}

/* ========================================================================
   INTRO PAGE & ONBOARDING MODAL - UNIFIED STYLES
   ======================================================================== */

/* Intro Page Styles */
.intro-header {
    text-align: center;
    margin-bottom: 32px;
}

.intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.2);
}

.intro-icon svg {
    color: var(--color-white);
}

.intro-title-group {
    margin-bottom: 24px;
}

.intro-title-group .eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-orange);
    margin: 0;
}

.intro-title-group h1 {
    margin: 12px 0;
    font-size: 32px;
    color: var(--color-navy);
}

.intro-title-group .lede {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Meta Cards */
.intro-meta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.meta-card {
    background: var(--color-bg-muted);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
}

.meta-card:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.meta-card-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: var(--color-error);
}

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

.meta-card-warning .meta-icon {
    background: var(--color-white);
    color: var(--color-orange);
}

.meta-content {
    flex: 1;
    min-width: 0;
}

.meta-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-value {
    display: block;
    font-size: 16px;
    color: var(--color-navy);
    font-weight: 700;
}

/* Instructions */
.intro-instructions {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.intro-instructions h2 {
    margin: 0 0 16px;
    color: var(--color-navy);
    font-size: 20px;
    display: flex;
    align-items: center;
}

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

.intro-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(186, 230, 253, 0.5);
}

.intro-checklist li:last-child {
    border-bottom: none;
}

.intro-checklist li svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* Callouts */
.candidate-callout {
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.callout-info {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
}

.callout-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-left: 4px solid var(--color-orange);
}

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

.callout-info .callout-icon {
    color: #3b82f6;
}

.callout-warning .callout-icon {
    color: var(--color-orange);
}

.callout-content {
    flex: 1;
}

.callout-content strong {
    display: block;
    color: var(--color-navy);
    font-size: 16px;
    margin-bottom: 8px;
}

.callout-content p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Intro Actions */
.intro-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
    filter: brightness(1.1);
}

.btn-large {
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-block {
    width: 100%;
}

.intro-secondary-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.intro-secondary-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer */
.intro-footer {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Client Logo */
.client-logo {
    margin-bottom: 20px;
}

.client-logo-img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

.custom-welcome-message {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.05) 0%, rgba(255, 138, 0, 0.1) 100%);
    border-left: 4px solid var(--color-orange);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
}

.custom-welcome-message p {
    margin: 0;
    color: var(--color-navy);
    font-size: 15px;
    line-height: 1.6;
}

.pill.danger {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--color-error);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* ========================================================================
   ONBOARDING MODAL STYLES
   ======================================================================== */

.onboarding-modal {
    background: var(--color-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.onboarding-step {
    padding: 48px 40px 32px;
}

.onboarding-step-content {
    text-align: center;
}

.onboarding-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.3);
}

.onboarding-icon-large.success {
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.onboarding-step h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 16px;
}

.onboarding-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.onboarding-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    text-align: left;
    color: var(--color-navy);
    font-weight: 600;
    font-size: 15px;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--color-orange);
}

.onboarding-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.onboarding-list.centered {
    text-align: center;
}

.onboarding-list.centered li {
    justify-content: center;
}

.onboarding-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.onboarding-list li svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.onboarding-list li strong {
    color: var(--color-navy);
}

.onboarding-screenshot {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--color-bg-muted);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
}

/* Demo Components */
.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.demo-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-navy);
}

.demo-badge svg {
    color: var(--color-orange);
}

.demo-progress {
    flex: 1;
    min-width: 0;
}

.demo-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 6px;
}

.demo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: 100px;
}

.demo-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    color: var(--color-text-secondary);
}

.demo-stats strong {
    color: var(--color-navy);
    font-weight: 700;
}

.demo-time {
    color: var(--color-orange);
    font-weight: 600;
}

.demo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    gap: 12px;
    border: 1px solid var(--color-border);
}

.demo-save {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.demo-save svg {
    color: var(--color-success);
}

.demo-buttons {
    display: flex;
    gap: 6px;
}

.demo-btn {
    padding: 6px 10px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.demo-question {
    text-align: left;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
}

.demo-category {
    display: inline-flex;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border: 1px solid var(--color-orange);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-orange);
}

.demo-question-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 12px 0;
}

.demo-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 3px solid var(--color-success);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.demo-tip svg {
    flex-shrink: 0;
    color: var(--color-success);
}

.demo-input {
    padding: 12px;
    background: var(--color-bg-muted);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-text-secondary);
}

.onboarding-final-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-left: 4px solid var(--color-orange);
    border-radius: var(--radius-lg);
    margin-top: 24px;
    text-align: left;
}

.onboarding-final-tip svg {
    flex-shrink: 0;
    color: var(--color-orange);
    margin-top: 2px;
}

.onboarding-final-tip p {
    margin: 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Onboarding Navigation */
.onboarding-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 32px;
}

.onboarding-btn-back,
.onboarding-btn-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.onboarding-btn-back:hover,
.onboarding-btn-next:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: #fff7ed;
}

.onboarding-btn-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
    transition: all 0.2s;
}

.onboarding-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.onboarding-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, #ff6b00 100%);
}

.onboarding-skip {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.onboarding-skip:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-navy);
}

/* ========================================================================
   CUSTOM ASSESSMENT CANDIDATE STYLES
   ======================================================================== */

/* Completion Page */
.completion-panel {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
}

.completion-content {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.completion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
}

.completion-icon.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--color-success);
}

.completion-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 12px;
}

.completion-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin: 0 0 32px;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    min-width: 140px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
}

.status-submitted {
    color: var(--color-success);
    font-size: 18px;
}

.completion-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    text-align: left;
}

.completion-message svg {
    flex-shrink: 0;
    color: #3b82f6;
    margin-top: 2px;
}

.completion-message p {
    margin: 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.completion-next-steps {
    text-align: left;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.completion-next-steps h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
}

.completion-next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.completion-next-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-text-secondary);
}

.completion-next-steps li:last-child {
    border-bottom: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.completion-close {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.completion-close p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Expired Page */
.expired-panel {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
}

.expired-content {
    animation: fadeIn 0.5s ease;
}

.expired-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: var(--color-error);
}

.expired-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 12px;
}

.expired-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin: 0 0 32px;
}

.expired-details {
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.detail-label {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.detail-value {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 14px;
}

.expired-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    text-align: left;
}

.expired-message svg {
    flex-shrink: 0;
    color: var(--color-warning);
    margin-top: 2px;
}

.expired-message p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.expired-message p:last-child {
    margin-bottom: 0;
}

.expired-message strong {
    color: var(--color-navy);
}

.expired-contact {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.expired-contact p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.expired-contact a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
}

.expired-contact a:hover {
    text-decoration: underline;
}

/* Session Page Unique Styles */
.assessment-session {
    padding-top: 96px;
}

.time-warning-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--color-warning);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

.time-warning-toast.critical {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: var(--color-error);
}

.time-warning-toast svg {
    color: var(--color-warning);
    flex-shrink: 0;
}

.time-warning-toast.critical svg {
    color: var(--color-error);
}

.time-warning-toast span {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
}

.question-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-type-badge.type-multiple_choice {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

.question-type-badge.type-text_short,
.question-type-badge.type-text_long {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #86efac;
}

.question-type-badge.type-video {
    background: #fdf4ff;
    color: #a855f7;
    border: 1px solid #d8b4fe;
}

.question-type-badge.type-file_upload {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.char-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.char-counter.warning {
    color: var(--color-warning);
}

.char-counter.error {
    color: var(--color-error);
}

.min-chars {
    color: #9ca3af;
}

/* Video Response */
.video-response-container {
    background: var(--color-bg-muted);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.video-recorder {
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    margin-bottom: 16px;
}

.video-recorder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recorder-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-record {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-error);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-record:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.btn-stop {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #374151;
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.recording-timer {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    font-family: monospace;
}

.recording-timer.recording {
    color: var(--color-error);
    animation: pulse 1s infinite;
}

.upload-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 13px;
}

.upload-divider::before,
.upload-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.upload-hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: #9ca3af;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--color-bg-muted);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-box:hover {
    border-color: var(--color-orange);
    background: #fff9f5;
}

.file-upload-box svg {
    color: #9ca3af;
    margin-bottom: 16px;
}

.file-upload-box:hover svg {
    color: var(--color-orange);
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.upload-formats {
    font-size: 13px;
    color: #9ca3af;
}

.file-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.file-preview svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.file-preview span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    word-break: break-all;
}

.btn-remove-file {
    width: 28px;
    height: 28px;
    background: #fee2e2;
    border: none;
    border-radius: 50%;
    color: var(--color-error);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-file:hover {
    background: #fecaca;
}

.btn-submit-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
    transition: all 0.2s;
}

.btn-submit-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

/* Anti-cheat Warning */
.anti-cheat-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-error) 0%, #b91c1c 100%);
    color: var(--color-white);
    padding: 12px 20px;
    z-index: 10000;
    animation: slideDown 0.3s ease;
}

.anti-cheat-warning .warning-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.anti-cheat-warning button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.fullscreen-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.fullscreen-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
}

.fullscreen-content svg {
    color: var(--color-orange);
    margin-bottom: 16px;
}

.fullscreen-content span {
    display: block;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ========================================================================
   INTRO & ONBOARDING RESPONSIVE
   ======================================================================== */

@media (max-width: 640px) {
    .intro-icon {
        width: 64px;
        height: 64px;
    }

    .intro-icon svg {
        width: 36px;
        height: 36px;
    }

    .intro-title-group h1 {
        font-size: 24px;
    }

    .intro-title-group .lede {
        font-size: 16px;
    }

    .intro-meta-cards {
        grid-template-columns: 1fr;
    }

    .intro-secondary-actions {
        flex-direction: column;
    }

    .intro-secondary-actions .btn {
        width: 100%;
    }

    .onboarding-modal {
        border-radius: 16px;
        max-height: 100vh;
    }

    .onboarding-step {
        padding: 32px 24px 24px;
    }

    .onboarding-step h2 {
        font-size: 24px;
    }

    .onboarding-icon-large {
        width: 80px;
        height: 80px;
    }

    .onboarding-icon-large svg {
        width: 48px;
        height: 48px;
    }

    .onboarding-navigation {
        padding: 0 24px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .onboarding-dots {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .demo-header,
    .demo-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .demo-buttons {
        justify-content: center;
    }

    .assessment-session {
        padding-top: 110px;
    }

    .question-card-enhanced {
        padding: 20px;
    }

    .question-title {
        font-size: 18px;
    }

    .btn-submit-enhanced {
        width: 100%;
    }

    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .completion-panel {
        padding: 32px 20px;
    }

    .completion-title {
        font-size: 24px;
    }

    .completion-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
    }

    .expired-panel {
        padding: 32px 20px;
    }

    .expired-title {
        font-size: 24px;
    }
}

/* ========================================================================
   AUTH & ONBOARDING PAGE STYLES
   ======================================================================== */

.apply-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.request-panel {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
}

.request-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #001f3f 0%, #003d7a 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.request-copy h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.request-copy .lede {
    color: rgba(255, 255, 255, 0.9);
}

.request-note {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.request-note .label {
    color: var(--color-orange);
    font-weight: 600;
}

.request-note ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.request-note ul li {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease;
}

.form-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #d0d5dd;
}

.form-section:last-of-type {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section-title::before {
    content: "";
    width: 6px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b00 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.3);
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-row:last-child {
    margin-bottom: 0;
}

.field-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Character Counter */
.textarea-wrapper {
    position: relative;
}

.textarea-wrapper textarea {
    padding-bottom: 3rem;
    min-height: 120px;
    resize: vertical;
}

.required-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--radius-md);
}

.form-footer .required-note {
    order: 2;
    font-size: 0.8125rem;
    color: #6b7280;
    text-align: center;
    padding: 0;
    background: transparent;
    margin: 0;
    font-weight: 400;
}

/* Assessment Cards */
.assessment-section {
    margin-top: 0;
}

.assessment-section__header {
    margin-bottom: 1.5rem;
}

.assessment-section__header label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    display: block;
}

.assessment-section__header p {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
}

.assessment-card {
    position: relative;
    padding: 1.25rem;
    border: 2px solid #e0e3e7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-white);
    animation: fadeInUp 0.4s ease;
}

.assessment-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.1);
    transform: translateY(-2px);
}

.assessment-card input[type="checkbox"] {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.assessment-card:has(input:checked) {
    border-color: var(--color-orange);
    background: rgba(255, 138, 0, 0.05);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.15);
}

.assessment-card strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.assessment-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Signup Login Link */
.signup-login-link {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(255, 138, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.signup-login-link a {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.signup-login-link a:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-orange);
}

/* Form Footer */
.form-footer {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.form-footer .btn {
    order: 1;
    min-width: 320px;
    font-size: 1.0625rem;
    font-weight: 700;
    padding: 1.125rem 3rem;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.form-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 138, 0, 0.4);
}

.form-footer .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
}

.form-footer .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Pending Approval */
.confirmation-panel {
    text-align: center;
    max-width: 560px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    border-radius: 50%;
    color: #2e7d32;
    font-size: 2.5rem;
}

.pending-icon {
    background: #fff3e0;
    color: #ef6c00;
}

.pending-icon svg {
    width: 48px;
    height: 48px;
}

.confirmation-panel h1 {
    font-size: 1.75rem;
    margin: 0.5rem 0 1rem;
    color: var(--color-navy);
}

.confirmation-panel .lede {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.confirmation-panel .lede strong {
    color: var(--color-navy);
}

.status-card {
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.status-row:last-child {
    border-bottom: none;
}

.status-label {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.status-value {
    color: var(--color-navy);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge--pending {
    background: #fff3e0;
    color: #ef6c00;
}

.status-badge--approved {
    background: #e8f5e9;
    color: #2e7d32;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-actions .btn {
    min-width: 160px;
}

/* ── Signup Flow: Identity Bar + Stepper ── */

.sf-flash {
    margin-bottom: 1.25rem;
}
.sf-flash-msg {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    animation: sf-flash-in 0.3s ease;
}
.sf-flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.sf-flash-success svg { color: #10b981; flex-shrink: 0; }
.sf-flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
@keyframes sf-flash-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sf-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
.sf-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    flex-shrink: 0;
}
.sf-identity-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}
.sf-identity-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
}
.sf-identity-email {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sf-identity-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    white-space: nowrap;
}

/* Stepper */
.sf-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}
.sf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.sf-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--color-border-light);
    color: var(--color-text-muted);
    transition: all 0.2s;
}
.sf-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}
.sf-step-done .sf-step-dot {
    background: #10b981;
    color: #fff;
}
.sf-step-done .sf-step-label {
    color: #065f46;
}
.sf-step-active .sf-step-dot {
    background: var(--color-orange);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.15);
}
.sf-step-active .sf-step-label {
    color: var(--color-orange);
    font-weight: 700;
}
.sf-step-line {
    width: 48px;
    height: 2px;
    background: var(--color-border-light);
    margin: 0 0.5rem;
    margin-bottom: 1.4rem;
    flex-shrink: 0;
}
.sf-step-line-done {
    background: #10b981;
}

/* Pending approval content */
.sf-pending-content {
    text-align: center;
    margin-bottom: 1.5rem;
}
.sf-pending-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff3e0;
    border-radius: 50%;
    color: #ef6c00;
}
.sf-pending-content h1 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    color: var(--color-navy);
}
.sf-pending-content .lede {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}
.sf-pending-content .lede strong {
    color: var(--color-navy);
}
.sf-pending-details {
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.sf-pending-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border-light);
}
.sf-pending-row:last-child { border-bottom: none; }
.sf-pending-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.sf-pending-value {
    color: var(--color-navy);
    font-weight: 500;
    font-size: 0.9rem;
}
.sf-pending-status {
    display: inline-flex;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff3e0;
    color: #ef6c00;
}
.sf-pending-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.sf-pending-actions .btn {
    min-width: 150px;
}

@media (max-width: 600px) {
    .sf-identity {
        flex-wrap: wrap;
    }
    .sf-stepper {
        padding: 0;
    }
    .sf-step-line {
        width: 24px;
    }
    .sf-step-label {
        font-size: 0.68rem;
    }
    .sf-pending-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    .sf-pending-actions {
        flex-direction: column;
    }
    .sf-pending-actions .btn {
        width: 100%;
    }
}

/* Auth Animation Stagger */
.form-section:nth-child(1) { animation-delay: 0.05s; }
.form-section:nth-child(2) { animation-delay: 0.1s; }
.form-section:nth-child(3) { animation-delay: 0.15s; }
.form-section:nth-child(4) { animation-delay: 0.2s; }
.form-section:nth-child(5) { animation-delay: 0.25s; }

/* Auth Responsive */
@media (max-width: 900px) {
    .request-intro {
        padding: 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .form-section-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .form-footer {
        padding-top: 2rem;
        gap: 1.5rem;
    }

    .form-footer .btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 2rem;
    }

    .confirmation-panel {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ========================================================================
   HOMEPAGE - HERO SECTION
   ======================================================================== */

.hero-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-body);
    cursor: default;
}

.hero-v2 {
    position: relative;
    padding: 10rem 2rem 5rem;
    text-align: center;
}

.hero-v2-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Badge — outlined pill with dot indicator */
.hero-v2 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: border-color var(--transition-base), color var(--transition-base);
    cursor: pointer;
}

.hero-v2 .hero-badge:hover {
    border-color: var(--color-orange);
    color: var(--color-navy);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
}

.hero-badge-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.hero-v2 .hero-badge:hover .hero-badge-chevron {
    opacity: 1;
    transform: translateX(2px);
}

/* Headline — large bold with accent word */
.hero-v2 .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 1.5rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

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

/* Rotating words in headline */
.hero-rotating-wrapper {
    display: inline-block;
    position: relative;
    height: 1.15em;
    overflow: hidden;
    vertical-align: bottom;
}

.hero-rotating-words {
    display: block;
    position: relative;
}

.hero-word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    opacity: 0;
    transform: translateY(50%);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, #ff8a00, #ff6b00, #e85d04, #ff8a00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Dot grid background */
.hero-dot-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(14, 20, 40, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

/* Mockup glow border */
.mockup-glow-border {
    position: relative;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.5), rgba(255, 138, 0, 0.1), rgba(14, 20, 40, 0.08), rgba(255, 138, 0, 0.3));
    background-size: 300% 300%;
    animation: glow-rotate 6s ease infinite;
}

@keyframes glow-rotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mockup-glow-border .hero-mockup {
    border: none;
}

/* Live cursor inside mockup */
.mockup-cursor {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    transform: translate(60px, 55px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.mockup-cursor.cursor-click {
    transform-origin: top left;
    animation: cursor-tap 0.2s ease;
}

@keyframes cursor-tap {
    0%, 100% { scale: 1; }
    50% { scale: 0.85; }
}

/* Subtitle */
.hero-v2 .hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
}

/* CTA button group */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.4rem;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.35);
    line-height: 1.4;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 138, 0, 0.45);
    background: #e67e00;
}

.hero-btn-primary svg {
    transition: transform 0.25s ease;
}

.hero-btn-primary:hover svg {
    transform: translateX(3px);
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    background: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.hero-btn-ghost:hover {
    border-color: var(--color-navy);
    background: rgba(14, 20, 40, 0.04);
}

/* Social proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.proof-avatar:first-child {
    margin-left: 0;
}

.hero-proof-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 400;
}

.hero-proof-text strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Hero entrance animations */
.hero-anim-ready {
    opacity: 0;
    transform: translateY(28px);
}

.hero-anim-go {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-anim-1.hero-anim-go { transition-delay: 0.05s; }
.hero-anim-2.hero-anim-go { transition-delay: 0.15s; }
.hero-anim-3.hero-anim-go { transition-delay: 0.25s; }
.hero-anim-4.hero-anim-go { transition-delay: 0.35s; }
.hero-anim-5.hero-anim-go { transition-delay: 0.5s; }
.hero-anim-6.hero-anim-go { transition-delay: 0.6s; transform: translateY(0) perspective(1200px) rotateX(0deg); }

.hero-anim-6.hero-anim-ready {
    transform: translateY(60px) perspective(1200px) rotateX(4deg);
}

/* Badge dot pulse */
.hero-badge-dot {
    animation: badge-pulse 2s ease-in-out infinite;
}

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

/* CTA button shimmer */
.hero-btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: btn-shimmer 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes btn-shimmer {
    0% { left: -100%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* Social proof avatar pop-in */
.hero-anim-go .proof-avatar {
    animation: avatar-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-anim-go .proof-avatar:nth-child(1) { animation-delay: 0.6s; }
.hero-anim-go .proof-avatar:nth-child(2) { animation-delay: 0.68s; }
.hero-anim-go .proof-avatar:nth-child(3) { animation-delay: 0.76s; }
.hero-anim-go .proof-avatar:nth-child(4) { animation-delay: 0.84s; }
.hero-anim-go .proof-avatar:nth-child(5) { animation-delay: 0.92s; }

@keyframes avatar-pop {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

/* Notification dot pulse */
.pulse-dot {
    animation: notif-pulse 2s ease-in-out infinite;
}

@keyframes notif-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(255, 138, 0, 0); }
}

/* Mockup float */
.mockup-float {
    animation: mockup-hover 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes mockup-hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Mockup card pop-in */
.mockup-card-anim {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    animation: card-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--card-delay, 0.8s);
}

@keyframes card-pop {
    0% { opacity: 0; transform: translateY(12px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mockup row slide-in */
.mockup-row-anim {
    opacity: 0;
    transform: translateX(-16px);
    animation: row-slide 0.45s ease-out forwards;
    animation-delay: var(--row-delay, 1.2s);
}

@keyframes row-slide {
    0% { opacity: 0; transform: translateX(-16px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-anim-ready { opacity: 1; transform: none; }
    .hero-anim-go { transition: none; }
    .hero-badge-dot, .pulse-dot, .mockup-float { animation: none; }
    .hero-btn-primary::after { animation: none; display: none; }
    .mockup-card-anim, .mockup-row-anim { opacity: 1; transform: none; animation: none; }
    .hero-anim-go .proof-avatar { animation: none; opacity: 1; transform: none; }
    .hero-word { animation: none; transition: none; }
    .mockup-glow-border { animation: none; }
    .mockup-cursor { display: none; }
    .mockup-toast-wrap { display: none; }
    .mockup-trend-icon { opacity: 1; animation: none; }
    .mockup-spark-line { stroke-dashoffset: 0; animation: none; }
    .mockup-spark-area { opacity: 1; animation: none; }
    .mockup-ring-progress { stroke-dashoffset: 12.44; transition: none; }
    .mockup-mini-bars span { height: var(--bar-h); animation: none; }
    .mockup-score-bar { width: var(--sw); animation: none; }
    .mockup-notif-dropdown { display: none; }
    .mockup-toolbar::before { display: none; }
    .mockup-stat-num.bump { animation: none; }
    .mockup-table-row.row-flash { animation: none; }
    .mockup-confetti { display: none; }
    .how-step { opacity: 1; transform: none; transition: none; }
    .how-step-icon::after { animation: none !important; }
    .how-mini-preview { opacity: 1; transform: none; transition: none; }
    .how-card { transform: none !important; transition: none; }
    .hp-bar::after { width: 70%; transition: none; }
    .hp-score-bar { height: var(--bh); transition: none; }
    .hp-row { opacity: 1; transform: none; transition: none; }
}

/* Product preview mockup */
.hero-product-preview {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: -2rem auto 0;
    padding: 0 2rem 6rem;
}

.hero-mockup {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(14, 20, 40, 0.18), 0 8px 24px rgba(14, 20, 40, 0.08);
    border: 1px solid rgba(14, 20, 40, 0.1);
    background: #fff;
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 16px;
    background: #f8f9fb;
    border-bottom: 1px solid #e5e7eb;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-url {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #64748b;
    flex: 1;
    max-width: 300px;
}

.mockup-content {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 180px;
    background: #0e1428;
    padding: 16px 0;
    flex-shrink: 0;
}

.mockup-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.mockup-logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--color-orange);
}

.mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
}

.mockup-nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-left: 2px solid var(--color-orange);
}

.mockup-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.mockup-nav-item.active .mockup-nav-dot {
    background: var(--color-orange);
    opacity: 1;
}

.mockup-main {
    flex: 1;
    padding: 20px 24px;
    background: #f8f9fb;
}

.mockup-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mockup-greeting {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0e1428;
}

.mockup-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-notif {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
}

.mockup-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
}

.mockup-stat-card.accent {
    border-color: var(--color-orange);
    background: #fffbf5;
}

.mockup-stat-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0e1428;
    line-height: 1.2;
}

.mockup-stat-card.accent .mockup-stat-num {
    color: var(--color-orange);
}

.mockup-stat-label {
    display: block;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mockup-table {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.mockup-table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 0.8fr 1fr;
    padding: 10px 16px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
}

.mockup-table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 0.8fr 1fr;
    padding: 10px 16px;
    font-size: 0.75rem;
    color: #475569;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.mockup-table-row:last-child {
    border-bottom: none;
}

.mockup-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0e1428;
}

.mockup-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-score {
    font-weight: 700;
}

.mockup-score.high {
    color: #059669;
}

.mockup-score.mid {
    color: #94a3b8;
}

.mockup-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    width: fit-content;
}

.mockup-status.done {
    background: #ecfdf5;
    color: #059669;
}

.mockup-status.progress {
    background: #fffbeb;
    color: #d97706;
}

/* Mockup toast notifications */
.mockup-toast-wrap {
    position: absolute;
    bottom: 60px;
    right: 24px;
    z-index: 8;
    pointer-events: none;
}

.mockup-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-size: 0.65rem;
    color: #475569;
    opacity: 0;
    transform: translateX(20px) scale(0.95);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    right: 0;
}

.mockup-toast.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.mockup-toast-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-toast-icon.done { background: #dcfce7; color: #22c55e; }
.mockup-toast-icon.info { background: #dbeafe; color: #3b82f6; }
.mockup-toast-icon.warn { background: #fef3c7; color: #f59e0b; }
.mockup-toast-msg strong { color: #0e1428; }

/* Stat card top row with trend icon */
.mockup-stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mockup-trend-icon {
    opacity: 0;
    animation: trend-pop 0.4s ease forwards;
    animation-delay: 2s;
}

@keyframes trend-pop {
    0% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Sparkline in stat card */
.mockup-sparkline {
    width: 100%;
    height: 20px;
    margin-top: 6px;
    display: block;
}

.mockup-spark-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: spark-draw 1.5s ease forwards;
    animation-delay: 2s;
}

.mockup-spark-area {
    opacity: 0;
    animation: spark-fill 0.6s ease forwards;
    animation-delay: 3s;
}

@keyframes spark-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes spark-fill {
    to { opacity: 1; }
}

/* Progress ring for completion rate */
.mockup-ring-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
}

.mockup-ring {
    width: 100%;
    height: 100%;
}

.mockup-ring-progress {
    stroke-dasharray: 113.1;
    stroke-dashoffset: 113.1;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-ring-progress.animated {
    stroke-dashoffset: 12.44;
}

.mockup-ring-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
}

/* Mini bar chart in stat card */
.mockup-mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    margin-top: 6px;
}

.mockup-mini-bars span {
    flex: 1;
    background: rgba(14, 20, 40, 0.12);
    border-radius: 2px;
    height: 0;
    animation: bar-rise 0.5s ease forwards;
}

.mockup-mini-bars span:nth-child(4) {
    background: var(--color-orange);
}

.mockup-mini-bars span:nth-child(1) { animation-delay: 2s; }
.mockup-mini-bars span:nth-child(2) { animation-delay: 2.1s; }
.mockup-mini-bars span:nth-child(3) { animation-delay: 2.2s; }
.mockup-mini-bars span:nth-child(4) { animation-delay: 2.3s; }
.mockup-mini-bars span:nth-child(5) { animation-delay: 2.4s; }

@keyframes bar-rise {
    from { height: 0; }
    to { height: var(--bar-h); }
}

/* Score progress bar under score text */
.mockup-score {
    position: relative;
}

.mockup-score-bar {
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    width: 0;
    animation: score-grow 0.8s ease forwards;
    animation-delay: 2.2s;
}

@keyframes score-grow {
    to { width: var(--sw); }
}

/* Row highlight on cursor proximity */
.mockup-table-row[data-mockup-row] {
    transition: background 0.3s ease;
}

.mockup-table-row.row-glow {
    background: #f0f4ff;
}

/* 3D perspective tilt on hover */
.mockup-glow-border {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Notification dropdown */
.mockup-topbar-actions {
    position: relative;
}

.mockup-notif-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 185px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    padding: 5px 0;
    opacity: 0;
    transform: translateY(-6px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 15;
}

.mockup-notif-dropdown.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.notif-drop-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font-size: 0.55rem;
    color: #475569;
}

.notif-drop-item.new {
    background: #f0fdf4;
}

.notif-drop-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Typing cursor effect */
.mockup-greeting.typing::after {
    content: '|';
    animation: type-blink 0.7s step-end infinite;
    color: var(--color-orange);
    font-weight: 400;
    margin-left: 1px;
}

@keyframes type-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Status change row flash */
.mockup-table-row.row-flash {
    animation: row-flash-anim 1.5s ease;
}

@keyframes row-flash-anim {
    0% { background: #dcfce7; }
    100% { background: transparent; }
}

/* Confetti particles */
.mockup-confetti {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    pointer-events: none;
    z-index: 12;
    animation: confetti-burst 0.9s ease-out forwards;
}

@keyframes confetti-burst {
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(0); }
}

/* Top loading bar shimmer */
.mockup-toolbar {
    position: relative;
}

.mockup-toolbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), #f59e0b, var(--color-orange));
    background-size: 200% 100%;
    width: 0;
    border-radius: 0 1px 1px 0;
    z-index: 2;
}

.mockup-toolbar.loading::before {
    animation: load-bar 2.5s ease-out forwards, load-shimmer 1.5s ease-in-out infinite;
}

@keyframes load-bar {
    0% { width: 0; }
    15% { width: 35%; }
    50% { width: 65%; }
    80% { width: 92%; }
    100% { width: 100%; opacity: 0; }
}

@keyframes load-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Value bump animation */
.mockup-stat-num.bump {
    animation: num-bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes num-bump {
    0% { transform: translateY(0); }
    40% { transform: translateY(-4px); color: #22c55e; }
    100% { transform: translateY(0); }
}

/* Mockup responsive */
@media (max-width: 768px) {
    .mockup-sidebar { display: none; }
    .mockup-cursor { display: none; }
    .mockup-toast-wrap { display: none; }
    .mockup-notif-dropdown { display: none; }
    .mockup-sparkline { display: none; }
    .mockup-mini-bars { display: none; }
    .mockup-ring-wrap { width: 36px; height: 36px; }
    .mockup-ring-num { font-size: 0.55rem; }
    .hero-product-preview { padding: 0 1rem 4rem; margin-top: 0; }
    .mockup-content { min-height: 240px; }
    .mockup-stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .mockup-stat-num { font-size: 1rem; }
    .mockup-table-header,
    .mockup-table-row { grid-template-columns: 2fr 1fr 0.8fr 1fr; font-size: 0.65rem; }
    .mockup-name { font-size: 0.65rem; }
    .mockup-avatar { width: 20px; height: 20px; font-size: 0.5rem; }
    .hero-dot-grid { background-size: 24px 24px; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; }
    .hero-btn-primary, .hero-btn-ghost { width: 100%; justify-content: center; }
    .hero-social-proof { flex-direction: column; gap: 0.5rem; }
    .mockup-table-header span:nth-child(2),
    .mockup-table-row span:nth-child(2) { display: none; }
    .mockup-table-header,
    .mockup-table-row { grid-template-columns: 2fr 0.8fr 1fr; }
}

/* How It Works */
.how-it-works {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f5f7 50%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

/* Floating background shapes */
.how-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.how-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}
.how-bg-c1 { width: 400px; height: 400px; top: -120px; right: -100px; background: radial-gradient(circle, rgba(255,138,0,0.06) 0%, transparent 70%); }
.how-bg-c2 { width: 300px; height: 300px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%); }
.how-bg-c3 { width: 200px; height: 200px; top: 40%; left: 50%; background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%); }

.how-subhead {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin: 0.75rem auto 0;
    max-width: 520px;
    line-height: 1.6;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
    position: relative;
}

.how-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glass card */
.how-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem 1.25rem 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-step:hover .how-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(255, 138, 0, 0.3);
}

.how-step.active .how-card {
    border-color: rgba(255, 138, 0, 0.2);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.06);
}

/* Card glow effect */
.how-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 138, 0, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.how-step.active .how-card-glow,
.how-step:hover .how-card-glow {
    opacity: 1;
}

/* Badge — subtle inline tag below icon */
.how-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 138, 0, 0.07);
    color: var(--color-orange);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: static;
}

.how-step.active .how-badge {
    background: rgba(255, 138, 0, 0.12);
    color: var(--color-orange);
}

/* Icon wrapper */
.how-step-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.how-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff7ed;
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(255, 138, 0, 0.12);
}

.how-step:hover .how-step-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.15);
    border-color: rgba(255, 138, 0, 0.3);
}

.how-step.active .how-step-icon {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.25);
}

/* Pulse ring */
.how-step.active .how-step-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    border: 2px solid var(--color-orange);
    animation: how-pulse 0.8s ease-out forwards;
}

@keyframes how-pulse {
    0% { transform: scale(0.85); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* SVG icons — always visible, no draw animation */
.how-svg { display: block; }

.how-draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
}

/* Step number badge */
.how-step-num {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1.5px solid var(--color-orange);
    color: var(--color-orange);
    font-size: 0.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.how-step.active .how-step-num {
    background: var(--color-orange);
    color: #fff;
}

.how-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.4rem;
    transition: color 0.3s ease;
}

.how-step.active .how-step-title {
    color: var(--color-orange);
}

.how-step-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

/* Arrow connectors — hidden, cards convey sequence via numbering */
.how-arrow {
    display: none;
}

.how-arrow-svg,
.how-arrow-line,
.how-arrow-head {
    display: none;
}

/* ── Mini preview illustrations ── */
.how-mini-preview {
    width: 100%;
    height: 44px;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f3f5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.how-step.active .how-mini-preview {
    opacity: 1;
    transform: translateY(0);
}

/* Preview: Create Project — form bars + check */
.how-prev-create {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 85%;
}

.hp-bar {
    height: 4px;
    border-radius: 2px;
    background: #f1f3f5;
    position: relative;
    overflow: hidden;
}

.hp-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-orange), #f59e0b);
    transition: width 0.6s ease;
}

.how-step.active .hp-bar-1::after { width: 90%; transition-delay: 0.3s; }
.how-step.active .hp-bar-2::after { width: 65%; transition-delay: 0.5s; }
.how-step.active .hp-bar-3::after { width: 80%; transition-delay: 0.7s; }

.hp-check {
    position: absolute;
    right: 2px;
    bottom: 2px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1s;
}

.how-step.active .hp-check {
    opacity: 1;
    transform: scale(1);
}

/* Preview: Invite — envelope + send dots */
.how-prev-invite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hp-envelope {
    width: 24px;
    height: 16px;
    position: relative;
}

.hp-env-body {
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--color-orange);
    border-radius: 2px;
    background: #fff7ed;
}

.hp-env-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 8px solid var(--color-orange);
    transform-origin: top center;
    transition: transform 0.4s ease 0.4s;
}

.how-step.active .hp-env-flap {
    transform: rotateX(180deg);
}

.hp-send-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-orange);
    opacity: 0;
}

.how-step.active .hp-sd-1 { animation: send-dot 0.6s ease 0.6s forwards; }
.how-step.active .hp-sd-2 { animation: send-dot 0.6s ease 0.8s forwards; }
.how-step.active .hp-sd-3 { animation: send-dot 0.6s ease 1s forwards; }

@keyframes send-dot {
    0% { opacity: 0; transform: translateX(-6px) scale(0); }
    50% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0.3; transform: translateX(4px) scale(0.6); }
}

/* Preview: Auto-score — growing bars */
.how-prev-score {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 36px;
    padding: 0 12%;
    width: 100%;
}

.hp-score-bar {
    flex: 1;
    height: 0;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(0deg, var(--color-orange), #f59e0b);
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-step.active .hp-score-bar {
    height: var(--bh);
    transition-delay: calc(var(--i, 0) * 0.1s + 0.3s);
}

.hp-score-bar:nth-child(1) { --i: 0; }
.hp-score-bar:nth-child(2) { --i: 1; }
.hp-score-bar:nth-child(3) { --i: 2; }
.hp-score-bar:nth-child(4) { --i: 3; }
.hp-score-bar:nth-child(5) { --i: 4; }

/* Preview: Decide — candidate rows */
.how-prev-decide {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 90%;
}

.hp-row {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s ease;
}

.how-step.active .hp-row-1 { opacity: 1; transform: translateX(0); transition-delay: 0.3s; }
.how-step.active .hp-row-2 { opacity: 1; transform: translateX(0); transition-delay: 0.5s; }
.how-step.active .hp-row-3 { opacity: 1; transform: translateX(0); transition-delay: 0.7s; }

.hp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-lbl {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #edf0f3;
}

.hp-tag {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hp-tag.yes { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.hp-tag.maybe { background: rgba(245, 158, 11, 0.1); color: #d97706; }

/* Suite Section */
.suite-v2 {
    padding: 6rem 2rem;
    background: #fafafa;
}

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

.suite-card-v2 {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.suite-card-v2:hover {
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.suite-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.suite-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
    flex-shrink: 0;
}

.suite-card-icon.accent-marketing { background: rgba(14, 116, 144, 0.08); color: #0f766e; }
.suite-card-icon.accent-product { background: rgba(78, 63, 156, 0.08); color: #4f3f9c; }
.suite-card-icon.accent-behavioral { background: rgba(234, 88, 12, 0.08); color: #c2410c; }
.suite-card-icon.accent-ux_design { background: rgba(168, 85, 247, 0.08); color: #7c3aed; }
.suite-card-icon.accent-hr { background: rgba(236, 72, 153, 0.08); color: #db2777; }
.suite-card-icon.accent-finance { background: rgba(34, 197, 94, 0.08); color: #16a34a; }

.suite-card-duration {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.suite-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.suite-card-summary {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    flex: 1;
}

.suite-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-orange);
    transition: gap var(--transition-base);
}

.suite-card-v2:hover .suite-card-link {
    gap: 0.6rem;
}

/* Outcomes Section */
/* Social Proof — stats strip + testimonials */
.social-proof {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--color-bg-body) 0%, #f8f9fb 100%);
}

.stats-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 3.5rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 2.5rem 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 3rem;
    flex: 1;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
    flex-shrink: 0;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-dim {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.stat-lbl {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.testimonial-card-v2 {
    background: var(--color-white);
    padding: 2rem 2.2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1.2rem;
    color: #f59e0b;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-navy);
    margin: 0 0 1.2rem;
    font-style: normal;
    flex: 1;
}

.testimonial-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: #f0fdf4;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.testimonial-metric svg {
    flex-shrink: 0;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f1f5f9;
    justify-content: flex-start;
}

.testimonial-card-v2 .testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    margin: 0;
}

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

.testimonial-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0.1rem 0 0;
}

/* Pricing V2 — Clean minimal cards */
.pricing-v2 {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f5f7 50%, #fafbfc 100%);
    position: relative;
}

.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* ── Base card ── */
.price-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* ── Popular card emphasis ── */
.price-card--popular {
    border-color: var(--color-orange);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.price-card--popular:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 138, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--color-orange);
}

/* ── Ribbon ── */
.price-card-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-orange), #e07800);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 1.1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.3);
    white-space: nowrap;
}

/* ── Card top (name, price, limits) ── */
.price-card-top {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 1.5rem;
}

.price-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.price-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-card--popular .price-amount {
    color: var(--color-orange);
}

.price-freq {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.price-card-limits {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Feature list ── */
.price-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.price-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-navy);
    line-height: 1.45;
}

.price-card-features svg {
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 2px;
}

/* ── CTA button ── */
.price-card-cta {
    display: block;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1.5px solid #e5e7eb;
    color: var(--color-navy);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card-cta:hover {
    border-color: var(--color-navy);
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 20, 40, 0.15);
}

.price-card-cta--filled {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.25);
}

.price-card-cta--filled:hover {
    background: #e07800;
    border-color: #e07800;
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.3);
}

/* ── Footnote ── */
.pricing-footnote-v2 {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

/* ── Trust badges row ── */
.pricing-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.pricing-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pricing-trust-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .pricing-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .price-card--popular {
        order: -1;
    }

    .pricing-trust {
        gap: 1rem;
    }
}

/* Final CTA — clean two-column layout */
.final-cta {
    padding: 5rem 2rem;
    background: #fafafa;
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.final-cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 1rem;
    line-height: 1.15;
}

.final-cta-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.final-cta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.final-cta-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
}

.final-cta-list svg {
    color: var(--color-orange);
    flex-shrink: 0;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--transition-base), transform var(--transition-base);
}

.final-cta-btn:hover {
    background: #e07800;
    transform: translateY(-2px);
}

/* ── Form card wrapper ── */
.final-cta-form-wrap {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.07);
    border: 1px solid #f1f3f5;
    position: relative;
    overflow: hidden;
}

/* Accent bar at top of card */
.final-cta-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), #f59e0b, var(--color-orange));
    border-radius: 20px 20px 0 0;
}

.final-cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* ── Form header with icon ── */
.form-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.25rem;
}

.form-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff7ed;
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 138, 0, 0.12);
}

.final-cta-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.2rem;
    letter-spacing: -0.01em;
}

.form-header-sub {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ── Form grid ── */
.final-cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── Labels ── */
.final-cta-form label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Inputs, selects, textareas ── */
.final-cta-form input,
.final-cta-form select,
.final-cta-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--color-navy);
    background: #fafbfc;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.final-cta-form input:hover,
.final-cta-form select:hover,
.final-cta-form textarea:hover {
    border-color: #d1d5db;
}

.final-cta-form input:focus,
.final-cta-form select:focus,
.final-cta-form textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.final-cta-form input::placeholder,
.final-cta-form textarea::placeholder {
    color: #b0b7c3;
}

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

.final-cta-form select:focus {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff8a00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Placeholder-like color for unselected option */
.final-cta-form select:invalid,
.final-cta-form select option[value=""] {
    color: #b0b7c3;
}

.final-cta-form select option {
    color: var(--color-navy);
    background: var(--color-white);
    padding: 0.5rem;
}

.final-cta-form textarea {
    min-height: 72px;
    resize: vertical;
}

/* ── Submit button ── */
.final-cta-submit {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--color-orange), #e07800);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.35rem;
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.final-cta-submit:hover {
    background: linear-gradient(135deg, #e07800, #c96800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.3);
}

.final-cta-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.2);
}

/* ── Trust line under button ── */
.form-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin: 0;
    text-align: center;
}

.form-trust-line svg {
    color: #22c55e;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .final-cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .final-cta-form .form-row {
        grid-template-columns: 1fr;
    }

    .final-cta-form-wrap {
        padding: 2rem 1.5rem;
    }
}

/* Animated Decorative Orbs — glowing gradient circles */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

.hero-shape {
    transition: transform 0.3s ease-out;
}

.orb-one {
    width: 520px;
    height: 520px;
    top: -140px;
    left: -80px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 158, 44, 0.28), rgba(255, 200, 120, 0.08) 70%, transparent);
    filter: blur(40px);
}

.orb-two {
    width: 440px;
    height: 440px;
    bottom: -100px;
    right: -60px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 138, 0, 0.24), rgba(255, 180, 80, 0.06) 70%, transparent);
    filter: blur(35px);
}

.orb-three {
    width: 280px;
    height: 280px;
    top: 30%;
    right: 5%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 170, 60, 0.20), rgba(255, 200, 120, 0.04) 70%, transparent);
    filter: blur(30px);
}

.orb-four {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 3%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 148, 20, 0.22), rgba(255, 190, 100, 0.05) 70%, transparent);
    filter: blur(25px);
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -25px) scale(1.05); }
    50% { transform: translate(-20px, 35px) scale(0.95); }
    75% { transform: translate(30px, 15px) scale(1.02); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-35px, 20px) scale(1.06); }
    50% { transform: translate(40px, -30px) scale(0.94); }
    75% { transform: translate(-25px, -15px) scale(1.03); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, 35px) scale(1.08); }
    50% { transform: translate(-30px, -15px) scale(0.96); }
    75% { transform: translate(15px, -25px) scale(1.04); }
}

@keyframes float-orb-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-28px, -30px) scale(1.07); }
    50% { transform: translate(35px, 20px) scale(0.93); }
    75% { transform: translate(-15px, 25px) scale(1.05); }
}

/* Floating Animated Shapes */
.hero-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.shape-circle-outline {
    border-radius: 50%;
    border: 2px solid rgba(255, 158, 44, 0.25);
    background: transparent;
}

.shape-dot {
    border-radius: 50%;
    background: rgba(255, 148, 20, 0.35);
}

.shape-ring {
    border-radius: 50%;
    border: 2px solid rgba(14, 20, 40, 0.08);
    background: transparent;
}

/* Individual shape positions & sizes */
.shape-1 {
    width: 44px;
    height: 44px;
    top: 18%;
    left: 8%;
    animation: drift-1 14s ease-in-out infinite;
}

.shape-2 {
    width: 10px;
    height: 10px;
    top: 28%;
    right: 12%;
    animation: drift-2 11s ease-in-out infinite;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 6%;
    animation: drift-3 16s ease-in-out infinite;
}

.shape-4 {
    width: 8px;
    height: 8px;
    top: 55%;
    left: 15%;
    animation: drift-4 9s ease-in-out infinite;
}

.shape-5 {
    width: 32px;
    height: 32px;
    bottom: 18%;
    right: 18%;
    animation: drift-5 13s ease-in-out infinite;
}

.shape-6 {
    width: 6px;
    height: 6px;
    top: 15%;
    right: 25%;
    animation: drift-6 10s ease-in-out infinite;
}

.shape-7 {
    width: 48px;
    height: 48px;
    bottom: 22%;
    left: 10%;
    animation: drift-7 15s ease-in-out infinite;
}

.shape-8 {
    width: 12px;
    height: 12px;
    top: 40%;
    left: 30%;
    animation: drift-8 12s ease-in-out infinite;
}

@keyframes drift-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; }
    25% { transform: translate(30px, -20px) rotate(45deg); opacity: 1; }
    50% { transform: translate(-15px, 30px) rotate(90deg); opacity: 0.5; }
    75% { transform: translate(20px, 10px) rotate(135deg); opacity: 0.8; }
}

@keyframes drift-2 {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    33% { transform: translate(-25px, 35px); opacity: 1; }
    66% { transform: translate(20px, -15px); opacity: 0.4; }
}

@keyframes drift-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    25% { transform: translate(-20px, -25px) rotate(-30deg); opacity: 0.8; }
    50% { transform: translate(25px, 15px) rotate(-60deg); opacity: 0.4; }
    75% { transform: translate(-10px, 30px) rotate(-90deg); opacity: 0.7; }
}

@keyframes drift-4 {
    0%, 100% { transform: translate(0, 0); opacity: 0.8; }
    33% { transform: translate(35px, -25px); opacity: 0.4; }
    66% { transform: translate(-20px, 20px); opacity: 1; }
}

@keyframes drift-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    33% { transform: translate(20px, 25px) rotate(60deg); opacity: 0.9; }
    66% { transform: translate(-25px, -10px) rotate(120deg); opacity: 0.4; }
}

@keyframes drift-6 {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(-30px, 25px); opacity: 1; }
}

@keyframes drift-7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    25% { transform: translate(15px, -30px) rotate(40deg); opacity: 0.7; }
    50% { transform: translate(-25px, -10px) rotate(80deg); opacity: 0.3; }
    75% { transform: translate(20px, 20px) rotate(120deg); opacity: 0.6; }
}

@keyframes drift-8 {
    0%, 100% { transform: translate(0, 0); opacity: 0.7; }
    33% { transform: translate(-20px, -30px); opacity: 0.3; }
    66% { transform: translate(30px, 15px); opacity: 1; }
}

/* Hide smaller shapes on mobile */
@media (max-width: 640px) {
    .shape-3, .shape-5, .shape-7 {
        display: none;
    }
}

/* ========================================================================
   AUTH COMMON PANELS
   ======================================================================== */

.auth-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.auth-panel {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.auth-icon--error {
    background: #fef2f2;
    color: var(--color-error);
}

.auth-icon--warning {
    background: #fff3e0;
    color: #ef6c00;
}

.auth-panel h1 {
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: var(--color-navy);
}

.auth-panel .lede {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.auth-panel .lede.inactive {
    margin-bottom: 2rem;
}

.error-reasons {
    text-align: left;
    background: var(--color-bg-muted);
    border-radius: var(--radius-md);
    padding: 1rem 1rem 1rem 2rem;
    margin: 0 0 2rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.error-reasons li {
    margin-bottom: 0.5rem;
}

.error-reasons li:last-child {
    margin-bottom: 0;
}

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

.auth-actions .btn {
    min-width: 140px;
}

.auth-help {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.auth-help a {
    color: var(--color-orange);
    font-weight: 600;
}

.auth-troubleshooting {
    text-align: left;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
}

.auth-troubleshooting__title {
    font-weight: 700;
    color: #92400e;
    margin: 0 0 0.5rem;
}

.auth-troubleshooting__hint,
.auth-troubleshooting__url,
.auth-troubleshooting__steps {
    color: #78350f;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.auth-troubleshooting code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    word-break: break-all;
}

.auth-error-summary {
    font-size: 0.9375rem;
    color: #b91c1c;
    background: #fef2f2;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    word-break: break-word;
}

.auth-debug {
    font-size: 0.8125rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    word-break: break-all;
}

/* ========================================================================
   BLOG - SHARE BUTTONS
   ======================================================================== */

/* Homepage & Auth Responsive */
@media (max-width: 900px) {
    .hero-v2 {
        padding: 7rem 1.5rem 5rem;
    }

    .hero-v2 .hero-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .hero-v2 .hero-subtitle {
        font-size: 1.1rem;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .how-arrow {
        display: none;
    }

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

    .stats-strip {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .stat-block {
        padding: 0;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .testimonials-v2 {
        grid-template-columns: 1fr;
    }

    .orb-three,
    .orb-four {
        display: none;
    }

    .orb-one {
        width: 350px;
        height: 350px;
    }

    .orb-two {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 640px) {
    .hero-v2 {
        padding: 5rem 1rem 4rem;
    }

    .hero-v2 .hero-title {
        font-size: 2rem;
    }

    .hero-v2 .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 0.5rem;
    }

    .orb-one {
        width: 250px;
        height: 250px;
    }

    .orb-two {
        width: 220px;
        height: 220px;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .how-arrow { display: none; }

    .suite-grid-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auth-panel {
        padding: 2rem 1.5rem;
    }

    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }

}

/* Footer V2 — small screen */
@media (max-width: 640px) {
    .footer-main {
        padding: 2.5rem 1.25rem 2rem;
    }

    .footer-main-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-nav-v2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .footer-subscribe-field {
        flex-direction: column;
        border-radius: 10px;
    }

    .footer-subscribe-field input {
        padding: 0.7rem 0.85rem;
    }

    .footer-subscribe-field button {
        padding: 0.7rem;
    }

    .footer-bar-inner {
        padding: 1rem 1.25rem;
    }
}

/* ========================================================================
   ANNOUNCEMENT BANNER
   ======================================================================== */

.announce-bar {
    background: linear-gradient(135deg, #0e1428, #1a2340);
    color: #fff;
    padding: 0.65rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.announce-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    color: #fff;
    line-height: 1.5;
}

.announce-text {
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0.95;
}

.announce-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff8a00;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.announce-link:hover {
    gap: 0.55rem;
}

@media (max-width: 600px) {
    .announce-bar { padding: 0.6rem 1rem; }
    .announce-text { font-size: 0.8rem; }
    .announce-link { display: none; }
}

/* ========================================================================
   AI PIPELINE SHOWCASE SECTION
   ======================================================================== */

.ai-showcase {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fffdf8 0%, #fff7ed 50%, #fffdf8 100%);
    position: relative;
    overflow: hidden;
}

.ai-showcase::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 138, 0, 0.04);
    pointer-events: none;
}

.ai-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0.06));
    color: #ff8a00;
    border: 1px solid rgba(255, 138, 0, 0.2);
    margin-bottom: 1.25rem;
}

.ai-showcase-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #0e1428;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.ai-showcase-desc {
    font-size: 1.05rem;
    color: #5b647b;
    line-height: 1.7;
    margin: 0 0 2rem;
}

.ai-showcase-modes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ai-showcase-mode {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: 12px;
}

.ai-showcase-mode svg {
    color: #ff8a00;
    flex-shrink: 0;
}

.ai-showcase-mode strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0e1428;
}

.ai-showcase-mode span {
    font-size: 0.8rem;
    color: #5b647b;
}

.ai-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
    box-shadow: 0 2px 12px rgba(255, 138, 0, 0.25);
}

.ai-showcase-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.35);
    gap: 0.75rem;
}

/* Right column: vertical steps */

.ai-showcase-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.ai-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    position: relative;
}

.ai-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: calc(1.5rem + 46px);
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 138, 0, 0.3), rgba(255, 138, 0, 0.08));
}

.ai-step-num {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.1), rgba(255, 138, 0, 0.04));
    border: 1px solid rgba(255, 138, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8a00;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ai-step-content {
    flex: 1;
    padding-top: 0.15rem;
}

.ai-step-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff8a00;
    margin-bottom: 0.25rem;
    display: block;
}

.ai-step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0e1428;
    margin: 0 0 0.3rem;
}

.ai-step-desc {
    font-size: 0.88rem;
    color: #5b647b;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 900px) {
    .ai-showcase { padding: 4rem 1.5rem; }
    .ai-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ai-showcase-title { font-size: 2rem; }
}

@media (max-width: 600px) {
    .ai-showcase-title { font-size: 1.65rem; }
    .ai-showcase-desc { font-size: 0.95rem; }
    .ai-showcase-modes { gap: 0.5rem; }
}


/* ═══════════════════════════════════════════════════
   AI HIRING PAGE — /ai-hiring/
   ═══════════════════════════════════════════════════ */

.aih-main { padding-top: 0; }

/* ── Hero ── */
.aih-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
    background: linear-gradient(165deg, #0e1428 0%, #1a2240 50%, #0e1428 100%);
    color: var(--color-white);
}
.aih-hero-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.aih-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.aih-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.aih-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.25rem;
}
.aih-accent {
    background: linear-gradient(90deg, var(--color-orange), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.aih-hero-sub {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
    max-width: 520px;
}
.aih-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.aih-cta-primary {
    background: linear-gradient(135deg, var(--color-orange), #e67a00) !important;
    color: var(--color-white) !important;
    padding: 0.85rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(255, 138, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.aih-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 138, 0, 0.4);
}
.aih-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.aih-cta-secondary:hover {
    color: var(--color-orange);
}
.aih-hero-stats {
    display: flex;
    gap: 2.5rem;
}
.aih-hero-stat {
    display: flex;
    flex-direction: column;
}
.aih-hero-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-orange);
}
.aih-hero-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.15rem;
}

/* ── Hero Mockup ── */
.aih-hero-visual {
    display: flex;
    justify-content: center;
}
.aih-hero-mockup {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(20px);
}
.aih-mock-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aih-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.aih-mock-title {
    margin-left: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}
.aih-mock-body {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.aih-mock-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: aih-slide-in 0.5s ease both;
}
.aih-mock-c1 { animation-delay: 0.3s; }
.aih-mock-c2 { animation-delay: 0.6s; }
.aih-mock-c3 { animation-delay: 0.9s; }
.aih-mock-c4 { animation-delay: 1.2s; }

@keyframes aih-slide-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}
.aih-mock-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 138, 0, 0.15);
    color: var(--color-orange);
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.aih-mock-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.aih-mock-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-white);
}
.aih-mock-score {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}
.aih-mock-score strong {
    color: rgba(255, 255, 255, 0.8);
}
.aih-mock-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.aih-tag-advance { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.aih-tag-assess { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.aih-tag-review { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.aih-tag-reject { background: rgba(239, 68, 68, 0.12); color: #ef4444; }

/* ── Trust Bar ── */
.aih-trust-bar {
    padding: 2rem 0;
    background: #f8f9fb;
    border-bottom: 1px solid rgba(14, 20, 40, 0.06);
}
.aih-trust-label {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 1rem;
}
.aih-trust-logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.aih-trust-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}
.aih-trust-logo svg {
    color: var(--color-orange);
}

/* ── How It Works ── */
.aih-how {
    padding: 5rem 0;
}
.aih-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}
.aih-step {
    position: relative;
    text-align: center;
    padding: 0 1.25rem;
}
.aih-step-connector {
    display: none;
}
.aih-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), rgba(255, 138, 0, 0.2));
}
.aih-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.2), var(--color-orange));
}
.aih-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-orange), #e67a00);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.25);
}
.aih-step-num {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
    display: block;
}
.aih-step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}
.aih-step-body p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 0.75rem;
}
.aih-step-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}
.aih-step-detail span {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
}

/* ── Automation Modes ── */
.aih-modes {
    padding: 5rem 0;
    background: #f8f9fb;
}
.aih-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.aih-mode-card {
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}
.aih-mode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 20, 40, 0.08);
}
.aih-mode-card--featured {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 1px var(--color-orange), 0 8px 24px rgba(255, 138, 0, 0.1);
}
.aih-mode-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.aih-mode-card--featured .aih-mode-icon {
    background: linear-gradient(135deg, var(--color-orange), #e67a00);
    color: var(--color-white);
}
.aih-mode-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.25rem;
}
.aih-mode-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-orange);
    margin: 0 0 0.75rem;
}
.aih-mode-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 1.25rem;
}
.aih-mode-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.aih-mode-checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #374151;
}
.aih-mode-checks li svg {
    color: #22c55e;
    flex-shrink: 0;
}
.aih-mode-card--featured .aih-mode-checks li svg {
    color: var(--color-orange);
}
.aih-mode-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(14, 20, 40, 0.05);
    color: #6b7280;
}
.aih-mode-card--featured .aih-mode-tag {
    background: rgba(255, 138, 0, 0.1);
    color: var(--color-orange);
}

/* ── Features Grid ── */
.aih-features {
    padding: 5rem 0;
}
.aih-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.aih-feat-card {
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(14, 20, 40, 0.06);
    background: var(--color-white);
    transition: transform 0.25s, box-shadow 0.25s;
}
.aih-feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 20, 40, 0.06);
}
.aih-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 138, 0, 0.08);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.aih-feat-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}
.aih-feat-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ── Pipeline Flow Visual (animated) ── */
.aih-pipeline-visual {
    padding: 5rem 0;
    background: #f8f9fb;
}
.aih-pipeline-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    overflow-x: auto;
    padding: 1.5rem 0 1rem;
    position: relative;
}

/* ── Nodes start dimmed ── */
.aih-pipe-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
    position: relative;
}
.aih-pipe-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #d1d5db;
    background: #e5e7eb;
    position: relative;
    z-index: 2;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ripple ring behind the dot */
.aih-pipe-ring {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    z-index: 1;
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
}

/* Labels start invisible */
.aih-pipe-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.aih-pipe-checkpoint {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease 0.15s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}

/* ── Lit state — node activated ── */
.aih-pipe-lit .aih-pipe-dot {
    transform: scale(1.15);
}
.aih-pipe-lit .aih-pipe-label {
    opacity: 1;
    transform: translateY(0);
}
.aih-pipe-lit .aih-pipe-checkpoint {
    opacity: 1;
    transform: scale(1);
}
.aih-pipe-lit .aih-pipe-ring {
    animation: aih-ring-ripple 0.7s ease-out forwards;
}

/* Color overrides when lit */
.aih-pipe-stage--start.aih-pipe-lit .aih-pipe-dot { border-color: #6b7280; background: #6b7280; }
.aih-pipe-stage--start.aih-pipe-lit .aih-pipe-ring { border-color: rgba(107, 114, 128, 0.4); }
.aih-pipe-stage--ai.aih-pipe-lit .aih-pipe-dot { border-color: var(--color-orange); background: var(--color-orange); }
.aih-pipe-stage--ai.aih-pipe-lit .aih-pipe-ring { border-color: rgba(255, 138, 0, 0.4); }
.aih-pipe-stage--human.aih-pipe-lit .aih-pipe-dot { border-color: #3b82f6; background: #3b82f6; }
.aih-pipe-stage--human.aih-pipe-lit .aih-pipe-ring { border-color: rgba(59, 130, 246, 0.4); }
.aih-pipe-stage--wait.aih-pipe-lit .aih-pipe-dot { border-color: #9ca3af; background: var(--color-white); }
.aih-pipe-stage--wait.aih-pipe-lit .aih-pipe-ring { border-color: rgba(156, 163, 175, 0.3); }
.aih-pipe-stage--end.aih-pipe-lit .aih-pipe-dot { border-color: #22c55e; background: #22c55e; }
.aih-pipe-stage--end.aih-pipe-lit .aih-pipe-ring { border-color: rgba(34, 197, 94, 0.4); }

@keyframes aih-ring-ripple {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.5); }
}

/* ── Arrows start invisible, grow on activation ── */
.aih-pipe-arrow {
    width: 32px;
    height: 2px;
    background: #e5e7eb;
    margin-top: 9px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.aih-pipe-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-orange), #3b82f6);
    transition: width 0.35s ease;
}
.aih-arrow-lit::after {
    width: 100%;
}

/* ── Traveling pulse particle ── */
.aih-pipe-pulse {
    position: absolute;
    top: 9px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 0 12px rgba(255, 138, 0, 0.6), 0 0 24px rgba(255, 138, 0, 0.3);
    z-index: 3;
    opacity: 0;
    transform: translateY(-3px);
    pointer-events: none;
}
.aih-pulse-go {
    animation: aih-pulse-travel 2s ease-in-out forwards;
}
@keyframes aih-pulse-travel {
    0% { left: 2%; opacity: 1; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 98%; opacity: 0; }
}

/* ── Legend fades in ── */
.aih-pipe-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.aih-legend-visible {
    opacity: 1;
    transform: translateY(0);
}
.aih-pipe-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #6b7280;
}
.aih-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.aih-legend-ai { background: var(--color-orange); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .aih-pipe-dot { background: revert; border-color: revert; }
    .aih-pipe-label { opacity: 1; transform: none; }
    .aih-pipe-checkpoint { opacity: 1; transform: none; }
    .aih-pipe-arrow::after { width: 100%; }
    .aih-pipe-legend { opacity: 1; transform: none; }
    .aih-pipe-pulse { display: none; }
    .aih-pipe-ring { display: none; }
}
.aih-legend-human { background: #3b82f6; }
.aih-legend-wait { border: 2px solid #d1d5db; background: var(--color-white); }

/* ── Resume Screening Section ── */
.aih-screening {
    padding: 5rem 0;
}
.aih-screening-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.aih-screening-text .eyebrow {
    margin-bottom: 0.75rem;
}
.aih-screening-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin: 0 0 1rem;
}
.aih-screening-text > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0 0 1.5rem;
}
.aih-screening-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.aih-screening-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #374151;
}
.aih-screening-list svg {
    color: #22c55e;
    flex-shrink: 0;
}
.aih-screening-card {
    display: flex;
    justify-content: center;
}
.aih-screen-result {
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 32px rgba(14, 20, 40, 0.06);
    position: relative;
    overflow: hidden;
}

/* ── Scan overlay ── */
.aih-scan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.aih-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
    box-shadow: 0 0 16px rgba(255, 138, 0, 0.4);
    top: 0;
    opacity: 0;
}
.aih-scan-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-orange);
    opacity: 0;
}
.aih-scan-text svg {
    animation: aih-spin 1s linear infinite;
}
@keyframes aih-spin {
    to { transform: rotate(360deg); }
}

/* Scanning active */
.aih-scanning .aih-scan-line {
    opacity: 1;
    animation: aih-scan-sweep 1.4s ease-in-out forwards;
}
.aih-scanning .aih-scan-text {
    opacity: 1;
    animation: aih-fade-in 0.3s ease both;
}
@keyframes aih-scan-sweep {
    0% { top: 0; }
    50% { top: calc(100% - 3px); }
    100% { top: 0; }
}
@keyframes aih-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scan done — fade out overlay */
.aih-scan-done {
    opacity: 0;
    pointer-events: none;
}

/* ── Header & score ring (hidden until revealed) ── */
.aih-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.aih-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.aih-screen-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-orange);
    background: rgba(255, 138, 0, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
}

/* Score ring */
.aih-score-ring-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.aih-score-ring {
    width: 100%;
    height: 100%;
}
.aih-ring-bg {
    stroke: #e5e7eb;
}
.aih-ring-fill {
    stroke: #22c55e;
    transition: stroke-dashoffset 1.2s ease-out;
}
.aih-score-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
}
.aih-score-max {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 55%);
    font-size: 0.65rem;
    font-weight: 600;
    color: #9ca3af;
}

/* ── Typewriter summary ── */
.aih-screen-summary {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    min-height: 82px;
    position: relative;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.aih-tw-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.aih-screen-summary p {
    font-size: 0.82rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
    font-style: italic;
    display: inline;
}
.aih-cursor {
    display: inline;
    font-style: normal;
    font-weight: 300;
    color: var(--color-orange);
    opacity: 0;
    margin-left: 1px;
}
.aih-cursor-blink {
    opacity: 1;
    animation: aih-blink 0.6s step-end infinite;
}
.aih-cursor-hide {
    animation: none;
    opacity: 0;
}
@keyframes aih-blink {
    50% { opacity: 0; }
}

/* ── Skills (hidden, pop in) ── */
.aih-screen-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.aih-skill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    opacity: 0;
    transform: scale(0.5) translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.aih-skill-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.aih-skill--match {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}
.aih-skill--missing {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

/* ── Verdict badge (hidden, bounces in) ── */
.aih-screen-action {
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.aih-verdict-visible {
    opacity: 1;
    transform: scale(1);
}
.aih-screen-rec {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.aih-rec-advance {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}
.aih-verdict-visible .aih-rec-advance {
    animation: aih-verdict-pulse 0.6s ease 0.3s;
}
@keyframes aih-verdict-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Reduced motion: skip animations */
@media (prefers-reduced-motion: reduce) {
    .aih-scan-overlay { display: none; }
    .aih-screen-header { opacity: 1; transform: none; }
    .aih-screen-summary { opacity: 1; transform: none; }
    .aih-skill { opacity: 1; transform: none; }
    .aih-screen-action { opacity: 1; transform: none; }
    .aih-ring-fill { stroke-dashoffset: 17.1 !important; transition: none; }
    .aih-cursor { display: none; }
}

/* ── Assessment Integration ── */
.aih-integration {
    padding: 5rem 0;
    background: #f8f9fb;
}
.aih-assess-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.aih-assess-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    background: var(--color-white);
    border: 1px solid rgba(14, 20, 40, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.aih-assess-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 20, 40, 0.06);
}
.aih-assess-item svg {
    color: var(--color-orange);
}
.aih-assess-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-navy);
}

/* ── FAQ ── */
.aih-faq {
    padding: 5rem 0;
}
.aih-faq-list {
    max-width: 720px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.aih-faq-item {
    border: 1px solid rgba(14, 20, 40, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.aih-faq-item[open] {
    border-color: rgba(255, 138, 0, 0.3);
}
.aih-faq-item summary {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.aih-faq-item summary::-webkit-details-marker { display: none; }
.aih-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: #9ca3af;
    transition: transform 0.2s;
}
.aih-faq-item[open] summary::after {
    content: '\2212';
    color: var(--color-orange);
}
.aih-faq-item p {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* ── Final CTA ── */
.aih-final-cta {
    padding: 5rem 0;
    background: linear-gradient(165deg, #0e1428, #1a2240);
    color: var(--color-white);
    text-align: center;
}
.aih-final-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}
.aih-final-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.aih-final-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.aih-final-actions .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
}
.aih-final-actions .btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .aih-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .aih-hero-title { font-size: 2.5rem; }
    .aih-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .aih-step:not(:last-child)::after,
    .aih-step:not(:first-child)::before { display: none; }
    .aih-modes-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .aih-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .aih-screening-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .aih-assess-grid { grid-template-columns: repeat(3, 1fr); }
    .aih-pipeline-flow { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .aih-hero { padding: 5rem 0 3.5rem; }
    .aih-hero-title { font-size: 2rem; }
    .aih-hero-sub { font-size: 0.95rem; }
    .aih-hero-stats { gap: 1.5rem; }
    .aih-hero-stat-val { font-size: 1.25rem; }
    .aih-steps { grid-template-columns: 1fr; }
    .aih-feat-grid { grid-template-columns: 1fr; }
    .aih-assess-grid { grid-template-columns: repeat(2, 1fr); }
    .aih-final-content h2 { font-size: 1.75rem; }
    .aih-final-actions { flex-direction: column; align-items: center; }
    .aih-pipe-legend { flex-direction: column; align-items: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .aih-hero { padding: 4rem 0 3rem; }
    .aih-hero-title { font-size: 1.65rem; }
    .aih-hero-actions { flex-direction: column; align-items: flex-start; }
    .aih-hero-stats { flex-direction: column; gap: 1rem; }
    .aih-hero-mockup { max-width: 100%; }
    .aih-trust-logos { flex-direction: column; align-items: center; gap: 0.75rem; }
    .aih-assess-grid { grid-template-columns: 1fr; }
}
