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

:root {
  --primary: #0a0a0a;
  --secondary: #111111;
  --accent: #d4a843;
  --light: #f5f5f5;
  --surface: #1a1a1a;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--primary);
  background: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Header (matches marketing-website Header + Navigation) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.site-header-inner {
  position: relative;
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding: 1rem 1.5rem; /* px-6 py-4 */
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  letter-spacing: -0.025em;
}
.site-logo .logo-accent { color: var(--accent); }
.site-logo .logo-light { color: var(--light); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem; /* gap-8 */
  list-style: none;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--light);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--primary) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: background 0.15s;
}
.nav-cta:hover {
  background: #f59e0b !important; /* amber-500 */
  color: var(--primary) !important;
}

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: var(--primary);
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--light);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.15s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem !important;
}

@media (min-width: 768px) {
  .site-logo { font-size: 1.875rem; } /* md:text-3xl */
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ── Footer (matches marketing-website Footer) ── */
.site-footer {
  background: var(--primary);
  color: var(--light);
}
.site-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
}
.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-subheading {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  color: rgba(245, 245, 245, 0.7);
}
.footer-links {
  list-style: none;
}
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a {
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-socials a {
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-socials a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.5);
}
.footer-bottom a {
  color: rgba(245, 245, 245, 0.5);
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
