/* Self-hosted fonts */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/dm-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/dm-sans-500.woff2') format('woff2');
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/dm-sans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/fraunces-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/fraunces-700.woff2') format('woff2');
}

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

:root {
    /* Seafoam teal from original Case Nurse site */
    --color-primary: #3DBDB1;
    --color-primary-dark: #35A89D;
    --color-primary-light: #5ECEC3;
    --color-navy: #1a1a2e;
    --color-navy-deep: #0f0f1a;
    --color-slate: #475569;
    --color-muted: #64748b;
    --color-light: #f0fdfb;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-border-teal: #a7f3ec;
    
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    --space-section: 5.5rem;  /* 88px — marketing-grade section padding */
    --content-max: 1320px;    /* wider content channel */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-navy-deep);
    background: linear-gradient(180deg, #f0fdfb 0%, #f8fffe 40%, var(--color-white) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 22, 41, 0.88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0.75rem var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    background: var(--color-primary);
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(61, 189, 177, 0.4);
    letter-spacing: 0.01em;
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(61, 189, 177, 0.5);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: calc(60px + var(--space-2xl)) var(--space-lg) var(--space-xl);
    position: relative;
    min-height: min(85vh, 780px);
}

/* Decorative background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 60px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(61, 189, 177, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy-deep);
    margin-bottom: var(--space-md);
    padding: 0.5rem 1rem;
    background: var(--color-light);
    border: 1px solid var(--color-border-teal);
    border-radius: 100px;
    width: fit-content;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-navy-deep);
    margin-bottom: var(--space-md);
}

.hero-highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-primary-light);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-slate);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.hero-note {
    font-size: 0.875rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.hero-note::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(61, 189, 177, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 189, 177, 0.4);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 189, 177, 0.4), 0 4px 14px rgba(61, 189, 177, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(61, 189, 177, 0.3);
}

.nav-cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 189, 177, 0.3);
}

.btn-large {
    font-size: 1.0625rem;
    padding: 1.125rem 2.25rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

/* Hero Mockup (condensed product preview) */
.hero-mockup {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    position: relative;
    background: var(--color-white);
}

.hero-mockup-body {
    background: #f8fafc;
    padding: 0.875rem;
    max-height: 460px;
    overflow: hidden;
}

.hero-mockup-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(248, 250, 252, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Credibility Bar */
.credibility {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
    background: var(--color-light);
}

.credibility-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--color-navy-deep);
    font-weight: 500;
    transition: color 0.2s ease;
}

.cred-item:hover {
    color: var(--color-primary-dark);
}

.cred-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

/* How It Works */
.how-it-works {
    background: var(--color-white);
    padding: var(--space-section) var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--color-navy-deep);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: var(--content-max);
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(61, 189, 177, 0.12);
    transform: translateY(-4px);
}

.step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.step:hover::after {
    width: 60%;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    box-shadow: 0 4px 12px rgba(61, 189, 177, 0.3);
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-navy-deep);
}

.step p {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Differentiator */
.differentiator {
    padding: var(--space-section) var(--space-lg);
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
}

.diff-container {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.diff-content {
    text-align: left;
}

.diff-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-navy-deep);
}

.diff-text {
    font-size: 1.0625rem;
    color: var(--color-slate);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.diff-text:last-child {
    margin-bottom: 0;
}

.diff-visual {
    display: flex;
    justify-content: center;
}

.diff-badge {
    background: linear-gradient(135deg, #f0fdfb 0%, #ffffff 100%);
    border: 2px solid var(--color-border-teal);
    border-radius: 20px;
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 8px 30px rgba(61, 189, 177, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.diff-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61, 189, 177, 0.15);
}

.badge-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-sm);
    box-shadow: 0 0 0 4px var(--color-white), 0 0 0 6px var(--color-primary);
    position: relative;
}

.badge-icon::after {
    content: '\2713';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.badge-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    margin-bottom: var(--space-xs);
}

.badge-text {
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* Quote Banner */
.quote-banner {
    background: var(--color-light);
    border-top: 1px solid var(--color-border-teal);
    border-bottom: 1px solid var(--color-border-teal);
    padding: var(--space-xl) var(--space-lg);
}

.quote-banner-inner {
    max-width: 900px;
    margin: 0 auto;
}

.quote-banner blockquote {
    position: relative;
    padding-left: var(--space-lg);
    border-left: 4px solid var(--color-primary);
}

.quote-banner blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.quote-banner blockquote p {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--color-navy-deep);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.quote-banner blockquote cite {
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-muted);
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--color-muted);
    text-align: center;
    max-width: 740px;
    margin: -0.5rem auto var(--space-xl);
    line-height: 1.6;
}

/* Product Mockup */
.product-mockup {
    padding: var(--space-section) var(--space-lg);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
}

.mockup-browser {
    max-width: var(--content-max);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: #f1f3f5;
    padding: 0.6rem var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.mockup-url {
    flex: 1;
    background: var(--color-white);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-muted);
    text-align: center;
}

.mockup-body {
    background: #f8fafc;
    padding: var(--space-md);
}

/* Case bar */
.mockup-case-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.mockup-case-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-navy-deep);
    display: block;
}

.mockup-case-sub {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.mockup-review-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #15803d;
    background: #dcfce7;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* Stats bar */
.mockup-stats {
    display: flex;
    gap: 0.625rem;
    margin-bottom: var(--space-md);
}

.mockup-stat {
    flex: 1;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    text-align: center;
}

.mockup-stat-navy {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-color: transparent;
}

.mockup-stat-navy .mockup-stat-value,
.mockup-stat-navy .mockup-stat-label {
    color: var(--color-white);
}

.mockup-stat-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
}

.mockup-stat-blue .mockup-stat-value,
.mockup-stat-blue .mockup-stat-label {
    color: var(--color-white);
}

.mockup-stat-green {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: transparent;
}

.mockup-stat-green .mockup-stat-value,
.mockup-stat-green .mockup-stat-label {
    color: var(--color-white);
}

.mockup-stat-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy-deep);
    display: block;
    line-height: 1.2;
}

.mockup-stat-label {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

/* Toolbar */
.mockup-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.mockup-view-toggle {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.mockup-toggle-active,
.mockup-toggle-inactive {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    cursor: default;
}

.mockup-toggle-active {
    background: var(--color-navy-deep);
    color: var(--color-white);
}

.mockup-toggle-inactive {
    background: var(--color-white);
    color: var(--color-muted);
}

.mockup-actions {
    display: flex;
    gap: 0.5rem;
}

.mockup-action-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    cursor: default;
}

.mockup-action-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.mockup-action-secondary {
    background: var(--color-white);
    color: var(--color-navy-deep);
    border: 1px solid var(--color-border);
}

/* Category findings */
.mockup-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-category {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-category-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-left: 4px solid transparent;
    cursor: default;
}

.mockup-cat-border-red { border-left-color: #ef4444; background: linear-gradient(90deg, #fef2f2, var(--color-white)); }
.mockup-cat-border-blue { border-left-color: #3b82f6; background: linear-gradient(90deg, #eff6ff, var(--color-white)); }
.mockup-cat-border-green { border-left-color: #22c55e; background: linear-gradient(90deg, #dcfce7, var(--color-white)); }

.mockup-cat-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--color-navy-deep);
}

.mockup-cat-count {
    font-size: 0.6875rem;
    color: var(--color-muted);
    background: #f1f5f9;
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
}

.mockup-chevron {
    margin-left: auto;
    font-size: 0.5rem;
    color: var(--color-muted);
}

.mockup-category-body {
    padding: 0 0.875rem 0.625rem 1.75rem;
}

/* Finding groups */
.mockup-finding-group {
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
}

.mockup-finding-group:last-child {
    border-bottom: none;
}

.mockup-group-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mockup-group-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-navy-deep);
}

.mockup-icd {
    font-size: 0.625rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.0625rem 0.375rem;
    border-radius: 4px;
    font-family: monospace;
}

.mockup-status-new {
    font-size: 0.625rem;
    font-weight: 600;
    background: #dcfce7;
    color: #15803d;
    padding: 0.0625rem 0.375rem;
    border-radius: 4px;
}

.mockup-status-pre {
    font-size: 0.625rem;
    font-weight: 600;
    background: #fef3c7;
    color: #a16207;
    padding: 0.0625rem 0.375rem;
    border-radius: 4px;
}

.mockup-occurrence {
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-left: auto;
}

/* Finding details */
.mockup-finding-detail {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: #f8fafc;
    border-radius: 6px;
    flex-wrap: wrap;
}

.mockup-detail-text {
    font-size: 0.75rem;
    color: var(--color-slate);
    flex: 1;
    min-width: 200px;
}

.mockup-detail-meta {
    font-size: 0.6875rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.mockup-page-chip {
    font-size: 0.625rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.0625rem 0.375rem;
    border-radius: 4px;
    white-space: nowrap;
    cursor: default;
}

/* Mockup Scene — 3-layer depth stack */
.mockup-scene {
    position: relative;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.mockup-scene .mockup-browser {
    position: relative;
    z-index: 1;
    margin-left: 4%;
    width: 92%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Floating card base */
.mockup-float {
    position: absolute;
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
}

.float-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.float-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-icon-teal {
    background: #f0fdfa;
    color: var(--color-primary);
}

.float-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.float-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy-deep);
}

/* Layer 2: Treatment Timeline */
.mockup-float-timeline {
    top: -1rem;
    left: -1.5rem;
    width: 380px;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-track {
    position: relative;
    height: 60px;
    margin-top: 0.25rem;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    transform: translateY(-50%);
    border-radius: 2px;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 2px solid var(--color-white);
}

.timeline-dot-red { background: #ef4444; }
.timeline-dot-blue { background: #3b82f6; }
.timeline-dot-green { background: #22c55e; }

.timeline-label {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5625rem;
    font-weight: 500;
    color: var(--color-muted);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.timeline-label small {
    font-weight: 400;
    color: #94a3b8;
}

.timeline-gap {
    position: absolute;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    border-top: 2px dashed #f59e0b;
    z-index: 1;
}

.timeline-gap-pill {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5625rem;
    font-weight: 600;
    color: #b45309;
    background: #fef3c7;
    padding: 0.0625rem 0.375rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* Layer 3: Case Intelligence */
.mockup-float-intel {
    bottom: 0;
    right: -1.5rem;
    width: 340px;
    z-index: 3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.intel-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.intel-card {
    border-radius: 6px;
    padding: 0.5rem 0.625rem;
}

.intel-card-purple {
    border-left: 3px solid #8b5cf6;
    background: #faf5ff;
}

.intel-card-blue {
    border-left: 3px solid #3b82f6;
    background: #eff6ff;
}

.intel-card-orange {
    border-left: 3px solid #f97316;
    background: #fff7ed;
}

.intel-card-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.125rem;
}

.intel-card-purple .intel-card-label { color: #7c3aed; }
.intel-card-blue .intel-card-label { color: #2563eb; }
.intel-card-orange .intel-card-label { color: #ea580c; }

.intel-card-text {
    font-size: 0.6875rem;
    color: var(--color-slate);
    line-height: 1.4;
}

/* Inline Testimonials (inside product-mockup) */
.testimonials-inline {
    max-width: var(--content-max);
    margin: var(--space-lg) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: 12px;
    padding: var(--space-md);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card blockquote p {
    font-size: 0.9375rem;
    color: var(--color-navy-deep);
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

.testimonial-card blockquote cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-muted);
}

/* Differentiator Quote */
.diff-quote {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    border-radius: 0 8px 8px 0;
}

.diff-quote p {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--color-navy-deep);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.diff-quote cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-muted);
}

/* Pricing */
.pricing {
    padding: var(--space-section) var(--space-lg);
    background: var(--color-light);
}

.pricing-layout {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-teal);
    border-radius: 20px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 4px 20px rgba(61, 189, 177, 0.08);
}

.pricing-proof {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.pricing-quote {
    position: relative;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-primary);
}

.pricing-quote p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-navy-deep);
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

.pricing-quote cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-muted);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--space-sm);
}

.pricing-dollar {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-navy-deep);
    line-height: 1;
}

.pricing-per {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-left: 0.25rem;
}

.pricing-tagline {
    font-size: 1.0625rem;
    color: var(--color-slate);
    margin-bottom: var(--space-lg);
}

.pricing-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 340px;
    margin: 0 auto var(--space-lg);
}

.pricing-list li {
    position: relative;
    padding-left: 1.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--color-slate);
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-top: var(--space-sm);
}

/* FAQ */
.faq {
    padding: var(--space-section) var(--space-lg);
    background: var(--color-white);
}

.faq-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-xl);
}

.faq-col {
    /* columns for FAQ items */
}

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

.faq-item summary {
    padding: var(--space-md) 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item p {
    padding: 0 0 var(--space-md);
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.7;
}

/* CTA Section (with embedded founder) */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, var(--color-primary-dark) 100%);
    padding: var(--space-section) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 189, 177, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 189, 177, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.cta-founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(61, 189, 177, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-sm);
}

.cta-founder-info {
    font-size: 0.9375rem;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.cta-founder-info strong {
    color: var(--color-white);
}

.cta-founder-bio {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.cta-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-navy-deep);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--color-light);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) var(--space-md);
    background: var(--color-white);
}

.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo {
    height: 48px;
    width: auto;
}

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

.footer-contact {
    display: flex;
    align-items: center;
}

.footer-email {
    font-size: 0.875rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: var(--color-primary-dark);
}

.footer-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* Skip to content (accessibility) */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    z-index: 10000;
}

/* Hamburger menu (mobile nav) */
.nav-toggle-checkbox {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 101;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-checkbox:checked ~ .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-checkbox:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-checkbox:checked ~ .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav-link-cta {
    display: none;
    color: var(--color-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #0f1629;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #0f1629;
        flex-direction: column;
        padding: 5rem var(--space-lg) var(--space-lg);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 200;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu .nav-link {
        padding: 0.875rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu .nav-link-cta {
        display: block;
        margin-top: var(--space-sm);
        border-bottom: none;
    }

    .nav-toggle-checkbox:checked ~ .nav-menu {
        transform: translateX(0);
    }

    .nav-hamburger {
        z-index: 201;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: calc(60px + var(--space-xl));
        padding-bottom: var(--space-lg);
        text-align: center;
    }
    
    .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diff-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .diff-content {
        text-align: center;
    }
    
    .diff-visual {
        order: -1;
    }

    .diff-quote {
        text-align: left;
    }

    .mockup-scene {
        position: static;
        padding: 0;
    }

    .mockup-scene .mockup-browser {
        width: 100%;
        margin-left: 0;
    }

    .mockup-float {
        position: static;
        width: 100% !important;
        margin-top: 1rem;
    }

    .testimonials-inline {
        grid-template-columns: 1fr 1fr;
    }

    .mockup-stats {
        flex-wrap: wrap;
    }

    .mockup-stat {
        flex: 0 0 calc(33.33% - 0.5rem);
    }

    .pricing-layout {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }

    .pricing-proof {
        flex-direction: row;
        gap: var(--space-md);
    }

    .pricing-quote {
        flex: 1;
    }

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

    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 640px) {
    .nav-inner {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .logo-img {
        height: 44px;
        max-width: 140px;
        object-fit: contain;
    }

    .nav-cta {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
        white-space: nowrap;
    }

    .hero-title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-mockup {
        max-width: 100%;
    }

    .hero-mockup-body {
        max-height: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .credibility-inner {
        gap: var(--space-sm);
        flex-direction: column;
        align-items: center;
        padding: var(--space-md);
    }

    .cred-item {
        font-size: 0.8125rem;
    }

    .quote-banner blockquote p {
        font-size: 1.0625rem;
    }

    .mockup-case-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .mockup-stats {
        flex-wrap: wrap;
    }

    .mockup-stat {
        flex: 0 0 calc(50% - 0.375rem);
    }

    .mockup-toolbar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .mockup-actions {
        justify-content: center;
    }

    .testimonials-inline {
        grid-template-columns: 1fr;
    }

    .mockup-float {
        padding: 0.75rem 1rem;
    }

    .timeline-label {
        display: none;
    }

    .timeline-gap-pill {
        font-size: 0.5rem;
    }

    .pricing-number {
        font-size: 3rem;
    }

    .pricing-proof {
        flex-direction: column;
    }

    .cta-founder-photo {
        width: 100px;
        height: 100px;
    }
}

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

/* Legal Pages (Privacy Policy & Terms of Service) */
.legal-page {
    padding-top: calc(60px + var(--space-xl));
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
    background: var(--color-white);
}

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

.legal-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: var(--space-md);
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--color-primary-dark);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-navy-deep);
    margin-bottom: var(--space-sm);
}

.legal-meta {
    font-size: 0.875rem;
    color: var(--color-muted);
}

.legal-content {
    line-height: 1.8;
    color: var(--color-slate);
}

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

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-list {
    list-style: none;
    margin-bottom: var(--space-md);
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.legal-list li strong {
    color: var(--color-navy-deep);
}

.legal-notice {
    background: var(--color-light);
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-radius: 0 8px 8px 0;
}

.legal-notice strong {
    color: var(--color-navy-deep);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.legal-table th {
    background: var(--color-light);
    font-weight: 600;
    color: var(--color-navy-deep);
}

.legal-table td {
    vertical-align: top;
}

.legal-table a {
    color: var(--color-primary);
    text-decoration: none;
    word-break: break-word;
}

.legal-table a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.legal-address {
    font-style: normal;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.legal-caps {
    font-size: 0.9375rem;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Footer legal links */
.footer-legal {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-legal span {
    color: var(--color-muted);
}

/* Legal page responsive */
@media (max-width: 640px) {
    .legal-page {
        padding-top: calc(60px + var(--space-lg));
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-meta {
        font-size: 0.8125rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .legal-table {
        font-size: 0.8125rem;
    }

    .legal-table th,
    .legal-table td {
        padding: var(--space-xs) var(--space-sm);
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}
