/* ===== Tokens ===== */
:root {
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --surface-muted: #F1F5F9;
    --navy: #0B1220;
    --navy-2: #111A2E;
    --navy-border: #1F2A40;
    --text: #172033;
    --text-muted: #475569;
    --text-on-dark: #E2E8F0;
    --text-on-dark-muted: #A5B1C4;
    --border: #E2E8F0;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-soft: #EFF4FF;
    --accent-on-dark: #60A5FA;
    --success: #15803D;
    --warning: #B45309;
    --danger: #B91C1C;
    --focus: #F59E0B;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --font: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 68px;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button { font: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2000; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { border-color: rgba(226, 232, 240, .35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 600; font-size: .92rem; color: var(--accent); text-decoration: none; margin-top: auto; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(11, 18, 32, .96);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--navy-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.wordmark {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 1rem; text-decoration: none;
}
.wordmark:hover { color: #fff; }
.wordmark img { display: block; height: 26px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 24px; list-style: none; padding: 0; }
.primary-nav ul a { color: var(--text-on-dark-muted); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 6px 0; }
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { color: #fff; }
.primary-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-on-dark); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 96px; }
.section-muted { background: var(--surface-muted); }
.section-dark { background: var(--navy); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--accent-on-dark); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.section-cta { text-align: center; margin-top: 44px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--text-muted); max-width: 640px; }
.section-dark .lead { color: var(--text-on-dark-muted); }
.fine-print { font-size: .82rem; color: var(--text-muted); margin-top: 18px; }

/* ===== Hero ===== */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.value-cards { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-cards li { background: var(--navy-2); border: 1px solid var(--navy-border); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.value-cards strong { color: #fff; font-size: .98rem; }
.value-cards li > span:last-child { color: var(--text-on-dark-muted); font-size: .86rem; }
.value-icon { color: var(--accent-on-dark); margin-bottom: 6px; }

/* Dashboard snippets (illustrative only) */
.dash-card, .method-card { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.hero-visual .dash-card { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.badge-illustrative { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--warning); background: #FEF3C7; border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.dash-chart { width: 100%; height: auto; }
.dash-chart .grid-lines line { stroke: var(--border); stroke-width: 1; }
.dash-chart .marker-line { stroke: #94A3B8; stroke-dasharray: 3 4; }
.dash-chart .marker-text { font-size: 10px; fill: var(--text-muted); font-family: var(--font); }
.dash-chart polyline { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dash-chart .series-a { stroke: var(--accent); }
.dash-chart .series-b { stroke: #0D9488; }
.dash-legend { display: flex; gap: 18px; font-size: .8rem; color: var(--text-muted); margin-top: 10px; }
.dash-legend span::before { content: ""; display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.dash-legend .lg-a::before { background: var(--accent); }
.dash-legend .lg-b::before { background: #0D9488; }

/* ===== Cards & grids ===== */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; }
.problem-card .problem { font-size: 1.06rem; font-weight: 600; margin-bottom: 12px; }
.problem-card .solution { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); }
.problem-card .solution .icon { color: var(--accent); margin-top: 2px; }

.service-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.service-card:hover { border-color: #BFD0F5; box-shadow: var(--shadow); }
.service-card h2, .service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card h2 a, .service-card h3 a { color: inherit; text-decoration: none; }
.service-card:hover h2 a, .service-card:hover h3 a { color: var(--accent); }
.service-card > p { color: var(--text-muted); margin-bottom: 18px; }
.service-card .stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card-primary { grid-row: span 3; background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%); border-color: #BFD0F5; }
.service-card-primary h3, .service-card-primary h2 { font-size: 1.5rem; }
.service-grid-detailed { grid-template-columns: repeat(2, 1fr); }
.service-grid-detailed .service-card-primary { grid-row: auto; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: .95rem; }
.check-list .icon { color: var(--success); width: 18px; height: 18px; margin-top: 3px; }
.check-list-light li { color: var(--text-on-dark); }
.check-list-light .icon { color: #4ADE80; }

/* Process */
.process-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.process-steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.process-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 30px; color: var(--accent); font-weight: 700; z-index: 1; }
.step-num { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.process-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process-steps p { color: var(--text-muted); font-size: .94rem; }

/* Audit split */
.audit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.audit-split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.audit-split .lead { margin-bottom: 26px; }
.audit-areas { list-style: none; padding: 0; display: grid; gap: 12px; }
.audit-areas li, .area-list li { background: var(--navy-2); border: 1px solid var(--navy-border); border-radius: var(--radius-sm); padding: 18px 20px; }
.audit-areas strong { display: block; color: #fff; margin-bottom: 4px; }
.audit-areas span { color: var(--text-on-dark-muted); font-size: .94rem; }

/* Method */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.method-card figcaption { color: var(--text-muted); font-size: .9rem; margin-top: 16px; }
.funnel { list-style: none; padding: 0; display: grid; gap: 8px; }
.funnel li { position: relative; display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; font-size: .9rem; z-index: 0; }
.funnel li::before { content: ""; position: absolute; inset: 0; width: max(var(--w), 3%); background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 6px; z-index: -1; }
.scorecard { list-style: none; padding: 0; }
.scorecard li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .94rem; }
.scorecard li:last-child { border-bottom: 0; }
.pill { font-size: .75rem; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.pill-bad { background: #FEE2E2; color: var(--danger); }
.pill-mid { background: #FEF3C7; color: var(--warning); }
.pill-good { background: #DCFCE7; color: var(--success); }

/* Tools */
.tools-section { padding: 56px 0; }
.tool-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--text-muted); }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.article-card .meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.article-card .tag { background: var(--accent-soft); color: var(--accent); padding: 2px 10px; border-radius: 99px; font-weight: 600; }
.article-card h2, .article-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.article-card h2 a, .article-card h3 a { color: var(--text); text-decoration: none; }
.article-card h2 a::after, .article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover h2 a, .article-card:hover h3 a { color: var(--accent); }
.article-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 14px; }
.topic-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.topic-nav a { display: inline-block; border: 1px solid var(--border); background: var(--surface); border-radius: 99px; padding: 6px 14px; font-size: .88rem; color: var(--text); text-decoration: none; }
.topic-nav a:hover { border-color: var(--accent); color: var(--accent); }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 32px 0; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 44px; color: var(--text-muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); padding-bottom: 18px; }

/* CTA band */
.cta-band { padding: 80px 0; }
.cta-inner { text-align: center; max-width: 760px; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-inner p { color: var(--text-on-dark-muted); font-size: 1.08rem; }
.cta-inner .btn-row { justify-content: center; }

/* ===== Inner pages ===== */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 14px; max-width: 820px; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 22px; color: var(--text-on-dark-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.article-hero .breadcrumbs ol { color: var(--text-muted); }
.notice { margin-top: 32px; padding: 14px 18px; border-radius: var(--radius-sm); background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D; font-size: .94rem; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.sidebar-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 10px; }
.sidebar-box p { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.sidebar-box p a { font-weight: 600; }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .93rem; }

.prose { font-size: 1.04rem; line-height: 1.75; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #334155; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose .check-list, .prose .area-list, .prose .problem-list { padding-left: 0; }
.prose code { background: var(--surface-muted); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.prose pre { background: var(--navy); color: var(--text-on-dark); border-radius: var(--radius-sm); padding: 18px; overflow-x: auto; font-size: .9rem; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--text-muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
.area-list, .problem-list { list-style: none; display: grid; gap: 10px; }
.area-list li { background: var(--surface); border-color: var(--border); }
.area-list strong { display: block; }
.area-list span { color: var(--text-muted); font-size: .95rem; }
.problem-list li { position: relative; padding: 14px 18px 14px 44px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.problem-list li::before { content: "?"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.numbered-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.numbered-steps li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; }
.numbered-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 2.4em !important; padding: 22px 24px; background: var(--accent-soft); border: 1px solid #BFD0F5; border-radius: var(--radius); }
.inline-cta strong { display: block; }
.inline-cta span { color: var(--text-muted); font-size: .95rem; }
.inline-cta > div { flex: 1 1 280px; }

.offer-feature { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--navy); color: var(--text-on-dark); border-radius: var(--radius); padding: 36px 40px; margin-bottom: 28px; }
.offer-feature h2 { font-size: 1.7rem; margin-bottom: 8px; }
.offer-feature h2 a { color: #fff; text-decoration: none; }
.offer-feature p:not(.eyebrow) { color: var(--text-on-dark-muted); max-width: 620px; }
.offer-feature .eyebrow { color: var(--accent-on-dark); }
.offer-feature .service-icon { background: var(--navy-2); color: var(--accent-on-dark); }

/* Article */
.article-hero { padding: 56px 0 8px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.article-meta { color: var(--text-muted); font-size: .92rem; }
.draft-banner { background: #FEF3C7; color: #78350F; border-bottom: 1px solid #FCD34D; padding: 12px 0; font-size: .92rem; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; font: inherit; font-size: .97rem; color: var(--text);
    background: var(--surface); border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field textarea { resize: vertical; min-height: 130px; }
.field-hint { font-size: .84rem; color: var(--text-muted); margin-top: 6px; }
.field-error { font-size: .86rem; color: var(--danger); margin-top: 6px; font-weight: 500; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: .9rem; color: var(--text-muted); margin: 0; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--text-muted); font-size: .85rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: .94rem; }
.form-status-warning { background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D; }
.form-status-success { background: #DCFCE7; color: #14532D; border: 1px solid #86EFAC; }
.form-status-error { background: #FEE2E2; color: #7F1D1D; border: 1px solid #FCA5A5; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-col .link-button { color: var(--text-on-dark-muted); text-decoration: none; font-size: .92rem; }
.footer-col a:hover, .footer-col .link-button:hover { color: #fff; }
.footer-about p:not(.wordmark) { font-size: .92rem; max-width: 340px; margin-top: 14px; }
.wordmark-footer { margin: 0; }
.footer-bottom { border-top: 1px solid var(--navy-border); padding-top: 22px; font-size: .85rem; }

/* ===== Consent banner ===== */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; display: flex; justify-content: center; }
.consent-inner { max-width: 760px; width: 100%; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: var(--text-on-dark); border: 1px solid var(--navy-border); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.consent-inner p { flex: 1 1 320px; font-size: .9rem; }
.consent-inner a { color: var(--accent-on-dark); }
.consent-actions { display: flex; gap: 10px; }

/* ===== Service groups ===== */
.service-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card-cta { background: var(--navy); border-color: var(--navy); color: var(--text-on-dark); }
.service-card-cta h3 { color: #fff; }
.service-card-cta > p { color: var(--text-on-dark-muted); }
.service-card-cta .btn { margin-top: auto; align-self: flex-start; }
.service-group + .service-group { margin-top: 64px; }
.service-group-head { margin: 48px 0 24px; }
.service-group-head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.service-group-head p { color: var(--text-muted); }

/* ===== Founders ===== */
.founder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.founder-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.founder-card > * + * { margin-top: 14px; }
.founder-card p { color: var(--text-muted); }
.founder-card h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-top: 22px; }
.founder-head { display: flex; gap: 20px; align-items: center; }
.founder-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--accent-soft); }
.founder-grid:not(.founder-grid-compact) .founder-photo { width: 128px; height: 128px; }
.founder-head h3 { font-size: 1.25rem; }
.founder-role { color: var(--accent) !important; font-weight: 600; font-size: .92rem; margin-top: 4px; }
.founder-link { display: inline-block; margin-top: 6px; font-size: .9rem; font-weight: 600; }
.founder-highlights { padding-left: 1.2em; color: var(--text-muted); font-size: .95rem; }
.founder-highlights li + li { margin-top: .35em; }
.skill-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags li { background: var(--accent-soft); color: var(--accent-hover); border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 500; }
.founder-grid-compact { max-width: 920px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps li::after { display: none; }
    .article-grid, .service-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 860px) {
    .primary-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        background: var(--navy); border-bottom: 1px solid var(--navy-border); padding: 16px 24px 24px;
    }
    .primary-nav.open { display: flex; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--navy-border); }
    .primary-nav ul a[aria-current="page"] { box-shadow: none; color: #fff; }
    .nav-toggle { display: inline-flex; }
    .hero { padding: 56px 0 72px; }
    .hero-grid, .audit-split, .method-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .problem-grid, .founder-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout .form-card { order: -1; }
    .offer-feature { flex-direction: column; align-items: flex-start; padding: 28px; }
    .section { padding: 68px 0; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .service-grid, .service-grid-detailed, .service-grid-3, .article-grid, .process-steps, .value-cards, .form-row { grid-template-columns: 1fr; }
    .service-card-primary { grid-column: auto; }
    .founder-card { padding: 22px; }
    .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .stack-table table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
    .stack-table tr { border-bottom: 1px solid var(--border); padding: 14px 0; }
    .stack-table td { border: 0; padding: 2px 0; }
    .stack-table td:first-child { font-size: 1.02rem; padding-bottom: 6px; }
    .stack-table td:last-child { margin-top: 6px; font-size: .9rem; color: var(--text-muted); }
    .stack-table td:last-child::before { content: "Example: "; font-weight: 600; color: var(--text); }
    .founder-head { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn-row .btn { width: 100%; }
    .form-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
