@font-face {
  font-family: "Roundo";
  src: url("fonts/roundo.woff2") format("woff2");
  font-weight: 200 700;
  font-display: block;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --leaf: #a1d99b;
  --green: #31a354;
  --ink: #12331d;
  --quiet: #4f6b57;
  --rule: rgba(49, 163, 84, 0.22);
  --mark: "Roundo", ui-rounded, system-ui, sans-serif;
  --text: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, "DejaVu Sans Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  font: 400 14px/1.65 var(--text);
  background: var(--paper);
}

a { color: inherit; text-decoration-color: var(--leaf); text-underline-offset: 0.25em; }
a:hover { text-decoration-color: var(--green); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 4px; }
::selection { background: var(--leaf); color: var(--ink); }

/* The canvas for the ray tracks sits behind everything and never takes input. */
canvas#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Landing page: one mark in the middle, one line under it, a footer rail. */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.centre { display: grid; place-content: center; justify-items: center; padding: 2rem 1.25rem; text-align: center; }

.centre h1 { font: inherit; line-height: 0; }

.emit {
  font-family: var(--mark);
  font-weight: 504;
  font-size: clamp(3.4rem, 15.5vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--green);
  background: none;
  border: 0;
  padding: 0.06em 0.1em 0.1em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.5s var(--ease);
}
.emit:active, .emit.fired { transform: scale(0.985); transition-duration: 0.08s; }

.soon {
  margin-top: 1.2rem;
  font: 400 clamp(0.95rem, 1.9vw, 1.15rem)/1.4 var(--text);
  color: var(--ink);
}

.rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.4rem 1.2rem;
  font-size: 13px;
  color: var(--quiet);
}
.rail .left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1.3rem; }
.rail .name { font-family: var(--mark); font-weight: 504; font-size: 1.05rem; color: var(--ink); }
.rail .name sup { font-size: 0.55em; vertical-align: 0.65em; margin-left: 0.08em; }
.rail .ok { font-family: var(--mark); font-weight: 504; font-size: 1.15rem; color: var(--green); letter-spacing: -0.02em; }

/* Privacy page: a plain reading column on the same paper. */
.page { position: relative; z-index: 1; max-width: 40rem; margin: 0 auto; padding: 2.2rem 1.4rem 4rem; }
.page header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
.page header a { text-decoration: none; }
.page .wordmark { font-family: var(--mark); font-weight: 504; font-size: 1.7rem; color: var(--green); letter-spacing: -0.02em; }
.page h1 { font: 600 clamp(1.5rem, 4.5vw, 2rem)/1.15 var(--text); margin: 2.6rem 0 0.5rem; }
.page .dated { color: var(--quiet); font-size: 13px; }
.page h2 { font: 600 1rem/1.4 var(--text); margin: 2.2rem 0 0.4rem; }
.page p, .page ul { margin-top: 0.7rem; }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: 0.3rem; }

@media (max-width: 30rem) {
  .rail { padding: 0.9rem 1rem 1rem; }
  .rail .left { gap: 0.1rem 0.9rem; }
}

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