@font-face {
  font-family: Geist;
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --exterior: #020507;
  --surface: #091219;
  --text: #f0f3f5;
  --secondary: #a5b6be;
  --subtle: #8a9ea8;
  --accent: #3dc9bc;
  --online: #13d7b8;
  --line: #283e49;
  --sans: Geist, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --reveal-duration: 700ms;
  --pulse-duration: 2s;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(16px, 4vw, 56px);
  display: grid;
  place-items: center;
  background: var(--exterior);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.interface {
  width: 100%;
  max-width: 1056px;
  padding: clamp(24px, 5.2vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 32px);
  animation: surface-in var(--reveal-duration) ease-out both;
}
.system-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  font: 400 .875rem/1.5 var(--mono);
  letter-spacing: .025em;
  color: var(--secondary);
}
.online { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.online-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--online);
  animation: pulse var(--pulse-duration) ease-in-out infinite;
}
.identity { padding-top: 76px; }
.wordmark {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: clamp(2.25rem, 6.1vw, 4.25rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.035em;
}
.tagline {
  position: relative;
  margin: 32px 0 0;
  font: 400 clamp(.875rem, 1.9vw, 1.25rem)/1.65 var(--mono);
  letter-spacing: -.025em;
  color: var(--accent);
}
/* The real text always reserves its full wrapping height and remains accessible. */
.tagline.is-typing .tagline-text { opacity: 0; }
.tagline-animation { position: absolute; inset: 0; }
.typing-character { visibility: hidden; }
.typing-character.is-visible { visibility: visible; }
.typing-character.is-cursor { position: relative; }
.typing-character.is-cursor::after {
  content: '';
  position: absolute;
  inset-block: .12em .04em;
  inset-inline-end: -.13em;
  width: 1px;
  background: var(--accent);
  animation: cursor-blink 700ms steps(1) infinite;
}
.message { margin-top: 68px; }
h2 { margin: 0; font-size: clamp(1.625rem, 3.45vw, 2.375rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 600; }
.message p { max-width: 600px; margin: 28px 0 0; color: var(--secondary); font-size: clamp(1.125rem, 2.3vw, 1.5rem); line-height: 1.8; }
.status-list { margin: 72px 0 0; padding: 34px 0; border-block: 1px solid var(--line); font: 400 .875rem/1.6 var(--mono); }
.status-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.status-row + .status-row { margin-top: 22px; }
dt { color: var(--secondary); }
dd { margin: 0; text-align: right; }
.accent { color: var(--accent); }
footer { margin-top: 34px; color: var(--subtle); font: 400 .8125rem/1.5 var(--sans); }
.system-header, .identity, .message, .status-list, footer { animation: content-in var(--reveal-duration) ease-out both; }
.system-header { animation-delay: 60ms; }
.identity { animation-delay: 140ms; }
.message { animation-delay: 260ms; }
.status-list, footer { animation-delay: 360ms; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #226a66; color: #fff; }
@keyframes surface-in { from { opacity: .45; } to { opacity: 1; } }
@keyframes content-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .72; box-shadow: 0 0 3px #13d7b81a; } 50% { opacity: 1; box-shadow: 0 0 7px #13d7b833; } }
@keyframes cursor-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@media (max-width: 600px) {
  body { padding: 16px; }
  .interface { padding: 28px 24px; }
  .system-header { padding-bottom: 28px; font-size: .75rem; gap: 8px; }
  .online { gap: 8px; }
  .identity { padding-top: 48px; }
  .wordmark { font-size: clamp(2.125rem, 9.8vw, 3.5rem); }
  .tagline { margin-top: 24px; font-size: .875rem; letter-spacing: -.025em; }
  .message { margin-top: 46px; }
  .message p { margin-top: 22px; font-size: 1.125rem; line-height: 1.75; }
  .status-list { margin-top: 44px; padding: 28px 0; font-size: .75rem; }
  .status-row { gap: 12px; }
  footer { margin-top: 28px; font-size: .75rem; }
}
@media (max-width: 359px) {
  .interface { padding-inline: 20px; }
  .status-row { flex-direction: column; gap: 4px; }
  dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tagline.is-typing .tagline-text { opacity: 1; }
  .tagline-animation { display: none; }
}
