@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/Manrope-normal-300-800.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/DMMono-normal-400.woff2") format("woff2"); }

/* Tokens and sizes from the chart sheets (loss-specs/brand/chart-system.html, W3 line, dark).
   A 1080px sheet has 88px side margins; the page is one sheet. */
:root {
  --bg: #0A0B0D; --fg: #F2F3F5; --fg2: #C4C7CE; --fg3: #868B95;
  --rule: #2A2D33; --accent: #7088FF; --accent-text: #8DA0FF; --bad: #F2A08F;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --m: 88px;
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wm { font: 800 20px/1 var(--sans); letter-spacing: -0.045em; color: var(--fg); text-decoration: none; }
.wm i { font-style: normal; color: var(--accent); }
.top { position: absolute; top: 40px; left: 44px; right: 44px; display: flex; justify-content: space-between; align-items: baseline; }
.meta { font: 400 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); }

.center { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 120px 24px 140px; text-align: center; }
h1 { max-width: 20ch; font: 700 76px/1.02 var(--sans); letter-spacing: -0.04em; text-wrap: balance; }
.sub { margin-top: 22px; max-width: 48ch; font-size: 20px; line-height: 1.5; color: var(--fg3); text-wrap: balance; }

/* Signup: hairline and accent, square corners like the chart frames. */
.signup { width: 100%; max-width: 560px; margin-top: 52px; }
.row { display: flex; }
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 56px; padding: 0 18px;
  background: transparent; color: var(--fg); border: 1px solid #3A3E46; border-right: 0; border-radius: 2px 0 0 2px;
  font: 400 17px var(--sans); transition: border-color 150ms ease, background-color 150ms ease;
}
.signup input[type="email"]::placeholder { color: #5D616B; }
.signup input[type="email"]:hover { border-color: #4A4F59; }
.signup input[type="email"]:focus { outline: none; border-color: var(--accent); background: rgba(112, 136, 255, 0.05); }
.signup input[aria-invalid="true"] { border-color: var(--bad); }
.signup button {
  flex: none; height: 56px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 0 2px 2px 0; cursor: pointer;
  background: var(--accent); color: #0A0B0D; font: 700 16px var(--sans); letter-spacing: -0.01em;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.signup button:hover { background: #8296FF; border-color: #8296FF; }
.signup button:active { background: #6176E8; }
.signup button:disabled { cursor: progress; background: #4F5FAD; border-color: #4F5FAD; color: #D9DEFF; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { display: flex; justify-content: center; }
.ts:not(:empty) { margin-top: 16px; }
.status { font-size: 15px; line-height: 1.5; }
.status:not(:empty) { margin-top: 12px; }
.status.err { color: var(--bad); }
.signup.done .row, .signup.done .signup.done .status { margin-top: 0; font-size: 17px; color: var(--fg); }

/* Small pages: confirm, unsubscribe, 404 */
body.note main { max-width: 1080px; margin: 0 auto; padding: 72px var(--m) 96px; }
body.note h1 { margin-top: 84px; max-width: 16ch; font-size: 56px; line-height: 1.0; letter-spacing: -0.04em; }
body.note .lede { margin-top: 22px; max-width: 46ch; font-size: 20px; color: var(--fg3); }
body.note .btn { margin-top: 40px; height: 56px; padding: 0 24px; border: 0; border-radius: 2px; background: var(--accent); color: #0A0B0D; font: 700 16px var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }

@media (max-width: 760px) {
  .top { top: 24px; left: 16px; right: 16px; }
  .meta { font-size: 11px; }
  .center { padding: 96px 16px; }
  h1 { font-size: 44px; }
  .sub { margin-top: 16px; font-size: 17px; }
  .signup { margin-top: 36px; }
  .row { flex-direction: column; gap: 8px; }
  .signup input[type="email"], .signup button { flex: none; width: 100%; height: 54px; border-radius: 2px; }
  .signup input[type="email"] { border-right: 1px solid #3A3E46; }
  .signup input[type="email"]:focus { border-color: var(--accent); }
  body.note main { padding: 24px 16px 72px; }
  body.note h1 { font-size: 38px; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
