/* The tokens below are copied from CORE_CSS in src/web/theme.ts, because this site has no build step
   to import them. Change them there first and copy the values across. Only the monochrome ones are
   here: nothing on this page is an error or an action, so it carries no red and no accent. The fonts
   are copies of the platform's own files in src/web/assets/fonts, served from this site, with their
   OFL texts beside them. */
@font-face {
  font-family: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/young-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #070708;
  --surface-2: #101112;
  --line-soft: #1b1c1e;
  --glow: rgba(255, 255, 255, 0.08);
  --ink: #e5e2e3;
  --muted: #9a9da3;
  --font-brand: "Young Serif", Georgia, "Times New Roman", serif;
  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-xl: 12px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  font: 16px / 1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--ink);
  color: var(--bg);
}

.notice {
  width: min(100%, 34rem);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: inset 0 1px 0 0 var(--glow), 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 40px;
}
.brand {
  margin: 0 0 28px;
  font-family: var(--font-brand);
  font-size: 22px;
  line-height: 1;
}
h1 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 520;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.body {
  margin: 0;
  color: var(--muted);
}

/* On a phone the card sits near the top, where the eye starts, with room either side. */
@media (max-width: 720px) {
  body {
    place-items: start center;
    padding: 48px 16px;
  }
  .notice {
    padding: 28px 24px;
  }
}
