@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0a0b0b;
  --text: #eceeec;
  --body: #a7aeae;
  --dim: #737b7e;
  --line: #23272a;
  --gold: #f2b04a;
  --gold-hover: #f8c26a;
  --ink: #17120a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px 300px at 50% -6%, rgba(242, 176, 74, 0.10), transparent 72%);
}

.page {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 620px;
  padding: 88px 26px 56px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
}

.brand svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand svg .solid { fill: var(--gold); stroke: none; }

.brand span {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(1.95rem, 5.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}

.lede {
  margin: 0 auto 38px;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--body);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--ink);
}

.btn-line {
  background: transparent;
  border-color: #333a3e;
  color: var(--text);
  font-weight: 500;
}
.btn-line:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #454e53;
  color: var(--text);
}

.btn-line svg { fill: currentColor; stroke: none; }

.fine p {
  margin: 0 0 4px;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--dim);
}

.fine p.quiet { color: #5f676a; }
.fine em { font-style: normal; color: #8d9598; }

code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--body);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1em 0.36em;
}

footer {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--dim);
}

footer a { color: #8f9799; text-decoration: none; }
footer a:hover { color: var(--gold); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .page { padding: 64px 20px 44px; }
  .brand { margin-bottom: 32px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  footer { gap: 12px; font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}

/* 404 */

.narrow { max-width: 520px; }
.narrow .lede { margin-bottom: 32px; }
