/* Code Zero Analytics: shared site styles
   Brand from Marketing\Logos: cyan #0FA5E4 + black. Headings: Montserrat (self-hosted). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
}

:root {
  --brand: #0FA5E4;
  --ink: #000000;
  --bg: #ffffff;
  --surface: #f2f9fd;
  --card: #ffffff;
  --text: #000000;
  --muted: #4a525c;
  --border: #d9e2e8;
  --accent: #0FA5E4;
  --accent-text: #000000;
  --link: #0A78AA;
  --radius: 8px;
  --max: 1120px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0b1217;
    --card: #10181e;
    --text: #ffffff;
    --muted: #a9b3bc;
    --border: #24313a;
    --link: #0FA5E4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
section { padding: 80px 0; }
section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--brand); margin-top: 14px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-ghost { border-color: currentColor; color: inherit; }
.text-link { font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--link); }
.text-link:hover { text-decoration: underline; }

/* Header (always dark, matches the logo-on-black version) */
.site-header { background: #000; border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 50; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; max-width: var(--max); margin: 0 auto; }
.site-header .logo img { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--brand); }
.nav .btn { color: #000; padding: 9px 18px; }
.nav .btn:hover { color: #000; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 300px; background: #0b1217; border: 1px solid #24313a; border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0; }
.dropdown-menu a { display: block; padding: 9px 16px; font-weight: 600; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown > a::after { content: " ▾"; font-size: 0.8em; }
.menu-toggle { display: none; background: none; border: 1px solid #3a4650; color: #fff; border-radius: var(--radius); padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 3px solid var(--brand); }
  .nav.open { display: flex; }
  .nav > a, .nav .dropdown > a { padding: 12px 0; border-bottom: 1px solid #1c252c; }
  .dropdown-menu { display: block; position: static; border: 0; background: none; padding: 0 0 6px 12px; min-width: 0; }
  .dropdown-menu a { padding: 8px 0; color: #c9d3da; }
  .dropdown > a::after { content: ""; }
  .nav .btn { margin-top: 14px; text-align: center; }
}

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% 10%, rgba(15,165,228,.28), transparent 60%), #000; color: #fff; padding: 110px 0 100px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.25rem); max-width: 14ch; margin-bottom: 20px; }
.hero h1 span { color: var(--brand); }
.hero .lead { color: #c9d3da; font-size: clamp(1.05rem, 2vw, 1.25rem); margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-visual { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.hero-swoosh { position: absolute; height: 400px; width: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .8; filter: drop-shadow(0 0 48px rgba(15,165,228,.55)); pointer-events: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* Leader banner (Executive Coaching) */
.leader-banner { margin-top: 20px; background: #000; color: #fff; border-radius: var(--radius); border-left: 6px solid var(--brand); padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; position: relative; overflow: hidden; }
.leader-banner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(15,165,228,.30), transparent 65%); pointer-events: none; }
.leader-banner h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 8px; }
.leader-banner p { color: #c9d3da; margin: 0; max-width: 62ch; }
.leader-banner .actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.leader-banner .text-link { color: var(--brand); }
@media (max-width: 760px) { .leader-banner { grid-template-columns: 1fr; padding: 26px; } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: 6px; display: inline-block; }
.service-card { border-top: 4px solid var(--brand); display: flex; flex-direction: column; }
.service-card p { color: var(--muted); flex: 1; }

/* Problem list */
.problems { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.problems li { position: relative; padding-left: 30px; }
.problems li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--brand); }
@media (max-width: 640px) { .problems { grid-template-columns: 1fr; } }
.bridge { margin-top: 36px; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; max-width: 60ch; border-left: 4px solid var(--brand); padding-left: 18px; }

/* Engagement models */
.model { padding: 34px; }
.model .tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; background: var(--brand); color: #000; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.model.dark { background: #000; color: #fff; border-color: #000; }
.model.dark p { color: #c9d3da; }
.model .best { font-size: 0.95rem; color: var(--muted); }
.model.dark .best { color: #9fb0bc; }
.commit { margin-top: 28px; }
.commit-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.commit-list li { border-left: 3px solid var(--brand); padding-left: 14px; }
@media (max-width: 760px) { .commit-list { grid-template-columns: 1fr; } }

/* Feature list (How we build / Why) */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.features li strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.features li span { color: var(--muted); }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--brand); line-height: 1; margin-bottom: 10px; }
.steps strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Partners */
.partner .verb { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin-bottom: 2px; }
.partner .who { font-weight: 600; color: var(--link); margin-bottom: 8px; }
.partner p { color: var(--muted); }

/* Use cases */
.usecase .result { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 0.92rem; color: var(--muted); font-style: italic; }

/* Closing CTA */
.cta-band { background: var(--brand); color: #000; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.cta-band p { max-width: 58ch; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn { background: #000; color: #fff; }

/* Footer */
.site-footer { background: #000; color: #a9b3bc; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--font-head); color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d3da; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .logo img { height: 40px; width: auto; margin-bottom: 12px; }
.site-footer .legal { border-top: 1px solid #1c252c; margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.85rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Long-form text (Privacy Policy and similar) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose .summary { background: var(--surface); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.prose .summary ul { margin: 0; }
.prose code { font-size: .9em; background: var(--surface); padding: 1px 5px; border-radius: 4px; }

/* Current page in the menu */
.nav a[aria-current="page"] { color: var(--brand); }

/* Inner-page hero (shorter than Home) */
.page-hero { background: radial-gradient(800px 380px at 90% 0%, rgba(15,165,228,.25), transparent 60%), #000; color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; margin-bottom: 16px; }
.page-hero .lead { color: #c9d3da; margin-bottom: 0; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero .btn-ghost { color: #fff; }
.breadcrumb { font-size: .88rem; color: #8c9aa5; margin-bottom: 18px; }
.breadcrumb a { color: #c9d3da; text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* Two-column text + side panel */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.panel { background: var(--surface); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 26px; }
section.alt .panel { background: var(--card); }
.panel h3 { margin-bottom: 10px; }

/* Checklists */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.checklist li strong { font-family: var(--font-head); }

/* Service detail rows on the Services overview */
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--border); }
.service-row:first-of-type { border-top: 0; padding-top: 0; }
.service-row h3 { font-size: 1.5rem; }
.service-row .tagline { color: var(--brand); font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; }
.service-row .ideal { font-size: .95rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 16px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Use case detail */
.case { padding: 40px 0; border-top: 1px solid var(--border); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case-grid h4 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
.quote { margin: 20px 0 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

/* Partner logos */
.partner-logo { height: 64px; display: flex; align-items: center; margin-bottom: 16px; }
.partner-logo img { max-height: 56px; max-width: 200px; width: auto; }
/* Each logo sits on a plate that suits it, so it reads in both light and dark mode */
.logo-plate { display: inline-flex; align-items: center; justify-content: center; height: 64px; border-radius: var(--radius); overflow: hidden; }
.logo-plate img { max-height: 64px; max-width: 200px; width: auto; height: auto; display: block; }
.logo-plate.light { background: #fff; padding: 8px 14px; border: 1px solid var(--border); }
.logo-plate.light img { max-height: 46px; }
.logo-plate.dark { background: #000; padding: 6px 14px; }
.logo-plate.dark img { max-height: 52px; }
.partner-logo .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; padding: 10px 14px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.partner .tagline { font-style: italic; color: var(--muted); margin-bottom: 10px; }

/* Draft placeholders: highlights [bracketed] text so it's easy to spot before launch */
.ph { background: rgba(15,165,228,.14); outline: 1px dashed var(--brand); border-radius: 3px; padding: 0 3px; }
