*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bp-nav-h) + 8px); }
body {
  margin: 0;
  font: 400 16px/1.62 var(--bp-font-text);
  color: var(--tp-ink-primary);
  background: var(--tp-bg-canvas);
  -webkit-font-smoothing: antialiased;
}
body[data-page="home"] { background: var(--bp-void-bg); }
body:not([data-page="home"]) main { padding-top: var(--bp-nav-h); }
a { color: inherit; }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; padding: 8px 12px; z-index: 100; background: #fff; color: #000; }
.container { width: min(var(--bp-max-wide), calc(100% - 2 * var(--bp-space))); margin-inline: auto; }
.text-link { display: inline-flex; gap: 7px; align-items: center; text-decoration: none; font-weight: 560; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
svg { flex-shrink: 0; }
.icon-button { flex: 0 0 auto; display: inline-grid; place-items: center; padding: 0; width: 44px; height: 44px; background: transparent; border: 0; color: inherit; cursor: pointer; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 7px 17px; border: 1px solid transparent; border-radius: var(--bp-radius-pill);
  font-size: 14px; line-height: 1.3; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.button-primary { background: var(--tp-accent); color: var(--tp-ink-on-accent); }
.button-primary:hover { background: var(--tp-accent-hover); }
.button-secondary { background: transparent; color: inherit; border-color: var(--tp-border-strong); }
.button-secondary:hover { background: var(--tp-accent-soft); }

.site-header,
.support-launcher,
.support-dialog {
  --shell-ink: #111114;
  --shell-muted: #55555d;
  --shell-contrast: #fff;
  --shell-pane: #fff;
  --shell-glass: rgb(255 255 255 / .86);
  --shell-line: rgb(0 0 0 / .13);
  --shell-hover: rgb(0 0 0 / .055);
  color: var(--shell-ink);
}
[data-bp-tone="dark"].site-header,
[data-bp-tone="dark"].support-launcher,
[data-bp-tone="dark"].support-dialog {
  --shell-ink: #f5f5f7;
  --shell-muted: #a1a1a7;
  --shell-contrast: #000;
  --shell-pane: #0d0d0f;
  --shell-glass: rgb(10 10 12 / .87);
  --shell-line: rgb(255 255 255 / .18);
  --shell-hover: rgb(255 255 255 / .075);
}
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 40;
  background: var(--shell-glass); border-bottom: var(--bp-hairline-w) solid var(--shell-line);
  backdrop-filter: saturate(.6) blur(18px);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
body[data-page="home"] .site-header:not(.is-scrolled):not(:has(.menu-toggle[aria-expanded="true"])) { background: transparent; border-color: transparent; backdrop-filter: none; }
.nav-inner { height: var(--bp-nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-brand { display: inline-flex; align-items: center; gap: 8px; width: max-content; text-decoration: none; white-space: nowrap; line-height: 1; }
.site-brand img { display: block; width: 21px; height: 21px; }
[data-bp-tone="dark"] .site-brand img { filter: invert(1); }
.site-brand strong { font-size: 16px; font-weight: 650; letter-spacing: -.045em; }
.site-brand span { font-size: 12px; color: var(--shell-muted, var(--bp-void-ink-2)); }
.main-nav, .nav-actions { display: flex; height: 100%; align-items: center; }
.login-link { font-size: 13px; color: var(--shell-muted); text-decoration: none; white-space: nowrap; }
.login-link:hover { color: var(--shell-ink); }
.nav-actions { justify-content: flex-end; gap: 13px; }
.search-trigger { display: inline-grid; place-items: center; min-width: 40px; height: 44px; background: none; padding: 0; color: inherit; border: 0; cursor: pointer; }
.site-header .nav-cta, .site-header .button-primary { min-height: 34px; padding: 5px 13px; font-size: 12px; background: var(--shell-ink); color: var(--shell-contrast); }
.site-header .button-secondary { border-color: var(--shell-line); }
.menu-toggle, .mobile-menu { display: none; }
.mobile-menu[hidden] { display: none; }

.site-footer { color: var(--bp-void-ink-1); background: var(--bp-void-bg); font-size: 12px; padding: 0 0 max(38px, env(safe-area-inset-bottom)); }
.site-footer > .container { border-top: var(--bp-hairline-w) solid var(--bp-void-hairline); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 28px; padding: 42px 0; }
.site-footer .site-brand img { filter: invert(1); }
[data-bp-preference="light"] .site-footer .site-brand img { filter: none; }
.footer-about p { margin: 13px 0 8px; color: var(--bp-void-ink-2); }
.footer-status, .footer-column a, .footer-legal a { text-decoration: none; color: var(--bp-void-ink-2); }
.footer-status:hover, .footer-column a:hover, .footer-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-status span { display: inline-block; width: 5px; height: 5px; margin-inline-end: 5px; border-radius: 50%; vertical-align: 2px; background: currentColor; }
.footer-column h2 { font-size: 12px; margin: 0 0 8px; font-weight: 630; }
.footer-column a { display: block; width: fit-content; padding: 4px 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; color: var(--bp-void-ink-2); border-top: var(--bp-hairline-w) solid var(--bp-void-hairline); padding-top: 16px; }
.footer-legal > div { display: flex; gap: 13px; align-items: center; }
.footer-legal .footer-appearance { gap: 4px; }
.footer-appearance button { font-size: inherit; color: inherit; background: none; border: 1px solid transparent; border-radius: 18px; padding: 5px 8px; min-height: 35px; cursor: pointer; }
.footer-appearance button[aria-pressed="true"] { color: var(--bp-void-ink-1); border-color: var(--bp-void-hairline); }

.support-launcher {
  position: fixed; z-index: 46; right: 24px; bottom: max(24px, env(safe-area-inset-bottom));
  border: var(--bp-hairline-w) solid var(--shell-line); border-radius: 50%; background: var(--shell-glass); backdrop-filter: blur(12px);
  transition: background-color 180ms ease, color 180ms ease;
}
.support-launcher:hover { background: var(--shell-pane); }
.support-dialog, .command-dialog {
  padding: 0; width: min(calc(100% - 32px), 615px); max-height: min(650px, calc(100dvh - 52px));
  font: 400 14px/1.55 var(--bp-font-text); border: var(--bp-hairline-w) solid var(--shell-line);
  border-radius: 14px; box-shadow: 0 24px 78px rgb(0 0 0 / .25);
}
:is(.support-dialog, .command-dialog)::backdrop { background: rgb(0 0 0 / .48); backdrop-filter: blur(12px); }
.support-dialog { width: min(calc(100% - 32px), 395px); padding: 20px; background: var(--shell-pane); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { margin: 0; font-size: 21px; font-weight: 620; }
.support-hours { color: var(--shell-muted); margin: 0 0 14px; }
.support-hours::before { content: ""; display: inline-block; background: currentColor; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; vertical-align: 2px; }
.support-hours[data-online="true"]::before { background: #0c9167; }
.support-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: var(--bp-hairline-w) solid var(--shell-line); }
.support-row strong, .support-row span { display: block; font-size: 13px; }
.support-row span { color: var(--shell-muted); }
.support-row .button { border-color: var(--shell-line); }
.support-qr { margin-block: 12px; }
.support-qr summary { cursor: pointer; }
.support-qr img { margin-top: 8px; display: block; height: auto; }
.command-dialog {
  --shell-line: rgb(255 255 255 / .16);
  color-scheme: dark; background: rgb(15 15 17 / .96); color: #f5f5f7;
  margin: min(16vh, 132px) auto auto;
}
.command-dialog[open] { animation: command-open 180ms var(--bp-ease); }
.command-dialog::backdrop { backdrop-filter: blur(24px); }
@keyframes command-open { from { opacity: 0; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }
.command-search { display: flex; align-items: center; padding: 8px 13px 8px 18px; gap: 12px; border-bottom: var(--bp-hairline-w) solid var(--shell-line); }
.command-search input { width: 100%; min-width: 0; flex: 1; border: 0; background: transparent; color: inherit; outline-offset: 0; font-size: 16px; }
.command-search input::placeholder { color: #a1a1a7; }
.command-results { padding: 8px; min-height: 115px; max-height: min(375px, 49dvh); overflow-y: auto; }
.command-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; border: 0; border-radius: 6px; font: inherit; text-decoration: none; color: inherit; text-align: start; padding: 9px 12px; background: transparent; cursor: pointer; }
.command-result strong { font-weight: 570; overflow-wrap: anywhere; }
.command-result small { flex: 0 0 auto; color: #aaaab1; font-size: 11px; }
.command-result[aria-current="true"], .command-result:focus-visible { background: #242428; }
.command-empty { color: #aaaab1; margin: 14px; }
.command-hint { display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 0; padding: 12px 18px; font-size: 11px; color: #aaaab1; border-top: var(--bp-hairline-w) solid var(--shell-line); }
.command-hint kbd { color: #eeeef1; }
.site-toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; background: #111114; border: 1px solid #3e3e43; border-radius: 25px; padding: 8px 16px; font-size: 13px; max-width: calc(100% - 24px); text-align: center; white-space: nowrap; }

@media (max-width: 820px) {
  .nav-inner { grid-template-columns: 1fr auto; gap: 0; }
  .main-nav, .nav-actions .nav-cta, .nav-actions .search-trigger { display: none; }
  .nav-actions { gap: 5px; }
  .menu-toggle { display: inline-grid; margin-right: -9px; }
  .mobile-menu:not([hidden]) { display: grid; padding: 10px var(--bp-space) 20px; background: var(--shell-pane); }
  .mobile-menu > a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: var(--bp-hairline-w) solid var(--shell-line); text-decoration: none; }
  .mobile-menu-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
  .mobile-menu-actions [data-login-link] { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
@media (max-width: 700px) {
  .support-launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: max(80px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .button, .support-launcher { transition: none; }
  .command-dialog[open] { animation: none; }
}
