/* Editorial presentation: shared PNG art, quiet surfaces and a clearer reading rhythm. */
.crm-page { overflow-wrap: anywhere; }
.crm-page h1 { font-size: clamp(32px, 4vw, 48px); }
.crm-stages { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.crm-stages a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: 8px; }
.crm-stages [aria-current] { background: var(--color-primary-dark); color: white; }
.crm-search { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; }
.crm-search > div { flex: 1 1 220px; min-width: 0; }
.crm-search label { margin-top: 0; }
.crm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.crm-row h2 { margin-top: 16px; }
.crm-row p { margin-bottom: 6px; }
.crm-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
.crm-detail-grid > div, .crm-detail-grid .panel { min-width: 0; }
.crm-detail-grid form + form { border-top: 1px solid var(--color-border); margin-top: 24px; padding-top: 12px; }
.crm-detail-grid button { margin-top: 18px; }
.crm-note { border-top: 1px solid var(--color-border); padding-block: 18px; }
.crm-note .small-copy { margin-top: 0; }
.crm-activity li { margin-block: 18px; }
.crm-activity p { margin-bottom: 4px; }
.crm-activity small { color: var(--color-text-secondary); }
@media (max-width: 960px) {
    .crm-detail-grid, .crm-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .crm-page .panel { padding: 22px 18px; }
    .crm-page dl { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .crm-page dd { margin-bottom: 12px; }
    .crm-search .button { width: 100%; }
}
:root {
    --radius-button: 8px;
    --radius-card: 12px;
    --radius-panel: 18px;
    --space-section: clamp(64px, 8vw, 112px);
}
.container { width: min(1280px, calc(100% - 96px)); }
.header-inner { min-height: 88px; gap: 22px; }
.site-header { border-bottom: 1px solid var(--color-border); }
.brand { font-size: 17px; }
.main-navigation { gap: 20px; font-size: 13px; }
.button { box-shadow: none; min-height: 48px; }
.button:hover { transform: none; box-shadow: none; }
.eyebrow { font-size: 11px; letter-spacing: .16em; }
.problem-section .eyebrow { font-size: 13px; }
.hero { grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 64px 56px; min-height: 620px; }
.hero h1 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -.045em; }
.hero-description { font-size: 17px; line-height: 1.75; max-width: 500px; }
.hero .button { padding-inline: 18px; font-size: 13px; }
.hero-art { width: 100%; margin: 0; align-self: center; }
.illustration { border-radius: var(--radius-panel); background: #f3f2ee; }
.hero-art .illustration { aspect-ratio: 1.1; object-fit: cover; object-position: 55% center; }
.illustration-caption { position: static; margin-top: 16px; padding: 0; background: transparent; border: 0; box-shadow: none; transform: none; font-size: 12px; letter-spacing: .02em; color: var(--color-text-secondary); }
.caption-dot { background: var(--color-primary); }
.value-strip { padding-block: 28px; border-top: 1px solid var(--color-border); }
.value-item { padding-inline: 18px; gap: 12px; align-items: flex-start; }
.value-item > .icon { width: 24px; height: 24px; }
.value-item h2 { font-size: 13px; line-height: 1.4; }
.value-item p { font-size: 12px; }
.process-section { margin-top: 42px; }
.process-panel { background: var(--color-background-soft); box-shadow: none; border: 0; padding: 34px; }
.step-icon { box-shadow: none; border-radius: 12px; }
.services-section { padding-top: 64px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(30px, 3vw, 38px); margin-bottom: 10px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; padding: 0 26px 28px; overflow: hidden; box-shadow: none; }
.service-card:hover { transform: translateY(-3px); border-color: var(--color-primary); box-shadow: 0 12px 32px rgb(15 49 93 / 6%); }
.service-card > img { width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 1.85; object-fit: cover; margin: 0 -26px 26px; border-radius: 0; filter: none; }
.service-card h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin-bottom: 24px; max-width: 32ch; }
.service-price { font-size: 14px; padding-right: 28px; }
.card-arrow { display: inline-flex; position: absolute; right: 25px; bottom: 27px; }
.section-art { padding: 0; width: 100%; }
.split-section { gap: 7%; }
.section-art .illustration, .service-hero .illustration { aspect-ratio: 1.25; object-fit: cover; }
.service-hero { padding-block: 64px 72px; }
.service-hero h1 { line-height: 1.12; }
.form-layout { gap: 8%; }
.form-story > .illustration { max-width: 440px; margin-top: 32px; }
.form-card { box-shadow: 0 12px 48px rgb(15 49 93 / 5%); border-radius: 16px; }
.form-story h1 { font-size: clamp(34px, 3.4vw, 48px); }
.form-promise { font-size: 13px; }
.cta-section { background: var(--color-primary-deep); border-radius: 18px; }
.cta-art .illustration { transform: none; }
.workspace-main { background: var(--color-background-soft); }
.workspace-main .panel { box-shadow: none; border-radius: 12px; }
.workspace-stats .panel { border-top-width: 1px; }
.workspace-stats .panel strong { letter-spacing: -.04em; }
.data-table th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { padding-block: 18px; }
.empty-state img { width: 200px; margin-bottom: 20px; }
.welcome-panel .illustration { max-width: 320px; }
/* Allow enlarged text to wrap instead of pushing navigation or clipping CTA copy. */
.header-inner { flex-wrap: wrap; padding-block: 12px; }
.main-navigation, .header-actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.main-navigation > a { display: flex; align-items: center; min-height: 44px; }
.brand { min-width: 0; max-width: 100%; }
.brand > span, .cta-section > div { min-width: 0; overflow-wrap: anywhere; }
.hero-copy, .split-section > div { min-width: 0; }
h1, h2, h3, p, .button, .text-link { overflow-wrap: anywhere; }
.skip-link { top: 0; transform: translateY(-200%); }
.skip-link:focus { top: 16px; transform: none; }
.cta-section { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.form-card, .recovery-codes { min-width: 0; }
.recovery-codes code { overflow-wrap: anywhere; }
input::placeholder, textarea::placeholder { color: var(--color-text-secondary); opacity: 1; }
.field-help a, .checkbox-label a, .prose a, .plain-content a {
    text-decoration: underline;
    text-underline-offset: .2em;
}
@media (max-width: 1200px) {
    .container { width: calc(100% - 64px); }
    .hero { gap: 32px; }
    .header-inner { gap: 16px; }
    .main-navigation { gap: 14px; }
    .header-actions .button { padding-inline: 14px; }
    .value-item { padding-inline: 12px; }
}
@media (max-width: 960px) {
    /* Fixed navigation must use the viewport, not the header's backdrop-filter box. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--color-background); }
    .main-navigation.is-open {
        position: fixed;
        inset: var(--mobile-header-height, 88px) 0 auto;
        width: 100vw;
        max-width: 100vw;
        height: calc(100dvh - var(--mobile-header-height, 88px));
        flex-flow: column nowrap;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        padding: 16px 24px max(24px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--color-border);
    }
    .main-navigation.is-open > * { flex: 0 0 auto; width: 100%; min-width: 0; }
    .main-navigation > a, .nav-dropdown > summary { white-space: normal; overflow-wrap: anywhere; }
    .main-navigation .dropdown-panel {
        min-width: 0;
        width: 100%;
        margin: 8px 0 12px;
        padding: 8px 12px;
        background: var(--color-background-soft);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .main-navigation .dropdown-panel a { min-height: 44px; overflow-wrap: anywhere; }
    .main-navigation .mobile-actions { padding-top: 24px; }
    .hero { grid-template-columns: 1fr; padding-block: 48px; gap: 36px; }
    .hero-copy { max-width: 660px; }
    .hero h1 { max-width: 660px; font-size: clamp(34px, 5.4vw, 48px); }
    .hero-description { max-width: 600px; }
    .hero-art { max-width: 720px; justify-self: center; }
    .hero-art .illustration { aspect-ratio: 1.65; object-position: center; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card { padding-inline: 22px; }
    .service-card > img { width: calc(100% + 44px); margin-inline: -22px; }
    .process-panel { padding: 28px; }
}
@media (max-width: 640px) {
    .cta-section { grid-template-columns: minmax(0, 1fr); }
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 76px; }
    .hero { padding-top: 36px; gap: 28px; min-height: auto; }
    .hero h1 { font-size: clamp(30px, 8vw, 38px); }
    .hero-description { font-size: 16px; }
    .hero .button-row { flex-direction: column; align-items: stretch; }
    .hero-note { font-size: 12px; }
    .hero-art .illustration { aspect-ratio: 1.35; }
    .illustration-caption { font-size: 11px; }
    .value-strip { gap: 22px 14px; }
    .value-item { padding: 0; }
    .value-item h2 { font-size: 12px; }
    .process-section { margin-top: 28px; }
    .services-section { padding-top: 44px; }
    .service-grid { grid-template-columns: 1fr; gap: 22px; }
    .service-card { padding: 0 24px 26px; }
    .service-card > img { width: calc(100% + 48px); height: auto; aspect-ratio: 1.9; margin: 0 -24px 24px; }
    .service-card h3 { font-size: 21px; }
    .service-card p { font-size: 14px; margin-bottom: 22px; }
    .card-arrow { right: 24px; bottom: 25px; }
    .split-section { gap: 30px; }
    .service-hero { padding-block: 30px 48px; }
    .form-layout { gap: 28px; }
    .form-story h1 { font-size: 34px; }
    .form-card { padding: 28px 22px; }
    .workspace-main .panel { padding: 22px; }
}

/* Shared brand uses the same typography and colour tokens as the website. */
.vogox-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--color-text-dark); }
.vogox-brand .vogox-symbol { width: 45px; height: 40px; flex: 0 0 45px; }
.vogox-symbol-primary { fill: var(--color-primary); }
.vogox-symbol-secondary { fill: var(--color-blue-bright); }
.vogox-brand .vogox-type { display: flex; flex-direction: column; gap: 4px; }
.vogox-wordmark { font-family: var(--font-heading); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: .025em; }
.vogox-tagline { font-family: var(--font-sans); font-size: 10px; font-weight: 500; line-height: 1.2; letter-spacing: .075em; white-space: nowrap; }
.site-footer .vogox-brand, .admin-brand .vogox-brand { color: var(--color-background); }
.site-footer .vogox-symbol-primary, .admin-brand .vogox-symbol-primary { fill: var(--color-primary); }
@media (max-width: 480px) {
    .brand .vogox-wordmark { font-size: 26px; }
    .brand .vogox-symbol { width: 38px; flex-basis: 38px; }
}

/* Overlay only the upper-right arm, preserving the font's actual X shape. */
.vogox-letter-x { position: relative; display: inline-block; }
.vogox-x-accent { position: absolute; inset: 0; color: var(--color-blue-bright); clip-path: polygon(50% 0, 100% 0, 100% 15%, 58% 50%, 50% 42%); }
