:root {
  --muted: #4f5a63;
}

body {
  font-size: 16px;
}

.site-menu a { font-size: 13px; }
.nav-phone small,
.hero-proof span,
.campaign-top,
.campaign-metrics small,
.campaign-metrics span { font-size: 11px; }
.nav-phone strong { font-size: 13px; }
.button { font-size: 13px; }
.button-small { font-size: 11px; }
.eyebrow { font-size: 11px; }
.hero-text { font-size: 16px; }
.hero-strip p { font-size: 11px; }
.hero-strip span { font-size: 12px; }

.section-heading.center > p:last-child,
.section-heading.split > p {
  color: #4f5a63;
  font-size: 16px;
  opacity: 1;
}

.pain-card p,
.solution-card p { font-size: 14px; }
.pain-card > span,
.solution-no { font-size: 10px; }
.process-flow span,
.process-flow small { font-size: 10px; }

.why-copy > p:not(.eyebrow),
.qualification-copy > p:not(.eyebrow),
.case-copy > p:not(.eyebrow) { font-size: 16px; }
.why-copy {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}
.why-grid p { font-size: 13px; }

.comparison-table span,
.comparison-table strong { font-size: 14px; }
.comparison-table .table-head span { font-size: 10px; }
.qualification-copy li { font-size: 13px; }

.form-grid label {
  color: #3f4b53;
  font-size: 10px;
}
.form-grid input,
.form-grid select {
  color: #15202b;
  font-size: 13px;
}
.form-heading small,
.form-note { font-size: 13px; }

.metric-grid small,
.positive,
.board-top > span,
.source-list div { font-size: 10px; }
.performance-chart div span { font-size: 9px; }
.video-cover small,
.video-testimonial small,
.quote-testimonial small,
.case-tags span,
.funnel-step > span,
.funnel-step small { font-size: 9px; }
.video-testimonial strong,
.quote-testimonial strong { font-size: 11px; }

.footer-intro p { font-size: 13px; }
.footer-links strong { font-size: 12px; }
.footer-links a,
.footer-links address { font-size: 11px; }
.footer-bottom { font-size: 10px; }

@media (max-width: 600px) {
  .hero-text { font-size: 17px; }
  .section-heading.center > p:last-child,
  .section-heading.split > p { font-size: 15px; }
}

.modal-shell {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-shell.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 10, .82);
  backdrop-filter: blur(8px);
}

.strategy-modal {
  width: min(880px, 100%);
  max-height: calc(100svh - 48px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .4);
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
}

.modal-shell.open .strategy-modal {
  transform: none;
}

.modal-close {
  width: 38px;
  height: 38px;
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #15202b;
  background: #eef0ed;
  font-size: 24px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.modal-close:hover {
  background: #e2e4e1;
  transform: rotate(5deg);
}

.modal-intro {
  min-height: 570px;
  padding: 48px 40px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(81, 81, 216, .36), transparent 36%),
    #101b17;
}

.modal-intro h2 {
  margin-top: 52px;
  font-size: 38px;
}

.modal-intro > p:not(.eyebrow) {
  margin: 23px 0 35px;
  color: #bec8c2;
  font-size: 15px;
  line-height: 1.7;
}

.modal-benefits {
  display: grid;
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #dce2de;
  font-size: 12px;
}

.popup-form {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 48px 40px 38px;
}

.popup-form .form-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.popup-form .form-heading small {
  color: #667179;
}

.popup-form label {
  display: grid;
  gap: 7px;
  color: #3f4b53;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.popup-form input,
.popup-form select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #dce0df;
  border-radius: 7px;
  outline: 0;
  color: #15202b;
  background: #fafaf8;
  font-size: 13px;
  text-transform: none;
}

.popup-form input:focus,
.popup-form select:focus {
  border-color: #5151d8;
  box-shadow: 0 0 0 3px rgba(81, 81, 216, .13);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .modal-shell { padding: 10px; }
  .strategy-modal {
    max-height: calc(100svh - 20px);
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .modal-intro {
    min-height: auto;
    padding: 34px 24px 28px;
  }
  .modal-intro h2 {
    max-width: 90%;
    margin-top: 25px;
    font-size: 29px;
  }
  .modal-intro > p:not(.eyebrow) {
    margin: 16px 0 0;
    font-size: 14px;
  }
  .modal-benefits { display: none; }
  .popup-form { padding: 30px 20px 24px; }
}

@media (max-width: 850px) {
  .why-copy {
    position: static;
    height: auto;
  }
}
