/* =====================================================================
   base.css: colours, timings, resets and the shared animations.
   The palette lives in two places: the variables here, and "Dusk fjord" in palette.css.
   ===================================================================== */

:root {
  --ground: #f7f7f4;
  --surface: #ffffff;
  --ink: #16181a;
  --muted: #5f6368;
  --faint: #9a9da1;
  --line: #e7e7e2;
  --line-strong: #d3d3cc;
  --soft: #f0f0ec;
  --accent: #1f4ed1;
  --accent-tint: #eaf0fd;
  --accent-wash: #f4f7fe;
  --what: #5b4bc4;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.4, 0, 1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t1: 150ms;
  --t2: 250ms;
  --t3: 360ms;
  --shadow: 0 1px 0 rgba(22, 24, 26, 0.05), 0 1px 3px rgba(22, 24, 26, 0.05);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: #e9e9e4;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button {
  font: inherit;
  color: inherit;
}
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 8px;
}
.slow {
  --t1: 450ms;
  --t2: 750ms;
  --t3: 1080ms;
}
.nomotion *,
.nomotion *::before,
.nomotion *::after {
  transition: none !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .app *,
  .app *::before,
  .app *::after {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}
@keyframes pop {
  0% {
    transform: scale(0.55);
  }
  55% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes slidein {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}
@keyframes glow {
  to {
    transform: translate(-50%, -50%) scale(6);
    opacity: 0;
  }
}
@keyframes washout {
  0% {
    background: #fff4d6;
  }
  100% {
  }
}
@keyframes flash {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 75, 196, 0.45);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(91, 75, 196, 0);
  }
}

/* The guide fills the whole browser window. */
html,
body {
  height: 100%;
  background: var(--ground);
  /* no bounce and no pull-to-refresh: swipes stay in the lists and the map,
     so the browser doesn't keep pulling its bars back into view */
  overflow: hidden;
  overscroll-behavior: none;
}
#app {
  position: fixed;
  inset: 0;
  height: 100dvh;
}
.noscript {
  padding: 24px;
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
}
