/* Shared visual contract. Important typography overrides legacy page/inline sizes. */
:root {
  --oml-h1: clamp(1.625rem, 1.35rem + 1vw, 2rem);
  --oml-h2: clamp(1.3125rem, 1.2rem + .4vw, 1.5rem);
  --oml-h3: 1.125rem;
  --oml-control-radius: 8px;
}
body :is(h1, h2, h3, h4) {
  font-family: inherit;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  letter-spacing: -.018em !important;
  overflow-wrap: anywhere;
}
body h1 { font-size: var(--oml-h1) !important; }
body h2 { font-size: var(--oml-h2) !important; }
body h3 { font-size: var(--oml-h3) !important; }
body h4 { font-size: 1rem !important; }
body :is(.hero-subtitle, .page-subtitle, .section-subtitle, .line-hero-subtitle,
  .iris-tagline, .lead, .payoff, .intro,
  .case-hero > p:not(.case-kicker), .psu-hero > p:not(.psu-kicker)) {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  letter-spacing: normal;
}
body h1 > span { font-size: inherit !important; }
body .iris-name { font-size: var(--oml-h2) !important; }
body .page-header { padding-top: 48px; padding-bottom: 32px; }
body .section-header { margin-bottom: 32px; }
body .hero-subtitle { margin-bottom: 24px; }
body .hero-section { min-height: auto; padding-top: 56px; padding-bottom: 56px; }
/* Keep dimensions of icon controls, tab layout and responsive display behavior. */
body :is(button, .btn, .btn-login, .form-submit, .acc-tab, .auth-tabs button,
  .cart-qty button, .link-btn, input[type=submit], input[type=button]) {
  border-radius: var(--oml-control-radius) !important;
  min-height: 44px;
  font-family: inherit !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color .16s, border-color .16s, color .16s;
}
body :is(.btn, .btn-login, .form-submit, input[type=submit], input[type=button]) {
  padding: 10px 18px !important;
  border: 1px solid #40536c !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}
body :is(.btn-primary, .btn-login, .form-submit) {
  background: #73d8ff;
  color: #092031 !important;
  border-color: #73d8ff !important;
}
body .btn-secondary { background: #152237; color: #e6effa !important; }
body :is(.btn, .btn-login, .form-submit):hover { transform: none; filter: none; }
body :is(.btn-primary, .btn-login, .form-submit):hover:not(:disabled) { background: #a3e6ff; }
body .btn-secondary:hover:not(:disabled) { background: #23364e; border-color: #84b6d6 !important; }
body :is(.btn, .btn-login, .form-submit, .acc-tab, .auth-tabs button,
  .cart-qty button, .link-btn, .menu-toggle):focus-visible {
  outline: 3px solid #a3e6ff !important;
  outline-offset: 3px !important;
}
body :is(button, .btn, input[type=submit]):disabled,
body .btn[aria-disabled=true] { opacity: .55; cursor: not-allowed; transform: none; }
body .cart-qty button { min-width: 44px; height: 44px; }
body .case-alt .btn { width: auto; flex: 0 0 auto; }
body .menu-toggle { border-radius: 8px; min-width: 44px; min-height: 44px; }
body [data-sizing-warning] { margin-bottom: 20px; line-height: 1.65; }
body [data-sizing-warning] p { margin-top: 10px; }
@media (max-width: 480px) {
  body .header .btn-login { font-size: .75rem !important; padding: 8px !important; }
  body .page-header { padding-top: 32px; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.btn, .btn-login, .form-submit, .acc-tab) { transition: none; }
}
