@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/JetBrainsMono-Regular.ttf') format('truetype'); font-display: swap; }
html { scroll-behavior: smooth; }
body { background: #fff; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled, [aria-disabled='true'] { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 4px; }
[hidden] { display: none !important; }
.v2 { max-width: none; overflow: clip; }
img { max-width: 100%; }
.nav { padding-inline: max(28px, calc((100vw - 1280px) / 2)); }
.nav.dark { background: #080d1a; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-item { transition: background .18s, color .18s; }
.nav-item:hover { background: #e5edfb; color: #1d4ed8; }
.nav.dark .nav-item:hover { background: #26364c; color: #fff; }
.btn { min-height: 42px; transition: transform .18s, box-shadow .18s; }
.btn:hover:not([aria-disabled='true']):not(:disabled) { transform: translateY(-2px); }
.menu-toggle { display: none; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 12px; width: 42px; height: 42px; font-size: 22px; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 12px; background: #fff; color: #1d4ed8; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.text-button { padding: 0; border: 0; background: none; color: #2563eb; font-weight: 600; cursor: pointer; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e6ebf3; font-size: 12px; }
.v2-f-links a:hover, .text-button:hover { text-decoration: underline; }
.table-scroll { overflow-x: auto !important; }
.table-scroll table { min-width: 640px; }
.table-scroll th, .table-scroll td { line-height: 1.7; }
dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid #e2e8f0; border-radius: 26px; box-shadow: 0 30px 100px #02061740; color: #0a0e1a; }
dialog::backdrop { background: #05081199; backdrop-filter: blur(8px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { margin: 0; font-size: 23px; }
.close-button { flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f5f9; font-size: 26px; color: #475569; }
.dialog-subtitle, .fine-print { color: #64748b; line-height: 1.8; }
.fine-print { font-size: 13px; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.support-widget { --support-ink: #0a0e1a; --support-muted: #64748b; --support-blue: #2563eb; position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 35; color: var(--support-ink); }
.support-launcher { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin-left: auto; padding: 0 19px; border: 1px solid #ffffff40; border-radius: 999px; background: var(--support-blue); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px #2563eb30; }
.support-launcher:hover { background: #1d4ed8; }
.support-launcher:active { background: #1e40af; }
.support-panel { position: absolute; bottom: 62px; right: 0; width: min(320px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border: 1px solid #e2e8f0; border-radius: 22px; background: #fff; box-shadow: 0 16px 50px #0f172a20; }
.support-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; gap: 8px; }
.support-heading h2 { margin: 0; font-size: 18px; font-weight: 750; }
.support-heading p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--support-muted); }
.support-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; margin: -9px -10px 0 0; border: 0; border-radius: 12px; background: transparent; color: var(--support-muted); font-size: 25px; }
.support-close:hover { background: #f4f6fb; }
.support-tabs { display: grid; grid-template-columns: repeat(var(--support-count, 4), minmax(0, 1fr)); gap: 2px; padding: 3px; border-radius: 11px; background: #f4f6fb; }
.support-tabs button { min-width: 0; min-height: 44px; padding: 6px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--support-muted); font-size: 12px; font-weight: 600; }
.support-tabs button[aria-selected='true'] { background: #fff; color: var(--support-blue); box-shadow: 0 1px 4px #0f172a0f; }
.support-tabs button:hover { color: var(--support-blue); }
.support-contact { padding-top: 20px; text-align: center; }
.support-code { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto; padding: 8px; border: 1px solid #edf0f5; border-radius: 12px; background: #fff; }
.support-scan-hint, .support-code-error { margin: 12px 0; font-size: 13px; line-height: 1.6; color: var(--support-muted); }
.support-account { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #edf0f5; border-radius: 10px; background: #fafbfe; color: var(--support-ink); font-size: 14px; overflow-wrap: anywhere; }
.support-account > span:first-child { min-width: 0; }
.support-copy-label { flex-shrink: 0; color: var(--support-blue); font-size: 12px; }
.support-account:hover { border-color: #b9cef8; background: #f4f7ff; }
.support-direct-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; padding: 4px 12px; color: var(--support-blue); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.support-hours { margin: 14px 0 0; border-top: 1px solid #edf0f5; padding-top: 12px; font-size: 12px; color: var(--support-muted); text-align: center; line-height: 1.6; }
.support-email { display: block; padding-top: 8px; font-size: 12px; color: var(--support-muted); text-align: center; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .support-widget { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .support-launcher, .support-account { font-size: 16px; }
}
.support-tile { border: 1px solid #dbe5f4; border-radius: 16px; padding: 18px; background: #fff; color: #2563eb; }
.support-tile img { width: 120px; height: 120px; object-fit: contain; display: block; }
.menu-dialog { margin: 12px 12px 0 auto; width: min(360px, calc(100vw - 24px)); }
.menu-dialog nav { display: grid; gap: 8px; margin-top: 20px; }
.menu-dialog .nav-item { padding: 14px 18px; font-size: 16px; }
.menu-dialog .nav-item.active { background: #eff6ff; color: #1d4ed8; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 30px; transform: translateX(-50%); border-radius: 14px; background: #0f172a; color: #fff; padding: 14px 24px; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px #02061730; }
.noscript { padding: 20px; text-align: center; background: #fef3c7; }
@media (max-width: 1000px) { .nav-pill-group { display: none; } .menu-toggle { display: block; } }
@media (max-width: 760px) {
  .nav { padding: 14px 18px; gap: 12px; }
  .brand { gap: 7px; font-size: 15px; }
  .brand img { width: 27px; height: 27px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 10px 13px; font-size: 12px; }
  .sec { padding: 58px 0; }
  .sec-head { margin-bottom: 30px; }
  .sub-line { font-size: 15px; }
  .responsive-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
  .b-card { padding: 26px !important; }
  .b-card[style*='padding:0'] { padding: 0 !important; }
  .h-display { font-size: clamp(34px, 8.5vw, 50px) !important; }
  .h-section { font-size: 30px !important; }
  .p-card { padding: 30px 24px; }
  .v2-f-links { gap: 14px 20px; }
  .footer-bottom { align-items: flex-start; }
  dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
