/* =========================================================================
   333 GAMES — HOLDING PAGE
   Slimmed from the design system: tokens + base + page-specific only.
   ========================================================================= */

@font-face {
  font-family: "Reizar";
  src: url("/fonts/reisar-regular.woff2") format("woff2"),
       url("/fonts/reisar-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  /* COLOR */
  --paper: #FFFDF7;
  --ink:   #0A0A0A;
  --orange:#FF6A2B;
  --yellow:#FFE94B;

  --bg: var(--paper);
  --fg: var(--ink);

  /* TYPE families */
  --font-display: "Reizar", "Impact", "Arial Black", sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "Menlo", monospace;

  /* TYPE sizes */
  --t-body-lg: 1.0625rem;
  --t-body:    1rem;
  --t-mono-sm: 0.6875rem;

  /* Tracking */
  --tr-tight: -0.03em;
  --tr-mono:  0.1em;
  --tr-pill:  0.06em;

  /* Line heights */
  --lh-body: 1.5;

  /* Borders / radius / shadow */
  --border-medium: 3px solid var(--ink);
  --radius-pill:   999px;
  --shadow-tile:   4px 4px 0 var(--ink);
}

/* Reset / base */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Page layout */
.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 32px);
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: var(--tr-mono);
  text-transform: uppercase;
}
.topbar .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(40px, 8vw, 96px) 16px;
}

.logo {
  width: min(420px, 60vw);
  height: auto;
  display: block;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: var(--tr-tight);
  font-weight: 400;
  margin: 0;
}

.lede {
  font-family: var(--font-body);
  font-size: var(--t-body-lg);
  line-height: 1.5;
  max-width: 44ch;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Contact button */
.contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--paper);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-tile);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: var(--tr-pill);
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.contact:hover  { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.contact:active { transform: translate(2px, 2px);  box-shadow: 1px 1px 0 var(--ink); }
.contact:focus-visible {
  outline: none;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}
.contact .arrow { font-family: var(--font-mono); font-size: 14px; }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: var(--tr-mono);
  text-transform: uppercase;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .topbar .right, .footer .right { display: none; }
}
