*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 420px at 50% 120px, rgba(14, 107, 162, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 300px at 50% 160px, rgba(29, 188, 252, 0.18), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.page {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 16px 32px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .page {
    padding-inline: 32px;
  }

  .stack {
    gap: 22px;
  }
}
