@font-face {
  font-family: 'VT323';
  src: url('./fonts/VT323-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root { color-scheme: light; --paper: #fff; --ink: #000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { color-scheme: dark; --paper: #000; --ink: #fff; }
}
:root[data-theme='dark'] { color-scheme: dark; --paper: #000; --ink: #fff; }
* { box-sizing: border-box; }
::selection { color: var(--paper); background: var(--ink); }
body {
  margin: 0;
  min-height: 100svh;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Courier New', monospace;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
header, footer { display: flex; align-items: center; justify-content: space-between; }
header { min-height: 112px; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 5px; font-family: 'VT323', monospace; font-size: 28px; text-decoration: none; }
.sai-logo { display: block; width: 68px; height: 28px; flex: none; }
.foundation-word { margin-top: 6px; }
nav { display: flex; align-items: center; gap: 36px; font-size: 13px; }
nav a { text-decoration: none; padding: 12px 0; }
.api { white-space: nowrap; }
.invitation { font-size: 10px; }
main { flex: 1; display: grid; align-items: center; padding: 72px 0 88px; }
article { width: min(100%, 760px); margin: 0 auto; }
p, h1 { margin: 0; font-family: inherit; font-size: 18px; font-weight: 400; line-height: 1.85; letter-spacing: -0.45px; }

.mission { margin-top: 44px; }
.first-step { margin-top: 44px; }
.end-mark { display: block; width: 10px; height: 10px; background: currentColor; margin-top: 36px; }
footer { min-height: 80px; gap: 24px; font-size: 11px; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; padding: 12px 0 12px 12px; }
button:hover span { text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }
@media (min-width: 1600px) { body { padding-inline: 80px; } }
@media (max-width: 700px) {
  body { padding-inline: 24px; }
  header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 16px; padding-top: 24px; }
  .wordmark { font-size: 26px; }
  nav { gap: 28px; font-size: 12px; }
  main { padding: 64px 0; }
  p, h1 { font-size: 16px; line-height: 1.8; }
  .desktop-break { display: none; }
  .mission, .first-step { margin-top: 32px; }
  footer { min-height: 72px; }
}
