:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 42%, rgb(208 48 24 / 8%), transparent 42%),
    #f7f7f7;
}

.app-selector {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 7vw, 5rem);
  padding: max(2rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
}

.app-button {
  width: clamp(9.5rem, 22vw, 12rem);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 50%;
  color: #fff;
  background: #d03018;
  box-shadow: 0 1.25rem 2.5rem rgb(132 24 10 / 24%);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.app-button:hover {
  background: #b82510;
  box-shadow: 0 1.5rem 3rem rgb(132 24 10 / 30%);
  transform: translateY(-0.25rem);
}

.app-button:active {
  transform: scale(0.97);
}

.app-button:focus-visible {
  outline: 0.25rem solid #161616;
  outline-offset: 0.35rem;
}

.app-button svg {
  width: 3.5rem;
  height: 3.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-button span {
  max-width: 80%;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 34rem) {
  .app-selector {
    flex-direction: column;
    gap: 2rem;
  }

  .app-button {
    width: min(10.5rem, 42vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-button {
    transition: none;
  }
}
