/* Base styles — load tokens.css before this file in HTML. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--sds-color-text-neutral-default);
  background-color: var(--sds-color-background-default-default);
  /* Top: vignette fades dots into page color at edges; middle: dot grid */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1512 1206' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23grad)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(0.000006086 93.029 -116.63 0.000011508 756 467.29)'%3E%3Cstop stop-color='rgba(249,248,246,0)' offset='0'/%3E%3Cstop stop-color='rgba(249,248,246,1)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E"),
    var(--page-bg-dot-grid),
    linear-gradient(90deg, rgb(249, 248, 246) 0%, rgb(249, 248, 246) 100%);
  background-repeat: no-repeat, repeat, no-repeat;
  background-size: cover, var(--page-bg-dot-size), cover;
  background-position: center, var(--page-bg-dot-position), center;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

h1,
h2,
h3,
h4,
.font-serif-heading {
  font-family: var(--sds-typography-title-hero-font-family);
  font-weight: var(--sds-typography-title-hero-font-weight);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--sds-color-text-neutral-tertiary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
