/* Global site shell for aibrainbuilders.com.
   Every deployable HTML page should load this after /shared/tokens.css. */

:root { color-scheme: dark; }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img, svg, video, canvas { max-width: 100%; }

.skip-link,
.skip-nav {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 300;
  background: var(--teal);
  color: #1a1612;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus,
.skip-nav:focus { top: 12px; }

.section-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-logo,
.footer-logo {
  font-family: 'Bebas Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.06em;
}

.nav-logo span,
.footer-logo span,
.accent { color: var(--violet); }

nav.site-nav,
body > nav:first-of-type,
body > header:first-of-type {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  background: rgba(26,22,18,0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body > nav:first-of-type,
body > header:first-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
}

.nav-logo {
  font-size: 1.4rem;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta,
.btn-primary,
.cta-btn,
.form-submit,
.btn-submit {
  background: linear-gradient(135deg, var(--violet), var(--violet-d));
  color: #fff;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
}

.nav-cta {
  padding: 8px 16px;
  white-space: nowrap;
}

footer,
.footer {
  border-top: 1px solid var(--border);
  color: var(--text-2);
}

.footer-links,
.footer-col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-col a { color: var(--text-2); }

.footer-links a:hover,
.footer-col a:hover { color: var(--text); }

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