/* Shared marketing-page styles (Goal 7).
   Source of truth for tokens: design-tokens.css. Layout chrome (header / footer) lives in
   MarketingLayout.razor.css. This file owns the BODY of every marketing page: sections, hero,
   outcome cards, step cards, FAQ blocks, and the dark CTA band.

   P0-7 (2026-06-10): every rule is scoped under .marketing-shell (the MarketingLayout
   wrapper). This stylesheet loads globally from App.razor, and its dark-hero .btn-secondary
   used to repaint operator buttons white-on-white (/runtime Why?/Rollback, leaderboard tabs,
   compare toggle). Operator button variants live in app.css. The ONE deliberate exception:
   the print-block `body` rule below stays unscoped (a .marketing-shell prefix could never
   match the body element; a white print background is correct everywhere). */

/* Section primitives. ---------------------------------------------------- */

.marketing-shell .section {
    width: 100%;
    padding: var(--space-20) var(--space-6);
    background: var(--neo-white);
    color: var(--neo-grey-700);
}

.marketing-shell .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* P2-19 (three-lens): prose-only sections cap at the prose measure so eyebrow + H2 +
   body center together instead of hugging the left edge of a 1200px container. */
.marketing-shell .section-inner-narrow {
    max-width: 760px;
}

.marketing-shell .section-light {
    background: var(--neo-white);
}

.marketing-shell .section-grey {
    background: var(--neo-grey-50);
}

.marketing-shell .section-dark {
    background: var(--neo-navy-900);
    color: rgba(255, 255, 255, 0.86);
}

.marketing-shell .section-eyebrow {
    color: var(--neo-cyan-700);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--space-3);
}

.marketing-shell .section-dark .section-eyebrow {
    color: var(--neo-cyan-500);
}

.marketing-shell .section-h2 {
    color: var(--neo-navy-900);
    font-size: var(--text-xl);
    line-height: var(--leading-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-4);
    max-width: 720px;
}

.marketing-shell .section-dark .section-h2 {
    color: var(--neo-white);
}

.marketing-shell .section-lede {
    color: var(--neo-grey-700);
    font-size: var(--text-md);
    line-height: var(--leading-md);
    margin: 0 0 var(--space-10);
    max-width: 720px;
}

.marketing-shell .section-dark .section-lede {
    color: rgba(255, 255, 255, 0.78);
}

/* Hero. ------------------------------------------------------------------ */

.marketing-shell .hero {
    background: var(--neo-navy-900);
    color: var(--neo-white);
    padding: var(--space-24) var(--space-6) var(--space-20);
    overflow: hidden;
}

.marketing-shell .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-16);
    align-items: center;
}

.marketing-shell .hero-copy {
    max-width: 600px;
}

.marketing-shell .hero-eyebrow {
    color: var(--neo-cyan-500);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--space-3);
}

.marketing-shell .hero-h1 {
    color: var(--neo-white);
    font-size: var(--text-3xl);
    line-height: var(--leading-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-5);
}

.marketing-shell .hero-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-md);
    line-height: var(--leading-md);
    margin: 0 0 var(--space-8);
}

.marketing-shell .hero-ctas {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Buttons (marketing variants). ------------------------------------------ */

.marketing-shell .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 var(--space-6);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
    white-space: nowrap;
}

/* P2-20 / decision 7: filled primary buttons ride the AA-safe fill step (cyan-700,
   4.17:1 under white text); hover steps one darker (cyan-800). */
.marketing-shell .btn-primary {
    background: var(--color-accent-fill);
    color: var(--neo-white);
}

.marketing-shell .btn-primary:hover {
    background: var(--color-accent-fill-hover);
}

.marketing-shell .btn-secondary {
    background: transparent;
    color: var(--neo-white);
    border-color: rgba(255, 255, 255, 0.32);
}

.marketing-shell .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.marketing-shell .btn-secondary-light {
    background: var(--neo-white);
    color: var(--neo-navy-800);
    border-color: var(--neo-grey-200);
}

.marketing-shell .btn-secondary-light:hover {
    background: var(--neo-grey-50);
}

/* Hero visual (stylized neural-net SVG placeholder, no external screenshot dependency). */

.marketing-shell .hero-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, rgba(30, 207, 230, 0.16), rgba(10, 20, 40, 0.0) 70%);
    border: 1px solid rgba(30, 207, 230, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}

.marketing-shell .hero-visual-shell {
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 58, 0.55);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.marketing-shell .hero-visual-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marketing-shell .hero-visual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neo-cyan-500);
    opacity: 0.7;
}

.marketing-shell .hero-visual-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.marketing-shell .hero-visual-svg {
    width: 100%;
    height: 100%;
    flex: 1;
}

/* Outcome cards (3-up strip). -------------------------------------------- */

.marketing-shell .outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
}

.marketing-shell .outcome-card {
    background: var(--neo-white);
    border: 1px solid var(--neo-grey-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.marketing-shell .outcome-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-1px);
}

.marketing-shell .outcome-card-stat {
    color: var(--neo-cyan-700);
    font-size: var(--text-2xl);
    line-height: var(--leading-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.marketing-shell .outcome-card-h {
    color: var(--neo-navy-900);
    font-size: var(--text-md);
    font-weight: 600;
    margin: var(--space-2) 0 var(--space-2);
}

.marketing-shell .outcome-card-body {
    color: var(--neo-grey-700);
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    margin: 0;
}

.marketing-shell .outcome-card-note {
    color: var(--neo-grey-500);
    font-size: var(--text-xs);
    margin-top: var(--space-3);
    display: block;
}

/* Step cards (How it works, 4 numbered steps). --------------------------- */

.marketing-shell .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
}

.marketing-shell .step-card {
    background: var(--neo-white);
    border: 1px solid var(--neo-grey-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-height: 240px;
}

.marketing-shell .step-card-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--neo-cyan-100);
    color: var(--neo-cyan-700);
    font-weight: 700;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.marketing-shell .step-card-h {
    color: var(--neo-navy-900);
    font-size: var(--text-md);
    font-weight: 600;
    margin: 0;
}

.marketing-shell .step-card-body {
    color: var(--neo-grey-700);
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    margin: 0;
}

.marketing-shell .step-card-shot {
    margin-top: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--neo-grey-200);
    background: var(--neo-white);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-shell .step-card-shot .step-shot-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Why NEO differentiator (3-col). ---------------------------------------- */

.marketing-shell .diff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
}

.marketing-shell .diff-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.marketing-shell .diff-item-h {
    color: var(--neo-navy-900);
    font-size: var(--text-md);
    font-weight: 600;
    margin: 0;
}

.marketing-shell .diff-item-body {
    color: var(--neo-grey-700);
    font-size: var(--text-base);
    line-height: var(--leading-base);
    margin: 0;
}

.marketing-shell .diff-item-icon {
    color: var(--neo-cyan-600);
    width: 36px;
    height: 36px;
}

/* Technical edge prose (Why NEAT one-pager block on Home). --------------- */

.marketing-shell .prose {
    max-width: 760px;
    color: var(--neo-grey-700);
    font-size: var(--text-base);
    line-height: var(--leading-md);
}

.marketing-shell .prose p {
    margin: 0 0 var(--space-4);
}

.marketing-shell .section-dark .prose {
    color: rgba(255, 255, 255, 0.82);
}

.marketing-shell .prose-callout {
    border-left: 3px solid var(--neo-cyan-600);
    padding-left: var(--space-4);
    color: var(--neo-navy-800);
    font-weight: 600;
    font-size: var(--text-md);
}

/* Trust strip. ----------------------------------------------------------- */

.marketing-shell .trust-strip {
    text-align: center;
    color: var(--neo-grey-500);
    font-size: var(--text-sm);
}

.marketing-shell .trust-strip-h {
    color: var(--neo-navy-700);
    font-size: var(--text-md);
    font-weight: 600;
    margin: 0 0 var(--space-3);
}

.marketing-shell .trust-strip-stat {
    color: var(--neo-cyan-700);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Final CTA band. -------------------------------------------------------- */

.marketing-shell .cta-band {
    background: var(--neo-navy-900);
    color: var(--neo-white);
    padding: var(--space-20) var(--space-6);
    text-align: center;
}

.marketing-shell .cta-band-inner {
    max-width: 800px;
    margin: 0 auto;
}

.marketing-shell .cta-band-h {
    color: var(--neo-white);
    font-size: var(--text-2xl);
    line-height: var(--leading-2xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-3);
}

.marketing-shell .cta-band-sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-md);
    line-height: var(--leading-md);
    margin: 0 0 var(--space-8);
}

.marketing-shell .cta-band-ctas {
    display: inline-flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* Worked-example lede that follows a tier grid (Pricing, P1-5). ------------ */

.marketing-shell .section-lede-after-grid {
    margin-top: var(--space-4);
}

/* Long-form step block (How it works). ----------------------------------- */

.marketing-shell .step-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-12);
    align-items: start;
    margin-bottom: var(--space-20);
}

.marketing-shell .step-block:last-child {
    margin-bottom: 0;
}

.marketing-shell .step-block-num {
    color: var(--neo-cyan-700);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
}

.marketing-shell .step-block-h {
    color: var(--neo-navy-900);
    font-size: var(--text-lg);
    line-height: var(--leading-lg);
    font-weight: 700;
    margin: 0 0 var(--space-4);
    letter-spacing: -0.01em;
}

.marketing-shell .step-block-body {
    color: var(--neo-grey-700);
    font-size: var(--text-base);
    line-height: var(--leading-md);
    margin: 0 0 var(--space-4);
}

.marketing-shell .step-block-shot {
    border: 1px solid var(--neo-grey-200);
    background: var(--neo-white);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.marketing-shell .step-block-shot .step-shot-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

/* FAQ list (Why NEAT). --------------------------------------------------- */

.marketing-shell .faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 760px;
}

.marketing-shell .faq-item {
    border-bottom: 1px solid var(--neo-grey-200);
    padding-bottom: var(--space-6);
}

.marketing-shell .faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.marketing-shell .faq-question {
    color: var(--neo-navy-900);
    font-size: var(--text-md);
    font-weight: 600;
    margin: 0 0 var(--space-2);
}

.marketing-shell .faq-answer {
    color: var(--neo-grey-700);
    font-size: var(--text-base);
    line-height: var(--leading-base);
    margin: 0;
}

/* Exec one-pager (/exec). ----------------------------------------------- */
/* Iteration-3 #4. Print-first executive overview. Ctrl+P-friendly. */

.marketing-shell .exec-overview {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
    color: var(--neo-grey-900);
    background: var(--neo-white);
}

.marketing-shell .exec-header { margin-bottom: var(--space-10); border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-6); }
.marketing-shell .exec-eyebrow { color: var(--neo-cyan-700); font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 var(--space-2) 0; }
.marketing-shell .exec-h1 { font-size: var(--text-2xl); line-height: var(--leading-2xl); font-weight: 700; margin: 0 0 var(--space-3) 0; color: var(--neo-navy-900); }
.marketing-shell .exec-sub { font-size: var(--text-md); line-height: var(--leading-md); color: var(--neo-grey-700); margin: 0; }

.marketing-shell .exec-section { margin-bottom: var(--space-8); }
.marketing-shell .exec-section:last-child { margin-bottom: 0; }
.marketing-shell .exec-h2 { font-size: var(--text-lg); line-height: var(--leading-lg); font-weight: 600; color: var(--neo-navy-900); margin: 0 0 var(--space-2) 0; }
.marketing-shell .exec-section p { font-size: var(--text-base); line-height: var(--leading-base); margin: 0 0 var(--space-3) 0; }
/* P0-8: :not(.btn) — this rule's specificity used to beat .btn-primary and paint the
   "Start a pilot" label the exact cyan of the button fill: an empty pill on the page
   built to be printed. Links get the AA-safe accent-text token (P2-20). */
.marketing-shell .exec-section a:not(.btn) { color: var(--color-accent-text); text-decoration: none; }
.marketing-shell .exec-section a:not(.btn):hover { text-decoration: underline; }

.marketing-shell .exec-list { padding-left: var(--space-5); margin: var(--space-2) 0; }
.marketing-shell .exec-list li { font-size: var(--text-base); line-height: var(--leading-base); margin-bottom: var(--space-2); }

.marketing-shell .exec-cta-row { display: flex; gap: var(--space-3); margin-top: var(--space-4); }

.marketing-shell .exec-footer { margin-top: var(--space-12); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.marketing-shell .exec-print-note { font-size: var(--text-sm); color: var(--color-muted); text-align: center; margin: 0; }

@media print {
    /* Strip the marketing chrome and CTAs; keep only the one-pager body. */
    .marketing-shell .marketing-header, .marketing-shell .marketing-footer, .marketing-shell .exec-cta-row, .marketing-shell .exec-print-note { display: none !important; }
    .marketing-shell .exec-overview { max-width: 100%; padding: 0; }
    .marketing-shell .exec-header { page-break-after: avoid; }
    .marketing-shell .exec-section { page-break-inside: avoid; }
body { background: white !important; }
    .marketing-shell a { color: var(--neo-navy-900); text-decoration: none; }
    .marketing-shell a::after { content: " (" attr(href) ")"; font-size: 10px; color: var(--neo-grey-500); }
}

/* Responsive breakpoints. ------------------------------------------------ */

@media (max-width: 1024px) {
    .marketing-shell .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
.marketing-shell .hero-visual {
        max-width: 560px;
    }
.marketing-shell .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.marketing-shell .diff-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
.marketing-shell .outcomes-grid {
        grid-template-columns: 1fr;
    }
.marketing-shell .step-block {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 720px) {
    .marketing-shell .section {
        padding: var(--space-16) var(--space-5);
    }
.marketing-shell .hero {
        padding: var(--space-16) var(--space-5) var(--space-12);
    }
.marketing-shell .hero-h1 {
        font-size: var(--text-2xl);
        line-height: var(--leading-2xl);
    }
.marketing-shell .steps-grid {
        grid-template-columns: 1fr;
    }
.marketing-shell .cta-band-h {
        font-size: var(--text-xl);
        line-height: var(--leading-xl);
    }
}

/* IT-buyer band on / (iteration-2 U1). ----------------------------------- */

.marketing-shell .it-buyer-band .section-h2 {
    margin-bottom: var(--space-8);
}

.marketing-shell .it-buyer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.marketing-shell .it-buyer-item {
    border-left: 3px solid var(--neo-cyan-700);
    padding-left: var(--space-4);
}

.marketing-shell .it-buyer-h {
    color: var(--neo-navy-900);
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0 0 var(--space-2);
}

.marketing-shell .it-buyer-body {
    color: var(--neo-grey-700);
    font-size: var(--text-sm);
    line-height: var(--leading-base);
    margin: 0;
}

.marketing-shell .it-buyer-body a {
    color: var(--neo-cyan-700);
    font-weight: 600;
    text-decoration: none;
}

.marketing-shell .it-buyer-body a:hover {
    text-decoration: underline;
}

/* Hero IT-buyer note (iteration-2 U4 — co-located here so all marketing CSS lives in one file). */

.marketing-shell .hero-it-note {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.72);
    margin: var(--space-4) 0 0;
}

.marketing-shell .hero-it-note a {
    color: var(--neo-cyan-500);
    font-weight: 600;
}

@media (max-width: 960px) {
    .marketing-shell .it-buyer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}

/* Demo-request form (/get-a-demo) - Batch B P1-1. -------------------------
   APPENDED SECTION (Batch B): the form reuses the global .auth-* primitives
   from app.css (they load on every page); these rules only constrain width,
   style the round-trip callouts, and cover the optional textarea + the dark
   cta-band mailto link. Token-based only (design-token discipline). */

.marketing-shell .demo-form-wrap {
    max-width: 480px;
}

.marketing-shell .demo-textarea {
    height: auto;
    min-height: 96px;
    padding: var(--space-2) var(--space-3);
    resize: vertical;
    line-height: var(--leading-sm);
}

.marketing-shell .demo-callout {
    max-width: 480px;
    margin: 0 0 var(--space-5);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-error);
    border-radius: var(--radius-md);
    background: var(--color-error-soft);
    color: var(--color-error-text);
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
}

.marketing-shell .demo-success {
    max-width: 560px;
    padding: var(--space-6);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-md);
    background: var(--color-success-soft);
}

.marketing-shell .demo-success-h {
    margin: 0 0 var(--space-2);
    font-size: var(--text-lg);
    line-height: var(--leading-lg);
    font-weight: 700;
    color: var(--color-success-text);
}

.marketing-shell .demo-success p {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--leading-base);
    color: var(--color-text-soft);
}

.marketing-shell .demo-success a {
    color: var(--color-accent-text);
    font-weight: 600;
}

.marketing-shell .demo-form-note {
    margin: var(--space-6) 0 0;
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    color: var(--color-muted);
}

.marketing-shell .demo-form-note a {
    color: var(--color-accent-text);
    font-weight: 600;
}

/* Mailto links inside the dark CTA band (used on /about). */
.marketing-shell .cta-band-sub a {
    color: var(--neo-cyan-500);
    font-weight: 600;
}
