@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Neutral brand: plain black with a fine film grain, white text. */
:root {
  color-scheme: dark;
  font-family: "Fraunces", Georgia, serif;
  color: #ffffff;
  background: #000000;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #000000;
}

/* Grain: SVG fractal noise tiled over the page, above the background and below the content. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

body > * {
  position: relative;
  z-index: 1;
}

.statement,
.coming-soon {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.statement {
  max-width: 820px;
}

.coming-soon {
  gap: clamp(20px, 4vh, 36px);
}

/* Custom art of the top half of an iPhone; it fades into the page at the bottom. */
.phone-art {
  display: block;
  width: min(300px, 72vw, 52svh);
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 20px;
  padding-top: 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer p a:hover,
.site-footer p a:focus-visible {
  color: #ffffff;
}

/* Footer links are pills: plain text at rest, an outline on hover or focus. */
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #ffffff;
  border-color: rgb(255 255 255 / 55%);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer nav a {
    transition: none;
  }
}
