/* ═══════════════════════════════════════════════════════════
   GREY.MKT — shared site styles (public-facing pages)
   Fonts: Unbounded, DM Mono, Geologica via Google Fonts
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:      #080808;
  --bg2:     #0f0f0f;
  --bg3:     #141414;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.12);
  --accent:  #C8FF00;
  --accent2: #a0cc00;
  --text:    #f0f0f0;
  --muted:   rgba(255,255,255,0.35);
  --muted2:  rgba(255,255,255,0.18);
  --green:   #4ade80;
  --yellow:  #fbbf24;
  --red:     #f87171;
  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Geologica', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 900;
  letter-spacing: -0.5px; color: #fff;
  text-decoration: none;
}
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.5px; transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tg {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #000;
  border: none; padding: 8px 18px; border-radius: 4px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px; text-decoration: none;
  transition: background 0.15s;
}
.nav-tg:hover { background: var(--accent2); }

/* ══ FOOTER ══ */
footer {
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-display); font-size: 14px; font-weight: 900;
  color: #fff; letter-spacing: -0.5px;
}
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted2);
  text-decoration: none; letter-spacing: 0.5px; transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted2);
  letter-spacing: 0.5px;
}

/* ══ BUTTONS ══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #000; border: none;
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border2);
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 12px;
  cursor: pointer; letter-spacing: 0.5px; text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-tg {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #000; border: none;
  padding: 16px 32px; border-radius: 4px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px; text-decoration: none;
  transition: background 0.15s;
}
.btn-tg:hover { background: var(--accent2); }

/* ══ SECTION UTILITIES ══ */
.section-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--muted2); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-eyebrow.danger { color: #ff6b4a; }
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1.5px; color: #fff;
  margin-bottom: 20px;
}
.section-h2 em { color: var(--accent); font-style: normal; }
.section-h2 em.bad { color: #ff6b4a; font-style: normal; }
.section-body { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ══ PAGE WRAPPER (for non-hero pages) ══ */
.page-content {
  padding-top: 60px; /* nav height */
  min-height: 100vh;
}
.page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.page-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; line-height: 1;
  letter-spacing: -2px; color: #fff;
  margin-bottom: 16px;
}
.page-inner .page-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted2); letter-spacing: 1px;
  margin-bottom: 48px;
}
.page-inner h2 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: #fff; letter-spacing: -0.5px;
  margin: 40px 0 12px;
}
.page-inner h3 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: -0.2px;
  margin: 24px 0 8px;
}
.page-inner p {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 16px;
}
.page-inner a {
  color: var(--accent); text-decoration: none;
}
.page-inner a:hover { text-decoration: underline; }
.page-inner ul, .page-inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-inner li {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 4px;
}
.page-divider {
  height: 1px; background: var(--border);
  margin: 48px 0;
}

/* ══ ANIMATIONS ══ */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .page-inner { padding: 48px 20px 60px; }
}
