/* MKweb 112: centered How We Charge storytelling + clearer project inquiries.
   Scoped styles avoid changing the existing navigation and portfolio layout. */
.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid #1f6293;
  border-radius: 999px;
  background: #fff;
  color: #1f6293;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-outline:hover {background: #f2f8fd;box-shadow: 0 9px 22px -15px #1f6293;transform: translateY(-2px);}
.btn-outline:focus-visible, .btn-primary:focus-visible, .btn-work:focus-visible {
  outline: 3px solid #3f8fc4;
  outline-offset: 4px;
}

/* Center all main How We Charge content, without compressing the site header. */
.how-charge-page .back-link {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 26px auto 0;
}
.how-charge-page .page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 44px;
}
.how-charge-page .page-head h1 {max-width: 790px;margin-left: auto;margin-right: auto;}
.how-charge-page .page-head .eyebrow {justify-content: center;}
.how-charge-page .story {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 38px;
}
.how-charge-page .story p,
.how-charge-page .story p.story-lead {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.how-charge-page .story p.story-lead {max-width: 820px;}
.how-charge-page .pull-quote {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 22px auto 38px;
  padding: 24px 32px;
  border: 1px solid #cbe6f7;
  border-top: 4px solid #1f6293;
  border-radius: 18px;
  text-align: center;
}
.how-charge-page .reason-grid {margin-top: 52px;}
.how-charge-page .reason-card {text-align: center;}
.how-charge-page .reason-card .num {margin: 0 auto 14px;}
.how-charge-page .reason-card p {max-width: 100%;}
.how-charge-page .charge-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin: 10px auto 0;
}
.how-charge-page .charge-next-step {
  text-align: center;
  margin: 34px auto 0;
}
.how-charge-page .charge-next-step p {
  color: rgba(22,50,74,.7);
  font-size: 15px;
  margin: 0 auto 16px;
}
.how-charge-page .closing-inner {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 22px;
  margin-top: 16px;
}
.how-charge-page .closing-inner > div:first-child {width: 100%;}
.how-charge-page .closing-inner h2,
.how-charge-page .closing-inner p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.how-charge-page .charge-final-actions {margin-top: 0;}

/* Homepage: extra contact paths at natural decision points. */
.hero .hero-ctas {gap: 12px 14px;}
.hero .hero-ctas .hero-start-btn {white-space: nowrap;}
.hero .hero-ctas .btn-outline {white-space: nowrap;}
.work-preview-ctas {justify-content: center;gap: 12px 14px;}
#kid-prices .kid-prices-top-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
  text-align: center;
}
#kid-prices .kid-prices-top-action span {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #526b80;
}
#kid-prices .kid-prices-actions {gap: 12px 14px;}
#kid-prices .kid-prices-actions a {justify-content: center;min-height: 48px;}
.home-project-invite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 22px auto 74px;
  padding: 26px 32px;
  background: linear-gradient(115deg, #f2f8fd, #e6f7ec);
  border: 1px solid #cbe6f7;
  border-radius: 22px;
}
.home-project-invite strong {
  font-family: 'Space Grotesk', sans-serif;
  color: #16324a;
  font-size: clamp(20px, 2.3vw, 27px);
}
.home-project-invite p {margin: 6px 0 0;color: #526b80;line-height: 1.55;}
.home-project-invite .btn-primary {justify-content: center;text-align: center;flex-shrink: 0;}

@media (max-width: 800px) {
  .how-charge-page .story {padding-top: 28px;}
  .how-charge-page .closing-inner {padding: 36px 26px;}
  .home-project-invite {flex-direction: column;text-align: center;}
}
@media (max-width: 600px) {
  .how-charge-page .wrap {padding-left: 20px;padding-right: 20px;}
  .how-charge-page .page-head {padding-top: 30px;}
  .how-charge-page .page-head .eyebrow {font-size: 12px;}
  .how-charge-page .story p {font-size: 15.5px;}
  .how-charge-page .pull-quote {font-size: 19px;padding: 20px 18px;}
  .how-charge-page .charge-cta-row {flex-direction: column;align-items: stretch;}
  .how-charge-page .charge-cta-row a {width: 100%;justify-content: center;text-align: center;white-space: normal;}
  .how-charge-page .closing-inner {padding: 30px 20px;margin-bottom: 44px;}
  .how-charge-page .speed-banner {max-width: 100%;width: auto;text-align: center;line-height: 1.5;}
  .hero .hero-ctas {align-items: stretch;}
  .hero .hero-ctas .btn-primary, .hero .hero-ctas .btn-outline {justify-content: center;text-align: center;white-space: normal;width: 100%;}
  .hero .hero-ctas .hero-text-link {margin: 4px 10px 0 0;}
  .work-preview-ctas {align-items: stretch;}
  .work-preview-ctas a {width: 100%;justify-content: center;text-align: center;}
  #kid-prices .kid-prices-top-action .btn-primary {width: 100%;justify-content: center;text-align: center;}
  #kid-prices .kid-prices-actions a {width: 100%;}
  .home-project-invite {margin-bottom: 50px;padding: 24px 20px;}
  .home-project-invite .btn-primary {width: 100%;white-space: normal;}
}
@media (prefers-reduced-motion: reduce) {
  .btn-outline {transition: none;}
  .btn-outline:hover {transform: none;}
}
/* Keep the decorative glow inside the viewport on narrow phones. */
.how-charge-page .page-head .page-glow {width: min(640px, 100vw);}
