/* shimmytech.com: one tile, linking to whispers, in whispers' colours and
   font (web/src/ui/style.css). deploy.sh adds whispers' logo
   (web/public/favicon.svg) and the app's Geist font, which is under the SIL
   Open Font License. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/geist.woff2') format('woff2');
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #08090c;
  color: #e6ebf3;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 2.25rem 3.25rem 2rem;
  border: 1px solid rgba(214, 221, 233, 0.14);
  border-radius: 1.5rem;
  background: rgba(12, 14, 19, 0.8);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.9);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.tile:hover {
  border-color: rgba(214, 221, 233, 0.3);
  transform: translateY(-2px);
}

.tile:focus-visible {
  outline: 2px solid #9cc0ff;
  outline-offset: 4px;
}

.tile img {
  display: block;
  width: 4rem;
  height: 4rem;
}

.tile span {
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
}

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

  .tile:hover {
    transform: none;
  }
}
