/* ==========================================================================
   Provarro Design System Implementation
   Based on: Professional/Serif aesthetic via designprompts.dev
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-background: #FAFAF8;
    --color-foreground: #1A1A1A;
    --color-muted: #F5F3F0;
    --color-muted-foreground: #6B6B6B;
    --color-accent: #E85A4F;
    --color-accent-hover: #D4A84B;
    --color-accent-mid: #E8944F;
    --color-brand-indigo: #4A4E8C;
    --color-brand-indigo-light: #5A5E9C;
    --color-border: #E8E4DF;
    --color-card: #FFFFFF;
    --color-focus-ring: #E85A4F;

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Section vertical rhythm — single tunable for boundary spacing across all
       .section / .hero / .section-transition rules. Tightened from 3xl/4xl in
       R3.1 (bug nx-65b18013fda1) to fix excessive boundary gaps. */
    --section-padding-y: var(--space-xl);          /* 3rem mobile */
    --hero-padding-y: var(--space-2xl);            /* 4rem mobile */
    --section-transition-padding-y: var(--space-lg); /* 2rem mobile */

    /* Layout */
    --max-width: 64rem;
    --max-width-text: 48rem;

    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 200ms ease-out;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

/* --------------------------------------------------------------------------
   Base Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--color-foreground);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

em {
    font-style: italic;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-focus-ring);
    border-radius: var(--radius-sm);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--section-padding-y) 0;
}

/* Light indigo tint for alternating sections */
.section-tint {
    background-color: rgba(74, 78, 140, 0.04);
}

@media (min-width: 768px) {
    :root {
        --section-padding-y: var(--space-2xl);          /* 4rem desktop */
        --hero-padding-y: var(--space-3xl);             /* 6rem desktop */
        --section-transition-padding-y: var(--space-xl); /* 3rem desktop */
    }
}

/* --------------------------------------------------------------------------
   Header (story nx-8703856c11c9 — nav added 2026-05-26)
   -------------------------------------------------------------------------- */
.header {
    padding: var(--space-md) 0;
    background-color: var(--color-background);
    border-bottom: 2px solid var(--color-brand-indigo);
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-brand-indigo);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.header-link:hover {
    background-color: rgba(74, 78, 140, 0.08);
    text-decoration: none;
}

.logo {
    display: block;
    line-height: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .logo img {
        height: 48px;
    }
}

/* Primary navigation -------------------------------------------------------- */
.header-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.header-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-brand-indigo);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
    background-color: rgba(74, 78, 140, 0.08);
    text-decoration: none;
}

.header-nav-login-item {
    margin-left: var(--space-sm);
}

/* Hamburger toggle — hidden by default (desktop), shown on mobile ----------- */
.header-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: var(--space-xs);
    margin: 0;
    cursor: pointer;
    color: var(--color-brand-indigo);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.header-nav-toggle:hover,
.header-nav-toggle:focus-visible {
    background-color: rgba(74, 78, 140, 0.08);
}

.header-nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: currentColor;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile collapse (≤767px to match existing R3 breakpoint, AC2) ------------- */
@media (max-width: 767px) {
    .header-nav-toggle {
        display: block;
        margin-left: auto;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-background);
        border-bottom: 2px solid var(--color-brand-indigo);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-fast);
        z-index: 50;
        /* Override desktop flex-end so the dropdown panel spans full width. */
        justify-content: stretch;
    }

    .header-nav[data-open="true"] {
        max-height: 480px;
    }

    .header-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-sm) var(--space-md);
        width: 100%;
    }

    .header-nav-link,
    .header-nav-list .header-link {
        display: block;
        padding: var(--space-sm) var(--space-xs);
    }

    .header-nav-login-item {
        margin-left: 0;
        border-top: 1px solid rgba(74, 78, 140, 0.12);
        margin-top: var(--space-xs);
        padding-top: var(--space-xs);
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    padding: var(--hero-padding-y) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Indigo gradient background - subtle but present */
.hero {
    background: linear-gradient(180deg,
        rgba(74, 78, 140, 0.06) 0%,
        rgba(74, 78, 140, 0.02) 50%,
        transparent 100%);
}

/* Indigo anchor bar at top - thicker for weight */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-brand-indigo) 0%, var(--color-brand-indigo-light) 100%);
}

/* Dot motif - ascending pattern echoing logo */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 120px;
    height: 200px;
    background-image: radial-gradient(circle, var(--color-brand-indigo) 4px, transparent 4px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    opacity: 0.08;
    mask-image: linear-gradient(135deg, transparent 0%, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(135deg, transparent 0%, black 50%, transparent 100%);
    pointer-events: none;
}

.hero h1 {
    max-width: var(--max-width-text);
    margin: 0 auto var(--space-md);
    position: relative;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 36rem;
    margin: 0 auto var(--space-xl);
    position: relative;
}

@media (min-width: 768px) {
    .hero-subhead {
        font-size: 1.5rem;
    }

    .hero::after {
        width: 180px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .hero::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Section Labels
   -------------------------------------------------------------------------- */
.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.section-label .rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%);
    opacity: 0.6;
}

.section-label .label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   Value Props Grid
   -------------------------------------------------------------------------- */
.value-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

.value-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
    position: relative;
    overflow: hidden;
}

/* Gradient accent top border */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-foreground);
    /* Title height equalization — bug nx-06059d62b044 AC1+AC2.
       Reserve 2 line-heights so all card titles in a row occupy the
       same vertical band; shorter titles top-align within the reserve
       by default block flow, so body copy starts at uniform y-position
       across the row. 2lh covers worst-case "Perspective that sharpens
       decisions" at 2×2 desktop width. */
    min-height: 2lh;
}

.value-card p {
    color: var(--color-muted-foreground);
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .value-card {
        padding: var(--space-xl);
    }
}

/* --------------------------------------------------------------------------
   Proof Block (Indigo Section)
   -------------------------------------------------------------------------- */
.section-indigo {
    background-color: var(--color-brand-indigo);
    color: #FFFFFF;
}

.proof-block {
    text-align: center;
    max-width: var(--max-width-text);
    margin: 0 auto;
}

.proof-stat {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.proof-supporting {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   About Block
   -------------------------------------------------------------------------- */
.about-block {
    max-width: var(--max-width-text);
    margin: 0 auto;
}

.about-block p {
    font-size: 1.125rem;
}

.signature {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%) 1;
}

.signature-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.signature-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
    margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.contact-block {
    max-width: 40rem;
    margin: 0 auto;
}

.contact-intro {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-form {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.form-row {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group:last-of-type {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-foreground);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:invalid,
.form-group select option[value=""][disabled] {
    color: var(--color-muted-foreground);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-brand-indigo);
    box-shadow: 0 0 0 3px rgba(74, 78, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .contact-form {
        padding: var(--space-2xl);
    }

    .contact-form .btn {
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-brand-indigo);
    color: #FFFFFF;
    text-align: center;
    padding: var(--space-lg) 0;
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    min-height: 48px;
    cursor: pointer;
    transition: all var(--transition-base);
    touch-action: manipulation;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-focus-ring);
}

/* Primary button - gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(232, 90, 79, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 90, 79, 0.35);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Primary light - for dark backgrounds */
.btn-primary-light {
    background: #FFFFFF;
    color: var(--color-brand-indigo);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--color-brand-indigo);
    text-decoration: none;
}

.btn-primary-light:active {
    transform: translateY(0);
}

.btn-primary-light:focus-visible {
    box-shadow: 0 0 0 2px #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    .btn:hover {
        transform: none;
    }
}

/* ==========================================================================
   R3 Homepage Additions (2026-05-08, story nx-e1842cc5f0ea)
   New section primitives layered on the existing visual language. Section
   rhythm + section-label + value-grid + proof-block + contact form all
   reused. Naming follows semantic role (narrative-block, peer-group-list,
   pain-triad, vignette-block) per story note.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — pain-led variant, second sub-paragraph + dual CTAs
   -------------------------------------------------------------------------- */
.hero-lede {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-muted-foreground);
    max-width: 42rem;
    margin: 0 auto var(--space-xl);
    position: relative;
}

@media (min-width: 768px) {
    .hero-lede {
        font-size: 1.125rem;
    }
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-cta-row-centered {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Secondary button — outlined variant for "Request an Introduction"
   pairing with the primary gradient CTA.
   -------------------------------------------------------------------------- */
.btn-secondary {
    background: transparent;
    color: var(--color-brand-indigo);
    border: 2px solid var(--color-brand-indigo);
    padding: calc(1rem - 2px) calc(2rem - 2px);
    transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.btn-secondary:hover {
    background-color: var(--color-brand-indigo);
    color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .btn-secondary:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Narrative blocks — text-heavy section bodies (sections 2, 3, 5, 6, 8,
   10, 12, 13). Constrains line length, sets paragraph rhythm, hosts H2.
   -------------------------------------------------------------------------- */
.narrative-block {
    max-width: var(--max-width-text);
    margin: 0 auto;
}

.narrative-block h2 {
    margin-bottom: var(--space-lg);
}

.narrative-block p {
    font-size: 1.125rem;
    line-height: 1.75;
}

.narrative-block-centered {
    text-align: center;
}

.narrative-block-centered h2 {
    margin-left: auto;
    margin-right: auto;
}

.narrative-block-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-heading-centered {
    text-align: center;
    max-width: var(--max-width-text);
    margin: 0 auto var(--space-xl);
}

/* --------------------------------------------------------------------------
   Narrative lists — flat bulletless triads + inline emphasis groups
   used inside narrative-block (sections 2, 5, 8, 10).
   -------------------------------------------------------------------------- */
.narrative-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 var(--space-lg);
}

.narrative-list li {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-foreground);
    padding: var(--space-xs) 0;
}

.narrative-list-tight li {
    padding: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .narrative-list li {
        font-size: 1.375rem;
    }
    .narrative-list-tight li {
        font-size: 1.1875rem;
    }
}

/* --------------------------------------------------------------------------
   Pain triad — section 3 standout block:
   "You're working more than you should /
    Fixing the same problems repeatedly /
    Making decisions without enough context to know if they are right."
   -------------------------------------------------------------------------- */
.pain-triad {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 3px solid var(--color-accent);
    background-color: var(--color-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.pain-triad p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-foreground);
    margin-bottom: var(--space-xs);
}

.pain-triad p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .pain-triad p {
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Section-transition — short heading-only band (section 4 "The room
   changes that.") between pain anchor and "this is not a peer group".
   -------------------------------------------------------------------------- */
.section-transition {
    padding: var(--section-transition-padding-y) 0;
    text-align: center;
}

.transition-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-brand-indigo);
    max-width: var(--max-width-text);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Emphasis couplet / triad — short stacked lines used inside "What
   makes it work" (section 6) and "The impact" (section 9). Display
   typeface, slight color shift, restrained line-height.
   -------------------------------------------------------------------------- */
.emphasis-couplet,
.emphasis-triad {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    margin: var(--space-lg) 0;
    color: var(--color-foreground);
}

@media (min-width: 768px) {
    .emphasis-couplet,
    .emphasis-triad {
        font-size: 1.75rem;
    }
}

.closing-line {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-brand-indigo);
    text-align: center;
    margin-top: var(--space-xl);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .closing-line {
        font-size: 1.625rem;
    }
}

/* --------------------------------------------------------------------------
   Vignette block — section 8 "This is where things start to change",
   tightened paragraph rhythm + close paragraph treated like a quote.
   -------------------------------------------------------------------------- */
.vignette-block {
    /* extends .narrative-block */
}

.vignette-close {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-foreground);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%) 1;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
}

@media (min-width: 768px) {
    .vignette-close {
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Value-grid 4-up variant — section 7 "What you gain from the room"
   Reflowed to 2×2 at desktop (bug nx-06059d62b044 AC3+AC5). The original
   1024px 4-up rule was cramping body copy; 2×2 gives each card meaningful
   horizontal width across all desktop sizes (≥768px). Mobile (≤640px)
   stays single-column via base .value-grid rule.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .value-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* --------------------------------------------------------------------------
   Proof-block — extension for the final tag line under the supporting
   paragraph ("That is what happens when the room works.").
   -------------------------------------------------------------------------- */
.proof-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-top: var(--space-md);
    opacity: 0.95;
}

@media (min-width: 768px) {
    .proof-tag {
        font-size: 1.375rem;
    }
}

/* --------------------------------------------------------------------------
   Peer group list — section 11 "The right room matters". Two-column
   on tablet+, single column on mobile. Mono accent label per group.
   -------------------------------------------------------------------------- */
.peer-group-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: var(--max-width);
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .peer-group-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md) var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .peer-group-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.peer-group-list li {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.peer-group-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%);
}

.peer-group-tag {
    text-align: center;
    margin-top: var(--space-xl);
    max-width: var(--max-width-text);
    margin-left: auto;
    margin-right: auto;
    color: var(--color-muted-foreground);
    font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Advisory tagline — section 12, governance frame anchor:
   "This is not built for members. It is built with them."
   Standalone rhetorical line per AC6. Display type, accent rule above.
   -------------------------------------------------------------------------- */
.advisory-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: var(--color-brand-indigo);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-mid) 50%, var(--color-accent-hover) 100%) 1;
}

@media (min-width: 768px) {
    .advisory-tagline {
        font-size: 1.75rem;
    }
}

/* --------------------------------------------------------------------------
   Brand tagline — section 13 final line:
   "Provarro. Where MSP leaders step back, get clear and move forward
    with momentum."
   -------------------------------------------------------------------------- */
.brand-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--color-muted-foreground);
    text-align: center;
    margin-top: var(--space-lg);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .brand-tagline {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Section close — section 13 final CTA section, slightly heavier
   padding so the page lands with breathing room.
   -------------------------------------------------------------------------- */
.section-close {
    text-align: center;
}

/* Contact section — preserve untinted ground (the close-CTA above is
   already tinted, so the form keeps the alternating rhythm). */
.section-contact {
    background-color: var(--color-background);
}
