/* Klein Insight - single-page consulting site */

:root {
  --ink: #141f28;
  --ink-soft: #4a5560;
  --paper: #f8fafc;
  --surface: #edf3f7;
  --line: #d8e2e9;
  --accent: #487b9c;
  --accent-brand: #598dae;
  --accent-dark: #36607d;
  --accent-light: #eaf2f7;
  --dark: #121e27;
  --white: #ffffff;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 30, 39, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 226, 233, 0.85);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #1a2936;
  color: var(--accent-brand);
  border: 1px solid rgba(89, 141, 174, 0.3);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 18px;
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  font-weight: 650;
}

.section {
  padding: 104px 0;
}

.section-muted {
  background: var(--surface);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.hero {
  padding-top: 120px;
  padding-bottom: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow.light {
  color: #9ec5dc;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 78px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 50px);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

p {
  margin-top: 0;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 750;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

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

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-note {
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.challenge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.challenge-list li {
  position: relative;
  padding: 16px 0 16px 24px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.challenge-list li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 18px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card p {
  color: var(--ink-soft);
}

.card-number {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  min-height: 190px;
  padding: 30px 34px 30px 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.service:nth-child(even) {
  padding-left: 48px;
}

.service p {
  max-width: 520px;
  color: var(--ink-soft);
}

.light-copy {
  color: #c5d2da !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid #243644;
  border-radius: var(--radius);
  background: #243644;
}

.step {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--dark);
}

.step strong {
  font-size: 19px;
}

.step span {
  color: #c5d2da;
  font-size: 14px;
}

.work-type {
  color: var(--accent) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fine-print {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.about-copy {
  color: var(--ink-soft);
  font-size: 18px;
}

.about-copy p + p {
  margin-top: 22px;
}

.contact-section {
  padding-top: 90px;
  padding-bottom: 90px;
  background: #eaf1f6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-placeholder {
  color: var(--ink-soft);
}

.disabled-link {
  pointer-events: none;
  opacity: 0.55;
}

.site-footer {
  padding: 46px 0;
  background: #0d171f;
  color: var(--white);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 0;
  color: #a6b6c0;
  font-size: 13px;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  display: inline-block;
  margin-top: 10px;
  color: #cdd9e0;
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid,
  .split-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

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

  .step {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 44px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 82px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service,
  .service:nth-child(odd),
  .service:nth-child(even) {
    padding: 26px 0;
    border-right: 0;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}
