/**
 * With Aplomb Marketing Site
 * Swiss-inspired, minimal, calm design system
 */

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */
:root {
    /* Colors */
    --bg: #FFFFFF;
    --bg-alt: #FAFAFA;
    --fg: #111111;
    --fg-secondary: #374151;
    --muted: #4B5563; /* Darkened for WCAG AA contrast (4.5:1+) */
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --accent: #C73A1C; /* Darkened for WCAG AA contrast (4.5:1+ with white text) */
    --accent-hover: #A83218;
    --accent-soft: rgba(255, 75, 41, 0.08);
    --accent-softer: rgba(255, 75, 41, 0.04);
    --success: #059669;
    --success-soft: rgba(5, 150, 105, 0.08);
    
    /* Typography */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1140px;
    --container-narrow: 720px;
    --header-height: 72px;
    --banner-height: 36px;
    --total-header-height: calc(var(--header-height) + var(--banner-height));
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fg);
    background: var(--bg);
    min-height: 100vh;
}

/* ============================================================================
   ALPHA BANNER
   ============================================================================ */
.alpha-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 8px 16px;
    text-align: center;
}

.alpha-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: white;
}

.alpha-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.alpha-text {
    color: rgba(255, 255, 255, 0.95);
}

.alpha-text strong {
    color: white;
    font-weight: 600;
}

.alpha-link {
    color: white;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--transition-fast);
}

.alpha-link:hover {
    opacity: 0.85;
}


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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--fg);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--fg-secondary);
}

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

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

.text-center {
    text-align: center;
}

.text-mono {
    font-family: var(--font-mono);
    font-size: 0.875em;
}

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

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section--accent {
    background: var(--accent-softer);
}

/* ============================================================================
   HEADER
   ============================================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--fg-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--fg);
}

.nav-link--active {
    color: var(--fg);
    font-weight: 500;
}

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

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--fg);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: var(--space-xl);
    z-index: 999;
}

/* Alpha Banner Offsets - must come after header/nav definitions */
body .site-header {
    top: var(--banner-height);
}

body .nav-mobile {
    top: calc(var(--banner-height) + var(--header-height));
}

.nav-mobile.is-open {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nav-mobile-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1.125rem;
    color: var(--fg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.nav-mobile-link:hover {
    color: var(--fg);
}

.nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: white;
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--fg);
    color: white;
}

.btn--secondary:hover {
    background: var(--fg-secondary);
}

.btn--outline {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    background: var(--bg-alt);
    border-color: var(--fg);
}

.btn--ghost {
    background: transparent;
    color: var(--fg-secondary);
}

.btn--ghost:hover {
    color: var(--fg);
    background: var(--bg-alt);
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    padding-top: calc(var(--total-header-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.hero h1 {
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--muted);
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ============================================================================
   FEATURE SECTIONS
   ============================================================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-header p {
    margin-top: var(--space-md);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: var(--space-xl);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* Bullet list features */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    margin-top: 2px;
}

.feature-item-icon svg {
    width: 14px;
    height: 14px;
}

.feature-item-content h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.feature-item-content p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================================================
   WHO IT'S FOR (AUDIENCE CARDS)
   ============================================================================ */
.audience-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.audience-card {
    padding: var(--space-xl);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.audience-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 50%;
    font-size: 1.5rem;
}

.audience-card h3 {
    margin-bottom: var(--space-sm);
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================================================
   PROCESS / STEPS
   ============================================================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
    }
}

.step {
    flex: 1;
    position: relative;
    padding: var(--space-xl);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.step-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
}

.step h3 {
    margin-bottom: var(--space-sm);
    padding-right: var(--space-3xl);
}

.step p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================================================
   PRICING
   ============================================================================ */
.pricing-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.pricing-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    padding: var(--space-xl);
    background: var(--bg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.pricing-card--featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card--featured::before {
    content: "Most Popular";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
    margin-bottom: var(--space-sm);
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--muted);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.pricing-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fg);
}

.pricing-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fg);
    line-height: 1;
}

.pricing-period {
    color: var(--muted);
    font-size: 0.9375rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--fg-secondary);
}

.pricing-feature svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--success);
    margin-top: 2px;
}

/* Per-user pricing table */
.pricing-tiers {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.pricing-tiers h4 {
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.pricing-tier-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

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

.pricing-tier-range {
    color: var(--fg-secondary);
    font-size: 0.9375rem;
}

.pricing-tier-price {
    font-weight: 600;
    color: var(--fg);
}

/* Implementation card (wide) */
.pricing-implementation {
    margin-bottom: var(--space-3xl);
}

.pricing-card--wide {
    padding: var(--space-xl);
    background: var(--bg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.pricing-card--wide .pricing-header {
    text-align: center;
    border-bottom: none;
    margin-bottom: var(--space-lg);
    padding-bottom: 0;
}

.pricing-card--wide .pricing-amount {
    justify-content: center;
}

.pricing-features--horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-xl);
    margin-bottom: 0;
}

.pricing-features--horizontal .pricing-feature {
    padding: 0;
}

@media (min-width: 768px) {
    .pricing-card--wide .pricing-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .pricing-card--wide .pricing-amount {
        margin-top: 0;
    }
}

/* Highlighted feature (contact limits) */
.pricing-feature--highlight {
    font-weight: 600;
    color: var(--fg);
}

/* Enterprise note */
.pricing-enterprise {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3xl);
    font-size: 0.9375rem;
    color: var(--muted);
}

.pricing-enterprise a {
    color: var(--accent);
    font-weight: 500;
}

.pricing-enterprise a:hover {
    text-decoration: underline;
}

/* Scenario cards */
.scenarios-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .scenarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.scenario-card {
    padding: var(--space-lg);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.scenario-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: var(--space-sm);
}

.scenario-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: var(--space-xs);
}

.scenario-detail {
    font-size: 0.875rem;
    color: var(--muted);
}

.scenario-tier {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.scenario-contacts {
    font-size: 0.8125rem;
    color: var(--success);
    margin-top: var(--space-sm);
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item h3 {
    margin-bottom: var(--space-sm);
    color: var(--fg);
    font-size: 1.125rem;
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================================================
   DOMAIN DIAGRAM
   ============================================================================ */
.domain-diagram {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.domain-diagram-title {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: var(--space-xl);
}

.domain-tree {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.domain-node {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.domain-node--primary {
    border-color: var(--accent);
    border-width: 2px;
}

.domain-node--child {
    margin-left: var(--space-xl);
    position: relative;
}

.domain-node--child::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--space-lg));
    top: 50%;
    width: var(--space-md);
    height: 1px;
    background: var(--border);
}

.domain-node--grandchild {
    margin-left: calc(var(--space-xl) * 2);
}

.domain-node--grandchild::before {
    left: calc(-1 * var(--space-lg));
}

.domain-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.domain-icon svg {
    width: 16px;
    height: 16px;
}

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

.domain-url {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--fg);
    font-weight: 500;
}

.domain-desc {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 2px;
}

/* ============================================================================
   TIMELINE
   ============================================================================ */
.timeline {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    font-weight: 600;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--muted);
}

.timeline-duration {
    display: inline-block;
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* ============================================================================
   CTA STRIP
   ============================================================================ */
.cta-strip {
    padding: var(--space-3xl) 0;
    background: var(--fg);
    color: white;
    text-align: center;
}

.cta-strip h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto var(--space-xl);
}

.cta-strip .btn--primary {
    background: var(--accent);
}

.cta-strip .btn--primary:hover {
    background: var(--accent-hover);
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */
.about-hero {
    padding-top: calc(var(--total-header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
}

.about-content {
    max-width: 720px;
}

.about-content h1 {
    margin-bottom: var(--space-xl);
}

.about-lead {
    font-size: 1.25rem;
    color: var(--fg-secondary);
    margin-bottom: var(--space-2xl);
}

.about-section {
    margin-bottom: var(--space-2xl);
}

.about-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.about-section p {
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    padding: var(--space-lg);
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    display: flex;
    font-size: 1.125rem;
    align-items: center;
    gap: var(--space-sm);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================================================
   CONTACT / FORM
   ============================================================================ */
.contact-hero {
    padding-top: calc(var(--total-header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    gap: var(--space-3xl);
}

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

.contact-info h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.contact-info > p {
    margin-bottom: var(--space-xl);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-content h2 {
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.contact-detail-content p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Form */
.contact-form {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

/* Form Disabled Notice (Alpha) */
.form-disabled-notice {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
}

.form-disabled-notice .notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border-radius: 50%;
    margin-bottom: var(--space-lg);
    color: #6366f1;
}

.form-disabled-notice h3 {
    font-size: 1.25rem;
    color: var(--fg);
    margin-bottom: var(--space-sm);
}

.form-disabled-notice p {
    color: var(--muted);
    font-size: 0.9375rem;
    max-width: 320px;
    margin: 0 auto var(--space-sm);
}

.form-disabled-notice .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-disabled-notice .notice-subtext {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: var(--space-lg);
}

.form-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
}

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

@media (min-width: 640px) {
    .form-grid--2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg);
}

.form-label span {
    color: var(--muted);
    font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    transition: all var(--transition-fast);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--fg-secondary);
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.form-submit {
    margin-top: var(--space-lg);
}

/* Thank you state */
.thank-you {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.thank-you-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 50%;
}

.thank-you-icon svg {
    width: 32px;
    height: 32px;
}

.thank-you h2 {
    margin-bottom: var(--space-md);
}

/* Form success state */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
}

.form-success .success-icon svg {
    width: 48px;
    height: 48px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--fg);
}

.form-success p {
    color: var(--muted);
    margin-bottom: 0;
}

/* Contact form inner */
.contact-form-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-disclaimer {
    font-size: 0.8125rem;
    color: var(--muted);
    text-align: center;
    margin-top: var(--space-sm);
}

.form-disclaimer a {
    color: var(--accent);
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

.thank-you p {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
    padding: var(--space-3xl) 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    gap: var(--space-xl);
}

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

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-heading {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--fg-secondary);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--fg);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color var(--transition-fast);
}

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

/* LGBTQ+ Affirming Badge */
.affirming-badge-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-top: var(--space-md);
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (min-width: 768px) {
    .affirming-badge-img {
        height: 56px;
    }
}

/* ============================================================================
   UTILITIES
   ============================================================================ */
.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;
}

.hidden {
    display: none !important;
}

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Page padding for header + banner offset */
.page-content {
    padding-top: var(--total-header-height);
}

/* ============================================================================
   LEGAL PAGES (Terms, Privacy)
   ============================================================================ */
.legal-content {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-md);
    color: var(--fg-secondary);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
    color: var(--fg-secondary);
}

.legal-content li {
    margin-bottom: var(--space-sm);
}

.legal-content li strong {
    color: var(--fg);
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

