/* The coming soon page on topotapper.com. Colours and fonts follow docs/brand.md. */
@font-face {
  font-family: 'Orbitron Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/fonts/orbitron-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --bg: #eeffff;
  --text: #26136d;
  --text-muted: #4f3f94;
  --accent-text: #c8006f;
  --badge-bg: #02f2ff;
  --badge-text: #26136d;
  --border: #26136d;
  --shadow: #26136d;
  --checker: #26136d;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150a42;
    --text: #eeffff;
    --text-muted: #c4c9f0;
    --accent-text: #ff4fb0;
    --badge-bg: #02f2ff;
    --badge-text: #26136d;
    --border: #8f80dc;
    --shadow: #0a0424;
    --checker: #02f2ff;
    color-scheme: dark;
  }
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  font-family:
    'Inter Variable',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.5;
}

/* The checkerboard strip along the top, as under the app's header. */
body::before {
  content: '';
  display: block;
  height: 12px;
  margin: 0 -16px;
  background: repeating-conic-gradient(var(--checker) 0 25%, transparent 0 50%) 0 0 / 12px 12px;
}

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
}

.soon__logo {
  margin: 0;
  width: min(100%, 26rem);
}

.soon__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.soon__tagline {
  margin: 0;
  font-family: 'Orbitron Variable', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  color: var(--accent-text);
}

.soon__tapper {
  width: min(55vw, 12rem);
  height: auto;
}

.soon__badge {
  margin: 0;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 4px 4px 0 var(--shadow);
  background: var(--badge-bg);
  color: var(--badge-text);
  font-family: 'Orbitron Variable', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.soon__text {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}

.soon__contact {
  margin: 0;
  color: var(--text-muted);
}

a {
  color: var(--accent-text);
  font-weight: 600;
}

a:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 2px;
}

.soon__footer {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
