/* ── FONTS ── */
@font-face {
  font-family: 'Agave';
  src: url('/fonts/AgaveNerdFont-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Agave';
  src: url('/fonts/AgaveNerdFont-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --ink:    #07080e;
  --ink-2:  #0f1019;
  --white:  #ffffff;
  --blue:   #0088cc;
  --blue-d: #006699;
  --amber:  #f59e0b;
  --border: rgba(255,255,255,0.07);
  --serif:  'Agave', 'JetBrains Mono', monospace;
  --sans:   'Agave', 'JetBrains Mono', monospace;
  --mono:   'Agave', 'JetBrains Mono', monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ink-2); color: var(--white); min-height: 100vh; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,8,14,0.97);
  border-bottom: 1px solid var(--border);
  padding: 0 32px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--mono); font-size: clamp(18px, 1.5vw, 22px);
  color: var(--blue); letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link, .nav-ai-link {
  font-family: var(--mono); font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.88); text-decoration: none; transition: color 0.2s;
}
.nav-link:hover, .nav-ai-link:hover { color: var(--white); }
.nav-cta {
  background: var(--blue); color: var(--ink); font-weight: 700;
  font-size: clamp(15px, 1.2vw, 18px); padding: 8px 22px; border: none; cursor: pointer;
  font-family: var(--mono); letter-spacing: 0.5px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-d); }
.nav-badge {
  font-family: var(--mono); font-size: clamp(12px, 1vw, 15px); color: var(--amber);
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
  padding: 3px 10px; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 24px 40px; text-align: center; }
.footer-legal {
  font-size: clamp(13px, 1vw, 16px); color: rgba(255,255,255,0.55);
  font-family: var(--mono); line-height: 1.6;
}
.footer-legal a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ── LINKS ── */
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--ink);
  border-top: 1px solid rgba(0,136,204,0.3);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  transition: transform 0.3s ease;
}
.cb-text {
  font-family: var(--mono); font-size: clamp(12px, 0.9vw, 14px);
  color: rgba(255,255,255,0.70); line-height: 1.5;
}
.cb-text a { color: var(--blue); text-decoration: none; }
.cb-text a:hover { text-decoration: underline; }
.cb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cb-actions button {
  font-family: var(--mono); font-size: clamp(12px, 0.9vw, 14px);
  padding: 7px 18px; border: 1px solid rgba(255,255,255,0.18);
  background: transparent; color: rgba(255,255,255,0.70); cursor: pointer;
  transition: all 0.2s;
}
.cb-actions button:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cb-primary {
  background: var(--blue) !important; border-color: var(--blue) !important;
  color: var(--ink) !important; font-weight: 700 !important;
}
.cb-primary:hover { background: var(--blue-d) !important; border-color: var(--blue-d) !important; }

@media (max-width: 860px) {
  nav { padding: 0 16px; }
  .nav-badge { display: none; }
  .nav-right a:not(:last-child) { display: none; }
  .nav-cta { font-size: 14px; padding: 7px 16px; }
}
@media (max-width: 540px) {
  nav { padding: 0 12px; }
  .nav-logo-text { display: none; }
  .nav-cta { display: none; }
  .nav-right a:not(:last-child) { display: inline; }
  .nav-right { gap: 8px; }
  #cookie-banner { padding: 14px 16px; }
  .cb-actions { width: 100%; justify-content: flex-end; }
}
