/* 2026-09-26 14:23 CEST - Shared ground, type and buttons for every page, plus the beta confirmation page.
   The landing page adds landing.css; legal pages add legal.css through the import below. */

@import url("legal.css");

:root {
  --ground: #030303;
  --ink: #ffffff;
  --ink-muted: #9b9ba0;
  --line: rgba(255, 255, 255, 0.26);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  touch-action: pinch-zoom;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: var(--ground);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Buttons and notes shared by the sign-up and its confirmation ---- */

.beta-button {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 300ms var(--ease);
}

.beta-button:hover {
  opacity: 0.85;
}

.beta-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.beta-note {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* ---- The confirmation page ---- */

a.beta-button,
a.beta-button:hover {
  color: var(--ground);
  text-decoration: none;
}

a.beta-button:not([hidden]) {
  display: inline-flex;
  align-items: center;
}

.confirm-title:focus {
  outline: 0;
}

.confirm-note {
  margin-top: 16px;
}
