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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 20%, rgba(77,124,255,.16), transparent 35%),
    radial-gradient(circle at 20% 60%, rgba(77,235,255,.08), transparent 30%),
    var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(77,124,255,.055), transparent 48%),
    linear-gradient(to bottom, rgba(5,8,27,.02), rgba(5,8,27,.22));
  z-index: -1;
}

#app {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

main {
  position: relative;
  z-index: 1;
}

button,
input,
textarea,
select { font: inherit; }

button { cursor: pointer; }

a { color: inherit; }

img,
svg { max-width: 100%; display: block; }

::selection {
  background: rgba(77,235,255,.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.language-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.language-gate__content {
  color: var(--color-text-soft);
  text-align: center;
}
