/* === @font-face — local copies in cloud/apex/fonts/ (no cross-origin) === */
@font-face {
  font-family: 'Gunplay';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/GunplayRg-subset.woff2') format('woff2');
}
@font-face {
  font-family: 'HelveticaNow';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/HelveticaNow-subset.woff2') format('woff2');
}

/* === DESIGN TOKENS (verbatim from cloud/public/css/style.css, per D-04) === */
:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #12121f;
  --brand-blue: #017bfc;
  --brand-yellow: #f3b652;
  --brand-green: #7ed7ac;
  --text-primary: #e8e8f0;
  --text-muted: rgba(232, 232, 240, 0.45);
  --border-subtle: rgba(232, 232, 240, 0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === BASE === */
html, body { height: 100%; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'HelveticaNow', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === LAYOUT === */
.container { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }

/* === HERO === */
.apex-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}
.apex-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.gridware-logo {
  max-width: 220px;
  height: auto;
  opacity: 0.85;
}

/* === WORDMARK === */
.wordmark {
  font-family: 'Gunplay', 'Impact', 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  color: var(--text-primary);
  line-height: 1;
}

/* === PRIMARY CTA === */
.cta-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--brand-blue);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.15s, transform 0.1s;
}
.cta-primary:hover {
  background: #028fff;
  transform: translateY(-1px);
}

/* === FOOTER === */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.site-footer a {
  color: var(--brand-blue);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* === MOBILE === */
@media (max-width: 480px) {
  .gridware-logo { max-width: 160px; }
  .container { padding: 0 1rem; }
}
