:root {
  --blue: #0078d4;
  --blue-dark: #005a9e;
  --blue-deep: #083b66;
  --blue-pale: #e8f3fb;
  --ink: #201f1e;
  --muted: #605e5c;
  --line: #d8e0e8;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --green: #107c10;
  --orange: #f25022;
  --yellow: #ffb900;
  --shadow: 0 18px 55px rgba(8, 59, 102, 0.12);
  --radius: 18px;
  --wrap: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 224, 232, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--wrap);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #393837; font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 9px 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 120, 212, 0.2);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); background: var(--blue-dark); box-shadow: 0 10px 26px rgba(0, 90, 158, 0.25); }
.button.secondary { background: #fff; color: var(--blue-dark); border-color: #a9cae2; box-shadow: none; }
.button.secondary:hover { background: var(--blue-pale); }
.button.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 15%, rgba(0, 120, 212, 0.16), transparent 25%),
    linear-gradient(135deg, #fff 0%, #fff 53%, #edf6fc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  bottom: -230px;
  border: 54px solid rgba(255, 185, 0, 0.18);
  border-radius: 50%;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 42px;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(2, 35, 64, .22);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
  padding: 44px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.14; letter-spacing: -0.035em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(46px, 6vw, 76px); font-weight: 780; }
h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 50px); font-weight: 760; }
h3 { margin: 0 0 10px; font-size: 22px; font-weight: 720; }

.hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 24px 0 0; color: #4b4a48; font-size: 20px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px !important; font-size: 14px !important; color: var(--muted) !important; }

.diagnostic-card {
  border: 1px solid #b9d7ea;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.diagnostic-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.diagnostic-top strong { font-size: 16px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 13px; font-weight: 750; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,124,16,.12); }
.signal { padding: 19px 20px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid #edf0f3; }
.signal:last-child { border-bottom: 0; }
.signal-index { color: var(--blue); font-size: 12px; font-weight: 800; }
.signal strong { display: block; font-size: 15px; }
.signal span { color: var(--muted); font-size: 13px; }
.signal-result { padding: 5px 8px; border-radius: 6px; background: var(--blue-pale); color: var(--blue-dark) !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; }

.proof-strip { background: var(--blue-deep); color: #fff; }
.proof-grid { width: var(--wrap); margin: 0 auto; padding: 25px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 0 28px; border-right: 1px solid rgba(255,255,255,.2); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-size: 19px; }
.proof-item span { color: #c9e5f7; font-size: 13px; }

.section { padding: 104px 0; }
.section.white { background: #fff; }
.section.blue-wash { background: #edf6fc; }
.wrap { width: var(--wrap); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card, .service-card, .article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 27px;
}
.problem-card { position: relative; overflow: hidden; }
.problem-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--blue); }
.problem-card:nth-child(2)::before, .problem-card:nth-child(5)::before { background: var(--green); }
.problem-card:nth-child(3)::before, .problem-card:nth-child(6)::before { background: var(--yellow); }
.problem-card p, .service-card p, .article-card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 78px; }
.portrait-shell { position: relative; max-width: 440px; }
.portrait-shell::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; background: var(--blue); }
.portrait-shell img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.profile-split { grid-template-columns: .68fr 1.32fr; }
.profile-split .portrait-shell { width: min(100%, 350px); aspect-ratio: 1 / 1; justify-self: center; }
.profile-split .portrait-shell::before { inset: 16px -16px -16px 16px; }
.profile-split .portrait-shell img { height: 100%; aspect-ratio: 1 / 1; object-position: center 20%; }
.quote { margin: 28px 0 0; padding-left: 24px; border-left: 4px solid var(--yellow); color: var(--blue-deep); font-size: 22px; font-weight: 650; line-height: 1.42; }
.body-copy { color: var(--muted); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { padding: 32px; transition: transform 160ms ease, box-shadow 160ms ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(8,59,102,.10); }
.service-tag { display: inline-block; margin-bottom: 20px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--blue-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { border-top: 4px solid var(--blue); padding: 25px 0 0; }
.case:nth-child(2) { border-color: var(--green); }
.case:nth-child(3) { border-color: var(--orange); }
.case p { color: var(--muted); }
.case small { color: var(--blue-dark); font-weight: 750; }

.cta-panel { padding: 54px; border-radius: 24px; background: var(--blue-deep); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta-panel h2 { margin-bottom: 10px; color: #fff; }
.cta-panel p { margin: 0; color: #c9e5f7; font-size: 18px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; min-height: 255px; flex-direction: column; }
.article-meta { margin-bottom: 36px; color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-card .text-link { margin-top: auto; }

.page-hero { padding: 86px 0 70px; background: linear-gradient(135deg, #fff 0%, #edf6fc 100%); }
.page-hero p { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 20px; }
.breadcrumbs { margin-bottom: 24px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.breadcrumbs a { text-decoration: none; }
.content-narrow { max-width: 820px; }
.content-narrow > p { color: var(--muted); font-size: 18px; }

.offer-list { display: grid; gap: 22px; }
.offer {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.offer:first-child { border-top: 0; padding-top: 0; }
.offer-label { color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.offer p { margin: 0 0 12px; color: var(--muted); }
.offer ul { margin: 14px 0 0; padding-left: 20px; color: #454442; }

.deliverable-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.deliverable { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.deliverable strong { display: block; margin-bottom: 6px; }
.deliverable p { margin: 0; color: var(--muted); }

.platform-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.platform-row span { padding: 8px 12px; border: 1px solid #b9d7ea; border-radius: 999px; background: #fff; color: var(--blue-deep); font-size: 13px; font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-aside p { color: var(--muted); }
.contact-detail { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-detail strong { display: block; margin-bottom: 4px; }
.contact-detail span, .contact-detail a { color: var(--muted); }

.form-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #aeb8c2;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0,120,212,.14); }
.field-note { color: var(--muted); font-size: 12px; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-size: 14px; }
.form-status.success { color: var(--green); font-weight: 700; }
.form-status.error { color: #a4262c; font-weight: 700; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.article-shell { max-width: 780px; margin: 0 auto; }
.article-header { padding: 80px 0 46px; }
.article-header h1 { max-width: 900px; font-size: clamp(42px, 6vw, 68px); }
.article-deck { color: var(--muted); font-size: 21px; }
.article-byline { margin-top: 24px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.article-body { padding-bottom: 100px; }
.article-body p, .article-body li { color: #454442; font-size: 18px; }
.article-body h2 { margin-top: 54px; font-size: 34px; }
.article-body h3 { margin-top: 34px; }
.article-body .cta-panel { margin-top: 58px; padding: 34px; grid-template-columns: 1fr; }
.article-body .cta-panel h2 { margin-top: 0; font-size: 30px; }

.legal h2 { margin-top: 45px; font-size: 30px; }
.legal p, .legal li { color: #454442; }

.not-found { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--blue); font-size: 96px; line-height: 1; }

.site-footer { padding: 56px 0 30px; background: #151c22; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand { max-width: 390px; }
.footer-brand p, .footer-links a, .footer-small { color: #b9c5ce; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links strong { margin-bottom: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #34404a; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }

@media (max-width: 900px) {
  .hero-inner, .split, .profile-split { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 70px; gap: 48px; }
  .problem-grid, .case-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .proof-item, .proof-item:first-child { padding: 0; border-right: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 28px, 1160px); }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .button { margin-top: 6px; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 60px; }
  .hero-art { padding-top: 22px; }
  .hero-art img { border-radius: 14px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-copy > p:not(.eyebrow) { font-size: 18px; }
  .diagnostic-card { border-radius: 14px; }
  .section { padding: 74px 0; }
  .problem-grid, .service-grid, .case-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .portrait-shell { margin-right: 24px; }
  .cta-panel { padding: 34px 26px; }
  .offer { grid-template-columns: 1fr; gap: 10px; }
  .deliverable-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 25px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 3px solid rgba(0,120,212,.35); outline-offset: 3px; }
