:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18283c; background: #f3f5f8; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.7; }
main { max-width: 680px; margin: 0 auto; padding: clamp(36px, 8vh, 80px) 24px 24px; }
h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.25; letter-spacing: -.04em; margin: 0; }
.brand { padding-bottom: 32px; }
a { color: #1759a0; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1759a0; outline-offset: 4px; }
.support-menu { border-top: 1px solid #cbd3df; }
.support-menu a { min-height: 72px; padding: 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cbd3df; color: inherit; font-size: 18px; font-weight: 600; text-decoration: none; transition: color .15s ease, padding .15s ease; }
.support-menu a:hover { color: #1759a0; padding-inline-start: 10px; }
.chevron { flex: 0 0 8px; width: 8px; height: 8px; margin-inline-end: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
footer { display: flex; align-items: center; gap: 24px; padding-top: 24px; font-size: 14px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #526176; }
p { margin: 0 0 20px; overflow-wrap: anywhere; }
dialog { width: min(640px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 20px; color: inherit; background: #fff; box-shadow: 0 16px 64px #18283c26; overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; animation: enter-sheet .18s ease-out; }
dialog::backdrop { background: #18283c66; }
.sheet-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 12px 28px; }
h2 { margin: 0; font-size: 23px; line-height: 1.4; }
button { font: inherit; }
[data-close] { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 50%; background: #f3f5f8; color: #18283c; font-size: 28px; cursor: pointer; }
.sheet-body { min-height: 0; padding: 8px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; margin-bottom: 16px; border-radius: 9px; background: #1759a0; color: white; font-weight: 600; text-decoration: none; }
.muted { font-size: 15px; margin-bottom: 8px; }
.legacy-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #526176; }
details { margin-top: 4px; border-top: 1px solid #d5dce5; }
summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 15px; color: #526176; }
details p { font-size: 16px; margin: 8px 0 0; }
.sheet-open { overflow: hidden; }
.fallback { margin-top: 24px; }
@keyframes enter-sheet { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  main { padding-inline: 24px; }
  dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .sheet-header { padding: 18px 16px 10px 24px; }
  .sheet-body { padding: 8px 24px max(24px, env(safe-area-inset-bottom)); }
  h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } .support-menu a { transition: none; } }
