[x-cloak] {
  display: none !important;
}

html {
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--gray-800);
  background: var(--surface-page);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:disabled,
.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

::selection {
  background: var(--brand-100);
  color: var(--brand-800);
}

.font-display {
  font-family: var(--font-display);
}

.font-mono,
code,
kbd {
  font-family: var(--font-mono);
}

.numeric {
  font-variant-numeric: tabular-nums;
}

.text-muted {
  color: var(--gray-500);
}

.app-page {
  min-height: 100vh;
  background: var(--surface-page);
}

.public-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.section-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
