/* TwelveOne coming-soon page. Mobile-first, no framework.
   Palette: Black #111111 · Charcoal #3A3A3C · Bone #E9E4DA
   Contrast on #111111: bone 14.9:1 · muted 7.5:1 · faint 5.35:1 · lines 3.5:1 (all WCAG AA) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jost-500.woff2") format("woff2"); }

:root {
  --black: #111111;
  --charcoal: #3a3a3c;
  --bone: #e9e4da;
  --muted: #a8a39a;   /* 7.5:1 on black */
  --faint: #8c8880;   /* 5.35:1 on black */
  --line: #6e6a64;    /* 3.5:1 on black, for input borders (WCAG 1.4.11) */
  --error: #f0b4a8;   /* 10:1 on black */
  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--bone); color: var(--black); }

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

/* ---------- layout ---------- */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: max(3.5rem, env(safe-area-inset-top)) 1.5rem max(1.75rem, env(safe-area-inset-bottom));
}

.brand { margin-top: auto; }
.brand__logo { margin: 0; line-height: 0; }
.logo { display: block; width: 13.5rem; height: auto; fill: var(--bone); }

.intro { margin-top: 3rem; max-width: 34rem; }
.eyebrow {
  margin: 0 0 1rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.32em; /* optically re-centre tracked caps */
}
.tagline span { display: inline-block; }
.tagline {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--bone);
  text-wrap: balance;
}
.lede {
  margin: 1rem auto 0;
  max-width: 26rem;
  font-size: 1rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- form ---------- */
.signup { width: 100%; max-width: 28rem; margin-top: 2.25rem; }
.form__row { display: flex; flex-direction: column; gap: 0.75rem; }
.form__input,
.form__button {
  width: 100%;
  height: 3.25rem;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;           /* 16px+ prevents iOS zoom-on-focus */
}
.form__input {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 1rem;
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease;
}
.form__input::placeholder { color: var(--faint); opacity: 1; }
.form__input:focus { border-color: var(--bone); outline: none; }
.form__input:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.form__input[aria-invalid="true"] { border-color: var(--error); }
.form__button {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding: 0 1.75rem;
  background: var(--bone);
  color: var(--black);
  border: 1px solid var(--bone);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.form__button:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.form__button[disabled] { cursor: progress; opacity: 0.75; }
.form__consent {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--faint);
}
.form__consent a { color: var(--muted); white-space: nowrap; }
.form__status { margin: 0.6rem 0 0; min-height: 1.4em; font-size: 0.875rem; color: var(--error); }
.form__status:empty { min-height: 0; margin: 0; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.thanks { padding: 1.5rem 0 0.25rem; border-top: 1px solid var(--line); }
.thanks:focus { outline: none; }
.thanks__title { margin: 0; font-size: 1.5rem; line-height: 1.3; }
.thanks__body { margin: 0.6rem auto 0; max-width: 24rem; color: var(--muted); }

/* ---------- verse ---------- */
.verse { margin-top: auto; padding-top: 4rem; max-width: 30rem; }
.verse__rule { display: block; width: 2rem; height: 1px; margin: 0 auto 1.25rem; background: var(--line); }
.verse__text { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--faint); }
.verse__quote { display: block; }
.verse__ref {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.28em;
}

/* ---------- footer ---------- */
.footer { margin-top: 2.5rem; width: 100%; max-width: 64rem; font-size: 0.8125rem; color: var(--faint); }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.footer__social a {
  display: inline-block; padding: 0.5rem 0.1rem; /* 44px-ish tap target with line-height */
  color: var(--muted); text-decoration: none;
  font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.footer__social a:focus-visible { color: var(--bone); text-decoration: underline; }
.footer__meta { margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.15rem; align-items: center; }
.footer__meta a { color: var(--muted); }
.footer__address span { display: inline-block; }
.footer__address { margin: 0.5rem auto 0; font-style: normal; font-size: 0.75rem; line-height: 1.5; color: var(--faint); }

/* ---------- simple pages (thanks / error / privacy / 404) ---------- */
.simple { max-width: 36rem; margin-top: 3rem; }
.simple h1 { margin: 0 0 0.75rem; font-weight: 400; font-size: 1.625rem; line-height: 1.25; }
.simple p, .simple li { color: var(--muted); }
.simple a.button {
  display: inline-block; margin-top: 1.5rem; padding: 0.9rem 1.75rem; background: var(--bone); color: var(--black);
  text-decoration: none; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.prose { text-align: left; }
.prose h1 { text-align: center; }
.prose h2 { margin: 2rem 0 0.5rem; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone); }
.prose ul { padding-left: 1.2rem; }
.logo.logo--small { width: 9rem; }

/* ---------- larger screens ---------- */
@media (min-width: 40em) {
  .page { padding: 4rem 2.5rem 2rem; }
  .logo { width: 17rem; }
  .intro { margin-top: 3.25rem; }
  .tagline { font-size: 2.125rem; }
  .lede { font-size: 1.0625rem; }
  .signup { margin-top: 2.5rem; }
  .form__row { flex-direction: row; gap: 0; }
  .form__input { flex: 1 1 auto; border-right: 0; }
  .form__button { width: auto; flex: 0 0 auto; }
  .form__consent-main { display: block; }
  .footer__meta { flex-direction: row; justify-content: center; gap: 0 1.75rem; }
  .logo.logo--small { width: 10rem; }
}
@media (min-width: 64em) {
  .logo { width: 19rem; }
  .tagline { font-size: 2.375rem; }
}
@media (min-height: 56em) and (min-width: 40em) {
  .intro { margin-top: 3.75rem; }
}
@media (hover: hover) {
  a:hover { color: var(--bone); }
  .form__input:hover { border-color: var(--muted); }
  .form__button:hover { background: #ffffff; border-color: #ffffff; }
  .footer__social a:hover { color: var(--bone); text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .form__button { border: 1px solid ButtonText; }
  .logo { fill: CanvasText; }
}
