/* ─────────────────────────────────────────────────────────────
   THE PAGE SHELL — first visual decisions, 2026-09-20

   Every value here is tagged. FORCED means nothing else was left
   once the constraint was applied. CHOSEN means taste entered, and
   taste that enters must be visible so it can be argued with.

   Nothing in this file is Locked. All of it is Accepted working.
   ───────────────────────────────────────────────────────────── */

:root {
  /* FORCED — inherited from the arc, where both are tagged
     `null — not a choice`. Nothing has yet forced a typeface or a
     colour, so nothing is picked. A page that needed either would be
     the argument for it; none of these do yet. */
  --ink: #111;
  --paper: #fff;
  --face: system-ui, sans-serif;

  /* FORCED — legibility, not preference. A measure much past ~70
     characters loses the line return; much under ~45 breaks the
     phrase. 34rem lands near 68ch at this size. */
  --measure: 34rem;

  /* FORCED — the arc's own body size. Changing it here would make
     the pages a different document from the thing they explain. */
  --body: 1.06rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--body);
  /* FORCED — 1.6 is the reading range for a measure this wide. The
     arc runs 1.35 because nothing in it is a paragraph. */
  line-height: 1.6;
  /* FORCED — a page needs a side gutter that survives a phone. */
  padding: 0 1.25rem 6rem;
}

/* ── the header ────────────────────────────────────────────────
   FORCED. Five pages with only a link home is not a site, it is five
   documents that happen to share a stylesheet. Being able to get from
   any page to any other is what makes them one thing, and no amount
   of styling substitutes for it.

   A WORD, NOT A MARK. There is no logo and inventing one here would
   be a brand decision smuggled in as navigation.

   The header is deliberately absent from the front page. A header
   over the opening scene would be a frame around the thing the scene
   is trying to be, and the scene's whole method is that nothing
   surrounds it. */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.75rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.25rem 0 4.5rem;
}
.mark {
  /* FORCED — the only element on any page whose job is to be the
     name. It is one step up from body text and nothing else. */
  font-size: 1.06rem;
  text-decoration: none;
  margin-right: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.92rem;
}
/* FULL CONTRAST. This carried the same fault as the lab's bar: nav
   set at 0.55 so as not to compete, when being found IS its job.
   Emphasis belongs on one destination by addition, never on the rest
   by subtraction. */
header nav a { text-decoration: none; }
header nav a:hover { text-decoration: underline;
                     text-underline-offset: 0.28em; }

/* ── the footer ────────────────────────────────────────────────
   FORCED — a page needs an end, and the two things true on every
   page are who made this and that the room is not open. Separated by
   space rather than a rule: S5 says every line must answer what
   relation it claims, and space already answers this one. */
footer {
  max-width: var(--measure);
  margin: 6rem auto 0;
  font-size: 0.92rem;
  opacity: 0.55;
}
footer p { margin-bottom: 0.6rem; }
footer p:last-child { margin-bottom: 0; }

/* FORCED — at 375px the header came to 204px, a quarter of the
   viewport spent before a word of the page. Navigation for five pages
   is worth having; it is not worth a quarter of a phone. */
@media (max-width: 30rem) {
  header { padding: 1.5rem 0 2.5rem; gap: 0.75rem 1.25rem; }
  footer { margin-top: 4rem; }
  body   { padding-bottom: 4rem; }
}

main {
  max-width: var(--measure);
  margin: 0 auto;
}

/* ── one heading, one size ─────────────────────────────────────
   FORCED — a page needs its subject legible before its body. One
   step, not a scale: a scale implies levels, and nothing here has
   levels yet. When something does, it will earn the second step. */
h1 {
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 2.25rem;
}

h2 {
  font-size: var(--body);
  font-weight: 400;
  margin: 2.75rem 0 0.75rem;
  /* CHOSEN — 0.55 again, so a section marker reads as a marker and
     not as a sentence. The same number as .back, deliberately: one
     value for "present, not the thing you are reading". */
  opacity: 0.55;
}

p { margin-bottom: 1.35rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }
li { margin-bottom: 0.9rem; }

a { color: inherit; text-decoration: underline;
    text-underline-offset: 0.24em; text-decoration-thickness: 1px; }

.quiet { opacity: 0.55; font-size: 0.92rem; }

/* ── the waitlist ──────────────────────────────────────────────
   CHOSEN — a 1px underline rather than a box. A bordered input is a
   form; an underlined one is a line you write on. Neither is
   forced, and this one is admitted as taste. */
form { display: flex; gap: 0.75rem; align-items: baseline;
       flex-wrap: wrap; margin-top: 1.5rem; }
input[type="email"] {
  flex: 1 1 16rem;
  font: inherit; color: inherit; background: none;
  border: 0; border-bottom: 1px solid currentColor;
  padding: 0.4rem 0;
}
input[type="email"]:focus { outline: none; border-bottom-width: 2px; }
button {
  font: inherit; color: inherit; background: none;
  border: 0; padding: 0.4rem 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.24em;
}
.note { margin-top: 0.9rem; font-size: 0.92rem; opacity: 0.55; }
.note[data-state="error"] { opacity: 1; }
