/* ============================================
   FinPro Landing Page — Design System & Styles
   "The Night Ledger": navy ground, one blue signal,
   hairline rules instead of boxes.
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --navy: #0B1A3B;
    --navy-light: #132952;
    --navy-mid: #1A3366;
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-deep: #2563EB;
    --accent-blue-glow: rgba(59, 130, 246, 0.45);
    --amber: #F59E0B;
    --white: #FFFFFF;
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-08: rgba(255, 255, 255, 0.08);
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --green: #22C55E;
    --red: #EF4444;
    --red-text: #F87171; /* red tint that keeps 4.5:1 on navy */
    --glass-bg: rgba(19, 41, 82, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --rule: var(--white-08);
    --rule-strong: var(--white-15);

    /* Typography */
    --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Spacing */
    --section-py: 128px;
    --container-max: 1200px;
    --container-px: 24px;
    /* distance from the container edge to the viewport edge (for full-bleed elements) */
    --bleed: calc((min(100vw, var(--container-max)) - 100vw) / 2 - var(--container-px));

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s ease;
    --transition-slow: 0.7s ease;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Z-index scale */
    --z-raised: 2;
    --z-nav: 1000;
    --z-banner: 1500;
    --z-modal: 2000;
    --z-grain: 2500;
    --z-skip: 3000;
}

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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}

/* Film grain: breaks the flat digital navy */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: var(--z-grain);
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

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

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

ul {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--accent-blue-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: var(--z-skip);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

/* --- Utility --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--white-70);
    max-width: 56ch;
    line-height: 1.65;
}

.mono-figure {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--accent-blue-light);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav.scrolled {
    background: rgba(11, 26, 59, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--glass-border);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
}

/* Stacked diamond SVG logo */
.logo-icon .diamond {
    fill: var(--accent-blue-light);
    opacity: 0.7;
}

.logo-icon .diamond:last-child {
    opacity: 1;
    fill: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-70);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Remove hover underline from nav CTA button */
.nav-links li:last-child a::after {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 0 0 0 var(--accent-blue-glow);
}

.btn-primary:hover {
    background: #2563EB;
    box-shadow: 0 0 24px 4px var(--accent-blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white-15);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================
   SELECT DROPDOWN STYLING
   ========================================== */
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--white-15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group select:focus {
    border-color: var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group select.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}


/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    animation: slideUpBanner 0.4s ease;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: var(--white-70);
    margin: 0;
}

.cookie-banner a {
    color: var(--accent-blue-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* ==========================================
   ASSESSMENT CTA BUTTON
   ========================================== */
.btn-assessment {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(245, 158, 11, 0.15));
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    transition: all var(--transition-fast);
}

.btn-assessment:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(245, 158, 11, 0.25));
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

/* --- Contact form (shared with assessment) --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-70);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--white-15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white-50);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Validation error state */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

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

/* Submit button */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 4px;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px 0 0;
}

.form-success.visible {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--green);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form submission error */
.form-error-message {
    font-size: 0.88rem;
    color: var(--red);
    text-align: center;
    margin-top: 12px;
    animation: fadeInUp 0.4s ease;
}


/* Contact email below form */
.cta-contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--white-50);
}

.cta-contact-email svg {
    flex-shrink: 0;
    color: var(--accent-blue-light);
}

.cta-contact-email a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.cta-contact-email a:hover {
    color: var(--white);
}

/* ==========================================
   MODAL OVERLAY & PANEL
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: linear-gradient(145deg, var(--navy-light), var(--navy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white-50);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close:hover {
    color: var(--white);
    background: var(--white-08);
}

.modal-body {
    padding: 48px 40px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--white-15) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--white-15);
    border-radius: 3px;
}

.modal-body h2,
.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--white);
}

.modal-date {
    font-size: 0.85rem;
    color: var(--white-50);
    margin-bottom: 32px;
}

.modal-body h3,
.modal-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-top: 28px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
    list-style: none;
}

.modal-body li {
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.modal-body a {
    color: var(--accent-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.modal-body a:hover {
    color: var(--white);
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--glass-border);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}
.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--white-08);
    font-size: 0.8rem;
    color: var(--white-50);
}

/* ==========================================
   FOOTER — REDESIGNED WITH ENTITY INFO
   ========================================== */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

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

.footer-entity {
    margin-top: 16px;
}

.footer-entity p {
    font-size: 0.85rem;
    color: var(--white-50);
    line-height: 1.7;
    margin: 0;
}

.footer-entity strong {
    color: var(--white-70);
}

.footer-entity a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.footer-entity a:hover {
    color: var(--white);
}

.footer-nav {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col h4,
.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-70);
    margin-bottom: 6px;
}

.footer-nav-col a {
    font-size: 0.85rem;
    color: var(--white-50);
    transition: color var(--transition-fast);
}

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


/* ==========================================
   BREADCRUMB BAR
   ========================================== */
.breadcrumb-bar {
    padding: 100px 0 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 12px 0;
}

.breadcrumb a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: var(--white-50);
}

.breadcrumb-current {
    color: var(--white-50);
}


/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
    padding: 60px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--white-70);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero-subtitle a {
    color: var(--accent-blue-light);
    text-decoration: underline;
}

.page-hero-subtitle a:hover {
    color: var(--white);
}


/* ==========================================
   FAQ PAGE SECTIONS
   ========================================== */
.faq-page-section {
    padding: 0 0 var(--section-py);
}

.faq-group {
    margin-bottom: 60px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-blue-light);
}

.faq-page-section .faq-item {
    max-width: 100%;
    margin-bottom: 12px;
}


/* ==========================================
   FAQ BOTTOM CTA
   ========================================== */
.faq-bottom-cta {
    padding: var(--section-py) 0;
}

.faq-bottom-cta-inner {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(11, 26, 59, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
}

.faq-bottom-cta-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-bottom-cta-inner p {
    font-size: 1.05rem;
    color: var(--white-70);
    margin-bottom: 28px;
}

.faq-bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ==========================================
   PRODUCT PAGE FEATURES
   ========================================== */
.product-features {
    padding: 0 0 var(--section-py);
}

.product-feature-block {
    margin-bottom: 80px;
}

.product-feature-block:last-child {
    margin-bottom: 0;
}

.product-feature-content {
    max-width: 800px;
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-large svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-blue-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-feature-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-feature-content p {
    font-size: 0.95rem;
    color: var(--white-70);
    line-height: 1.75;
    margin-bottom: 16px;
}

.feature-benefits {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-benefits li {
    font-size: 0.92rem;
    color: var(--white-70);
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}


/* ==========================================
   COMPARISON TABLE
   ========================================== */
.comparison-section {
    padding: var(--section-py) 0;
}

.comparison-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.comparison-section .section-subtitle {
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--white-08);
}

.comparison-table thead th {
    background: rgba(59, 130, 246, 0.08);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white-70);
}

.comparison-table thead th.highlight-col {
    color: var(--accent-blue-light);
    background: rgba(59, 130, 246, 0.15);
}

.comparison-table td {
    color: var(--white-70);
}

.comparison-table td.highlight-col {
    color: var(--green);
    font-weight: 600;
    background: rgba(34, 197, 94, 0.03);
}

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

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

/* ==========================================
   SHARED ADDITIONS (buttons, nav, forms)
   ========================================== */
.btn {
    letter-spacing: -0.005em;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.nav-links .btn {
    color: var(--white);
}

.btn-nav {
    padding: 9px 20px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.field-error {
    font-size: 0.82rem;
    color: var(--red-text);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"] {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Placeholder imagery: monochrome, tinted into the navy palette.
   Remove the .ph class when a real, colour-graded photo replaces it. */
.ph {
    position: relative;
    background: var(--navy-mid);
    overflow: hidden;
}

.ph img,
img.ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(0.9);
    mix-blend-mode: luminosity;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100dvh;
    padding-top: 136px;
    overflow-x: clip;
}

.hero::before {
    content: '';
    position: absolute;
    right: -15%;
    top: 30%;
    width: 80vw;
    height: 80vw;
    max-width: 1100px;
    max-height: 1100px;
    background: radial-gradient(closest-side, rgba(59, 130, 246, 0.16), transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
}

.hero-ledger {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    margin-bottom: 32px;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--white-70);
}

.hero-ledger span {
    padding: 9px 18px 9px 0;
}

.hero-ledger span + span {
    padding-left: 18px;
    border-left: 1px solid var(--rule-strong);
}

.hero-ledger b {
    color: var(--white);
    font-weight: 500;
}

.hero h1 {
    grid-column: 1 / span 11;
    max-width: 15ch;
    margin-bottom: 56px;
    font-size: clamp(2.6rem, 6.4vw, 5.6rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-aside {
    grid-column: 1 / span 4;
}

.hero-summary {
    max-width: 38ch;
    margin-bottom: 32px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--white-70);
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-meta {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--white-50);
}

/* Video bleeds off the right edge and overlaps the next section */
.hero-visual {
    grid-column: 5 / -1;
    position: relative;
    z-index: var(--z-raised);
    margin: 0 var(--bleed) -96px 0;
    perspective: 2200px;
}

.hero-video-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-right: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 90px var(--accent-blue-glow);
    transform: rotateY(-7deg) rotateX(2deg);
    transform-origin: left center;
}

.hero-video {
    display: block;
    width: 100%;
    height: auto;
}

/* Staggered load-in */
.hero-in {
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn 0.9s var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 120ms + 100ms);
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================
   PROBLEM → SOLUTION LEDGER
   ========================================== */
.ledger-section {
    position: relative;
    padding: calc(var(--section-py) + 96px) 0 var(--section-py);
}

.ledger-photo {
    width: 72%;
    aspect-ratio: 21 / 9;
    border-radius: var(--radius-lg);
}

.ledger {
    position: relative;
    z-index: var(--z-raised);
    width: 80%;
    margin: -160px 0 0 auto;
    padding: 40px 44px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(4, auto);
    column-gap: 48px;
    background: var(--navy);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(2, 8, 23, 0.5);
}

.ledger-col {
    grid-row: 1 / span 5;
    display: grid;
    grid-template-rows: subgrid;
}

.ledger-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule-strong);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-50);
}

.ledger-col--after .ledger-head {
    color: var(--accent-blue-light);
}

.ledger-rows {
    grid-row: 2 / span 4;
    display: grid;
    grid-template-rows: subgrid;
    list-style: none;
    counter-reset: row;
}

.ledger-rows li {
    counter-increment: row;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.98rem;
    line-height: 1.55;
}

.ledger-rows li:last-child {
    border-bottom: 0;
}

.ledger-rows li::before {
    content: counter(row, decimal-leading-zero);
    padding-top: 0.25em;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.ledger-col--before li {
    color: var(--white-70);
}

.ledger-col--before li::before {
    color: var(--red-text);
}

.ledger-col--after li::before {
    color: var(--accent-blue-light);
}

/* "Lo que no somos": typographic strike-through */
.not-block {
    margin-top: 128px;
}

.not-title {
    max-width: 24ch;
    margin-bottom: 48px;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.not-label {
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-50);
}

.not-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 40px;
    margin-bottom: 64px;
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.035em;
    color: var(--white-50);
}

.not-list s {
    text-decoration: none;
    background: linear-gradient(rgba(239, 68, 68, 0.85), rgba(239, 68, 68, 0.85)) no-repeat 0 56% / 100% 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.js .not-list s {
    background-size: 0% 2px;
    transition: background-size 0.8s var(--ease-out);
}

.js .in-view .not-list s {
    background-size: 100% 2px;
}

.js .in-view .not-list s:nth-child(2) { transition-delay: 0.15s; }
.js .in-view .not-list s:nth-child(3) { transition-delay: 0.3s; }
.js .in-view .not-list s:nth-child(4) { transition-delay: 0.45s; }

.yes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
}

.yes-grid li {
    position: relative;
    padding: 20px 0 20px 28px;
    border-top: 1px solid var(--rule-strong);
    font-size: 1.05rem;
    line-height: 1.5;
}

.yes-grid li::before {
    content: '+';
    position: absolute;
    left: 0;
    font-family: var(--font-mono);
    color: var(--accent-blue-light);
}


/* ==========================================
   TRUST
   ========================================== */
.trust-section {
    padding: var(--section-py) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
}

.trust-portrait {
    grid-column: 8 / -1;
    grid-row: 1;
    position: sticky;
    top: 112px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
}

.trust-years {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(11, 26, 59, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    color: var(--white-70);
}

.trust-years b {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
}

.trust-body {
    grid-column: 1 / span 6;
    grid-row: 1;
}

.trust-quote {
    margin: 40px 0 56px;
    padding-left: 24px;
    border-left: 2px solid var(--accent-blue);
}

.trust-quote p {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--white-70);
}

.trust-quote footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.trust-quote footer span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue-light);
}

.trust-team h3 {
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-50);
}

.roster {
    margin-bottom: 24px;
    border-top: 1px solid var(--rule-strong);
}

.roster li {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}

.roster-faces {
    display: flex;
}

.roster-faces img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid var(--navy);
}

.roster-faces img + img {
    margin-left: -12px;
}

.roster-n {
    font-family: var(--font-mono);
    color: var(--white-50);
}

.trust-team p {
    max-width: 56ch;
    font-size: 0.95rem;
    color: var(--white-70);
}


/* ==========================================
   AUDIENCE
   ========================================== */
.audience-section {
    padding: var(--section-py) 0;
}

.scale-track {
    position: relative;
    height: 80px;
    border-bottom: 1px solid var(--rule-strong);
}

.scale-band {
    position: absolute;
    left: 25.9%;
    bottom: 0;
    width: 59.35%;
    height: 100%;
    border: 1px solid rgba(96, 165, 250, 0.55);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.04), rgba(59, 130, 246, 0.24));
    transform-origin: left;
}

.js .scale-band {
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-out) 0.2s;
}

.js .in-view .scale-band {
    transform: scaleX(1);
}

.scale-band span {
    position: absolute;
    top: 12px;
    left: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    white-space: nowrap;
}

.scale-tick {
    position: absolute;
    top: calc(100% + 14px);
    left: var(--x);
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--white-50);
}

.scale-tick::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -14px;
    width: 1px;
    height: 8px;
    background: var(--rule-strong);
}

.scale-tick:first-of-type { transform: none; }
.scale-tick:first-of-type::before { left: 0; }
.scale-tick:last-of-type { transform: translateX(-100%); }
.scale-tick:last-of-type::before { left: 100%; }

.revenue-scale figcaption {
    max-width: 62ch;
    margin-top: 64px;
    color: var(--white-70);
}

.revenue-scale figcaption strong {
    color: var(--white);
    font-weight: 600;
}

/* Sector photos: mixed aspect ratios, skyline rhythm */
.sector-strip {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr 0.9fr 1.1fr;
    align-items: end;
    gap: 16px;
    margin: 64px 0 112px;
}

.sector-strip li {
    border-radius: var(--radius-md);
}

.sector-strip li:nth-child(2) { margin-bottom: 56px; }
.sector-strip li:nth-child(4) { margin-bottom: 24px; }

.sector-strip img {
    aspect-ratio: 3 / 4;
}

.sector-strip li:nth-child(even) img {
    aspect-ratio: 4 / 3;
}

.sector-strip li::after {
    content: '';
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(180deg, transparent, rgba(11, 26, 59, 0.85));
}

.sector-strip span {
    z-index: 1;
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.fit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    margin-bottom: 112px;
    list-style: none;
    counter-reset: fit;
}

.fit-list li {
    counter-increment: fit;
    padding-top: 24px;
    border-top: 1px solid var(--rule-strong);
}

.fit-list li:nth-child(2) {
    margin-top: 72px;
}

.fit-list li::before {
    content: counter(fit, decimal-leading-zero);
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--accent-blue-light);
}

.fit-list h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.fit-list p {
    max-width: 48ch;
    color: var(--white-70);
}

/* Assessment preview: question 1 as the entry point (Amber Reserve) */
.assessment-preview {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 48px;
    padding: 40px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(245, 158, 11, 0.06));
}

.assessment-meta {
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
}

.assessment-preview h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.assessment-preview p {
    color: var(--white-70);
}

.assessment-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.assessment-chips a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.assessment-chips a::after {
    content: '→';
    color: var(--amber);
    opacity: 0.6;
    transform: translateX(-4px);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.assessment-chips a:hover {
    border-color: rgba(245, 158, 11, 0.7);
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.assessment-chips a:hover::after {
    opacity: 1;
    transform: none;
}


/* ==========================================
   LIGHT SHEET (features + pricing)
   A white report laid on the navy desk.
   ========================================== */
.sheet {
    position: relative;
    z-index: var(--z-raised);
    margin: 0 clamp(8px, 2vw, 24px);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 40px 120px rgba(2, 8, 23, 0.5);
}

.sheet .section-label {
    color: var(--accent-blue-deep);
}

.sheet .section-title {
    color: var(--gray-900);
}

.sheet .section-subtitle {
    color: var(--gray-500);
}

/* --- Features: sticky product tour --- */
.features-section {
    padding: var(--section-py) 0;
}

.tour {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
}

.tour-steps {
    grid-column: 1 / span 5;
    list-style: none;
}

.tour-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
    padding: 32px 0 32px 28px;
    border-left: 2px solid var(--gray-200);
    opacity: 0.4;
    transition: opacity 0.4s ease, border-color 0.4s ease;
}

.tour-step.is-active {
    opacity: 1;
    border-left-color: var(--accent-blue);
}

.tour-n {
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue-deep);
}

.tour-step h3 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.tour-step p {
    max-width: 42ch;
    color: var(--gray-500);
}

.tour-step .tour-kpi {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 16px;
    max-width: 44ch;
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.tour-kpi span {
    font-size: 0.85rem;
    color: var(--gray-700);
}

.tour-kpi b {
    grid-row: span 2;
    align-self: center;
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.tour-kpi em {
    font-size: 0.85rem;
    font-style: normal;
    color: var(--gray-500);
}

.tour-frame {
    grid-column: 6 / -1;
    position: sticky;
    top: 18vh;
    align-self: start;
    margin-top: 12vh;
}

.tour-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--navy);
    box-shadow: 0 30px 80px rgba(11, 26, 59, 0.28), 0 0 0 1px rgba(11, 26, 59, 0.08);
}

.tour-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tour-video.is-active {
    opacity: 1;
}

.tour-progress {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.tour-progress span {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: var(--gray-200);
    transition: background var(--transition-med);
}

.tour-progress span.is-active {
    background: var(--accent-blue);
}

/* --- Pricing: a staircase of human involvement --- */
.pricing-section {
    padding: var(--section-py) 0;
}

.stairs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 20px;
}

.tier {
    display: flex;
    flex-direction: column;
    min-height: calc(500px + var(--step, 1) * 64px);
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.tier--featured {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), var(--white) 40%);
}

.tier-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue-deep);
}

.tier-flag {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--accent-blue-deep);
    color: var(--white);
    font-size: 0.72rem;
}

.tier h3 {
    margin-bottom: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tier-who {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-700);
}

.tier-desc {
    margin-bottom: 20px;
    font-size: 0.92rem;
    color: var(--gray-500);
}

.tier-list {
    margin-bottom: 28px;
}

.tier-list li {
    position: relative;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.92rem;
    color: var(--gray-700);
}

.tier-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    font-family: var(--font-mono);
    color: var(--accent-blue-deep);
}

.tier-list .tier-inherit {
    color: var(--gray-500);
}

.tier-list .tier-inherit::before {
    content: '↳';
}

.tier .btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
}

.tier .btn-outline {
    color: var(--gray-900);
    border-color: var(--gray-200);
}

.tier .btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue-deep);
    background: rgba(59, 130, 246, 0.06);
}


/* ==========================================
   PHOTO BREAK
   ========================================== */
.photo-break {
    padding-bottom: calc(var(--section-py) / 2);
}

.photo-break-img {
    height: clamp(280px, 42vw, 560px);
    margin-top: -48px;
}

.photo-break-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--navy) 0%, transparent 25%, transparent 45%, var(--navy) 100%);
}


/* ==========================================
   TIMELINE — day ruler (Gantt)
   ========================================== */
.timeline-section {
    padding: var(--section-py) 0;
}

.gantt {
    --label-w: 36%;
}

.gantt-axis {
    position: relative;
    height: 32px;
    margin-left: var(--label-w);
    border-bottom: 1px solid var(--rule-strong);
}

.gantt-axis span {
    position: absolute;
    left: var(--x);
    bottom: 10px;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--white-50);
    white-space: nowrap;
}

.gantt-axis span:first-child { transform: none; }
.gantt-axis span:last-child { transform: translateX(-100%); }

.gantt-row {
    display: grid;
    grid-template-columns: var(--label-w) 1fr;
    border-bottom: 1px solid var(--rule);
}

.gantt-label {
    padding: 28px 32px 28px 0;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
}

.gantt-label h3 {
    margin: 6px 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.gantt-label p {
    max-width: 36ch;
    font-size: 0.9rem;
    color: var(--white-70);
}

/* Gridlines every 5 days (5/17 of the track) */
.gantt-track {
    position: relative;
    background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px);
    background-size: 29.41% 100%;
}

.gantt-bar {
    position: absolute;
    top: 50%;
    left: var(--start);
    width: calc(var(--end) - var(--start));
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(96, 165, 250, 0.6);
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.5));
    transform: translateY(-50%);
    transform-origin: left;
}

.gantt-bar b {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.gantt-bar--point {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
}

.gantt-bar--final {
    border-color: var(--accent-blue-deep);
    background: var(--accent-blue-deep);
}

/* label sits left of the narrow 48 h bar so it never clips */
.gantt-bar--final b {
    position: absolute;
    right: calc(100% + 10px);
    color: var(--white);
}

.js .gantt-bar {
    transform: translateY(-50%) scaleX(0);
    transition: transform 1s var(--ease-out);
}

.js .gantt.in-view .gantt-bar {
    transform: translateY(-50%) scaleX(1);
}

.js .gantt.in-view .gantt-row:nth-child(3) .gantt-bar { transition-delay: 0.35s; }
.js .gantt.in-view .gantt-row:nth-child(4) .gantt-bar { transition-delay: 1.1s; }


/* ==========================================
   CTA / CONTACT
   ========================================== */
.cta-section {
    padding: var(--section-py) 0;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
}

.cta-info {
    grid-column: 1 / span 6;
    padding-top: 24px;
}

.cta-info h2 {
    max-width: 14ch;
    margin-bottom: 20px;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.cta-info > p {
    max-width: 44ch;
    margin-bottom: 40px;
    color: var(--white-70);
}

.next-steps {
    margin-bottom: 32px;
    border-top: 1px solid var(--rule-strong);
    list-style: none;
}

.next-steps li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

.next-steps span {
    padding-top: 0.2em;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-blue-light);
}

.cta-info .cta-contact-email {
    justify-content: flex-start;
    margin: 0;
}

.cta-form-card {
    grid-column: 8 / -1;
    padding: 40px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px rgba(2, 8, 23, 0.45);
}


/* ==========================================
   FAQ — ruled rows (shared across pages)
   ========================================== */
.faq-section {
    padding: var(--section-py) 0;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-section .section-subtitle {
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--rule-strong);
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-item summary {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
    color: var(--accent-blue-light);
}

.faq-item summary::after {
    content: '+';
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent-blue-light);
    transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 68ch;
    padding: 0 48px 24px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--white-70);
}

.faq-item p a,
.faq-cta a {
    color: var(--accent-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-item p a:hover,
.faq-cta a:hover {
    color: var(--white);
}

.faq-list--numbered {
    counter-reset: faq;
}

.faq-list--numbered summary::before {
    counter-increment: faq;
    content: counter(faq, decimal-leading-zero);
    min-width: 2.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--white-50);
}

.faq-list--numbered .faq-item p {
    padding-left: calc(2.25rem + 16px);
}

.faq-page-section .faq-item {
    margin-bottom: 0;
}

.faq-cta {
    margin-top: 32px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--white-70);
}

.faq-split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
}

.faq-aside {
    grid-column: 1 / span 4;
    position: sticky;
    top: 112px;
}

.faq-aside .section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.faq-aside .faq-cta {
    text-align: left;
}

.faq-split .faq-list {
    grid-column: 6 / -1;
    max-width: none;
    margin: 0;
}


/* ==========================================
   FOOTER — tagline
   ========================================== */
.footer {
    padding-top: 112px;
}

.footer .container {
    display: block;
}

.footer-tagline {
    max-width: 16ch;
    margin-bottom: 72px;
    font-size: clamp(2.2rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.12);
}


/* ==========================================
   SCROLL REVEAL (only when JS is running)
   ========================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ==========================================
   NON-LINEAR LAYER
   Each section opens its own way, margin notes read
   sideways, and a few elements cross section edges.
   ========================================== */

/* Margin notes: ledger-style annotations in the side column */
.margin-note {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--white-50);
}

.sheet .margin-note {
    color: var(--gray-500);
}

/* Every section heading starts on the same left edge; the content after it varies */
.problem-open,
.ledger-wrap,
.audience-head,
.timeline-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
}

.problem-head {
    grid-column: 1 / span 7;
    grid-row: 1;
}

/* Problem: photo set right, the ledger overlaps its bottom-left */
.problem-open .ledger-photo {
    grid-column: 5 / -1;
    grid-row: 2;
    width: auto;
    margin-top: 40px;
}

.problem-title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.ledger-wrap .ledger {
    grid-column: 1 / span 10;
    grid-row: 1;
    width: auto;
    margin: -96px 0 0;
}

/* Trust: the quote is the headline; the portrait hangs into the next section */
.trust-portrait {
    z-index: var(--z-raised);
    margin-bottom: -280px;
}

/* Audience: header sits right of the hanging portrait; the range is written on the scale */
.audience-head {
    margin-bottom: 88px;
}

.audience-head > * {
    grid-column: 1 / span 7;
}

.revenue-scale .scale-track {
    height: 136px;
}

.scale-band span {
    top: 18px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: clamp(1.3rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.scale-band small {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
}

/* Features: the header lives in the tour column, beside the video */
.tour-head {
    grid-column: 1 / span 5;
    grid-row: 1;
    padding-bottom: 40px;
}

.tour-head .section-title {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.tour-steps {
    grid-row: 2;
}

.tour-frame {
    grid-row: 1 / span 2;
    margin-top: 0;
}

/* Pricing: header sits beside the top step and you read up the stairs */
.stairs-head {
    grid-column: 1 / span 2;
    grid-row: 1;
    align-self: end;
    max-width: 36rem;
    padding-bottom: 48px;
}

.stairs .tier {
    grid-row: 2;
}

.stairs .tier:last-of-type {
    grid-row: 1 / span 2;
    align-self: stretch;
}

.stairs-head .margin-note {
    margin-top: 16px;
}

/* Timeline: the figure is the visual */
.timeline-head {
    align-items: end;
    margin-bottom: 56px;
}

.timeline-head .section-label {
    grid-column: 1 / -1;
}

.timeline-title {
    grid-column: 1 / span 8;
    grid-row: 2 / span 2;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.timeline-title .mono-figure {
    display: block;
    font-size: clamp(4.5rem, 14vw, 11rem);
    line-height: 0.9;
    color: var(--white);
}

.timeline-head .section-subtitle {
    grid-column: 9 / -1;
    grid-row: 2;
}

@media (max-width: 1024px) {
    .problem-open .ledger-photo,
    .problem-head,
    .ledger-wrap .ledger,
    .audience-head > *,
    .timeline-title,
    .timeline-head .section-subtitle {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .problem-open .ledger-photo {
        margin-top: 32px;
    }

    .ledger-wrap .ledger {
        margin-top: -64px;
    }

    .trust-portrait {
        margin-bottom: 0;
    }

    .stairs-head {
        grid-column: 1 / -1;
        max-width: none;
    }

    .stairs .tier,
    .stairs .tier:last-of-type {
        grid-row: auto;
    }

    .timeline-title {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .tour-head {
        order: -2;
        padding-bottom: 24px;
    }

}


/* ==========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --section-py: 96px;
    }

    .hero h1,
    .hero-aside,
    .hero-visual {
        grid-column: 1 / -1;
    }

    .hero-aside {
        margin-bottom: 48px;
    }

    .hero-summary {
        max-width: 56ch;
    }

    .ledger-photo,
    .ledger {
        width: 100%;
    }

    .ledger {
        margin-top: -80px;
    }

    .trust-body {
        grid-column: 1 / span 7;
    }

    .stairs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tier:last-child {
        grid-column: 1 / -1;
    }

    .tier {
        min-height: 0;
    }

    .gantt {
        --label-w: 42%;
    }

    .cta-info,
    .cta-form-card {
        grid-column: 1 / -1;
    }

    .cta-form-card {
        margin-top: 40px;
    }

    .faq-aside,
    .faq-split .faq-list {
        grid-column: 1 / -1;
    }

    .faq-aside {
        position: static;
        margin-bottom: 40px;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

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

    .footer-nav {
        gap: 40px;
    }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================== */
@media (max-width: 768px) {
    :root {
        --section-py: 72px;
        --container-px: 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 24px;
        gap: 20px;
        background: rgba(11, 26, 59, 0.97);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--glass-border);
    }

    .hero {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-ledger {
        flex-direction: column;
        width: 100%;
    }

    .hero-ledger span + span {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--rule);
    }

    .hero h1 {
        font-size: clamp(2.3rem, 10.5vw, 3.2rem);
        margin-bottom: 32px;
    }

    .hero-ctas {
        align-items: stretch;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

    .hero-visual {
        margin-bottom: -48px;
    }

    .hero-video-wrap {
        transform: none;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }

    .ledger-section {
        padding-top: calc(var(--section-py) + 48px);
    }

    .ledger-photo {
        aspect-ratio: 4 / 3;
    }

    .ledger {
        display: block;
        margin-top: -48px;
        padding: 28px 20px 12px;
    }

    .ledger-col,
    .ledger-rows {
        display: block;
    }

    .ledger-col--after {
        margin-top: 32px;
    }

    .not-block {
        margin-top: 88px;
    }

    .yes-grid {
        grid-template-columns: 1fr;
    }

    .trust-portrait,
    .trust-body {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .trust-portrait {
        position: relative;
        top: 0;
        aspect-ratio: 4 / 3;
        margin-bottom: 40px;
    }

    .roster li {
        grid-template-columns: 64px 1fr auto;
    }

    .scale-tick:nth-of-type(3),
    .scale-tick:nth-of-type(4) {
        display: none;
    }

    .sector-strip {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 62%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-right: calc(-1 * var(--container-px));
        padding-right: var(--container-px);
        margin-bottom: 72px;
    }

    .sector-strip li {
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    .fit-list {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 72px;
    }

    .fit-list li:nth-child(2) {
        margin-top: 0;
    }

    .assessment-preview {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 20px;
    }

    .assessment-chips {
        grid-template-columns: 1fr;
    }

    .sheet {
        margin: 0 8px;
    }

    .tour {
        display: flex;
        flex-direction: column;
    }

    .tour-frame {
        order: -1;
        align-self: stretch;
        position: sticky;
        top: 64px;
        z-index: var(--z-raised);
        margin: 0 0 8px;
        padding: 8px 0;
        background: var(--white);
        margin-top: 0;
    }

    .tour-step {
        min-height: 44vh;
    }

    .stairs {
        grid-template-columns: 1fr;
    }

    .gantt-axis {
        margin-left: 0;
    }

    .gantt-axis span:nth-child(4) {
        display: none;
    }

    .gantt-row {
        grid-template-columns: 1fr;
    }

    .gantt-label {
        padding: 20px 0 8px;
    }

    .gantt-track {
        height: 56px;
    }

    .cta-form-card {
        padding: 28px 20px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .faq-item summary {
        padding: 18px 0;
        font-size: 0.98rem;
    }

    .faq-item p,
    .faq-list--numbered .faq-item p {
        padding: 0 0 18px;
    }

    .faq-bottom-cta-inner {
        padding: 40px 24px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .footer-main,
    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================
   PREFERS REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-in {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
