* {
  box-sizing: border-box;
}

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--muted) 58%, transparent)
    color-mix(in srgb, var(--panel) 82%, var(--bg) 18%);
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--panel) 82%, var(--bg) 18%);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid color-mix(in srgb, var(--panel) 82%, var(--bg) 18%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 58%, transparent);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.policy-layout,
body:has(.policy-page) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.google-translate {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}
