:root {
  --brand-ink: #111827;
  --brand-ink-soft: #25324a;
  --brand-muted: #667085;
  --brand-line: #dbe3ec;
  --brand-surface: #ffffff;
  --brand-surface-soft: #f6f8fb;
  --brand-blue: #2f5bd3;
  --brand-blue-dark: #2147aa;
  --brand-blue-soft: #edf3ff;
  --brand-radius: 18px;
  --brand-shadow: 0 18px 55px rgb(18 32 63 / 8%);
}

body {
  color: var(--brand-ink);
  background: #f7f9fc;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 76px;
  padding: 0 1.5rem;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid rgb(219 227 236 / 86%);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  width: min(1180px, 100%);
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  gap: 0.7rem;
  color: var(--brand-ink);
  font-size: 1.04rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  color: #fff;
  background: var(--brand-blue);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 0.68rem;
  box-shadow: 0 8px 20px rgb(47 91 211 / 19%);
}

.brand-word { display: inline-block; }

.site-header nav {
  align-items: center;
  gap: 1.45rem;
}

.site-header nav a {
  color: #526078;
  font-size: 0.9rem;
  font-weight: 690;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.site-header nav a:hover { color: var(--brand-blue); }

.site-header .header-cta {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  color: #fff;
  background: var(--brand-ink);
  border-radius: 0.72rem;
}

.site-header .header-cta:hover {
  color: #fff;
  background: var(--brand-blue-dark);
}

.landing-container { width: min(1180px, calc(100% - 3rem)); }
.landing-section { padding: clamp(4.5rem, 6.5vw, 6.5rem) 0; }

.landing-eyebrow {
  margin-bottom: 1.05rem;
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.landing-main h1,
.landing-main h2,
.landing-main h3 { color: var(--brand-ink); }

.landing-main h1 {
  max-width: 17.5ch;
  font-size: clamp(2.75rem, 4.15vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.landing-main h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.landing-main h3 {
  font-size: 1.06rem;
  line-height: 1.32;
}

.landing-main p {
  color: var(--brand-muted);
  line-height: 1.68;
}

.hero-section {
  padding-top: clamp(4.75rem, 7vw, 6.8rem);
  padding-bottom: clamp(5rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 78% 16%, rgb(47 91 211 / 10%), transparent 26rem),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.hero-copy { max-width: 720px; }
.hero-copy h1 { max-width: 17.5ch; }

.hero-lead {
  max-width: 59ch;
  margin-top: 1.45rem;
  color: #5f6c82 !important;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.72 !important;
}

.hero-actions {
  gap: 0.72rem;
  margin-top: 1.8rem;
}

.button,
.landing-button-primary,
.landing-button-secondary {
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border-radius: 0.72rem;
  font-size: 0.92rem;
  font-weight: 780;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.landing-button-primary {
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgb(47 91 211 / 16%);
}

.landing-button-primary:hover {
  background: var(--brand-blue-dark);
  box-shadow: 0 12px 28px rgb(47 91 211 / 20%);
  transform: translateY(-1px);
}

.landing-button-secondary {
  color: var(--brand-ink-soft);
  background: #fff;
  border: 1px solid #ccd6e2;
}

.landing-button-secondary:hover {
  background: #f8faff;
  border-color: #aebed2;
  transform: translateY(-1px);
}

.hero-example {
  padding: 1.25rem;
  background: rgb(255 255 255 / 96%);
  border: 1px solid #d8e1ec;
  border-radius: 1.35rem;
  box-shadow: 0 24px 70px rgb(18 32 63 / 11%);
}

.hero-example-label {
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
}

.hero-example > div {
  padding: 0.9rem 0.95rem;
  background: #f7f9fc;
  border-color: #e0e6ee;
  border-radius: 0.82rem;
}

.hero-example > div p {
  margin-top: 0.2rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-example > .hero-example-result {
  background: var(--brand-blue-soft);
  border-color: #cedbfa;
}

.muted-section {
  background: #f4f7fa;
  border-color: #e4e9ef;
}

.section-intro {
  max-width: 64ch;
  font-size: 1.03rem;
}

.direction-grid,
.solution-grid,
.entry-grid,
.proof-grid { gap: 1.1rem; }

.direction-grid article,
.solution-card,
.entry-grid article,
.problem-grid article,
.proof-grid article,
.before-after article,
.scenario-grid article,
.solution-result {
  border-color: #dce4ed;
  border-radius: var(--brand-radius);
  box-shadow: 0 8px 28px rgb(18 32 63 / 4%);
}

.direction-grid article,
.solution-card { min-height: 14rem; }

.direction-grid article,
.solution-card,
.proof-grid article {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.direction-grid article:hover,
.solution-card:hover,
.proof-grid article:hover {
  transform: translateY(-2px);
  border-color: #c6d3e2;
  box-shadow: 0 14px 36px rgb(18 32 63 / 7%);
}

.section-statement {
  max-width: 780px;
  padding: 1rem 1.15rem;
  color: #31415f !important;
  background: #f7f9fc;
  border: 1px solid #dce4ed;
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 0.9rem 0.9rem 0;
  font-size: 1.04rem;
  font-weight: 650;
}

.text-link,
.direction-grid a,
.solution-card a,
.entry-grid a,
.services-note a,
.examples-footnote a,
.research-note a { color: var(--brand-blue); }

.landing-footer {
  background: #0f1726;
  border-top: 0;
}

.landing-footer strong { color: #fff; }
.landing-footer p,
.landing-footer a { color: #aeb9cb; }
.landing-footer a:hover { color: #fff; }
.footer-legal-line { max-width: 58ch; font-size: 0.78rem; line-height: 1.5 !important; }

.contact-grid-v2 { grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr); }
.contact-copy { position: sticky; top: 2rem; }
.contact-trust-list { display: grid; gap: 0.9rem; margin-top: 2rem; }
.contact-trust-list > div { padding: 1rem 0; border-top: 1px solid rgb(255 255 255 / 14%); }
.contact-trust-list strong { display: block; color: #fff; font-size: 0.94rem; }
.contact-trust-list span { display: block; margin-top: 0.25rem; color: #b8c5d9; font-size: 0.9rem; line-height: 1.55; }
.contact-form-v2 { padding: clamp(1.15rem, 2.4vw, 1.75rem); border: 1px solid rgb(255 255 255 / 25%); border-radius: 1.45rem; box-shadow: 0 26px 70px rgb(0 0 0 / 24%); }
.contact-intent { grid-column: 1 / -1; padding: 0; margin: 0 0 0.25rem; border: 0; }
.contact-intent legend { margin-bottom: 0.7rem; color: #344158; font-size: 0.84rem; font-weight: 760; }
.intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.intent-grid label { cursor: pointer; }
.intent-grid input { position: absolute; opacity: 0; pointer-events: none; }
.intent-grid span { display: block; min-height: 76px; padding: 0.8rem 0.85rem; background: #f7f9fc; border: 1px solid #d6dee8; border-radius: 0.82rem; transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.intent-grid strong { display: block; color: var(--brand-ink); font-size: 0.9rem; }
.intent-grid small { display: block; margin-top: 0.22rem; color: #758197; font-size: 0.77rem; line-height: 1.35; }
.intent-grid input:checked + span { background: var(--brand-blue-soft); border-color: #98afea; box-shadow: 0 0 0 2px rgb(47 91 211 / 8%); }
.intent-grid label:hover span { transform: translateY(-1px); border-color: #b5c2d4; }
.field-wide { grid-column: 1 / -1; }
.field-optional { color: #8a95a8; font-size: 0.75rem; font-weight: 560; }
.field-help { margin-top: 0.05rem; color: #8490a2; font-size: 0.75rem; line-height: 1.45; }
.contact-form-v2 .field-group input,
.contact-form-v2 .field-group textarea { padding: 0.88rem 0.95rem; background: #fbfcfe; border-color: #d4dde8; border-radius: 0.78rem; }
.contact-form-v2 .field-group input::placeholder,
.contact-form-v2 .field-group textarea::placeholder { color: #9aa5b5; }
.contact-submit { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; width: 100%; margin-top: 0.15rem; padding-inline: 1.1rem; }
.contact-fineprint { grid-column: 1 / -1; margin: -0.25rem 0 0 !important; color: #8792a4 !important; font-size: 0.76rem; text-align: center; }
.contact-message { grid-column: 1 / -1; }

.legal-document { max-width: 860px; }
.legal-document .legal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1.5rem 0 2rem; }
.legal-document .legal-facts div { padding: 1rem; background: #fff; border: 1px solid #dce4ed; border-radius: 0.9rem; }
.legal-document .legal-facts dt { color: #758197; font-size: 0.76rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.legal-document .legal-facts dd { margin: 0.35rem 0 0; color: var(--brand-ink); font-weight: 720; }

@media (max-width: 980px) {
  .site-header-inner { gap: 1rem; }
  .site-header nav { gap: 0.9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-example { max-width: 680px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid-v2 { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 1rem; }
  .site-header-inner {
    min-height: 68px;
    align-items: center;
  }
  .brand-mark { width: 2rem; height: 2rem; }
  .site-header nav {
    display: none;
  }
  .landing-container { width: min(100% - 2rem, 1180px); }
  .landing-section { padding: 3.8rem 0; }
  .hero-section { padding-top: 3.5rem; padding-bottom: 4.2rem; }
  .landing-main h1 {
    max-width: 14ch;
    font-size: clamp(2.45rem, 12vw, 3.25rem);
    line-height: 1.03;
  }
  .landing-main h2 { font-size: clamp(1.85rem, 8vw, 2.45rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-example { padding: 1rem; }
  .direction-grid,
  .solution-grid,
  .entry-grid,
  .compact-proof-grid { grid-template-columns: 1fr; }
  .direction-grid article,
  .solution-card { min-height: 0; }
  .intent-grid { grid-template-columns: 1fr; }
  .field-wide,
  .contact-intent,
  .contact-submit,
  .contact-fineprint,
  .contact-message { grid-column: auto; }
  .legal-document .legal-facts { grid-template-columns: 1fr; }
}
