/* ==========================================================================
   Boddu — base/reset + native-app feel
   ========================================================================== */

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-bg-desktop);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

button:active {
  transform: scale(0.97);
  transition: transform 100ms ease;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

/* Chrome elements shouldn't be text-selectable, body copy should remain so */
.tab-bar,
.logo,
button,
.phone-statusbar {
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
