/* Shared shell only: navigation, footer, contact controls and the message page. */
html { scroll-padding-top: 104px; }
#main { scroll-margin-top: 104px; }
.site-header { background: #fff; border-bottom: 1px solid #e5e8e8; backdrop-filter: none; }
.header-bar { min-height: 84px; gap: 22px; }
.brand { gap: 10px; color: #183449; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand strong { font-size: 21px; font-weight: 600; letter-spacing: .08em; }
.brand small { color: #627580; font-size: 11px; margin-top: 6px; letter-spacing: .02em; }
.site-header .site-nav { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; position: static; gap: 16px; margin-left: auto; padding: 0; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 13px; color: #304956; }
.site-nav a::after { bottom: 4px; height: 1px; background: #356da0; }
.site-nav a:hover, .site-nav a.is-current { color: #356da0; }
.header-consult { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: none; min-height: 44px; padding: 7px 13px; border: 1px solid #d5e0e5; border-radius: 3px; text-decoration: none; color: #183449; font-size: 12px; line-height: 1.45; }
.header-consult span { font-size: 11px; font-variant-numeric: tabular-nums; }
.header-consult:hover { background: #f3f7f9; border-color: #356da0; }
.site-header .nav-toggle { display: none; min-width: 76px; min-height: 44px; justify-content: center; align-items: center; gap: 9px; color: #183449; border: 1px solid #d5e0e5; border-radius: 3px; padding: 8px 12px; background: #fff; }
.nav-toggle-icon { width: 16px; height: 10px; border-block: 1px solid currentColor; }
.nav-open .nav-toggle-icon { height: 0; border-bottom: 0; transform: rotate(-25deg); }
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible, .mobile-contact a:focus-visible, .back-top:focus-visible, .message-page :focus-visible { outline: 2px solid #356da0; outline-offset: 4px; }

.site-footer { padding: 64px 0 24px; background: #183449; color: #cbd5da; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.footer-brand-link { display: inline-flex; gap: 14px; align-items: center; text-decoration: none; }
.site-footer .footer-brand-link img { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 7px; border-radius: 3px; }
.footer-brand-link > span { color: #fff; font-size: 24px; line-height: 1.35; letter-spacing: .08em; }
.footer-brand-link small { display: block; margin-top: 6px; color: #cbd5da; font-size: 11px; letter-spacing: .04em; }
.site-footer .footer-statement { margin: 24px 0 18px; color: #fff; font-size: 23px; line-height: 1.65; font-weight: 400; letter-spacing: .04em; }
.site-footer .footer-brand > p:last-child { font-size: 12px; color: #b9c8d0; }
.site-footer h2 { margin: 4px 0 16px; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .08em; }
.footer-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.footer-link-list a { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; color: #cbd5da; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-contact dl { margin: 0; }
.footer-contact dl > div { margin-bottom: 14px; }
.footer-contact dt { color: #aabec9; font-size: 12px; margin-bottom: 3px; }
.footer-contact dd { margin: 0; font-size: 14px; line-height: 1.8; }
.footer-contact dd a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-variant-numeric: tabular-nums; }
.footer-contact dd br { display: none; }
.footer-contact dd a ~ a { margin-left: 14px; }
.site-footer .footer-visit { display: inline-flex; gap: 30px; align-items: center; min-height: 44px; margin-top: 0; color: #fff; font-size: 13px; text-decoration: none; border-bottom: 1px solid #698291; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #395467; }
.site-footer .footer-bottom p { max-width: 92em; color: #b3c3cd; font-size: 12px; line-height: 1.9; margin-bottom: 6px; }
.footer-copyright { margin-top: 14px; color: #b3c3cd; font-size: 12px; }
.footer-copyright p { font-size: inherit; }
.mobile-contact { display: none; }
.back-top { position: fixed; right: 22px; bottom: 24px; z-index: 18; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cbd8df; border-radius: 50%; background: #fff; color: #183449; font-size: 23px; box-shadow: 0 5px 20px #1834490d; }
.back-top[hidden] { display: none; }
.back-top:hover { background: #eef4f6; }

.message-page { background: #f8f7f3; padding-block: 64px 88px; }
.message-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.message-eyebrow { color: #356da0; font-size: 12px; letter-spacing: .13em; }
.message-intro h2 { color: #183449; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: .03em; margin: 14px 0 24px; line-height: 1.4; }
.message-intro .prose { margin-bottom: 20px; font-size: 15px; }
.message-intro-text { color: #596d76; font-size: 15px; line-height: 1.95; }
.message-contact-note { margin-top: 36px; padding-top: 26px; border-top: 1px solid #dce1df; }
.message-contact-note span, .message-contact-note small { display: block; color: #596d76; font-size: 13px; }
.message-contact-note a { display: inline-flex; align-items: center; min-height: 44px; color: #183449; font-size: clamp(22px, 3vw, 29px); text-decoration: none; font-variant-numeric: tabular-nums; }
.message-card { padding: clamp(24px, 3.5vw, 44px); border: 1px solid #e1e6e5; background: #fff; border-radius: 4px; }
.message-notice { padding-bottom: 24px; border-bottom: 1px solid #e4e9e9; }
.message-notice strong { color: #183449; font-size: 17px; font-weight: 500; }
.message-notice p { margin-top: 9px; color: #596d76; font-size: 13px; line-height: 1.85; }
.message-fallback, .message-noscript { margin-top: 20px; color: #71543b; font-size: 14px; }
.message-fallback a { display: inline-flex; align-items: center; min-height: 44px; }
.form-ready .message-fallback { display: none; }
.message-form { display: block; max-width: none; margin-top: 26px; }
.message-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; display: grid; gap: 19px; }
.message-form fieldset:disabled { opacity: .6; }
.message-field label { display: block; margin-bottom: 8px; color: #183449; font-size: 14px; }
.message-field label > span[aria-hidden] { color: #356da0; }
.message-field .field-optional { color: #697b84; font-size: 12px; font-weight: 400; margin-left: 8px; }
.message-form input, .message-form textarea { min-height: 48px; border: 1px solid #cdd8dc; border-radius: 3px; background: #fff; padding: 11px 13px; font-size: 16px; line-height: 1.6; box-shadow: none; }
.message-form input::placeholder, .message-form textarea::placeholder { color: #77868d; font-size: 14px; }
.message-form input:focus, .message-form textarea:focus { border-color: #356da0; }
.message-form textarea { min-height: 132px; }
.message-field .field-hint { margin-top: 7px; color: #627580; font-size: 12px; line-height: 1.7; }
.message-field .field-error { color: #a23d37; font-size: 13px; margin-top: 6px; }
.field-error:empty, .code-status:empty { display: none; }
.message-form [aria-invalid="true"] { border-color: #a23d37; }
.message-code-row { display: flex; gap: 12px; align-items: stretch; }
.message-code-row input { width: 0; min-width: 0; flex: 1; }
.code-refresh { flex: none; min-width: 110px; min-height: 48px; border: 1px solid #cdd8dc; border-radius: 3px; padding: 4px 8px; background: #f8fafb; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.code-refresh img { width: 100px; max-height: 44px; object-fit: contain; }
.code-refresh span { color: #356da0; font-size: 12px; }
.message-field .message-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; min-height: 44px; padding-block: 8px; font-size: 13px; line-height: 1.8; color: #526974; cursor: pointer; }
.message-form .message-consent input { flex: none; appearance: auto; width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: #356da0; }
.message-form .message-submit { min-height: 50px; justify-self: stretch; margin: 0; gap: 24px; background: #356da0; border-color: #356da0; color: #fff; border-radius: 3px; font-size: 15px; }
.message-form .message-submit:hover { background: #285a88; transform: none; }
.message-form .message-submit:disabled, .code-refresh:disabled { cursor: wait; opacity: .65; }
.message-status { margin-top: 18px; padding: 13px 15px; border: 1px solid #e4c9c6; background: #fcf5f4; color: #8c3933; font-size: 14px; line-height: 1.8; }
.message-status:empty { display: none; }
.message-status[data-state="success"] { color: #275e51; border-color: #bcd7cc; background: #f2f8f5; }
.message-status[data-state="pending"] { color: #35617e; border-color: #cbdce7; background: #f4f8fb; }
.message-login { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.message-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 1180px) {
  .site-header { position: relative; }
  body.nav-ready .site-header { position: sticky; }
  .header-bar { flex-wrap: wrap; gap: 0 16px; padding-block: 12px; }
  .header-consult { margin-left: auto; }
  .site-header .site-nav { flex-basis: 100%; order: 4; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; margin: 12px 0 0; padding: 12px 0 4px; border-top: 1px solid #e5e8e8; max-height: none; }
  .site-nav a { min-height: 44px; font-size: 14px; }
  body.nav-ready .nav-toggle { display: inline-flex; margin-left: 0; }
  body.nav-ready .site-nav { display: none; }
  body.nav-ready.nav-open .site-nav { display: flex; max-height: min(65vh, 460px); max-height: min(65dvh, 460px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  #main { scroll-margin-top: 88px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .header-bar { min-height: 72px; padding-block: 10px; gap: 0 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 19px; }
  .brand small { margin-top: 4px; font-size: 10px; }
  .header-consult { display: none; }
  body.nav-ready .nav-toggle { margin-left: auto; }
  .site-header .site-nav { gap: 4px 12px; }
  .site-nav a { flex-basis: calc(50% - 6px); padding: 6px 10px; }
  .site-nav a::after { left: 10px; right: 10px; }
  .site-footer { padding: 42px 0 24px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-statement { font-size: 21px; margin: 18px 0 12px; }
  .footer-bottom { margin-top: 32px; }
  .footer-link-list { grid-template-columns: 1fr; }
  .footer-contact dd { font-size: 13px; }
  .footer-contact dd a { display: flex; overflow-wrap: anywhere; }
  .footer-contact dd a ~ a { margin-left: 0; }
  .mobile-contact { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; min-height: 60px; padding: 7px max(16px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid #dce4e6; background: #fff; gap: 10px; }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; flex: 1; min-height: 44px; text-decoration: none; font-size: 14px; color: #183449; border-radius: 3px; border: 1px solid #d5e0e5; gap: 14px; }
  .mobile-contact a:last-child { color: #fff; background: #356da0; border-color: #356da0; }
  .back-top { right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .message-page { padding-block: 36px 48px; }
  .message-layout { grid-template-columns: 1fr; gap: 30px; }
  .message-intro h2 { margin-bottom: 16px; }
  .message-contact-note { margin-top: 22px; padding-top: 18px; }
  .message-card { padding: 24px 20px; }
  .message-code-row { gap: 8px; }
  .code-refresh { flex-direction: column; gap: 1px; min-width: 100px; padding: 3px; }
  .code-refresh img { width: 92px; }
}
@media (max-width: 380px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .footer-link-list { grid-template-columns: 1fr 1fr; }
  .message-card { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header *, .site-footer *, .mobile-contact *, .back-top, .message-page * { animation: none !important; transition: none !important; }
}
