/* ============================================
   Edge Solutions — Global Styles
   ============================================ */

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

:root {
    --primary: #4c7cf5;
    --primary-dark: #3a67d8;
    --primary-rgb: 76, 124, 245;
    --dark: #0a0d14;
    --dark-lighter: #0d1119;
    --dark-card: #111621;
    --dark-border: #1d2432;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #cbd2dd;
    --gray-400: #98a2b3;
    --gray-500: #6b7686;
    --gray-600: #4b5464;
    --white: #ffffff;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1160px;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --transition: 0.25s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

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

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #7ea3f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: -0.005em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-outline:hover {
    border-color: var(--gray-400);
    background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header-scrolled {
    padding: 12px 0;
    background: rgba(9, 11, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--gray-400);
    transition: all var(--transition);
}

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

.nav-link.active {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.page-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.10) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(var(--primary-rgb), 0.10);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--gray-400);
    max-width: 640px;
    margin: 24px auto 0;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--dark-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-border);
}

/* ============================================
   Pain Point Section
   ============================================ */
.pain-section {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pain-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.35;
    margin-bottom: 20px;
}

.pain-content p {
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.pain-content strong {
    color: var(--primary);
}

.pain-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
}

.pain-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.05);
}

.pain-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
}

.pain-card h3,
.pain-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   Solution Section
   ============================================ */
.solution-section {
    padding: 100px 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.solution-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.08);
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 16px;
}

.solution-card h3,
.solution-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   Services Preview (Homepage)
   ============================================ */
.services-preview {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3,
.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    color: #7ea3f8;
}

/* ============================================
   Mid-Page CTA
   ============================================ */
.mid-cta-section {
    padding: 80px 0;
}

.mid-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
}

.mid-cta-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 8px;
}

.mid-cta-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 520px;
}

.mid-cta .btn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .mid-cta {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .mid-cta-content p {
        max-width: 100%;
    }

    .mid-cta .btn {
        width: 100%;
    }
}

/* ============================================
   Results Section
   ============================================ */
.results-section {
    padding: 100px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
}

.result-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.result-metric {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.result-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-300);
    flex: 1;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   Differentiator Section
   ============================================ */
.diff-section {
    padding: 100px 0;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.diff-content h3 {
    margin-bottom: 20px;
}

.diff-content p {
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.diff-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.diff-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.diff-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.diff-col {
    border-radius: var(--radius);
    padding: 32px;
}

.diff-them {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.diff-us {
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.diff-col h3,
.diff-col h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-border);
}

.diff-us h3,
.diff-us h5 {
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.diff-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.diff-col li {
    font-size: 0.9rem;
    color: var(--gray-400);
    padding-left: 20px;
    position: relative;
}

.diff-them li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--gray-600);
    font-weight: 700;
}

.diff-us li {
    color: var(--gray-300);
}

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

/* ============================================
   Local SEO Section
   ============================================ */
.local-section {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.local-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.local-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.local-card h3,
.local-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.local-card p {
    font-size: 0.925rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover,
.faq-item[open] {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-item summary {
    padding: 20px 28px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition);
}

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

.faq-item p {
    padding: 0 28px 24px;
    font-size: 0.925rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: var(--gray-600);
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h3,
.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--gray-400);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    padding: 4px 0;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-detail {
    padding: 80px 0;
}

.service-detail-alt {
    background: var(--dark-lighter);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 8px;
}

.service-detail-content h2 {
    margin-bottom: 16px;
}

.service-detail-lead {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 28px;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.service-detail-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.service-detail-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.service-detail-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Visual Cards */
.visual-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.visual-card-header {
    display: flex;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--dark-border);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-border);
}

.visual-dot:first-child { background: #ff5f57; }
.visual-dot:nth-child(2) { background: #febc2e; }
.visual-dot:nth-child(3) { background: #28c840; }

.visual-card-body {
    padding: 28px;
}

/* Metric Bars */
.visual-metric {
    margin-bottom: 20px;
}

.visual-metric:last-child {
    margin-bottom: 0;
}

.visual-metric-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    display: block;
}

.visual-bar {
    width: 100%;
    height: 8px;
    background: var(--dark-border);
    border-radius: 4px;
    overflow: hidden;
}

.visual-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7ea3f8);
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Flow Visual */
.visual-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    min-width: 80px;
}

.flow-step.flow-ai {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.flow-icon {
    color: var(--gray-400);
}

.flow-ai .flow-icon {
    color: var(--primary);
}

.flow-step span {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.flow-arrow {
    color: var(--gray-600);
    font-size: 1.25rem;
}

.visual-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.savings-before, .savings-after {
    text-align: center;
}

.savings-before span, .savings-after span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.savings-before strong {
    color: var(--gray-400);
    font-size: 1.25rem;
    text-decoration: line-through;
    opacity: 0.5;
}

.savings-after strong {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Chat Visual */
.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.chat-user {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--dark-border);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-ai {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-ai p {
    color: var(--gray-300);
}

.chat-badge {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    padding-top: 12px;
    border-top: 1px solid var(--dark-border);
}

/* Integration Visual */
.integration-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.integration-hub {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--primary);
}

.integration-spokes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.integration-spoke {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
}

/* ============================================
   Case Studies Page
   ============================================ */
.case-study {
    padding: 40px 0;
}

.case-study:first-of-type {
    padding-top: 60px;
}

.case-study-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.case-study-header {
    padding: 48px 48px 0;
}

.case-study-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.case-study-header h2 {
    margin-bottom: 12px;
}

.case-study-subtitle {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 700px;
}

.case-study-body {
    padding: 40px 48px 48px;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.case-metric {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.case-metric-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.case-metric-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.case-study-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.case-detail h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.case-detail p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.case-study-quote {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: var(--radius);
    padding: 32px;
}

.case-study-quote blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 12px;
}

.case-study-quote cite {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   Our Story Page
   ============================================ */
.story-section {
    padding: 80px 0;
}

.story-simple {
    max-width: 700px;
    margin: 0 auto;
}

.story-simple p {
    color: var(--gray-400);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-simple p:last-child {
    margin-bottom: 0;
}

.story-narrative {
    max-width: 750px;
    margin: 0 auto;
}

.story-chapter {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
}

.story-chapter:last-child {
    padding-bottom: 0;
}

.story-chapter-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 8px;
}

.story-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.story-line {
    width: 2px;
    flex: 1;
    background: var(--dark-border);
    margin-top: 8px;
}

.story-chapter-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.story-chapter-content p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.story-chapter-content p:last-child {
    margin-bottom: 0;
}

.story-highlight {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 20px 24px;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius);
}

.story-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Team Section (Our Story Page) */
.team-section {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.team-card-page {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.team-card-page:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.team-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 20px;
}

.team-card-page h3,
.team-card-page h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.team-card-page p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.65;
}

.team-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-summary-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 28px;
}

.team-summary-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.team-summary-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.team-summary-item p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.4;
    display: block;
    margin-bottom: 12px;
}

.value-card h3,
.value-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .story-chapter {
        gap: 20px;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .story-chapter-marker {
        display: none;
    }
}

/* ============================================
   Motion & Depth
   ============================================ */

.hero {
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(var(--primary-rgb), 0.07), transparent 70%),
        var(--dark);
}

/* Card hover: a small lift and a border shift. No scaling, no glow. */
.pain-card,
.solution-card,
.service-card,
.result-card,
.testimonial-card,
.casepreview-card {
    transition: border-color var(--transition),
                background var(--transition),
                transform var(--transition);
}

.pain-card:hover,
.solution-card:hover,
.service-card:hover,
.result-card:hover,
.testimonial-card:hover,
.casepreview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: none;
}

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

/* ============================================
   Animations
   ============================================ */
/* 5. Parallax-like depth + 7. Staggered fade-in with rotation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.pain-cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.pain-cards .reveal:nth-child(3) { transition-delay: 0.2s; }

.solution-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.solution-grid .reveal:nth-child(3) { transition-delay: 0.15s; }

.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.results-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.results-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.case-study-metrics .reveal:nth-child(2) { transition-delay: 0.08s; }
.case-study-metrics .reveal:nth-child(3) { transition-delay: 0.16s; }
.case-study-metrics .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .pain-grid,
    .diff-grid,
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

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

    .case-study-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-study-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(9, 11, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
    }

    .nav-open {
        display: flex;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 12px 24px;
    }

    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .page-hero {
        padding: 130px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .solution-grid,
    .results-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

    .case-study-header,
    .case-study-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .case-study-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .diff-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .case-study-metrics {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Hero
   ============================================ */
.hero .hero-content h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
    text-wrap: balance;
}

.hero-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 26px;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: -0.015em;
}

.hero-lines span {
    position: relative;
    padding-left: 16px;
}

.hero-lines span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--primary);
}

/* ============================================
   Statement Band
   ============================================ */
.statement-section {
    padding: 96px 0;
    background: var(--dark-lighter);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.statement {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.statement h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    text-wrap: balance;
}

.statement p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--gray-400);
    max-width: 660px;
    margin: 0 auto;
}

/* ============================================
   Case Study Preview Cards
   ============================================ */
.casepreview-section {
    padding: 100px 0;
}

.casepreview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.casepreview-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
}

.casepreview-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.casepreview-card h3,
.casepreview-card h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.casepreview-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-400);
    margin-bottom: 20px;
    flex: 1;
}

/* ============================================
   Testimonial refinements (no star ratings)
   ============================================ */
.testimonial-card blockquote::before,
.testimonial-card blockquote::after { content: none; }

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-300);
    font-style: normal;
}

/* ============================================
   Responsive — new components
   ============================================ */
@media (max-width: 1024px) {
    .casepreview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .statement-section { padding: 72px 0; }
    .casepreview-section { padding: 72px 0; }
}

/* Inner-page hero headings sit a step below the home page's */
.page-hero-content h1 {
    font-size: clamp(2.1rem, 4.3vw, 3.3rem);
    text-wrap: balance;
}

/* ============================================
   Case study + story additions
   ============================================ */
.case-study-metrics.metrics-2 { grid-template-columns: repeat(2, 1fr); }
.case-study-metrics.metrics-3 { grid-template-columns: repeat(3, 1fr); }
.casepreview-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.case-disclosure {
    max-width: 780px;
    margin: 0 auto 64px;
    padding: 22px 26px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-left: 2px solid rgba(var(--primary-rgb), 0.55);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-400);
}

/* Track record band */
.record-section {
    padding: 80px 0;
    background: var(--dark-lighter);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.record-head {
    text-align: center;
    margin-bottom: 44px;
}

.record-head h2,
.record-head h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 12px;
}

.record-head p {
    font-size: 1rem;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto;
}

.record-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.record-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.record-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--white);
}

.record-stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.record-divider {
    width: 1px;
    height: 42px;
    background: var(--dark-border);
}

/* Employer / background row */
.orgs-section { padding: 96px 0; }

.orgs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.org-chip {
    padding: 11px 22px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-300);
}

@media (max-width: 768px) {
    .record-stats { gap: 28px; }
    .record-divider { display: none; }
    .case-study-metrics.metrics-2,
    .case-study-metrics.metrics-3,
    .casepreview-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ============================================
   Five-service grid + extraction visual
   ============================================ */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.services-grid .service-card {
    flex: 1 1 320px;
    max-width: 362px;
}

.extract-rows {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--dark-border);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.extract-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--dark-card);
}

.extract-row span {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.extract-row strong {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

/* Testimonial source line for unnamed reviewers */
.testimonial-avatar svg { width: 19px; height: 19px; }

.testimonial-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonial-source strong {
    color: var(--gray-300);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .services-grid .service-card { max-width: none; }
}

/* Netlify honeypot — must be hidden from people, reachable by bots */
.hidden-field {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ============================================
   Multi-step enquiry form
   ============================================ */
.wizard { text-align: left; }

/* No-JS fallback: every step visible and stacked. JS adds .wz-on. */
.wizard .wz-head,
.wizard .wz-back { display: none; }
.wizard.wz-on .wz-head { display: block; }

.wz-step {
    border: none;
    padding: 0;
    margin: 0 0 28px;
}

.wizard.wz-on .wz-step { display: none; margin: 0; }
.wizard.wz-on .wz-step.is-active { display: block; }

.wz-head { margin-bottom: 26px; }

.wz-progress {
    height: 3px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
}

.wz-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.wz-count {
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.wz-q {
    display: block;
    float: none;
    width: 100%;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 20px;
    padding: 0;
}

.wz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wz-opt {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--gray-300);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.wz-opt:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
    color: var(--white);
}

.wz-opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wz-opt input:focus-visible + span::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    pointer-events: none;
}

.wz-opt:has(input:checked),
.wz-opt input:checked + span {
    color: var(--white);
}

.wz-opt:has(input:checked) {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.12);
}

.wz-back {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 8px 2px;
    background: none;
    border: none;
    color: var(--gray-500);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition);
}

.wizard.wz-on .wz-back { display: inline-flex; }
.wz-back[hidden] { display: none !important; }
.wz-back:hover { color: var(--white); }

.wizard .form-row { margin-bottom: 12px; }

@media (max-width: 560px) {
    .wz-options { grid-template-columns: 1fr; }
    .wz-opt { min-height: 50px; }
}

/* ============================================================
   About page — structured sections (added 2026-09-28)
   Used only by our-story.html. Solid fills and real type only;
   no hairline strokes.
   ============================================================ */

.about-block { padding: 100px 0; border-top: 1px solid var(--dark-border); }
.about-block:nth-of-type(even) { background: var(--dark-lighter); }

.about-items { display: grid; gap: 28px; margin-top: 48px; }
.about-item {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 32px 34px;
}
.about-item h3 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 12px;
}
.about-item p { color: var(--gray-300); line-height: 1.7; margin: 0; }
.about-item p + p { margin-top: 12px; }

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

/* Who uses — ICP segments */
.icp-list { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .icp-list { grid-template-columns: repeat(2, 1fr); } }
.icp-list li {
    list-style: none;
    position: relative;
    padding: 18px 22px 18px 46px;
    background: var(--dark-card);
    border-radius: var(--radius);
    color: var(--gray-300);
    line-height: 1.6;
}
.icp-list li::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 1.55em;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--primary);
}
.icp-list li strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 2px; }

/* Founder block */
.founder-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 40px;
}
.founder-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.founder-role { color: var(--primary); font-weight: 600; font-size: 0.95rem; margin-bottom: 16px; }
.founder-card p { color: var(--gray-300); line-height: 1.7; }
.founder-card p + p { margin-top: 14px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.founder-links a { color: var(--primary); font-weight: 600; text-decoration: none; }
.founder-links a:hover { text-decoration: underline; }

/* Key facts table */
.facts-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--radius-lg); }
.facts-table { width: 100%; border-collapse: collapse; background: var(--dark-card); }
.facts-table th,
.facts-table td { padding: 16px 24px; text-align: left; vertical-align: top; line-height: 1.6; }
.facts-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
    width: 34%;
    white-space: nowrap;
    background: var(--dark-border);
}
.facts-table td { color: var(--gray-300); }
.facts-table tr + tr th,
.facts-table tr + tr td { border-top: 2px solid var(--dark); }

/* Placeholder for facts still to confirm — deliberately loud so it
   cannot be deployed unnoticed. Delete these spans once filled in. */
.tbd {
    display: inline-block;
    background: #4a3410;
    color: #ffc75a;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* Key facts — stack into label/value blocks on small screens rather than
   forcing a horizontal scroll. */
@media (max-width: 700px) {
    .facts-wrap { overflow-x: visible; }
    .facts-table,
    .facts-table tbody,
    .facts-table tr,
    .facts-table th,
    .facts-table td { display: block; width: 100%; }
    .facts-table th {
        white-space: normal;
        padding: 14px 20px 10px;
        font-size: 0.95rem;
    }
    .facts-table td { padding: 0 20px 20px; }
    .facts-table tr + tr th { border-top: 2px solid var(--dark); }
    .facts-table tr + tr td { border-top: 0; }
}

/* About page — reinstated site components in the new structure */
.about-subhead { text-align: center; margin: 56px 0 22px; }
.founder-card + .record-stats { margin-top: 56px; }
.about-item .value-number { margin-bottom: 4px; }
/* ICP cards use the case-study pill instead of a bullet marker */
.icp-list li { padding: 26px 26px 24px; }
.icp-list li::before { content: none; }
.icp-list li .case-study-tag { display: block; width: fit-content; margin-bottom: 12px; }

/* Pricing tables (legal positioning, added 2026-10-02) */
.price-table { width: 100%; border-collapse: collapse; background: var(--dark-card); }
.price-table thead th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    background: var(--dark-border);
    padding: 14px 24px;
    text-align: left;
}
.price-table td { padding: 16px 24px; line-height: 1.5; vertical-align: top; }
.price-table td:first-child { color: var(--white); font-weight: 500; }
.price-table td.price {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    text-align: right;
}
.price-table td.hours { color: var(--gray-400); white-space: nowrap; text-align: right; }
.price-table tbody tr + tr td { border-top: 2px solid var(--dark); }
.price-note { color: var(--gray-400); line-height: 1.7; margin-top: 26px; max-width: 760px; }
.price-note strong { color: var(--white); font-weight: 600; }
@media (max-width: 700px) {
    .price-table thead { display: none; }
    .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
    .price-table td { padding: 4px 20px; }
    .price-table td:first-child { padding-top: 18px; font-weight: 600; }
    .price-table td.price, .price-table td.hours { text-align: left; padding-bottom: 6px; }
    .price-table tbody tr + tr td:first-child { border-top: 2px solid var(--dark); margin-top: 8px; }
    .price-table tbody tr + tr td { border-top: 0; }
}

/* ============================================================
   Redesign pass — 2026-10-02
   Editorial serif accent, pill buttons, split hero with a
   product mock, and a platform trust bar.
   ============================================================ */

/* Serif accent for one word in a headline. Used sparingly. */
.accent-serif {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Buttons become pills */
.btn { border-radius: 100px; }
.btn-lg { padding: 16px 38px; }

/* Softer, larger radii across cards */
:root { --radius-lg: 18px; }

/* --- Split hero ---------------------------------------------------- */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 1000px) {
    .hero-split { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero-split .hero-copy { text-align: left; }
.hero-split h1 { margin-bottom: 22px; }
.hero-split .hero-subtitle { margin: 0 0 32px; max-width: 540px; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-split .hero-badge { margin-bottom: 24px; }

/* --- Matter mock --------------------------------------------------- */
.matter-mock {
    background: var(--dark-card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.matter-mock .visual-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--dark-border);
}
.mock-title {
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-300);
    font-family: var(--font-body);
}
.mock-body { padding: 26px 28px 30px; }
.mock-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
}
.mock-row + .mock-row { border-top: 1px solid var(--dark-border); }
.mock-label { font-size: 0.85rem; color: var(--gray-400); }
.mock-value { font-size: 0.95rem; font-weight: 600; color: var(--white); text-align: right; }
.mock-value.accent { color: var(--primary); }
.mock-stage { margin-top: 20px; }
.mock-stage-head {
    display: flex; justify-content: space-between;
    font-size: 0.8rem; color: var(--gray-400); margin-bottom: 10px;
}
.mock-track { height: 8px; background: var(--dark-border); border-radius: 100px; overflow: hidden; }
.mock-track span { display: block; height: 100%; width: 58%; background: var(--primary); border-radius: 100px; }
.mock-foot {
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--dark-border);
    display: flex; gap: 10px; flex-wrap: wrap;
}
.mock-pill {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
    background: rgba(var(--primary-rgb), 0.12); color: var(--primary);
}

/* --- Platform trust bar -------------------------------------------- */
.trust-bar { padding: 44px 0; border-bottom: 1px solid var(--dark-border); background: var(--dark); }
.trust-bar p {
    text-align: center; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gray-500); margin-bottom: 24px;
}
.trust-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 14px 36px;
}
.trust-row span {
    font-family: var(--font-heading); font-weight: 600;
    font-size: 1.15rem; letter-spacing: -0.01em; color: var(--gray-300);
}
/* H1 is sized for a full-width hero; the split column needs less */
.hero-split h1 { font-size: clamp(2.2rem, 3.7vw, 3.5rem); line-height: 1.12; }
.hero-split .accent-serif { font-size: 1.08em; }

/* ============================================================
   System map — hero diagram. Solid fills and real type only;
   no hairline strokes, which disappear on a real monitor.
   ============================================================ */
.system-map { display: flex; flex-direction: column; align-items: stretch; }
.map-tier { text-align: center; }
.map-label {
    font-family: var(--font-body);
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gray-500); margin-bottom: 12px;
}
.map-blocks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.map-block {
    flex: 1 1 auto;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 4px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-300);
    white-space: nowrap;
}
.map-link {
    width: 4px; height: 26px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}
.map-core {
    background: var(--primary);
    border-radius: 6px;
    padding: 24px 26px;
    text-align: center;
}
.map-core strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 6px;
}
.map-core span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
}
