:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #64748b;
    --soft-text: #94a3b8;
    --accent: #10b981;
    --accent-2: #34d399;
    --accent-3: #0ea5e9;
    --accent-soft: #d1fae5;
    --line: #e2e8f0;
    --line-soft: #f1f5f9;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--text);
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 26px;
}

/* Hero */
.hero { position: relative; padding: 110px 0 120px; overflow: hidden; }
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(closest-side, rgba(16, 185, 129, 0.18), transparent);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -250px; left: -150px;
    width: 550px; height: 550px;
    background: radial-gradient(closest-side, rgba(14, 165, 233, 0.14), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 999px;
    font-size: 13px;
    color: #047857;
    font-weight: 600;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

h1, h2, h3, h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    margin-bottom: 22px;
}

h1 .grad {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.35); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.hero-visual .orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-visual .core {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 0 80px rgba(16, 185, 129, 0.4);
    animation: pulse 4s ease-in-out infinite;
}
.hero-visual .ring {
    position: absolute;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}
.hero-visual .ring.r1 { inset: 20%; }
.hero-visual .ring.r2 { inset: 8%; animation-duration: 50s; animation-direction: reverse; }
.hero-visual .ring.r3 { inset: 32%; }
.hero-visual .dot {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 20px var(--accent-2);
}
.hero-visual .dot.d1 { top: 10%; left: 50%; }
.hero-visual .dot.d2 { top: 50%; right: 10%; background: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.hero-visual .dot.d3 { bottom: 18%; left: 22%; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
section { padding: 90px 0; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Stats */
.stats {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num {
    font-family: 'Manrope', sans-serif;
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat-label { color: var(--muted); font-size: 14px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}
.card-link:hover { gap: 10px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

.check-list { list-style: none; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; color: var(--text-2); }
.check-list li::before {
    content: '\2713';
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.split-visual {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    padding: 32px;
}

.chart-bars {
    position: absolute;
    bottom: 32px; left: 32px; right: 32px;
    display: flex; gap: 12px;
    align-items: flex-end;
    height: 60%;
}
.chart-bars div {
    flex: 1;
    background: linear-gradient(180deg, var(--accent), rgba(16, 185, 129, 0.25));
    border-radius: 6px 6px 0 0;
    animation: rise 1.4s ease-out;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}
@keyframes rise { from { transform: scaleY(0); transform-origin: bottom; } }

.chart-legend {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA banner */
.cta-banner {
    margin: 60px auto;
    max-width: var(--max);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* Page header */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 450px; height: 450px;
    background: radial-gradient(closest-side, rgba(16, 185, 129, 0.14), transparent);
    pointer-events: none;
}
.page-header h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 16px; }
.page-header p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.breadcrumb {
    display: inline-flex;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.breadcrumb a { color: var(--accent); }

/* Service detail */
.service-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-detail .card { padding: 36px; }
.service-detail .card h3 { font-size: 22px; }
.service-detail .card ul { list-style: none; margin-top: 18px; }
.service-detail .card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--muted);
    font-size: 15px;
}
.service-detail .card ul li::before {
    content: '\2014';
    position: absolute; left: 0;
    color: var(--accent);
}

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding: 28px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
    width: 90px; height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    display: grid; place-items: center;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.team-card h4 { font-size: 17px; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.team-card p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value {
    padding: 28px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
}
.value h4 { font-size: 18px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15px; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-visual {
    height: 220px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    position: relative;
    display: grid; place-items: center;
    font-size: 44px;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.2);
    letter-spacing: -0.03em;
    border-bottom: 1px solid var(--line);
}
.case-visual.v2 { background: linear-gradient(135deg, #ecfdf5, #dbeafe); color: rgba(16, 185, 129, 0.25); }
.case-visual.v3 { background: linear-gradient(135deg, #dbeafe, #fef3c7); color: rgba(14, 165, 233, 0.25); }
.case-visual.v4 { background: linear-gradient(135deg, #fef3c7, #ecfdf5); color: rgba(245, 158, 11, 0.28); }
.case-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-soft);
    color: #047857;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.case-body h3 { font-size: 20px; margin-bottom: 10px; }
.case-body p { color: var(--muted); font-size: 15px; margin-bottom: 20px; flex: 1; }
.case-results {
    display: flex; gap: 22px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: auto;
}
.case-results div strong {
    display: block;
    font-size: 22px;
    font-family: 'Manrope', sans-serif;
    color: var(--accent);
    font-weight: 800;
}
.case-results div span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-visual {
    height: 180px;
    background: linear-gradient(135deg, #f0fdf4, #ecfeff);
    position: relative;
    border-bottom: 1px solid var(--line);
}
.article-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.25), transparent 60%);
}
.article-visual.v2::after { background: radial-gradient(circle at 70% 60%, rgba(14, 165, 233, 0.25), transparent 60%); }
.article-visual.v3::after { background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.22), transparent 60%); }
.article-visual.v4::after { background: radial-gradient(circle at 20% 70%, rgba(139, 92, 246, 0.22), transparent 60%); }
.article-visual.v5::after { background: radial-gradient(circle at 80% 40%, rgba(236, 72, 153, 0.2), transparent 60%); }
.article-visual.v6::after { background: radial-gradient(circle at 40% 70%, rgba(14, 165, 233, 0.22), rgba(16, 185, 129, 0.15), transparent 70%); }
.article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.article-meta span { color: var(--accent); font-weight: 700; }
.article h3 { font-size: 19px; margin-bottom: 10px; }
.article p { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.read-more { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--muted); font-size: 16px; margin-bottom: 34px; }
.contact-item {
    display: flex; gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--accent); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 20px; font-size: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
}
.field textarea { resize: vertical; min-height: 120px; }

/* Legal */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; }
.legal h3 { font-size: 18px; margin: 24px 0 10px; color: var(--accent); }
.legal p, .legal li { color: var(--text-2); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal .updated {
    color: var(--muted);
    font-size: 14px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-radius: 10px;
    border: 1px solid var(--line);
    display: inline-block;
}
.legal a { color: var(--accent); text-decoration: underline; }

/* Footer — keep dark for contrast */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: 60px;
}
.site-footer .brand { color: #ffffff; }
.site-footer .brand-mark {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #ffffff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: #94a3b8; font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-col h5 { font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; color: #ffffff; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; color: #94a3b8; font-size: 14px; }
.footer-col a { color: #94a3b8; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom a { color: #94a3b8 !important; }
.footer-bottom a:hover { color: var(--accent) !important; }
.socials { display: flex; gap: 14px; }
.socials a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #ffffff;
    border-radius: 10px;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 12px;
}
.socials a:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .cards, .service-detail, .articles, .cases, .values { grid-template-columns: 1fr; }
    .team { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    section { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
}

@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr; }
    .team { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-cta { display: none; }
    .hero { padding: 70px 0 80px; }
}

/* Cookie banner */
#ac-cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    z-index: 9999;
    background: #ffffff;
    color: var(--text);
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    max-width: 1000px;
    margin: 0 auto;
}
#ac-cookie-banner .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
#ac-cookie-banner .msg { flex: 1; min-width: 280px; color: var(--text-2); }
#ac-cookie-banner .msg a { color: var(--accent); text-decoration: underline; font-weight: 600; }
#ac-cookie-banner .btns { display: flex; gap: 10px; flex-wrap: wrap; }
#ac-cookie-banner button {
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
#ac-cookie-banner .reject { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
#ac-cookie-banner .reject:hover { background: var(--line-soft); }
#ac-cookie-banner .accept { background: var(--accent); color: #ffffff; }
#ac-cookie-banner .accept:hover { background: #059669; }

/* =====================================================================
   2026-05-01 overhaul: new classes for team / blog / case-study pages.
   Reuses existing CSS variables (--accent, --muted, --line, --surface,
   --radius, --shadow, --bg-soft).
   ===================================================================== */

/* Narrow container for long-form content */
.container--narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Hero — smaller variant for inner pages */
.hero--small { padding: 70px 0 40px; }
.hero--small h1 { font-size: 38px; line-height: 1.15; margin: 8px 0 16px; }
.hero__lede { font-size: 18px; color: var(--muted); max-width: 720px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Team page */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 920px;
    margin: 30px auto 60px;
}
@media (min-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { padding: 0; text-align: left; overflow: hidden; }
.team-photo { width: 100%; height: 280px; object-fit: cover; display: block; }
.team-card .team-card__body { padding: 22px 22px 26px; }
.team-card .team-card__body h3 { font-size: 20px; margin: 0 0 4px; }
.team-card .team-card__role {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}
.team-card p.team-card__focus { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.team-card p.team-card__bio { font-size: 14px; line-height: 1.6; color: #374151; margin: 0 0 14px; }
.team-card p.team-card__creds { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 0; }

/* Article (blog post / api-tools) body */
.post { padding: 30px 0 50px; }
.post-meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.post-title {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    line-height: 1.18;
    margin: 12px 0 14px;
}
.post-subtitle { font-size: 18px; color: var(--muted); line-height: 1.5; margin-bottom: 30px; }
.post-body { font-size: 16px; line-height: 1.7; color: #1e293b; }
.post-body h2 { font-size: 24px; margin: 36px 0 14px; font-family: 'Manrope', sans-serif; }
.post-body h3 { font-size: 20px; margin: 28px 0 10px; font-family: 'Manrope', sans-serif; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body code {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 14px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.content-block { padding: 0 0 60px; }

/* Case study */
.case { padding: 30px 0 50px; }
.case-disclaimer {
    font-size: 13px;
    color: var(--muted);
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    padding: 10px 14px;
    margin: 22px 0 30px;
    border-radius: 0 4px 4px 0;
}
.case-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 14px 0 22px;
}
.kpi {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
}
.kpi__value { font-size: 26px; font-weight: 700; color: var(--accent); font-family: 'Manrope', sans-serif; }
.kpi__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.case-card__link { display: inline-block; margin-top: 12px; font-size: 14px; }

/* CTA strip (used on team / api / blog / case pages) */
.cta-strip { padding: 50px 0; background: var(--bg-soft); }
.cta-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.cta-block h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    margin: 0 0 12px;
}
.cta-block p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }

/* Read-more links */
.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 6px;
}
.read-more:hover { text-decoration: underline; }

/* Mobile tightening */
@media (max-width: 720px) {
    .post-title { font-size: 28px; }
    .case-kpis { grid-template-columns: 1fr; }
    .hero--small h1 { font-size: 30px; }
}
