:root {
  --bg: #ecf4fc;
  --paper: #ffffff;
  --blue: #1460cc;
  --blue-dark: #0d4eab;
  --ink: #12325c;
  --muted: #4c6890;
  --line: #d5e6f7;
  --shadow: 0 18px 50px rgba(20, 96, 204, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(236, 244, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(236, 244, 252, 0.96);
  border-bottom-color: rgba(20, 96, 204, 0.28);
  box-shadow: 0 10px 24px rgba(18, 50, 92, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.logo img { height: 52px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  color: var(--ink);
}
.nav a[aria-current="page"] { color: var(--blue); }
.nav a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.nav a.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover,
.nav a.btn-primary:hover { background: var(--blue-dark); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: #b9d2f3;
}
.btn-ghost:hover { background: white; }

.hero {
  padding: 54px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.lead {
  margin: 28px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.lead em {
  font-style: normal;
  color: var(--blue);
}
.deck {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-mark {
  justify-self: end;
  width: min(420px, 100%);
}
.trust {
  margin-top: 28px;
}
.trust img {
  display: block;
  width: 156px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.section, #approach, #blog, #contact, #fit, #inhouse, #what-we-do, #audit-form, #prove-payoff { scroll-margin-top: 96px; }
.section { padding: 72px 0; }
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-intro {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow);
}
.card .num {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.card p { margin: 0; color: var(--muted); }

.quote {
  margin: 0;
  padding: 36px 40px;
  background: var(--blue);
  color: white;
  border-radius: 28px;
}
.quote p {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.quote span {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.post:hover h3 { color: var(--blue); }
.post time {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post h3 {
  margin: 14px 0 10px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.post p { margin: 0; color: var(--muted); }
.post .more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 750;
}
.blog-grid > .post h3 { font-size: 28px; }
.post-feature {
  flex-direction: row;
  align-items: stretch;
  gap: 22px;
}
.post-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  align-self: flex-start;
}
.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 0;
}
.socials a {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  text-decoration: none;
}
.socials a:hover { filter: brightness(0.92); }
.socials img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}
.contact-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.contact-list p { margin: 0; color: var(--muted); }
.contact-list a { color: var(--blue); font-weight: 700; }
.badge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.badge-card img { width: min(280px, 100%); }

.cert-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.cert-row img {
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 10px 0 36px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.card .contact-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 14px;
}
.contact-phone a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.site-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 650;
}
.site-phone a {
  color: inherit;
  text-decoration: none;
}
.site-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}
.site-legal a {
  color: var(--ink);
  text-decoration: none;
}
#sms { scroll-margin-top: 96px; }

.page-hero { padding: 48px 0 10px; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.article {
  width: min(760px, calc(100% - 40px));
  margin: 10px auto 80px;
}
.article .meta {
  color: var(--blue);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.article h1 {
  margin: 12px 0 18px;
  font-size: clamp(36px, 5vw, 58px);
}
.article .dek {
  font-size: 20px;
  color: var(--muted);
}
.article h2 {
  margin: 36px 0 14px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.answer {
  position: relative;
  margin: 0 0 8px;
  padding: 28px 28px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
}
.answer::before {
  content: "“";
  display: block;
  margin-bottom: 8px;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.7;
  color: #fff;
}
.article .answer p {
  margin: 0 0 14px;
}
.answer-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
}
.answer-by:hover strong { text-decoration: underline; }
.answer-by img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.answer-by strong,
.answer-by span { display: block; }
.answer-by strong {
  font-size: 16px;
  line-height: 1.2;
}
.answer-by span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}
.article p { color: #2a4a73; }
.article ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #2a4a73;
}
.article .answer,
.article .answer p,
.article .answer strong,
.article .answer span {
  color: #fff;
}
.article blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 18px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cert-row {
    grid-template-columns: repeat(2, minmax(0, 200px));
    justify-content: center;
  }
  .hero-mark {
    justify-self: center;
    width: min(300px, 76%);
    margin-inline: auto;
  }
  .trust img { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .nav { gap: 16px; }
  .header-inner { min-height: 72px; }
  .logo img { height: 42px; }
  .footer-line { flex-direction: column; }
  .site-phone { text-align: left; }
  .card a { overflow-wrap: anywhere; }
}
@media (max-width: 680px) {
  .nav .btn { display: none; }
  .header-inner { gap: 12px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  h1 { font-size: 42px; }
  .quote { padding: 26px 22px; }
  .article blockquote { font-size: 20px; }
  .answer { padding: 22px 18px 16px; }
  .post-avatar { width: 64px; height: 64px; }
  .post-feature { gap: 16px; }
}
