@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0d0c0b;
  --fg: #edebe7;
  --fg-muted: #9a958e;
  --line: #262422;
  --line-strong: #3a3733;
  --accent: #e5322d;
  --accent-hover: #f2453f;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --sans: "Onest", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }

.grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .4;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 70%);
}

.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }

.mark { width: clamp(96px, 14vw, 140px); height: auto; }
.mark-b { animation: drift 6s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(-1px, -1px); } }

h1 {
  margin-top: 36px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 8vw, 96px); line-height: 1; letter-spacing: -.04em;
}

.tag {
  margin-top: 22px;
  font-family: var(--mono); font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg);
}

.actions { margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; max-width: 360px; }

.cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 76px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.01em;
  box-shadow: 8px 8px 0 var(--fg);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.cta:hover { background: var(--accent-hover); transform: translate(2px, 2px); box-shadow: 6px 6px 0 var(--fg); }
.cta:active { transform: translate(8px, 8px); box-shadow: 0 0 0 var(--fg); }

.cta-alt {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 56px;
  border: 1px solid var(--line-strong); color: var(--fg); text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 16px;
  transition: border-color .15s, background-color .15s;
}
.cta-alt:hover { border-color: var(--fg); background: rgba(237, 235, 231, .04); }

.cta:focus-visible, .cta-alt:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }

.bar { height: 6px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .mark-b { animation: none; }
  .cta, .cta-alt { transition: none; }
}
