/* Copyright (c) 2026 ForgeNX. All rights reserved. */

/* The fonts are served from this site (no requests to anyone else). */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; 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 {
  --bg: #070a13;
  --panel: #0d1220;
  --panel-2: #111829;
  --line: #1d2640;
  --fg: #e6ebf5;
  --muted: #98a3bb;
  --cyan: #22d3ee;
  --pink: #ff0080;
  --green: #22ff88;
  --gold: #fbbf24;
  --violet: #a78bfa;
  --radius: 16px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* The faint grid behind everything, as on the ForgeNX desktop. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 0, 128, 0.08), transparent 70%),
    linear-gradient(rgba(34, 211, 238, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px) 0 0 / 44px 44px;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(7, 10, 19, 0.78); border-bottom: 1px solid rgba(29, 38, 64, 0.7); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; gap: 22px; font-size: 0.92rem; }
.nav a { color: var(--fg); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--cyan); text-decoration: none; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
.eyebrow { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.grad { background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 0.95rem; border: 1px solid var(--line); color: var(--fg); background: var(--panel); }
.btn:hover { text-decoration: none; border-color: var(--cyan); }
.btn.primary { border-color: var(--cyan); color: #04121a; background: linear-gradient(90deg, var(--cyan), #67e8f9); box-shadow: 0 0 24px -6px var(--cyan); }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 88px 0 56px; }
.hero-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
/* Grid children may shrink below their content (the logo is 720px wide). */
.hero-grid > *, .split > * { min-width: 0; }
.hero-logo { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 0 60px -18px var(--cyan); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 12px 0 0; }

.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card h3 { margin: 12px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; }
.icon.cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.icon.pink { background: rgba(255, 0, 128, 0.12); color: var(--pink); }
.icon.green { background: rgba(34, 255, 136, 0.12); color: var(--green); }
.icon.gold { background: rgba(251, 191, 36, 0.12); color: var(--gold); }
.icon.violet { background: rgba(167, 139, 250, 0.14); color: var(--violet); }

.coins { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.coin { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 8px 8px; }
.coin img { width: 44px; height: 44px; object-fit: contain; }
.coin b { display: block; font-family: var(--display); font-size: 0.95rem; }
.coin span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }

.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -22px var(--cyan); }
.phones { display: flex; gap: 16px; justify-content: center; }
.phones img { width: calc(33% - 11px); max-width: 230px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.phones img:nth-child(2) { transform: translateY(-18px); }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(251, 191, 36, 0.4); border-radius: 999px; padding: 3px 10px; margin-top: 14px; }

.cta { text-align: center; padding: 44px 24px; }
.cta .lead { margin: 14px auto 0; }
.cta .buttons { justify-content: center; }

/* Legal and support pages */
.doc { max-width: 780px; padding: 64px 0 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 10px; color: var(--fg); }
.doc h3 { margin: 24px 0 6px; font-size: 1.05rem; color: var(--cyan); }
.doc p, .doc li { color: #cfd6e6; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary { border-left: 3px solid var(--cyan); background: rgba(34, 211, 238, 0.06); border-radius: 0 12px 12px 0; padding: 16px 20px; margin-top: 28px; }
.summary p { margin: 0; }
.mail { font-family: var(--mono); font-size: 1.15rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.88rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-foot nav { display: flex; gap: 20px; margin-left: auto; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-logo { max-width: min(420px, 100%); }
}
@media (max-width: 600px) {
  .nav { gap: 14px; font-size: 0.85rem; }
  .nav .hide-sm { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  section { padding: 52px 0; }
  .hero { padding: 56px 0 32px; }
  .phones img:nth-child(2) { transform: none; }
}
