/* Shared website accessibility and small-screen behavior. */
html { scroll-padding-top: 100px; }
img { height: auto; }
.brand strong, .footer-brand > strong { font-size: 22px; letter-spacing: .02em; }
.problem-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; color: #0758ff; background: #edf4ff; }
.feature-card { min-height: 280px; }
.btn, .menu-toggle, .modal-close { min-width: 44px; min-height: 44px; }
.menu-toggle { cursor: pointer; }
.menu-toggle span { transition: transform .18s ease; transform-origin: center; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.reveal { opacity: 1; transform: none; }
.modal { height: 100%; height: 100dvh; overscroll-behavior: contain; padding: max(16px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom)); }
.modal-panel { padding-top: 58px; }
.modal-close { top: 10px; right: 10px; }
.lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
.lead-form .consent { min-height: 44px; align-items: center; }
.lead-form .consent a { display: inline-flex; align-items: center; min-height: 44px; }
.mobile-cta { height: auto; min-height: calc(66px + env(safe-area-inset-bottom)); }
.mobile-cta a, .mobile-cta button { min-height: 44px; }
.hero-brief { padding: 32px; border: 1px solid #cbdffa; border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 24px 70px rgba(9,51,145,.1); }
.hero-brief h2 { margin: 14px 0 24px; color: #102d60; font-size: 32px; line-height: 1.4; letter-spacing: -.04em; }
.hero-brief ol { list-style: none; padding: 0; margin: 0; }
.hero-brief li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid #e2ecfa; }
.hero-brief li > span { flex: 0 0 32px; color: #0758ff; font-size: 14px; font-weight: 800; padding-top: 3px; }
.hero-brief li strong { font-size: 17px; }
.hero-brief li p, .brief-note { margin: 7px 0 0; color: #526078; font-size: 14px; line-height: 1.7; }
.brief-note { font-size: 12px; }
/* Homepage: value leads, operational detail follows, boundaries stay readable. */
.hero-copy .hero-lead { max-width: 32em; font-weight: 400; }
.hero-brief .section-kicker { letter-spacing: .06em; }
.hero-brief h2 { margin: 16px 0 24px; font-size: 30px; line-height: 1.35; }
.hero-brief li { padding: 16px 0; }
.hero-brief li strong { color: #102d60; font-size: 18px; }
.hero-brief li p { margin-top: 8px; }
.hero-brief .brief-note { margin-top: 16px; }
.hero-copy .scope-note { font-weight: 500; }
.workbench-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; border-block: 1px solid #d8e6fa; background: #f4f8ff; }
.workbench-entry h3 { font-size: 24px; margin: 0 0 16px; }
.workbench-entry p { line-height: 1.8; color: #526078; }
.workbench-entry .interface-points { align-self: center; margin: 0; }
@media (min-width: 1081px) and (max-width: 1320px) {
  .header-inner { gap: 12px; }
  .nav { gap: 0; padding: 3px; }
  .nav a { padding-inline: 10px; font-size: 13px; }
  .header-actions .btn { padding-inline: 12px; }
}
@media (max-width: 1100px) {
  .nav.is-open { max-height: calc(100dvh - 160px); overflow-y: auto; }
  .nav.is-open a { width: 100%; justify-content: center; }
  .workbench-entry { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}
@media (max-width: 640px) {
  .hero-brief { padding: 24px; border-radius: 22px; }
  .hero-brief h2 { font-size: 26px; }
  .hero-copy .hero-lead { font-size: 16px; line-height: 1.8; }
  .hero-copy .scope-note { font-size: 13px; line-height: 1.8; }
  #modules .feature-copy h3 { font-size: 24px; }
  #modules .section-head h2, #deliverables .section-head h2 { text-wrap: balance; }
  .eyebrow { font-size: 12px; }
  .modal-panel { padding: 58px 20px 24px; }
  .modal-panel h2 { font-size: 25px; line-height: 1.4; }
  .workbench-entry { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Defer only off-screen scenario images; fixed card height reserves their space. */
@supports (content-visibility: auto) {
  .scenario-section .scenario-card picture { display: block; height: 100%; content-visibility: auto; }
}
