/* ARRAC.IO — shared site chrome: top nav, footer, buttons, scroll-reveal.
   Loaded by every page on the site so navigation feels like one product,
   not a different site per page. Uses literal values (not CSS vars) so it
   drops into any page regardless of that page's own token system. */

/* ── FONTS (safe to repeat — browser dedupes identical @import/link) ── */

/* ── BUTTONS ── */
.btn-primary {
  background: #C8272D;
  color: #EEF4FA;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: transparent;
  color: #9BCFE8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid #9BCFE8;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: #EEF4FA; border-color: #EEF4FA; }

/* ── NAV ── */
.site-nav {
  background: #080c10;
  border-bottom: 1px solid #1a2a3a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-wordmark {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: #EEF4FA;
}
.nav-dot { color: #9BCFE8; }
.nav-io  { color: #C8272D; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.85rem;
  color: #4a6070;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: #EEF4FA; }
.nav-right { display: flex; gap: 0.75rem; align-items: center; }
.nav-login { font-size: 0.85rem; color: #9BCFE8; text-decoration: none; }
.nav-cta { font-size: 0.8rem !important; padding: 0.5rem 1.1rem !important; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ── FOOTER ── */
.site-footer {
  background: #0d1520;
  border-top: 1px solid #1a2a3a;
  padding: 3rem 2rem 2rem;
}
.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #EEF4FA;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}
.footer-brand span { color: #C8272D; }
.footer-tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: #4a6070;
  margin-bottom: 1rem;
  display: block;
}
.footer-about { font-size: 0.82rem; color: #4a6070; line-height: 1.65; }
.footer-col-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #4a6070;
  margin-bottom: 0.875rem;
  display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; padding: 0; margin: 0; }
.footer-links a { color: #8A9AB0; font-size: 0.85rem; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #EEF4FA; }
.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #1a2a3a;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-legal {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: #4a6070;
  letter-spacing: 0.75px;
}
.footer-socials { display: flex; gap: 1.1rem; }
.footer-socials a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: #4a6070;
  text-decoration: none;
  letter-spacing: 0.75px;
  transition: color 0.15s;
}
.footer-socials a:hover { color: #8A9AB0; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}
