@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ax-accent: #FF6B35;
  --ax-accent-hover: #E85A25;
  --ax-accent-muted: rgba(255,107,53,0.12);
  --ax-dark: #1A1612;
  --ax-darker: #0D0B09;
  --ax-darkest: #0A0806;
  --ax-bg: #F5F2EE;
  --ax-surface: #FFFFFF;
  --ax-text: #1A1612;
  --ax-body: #6B5D52;
  --ax-muted: #8C7B6B;
  --ax-subtle: rgba(26,22,18,0.07);
  --ax-subtle-border: 1px solid rgba(26,22,18,0.07);
  --ax-font-display: 'Bricolage Grotesque', sans-serif;
  --ax-font-body: 'DM Sans', sans-serif;
  --ax-font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ax-bg); color: var(--ax-text); font-family: var(--ax-font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Containers ─────────────────────────────── */
.ax-wrap { max-width: 1440px; margin: 0 auto; padding: 0 60px; width: 100%; }
.ax-wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 60px; width: 100%; }

/* ── Nav dropdown ───────────────────────────── */
.ax-dd { position: relative; }
.ax-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  padding-top: 12px;
  min-width: 240px;
  z-index: 300;
}
.ax-dd:hover .ax-dd-menu { display: flex; flex-direction: column; gap: 2px; }
.ax-dd-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; left: 0; right: 0; bottom: 0;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(26,22,18,0.08);
  box-shadow: 0 8px 40px rgba(26,22,18,0.14);
  z-index: -1;
}
.ax-dd-menu .ax-dd-link,
.ax-dd-menu .ax-dd-divider { position: relative; z-index: 1; }
.ax-dd-menu > * { margin: 0 8px; }
.ax-dd-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--ax-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ax-body);
  transition: background 140ms, color 140ms;
}
.ax-dd-link:hover { background: #F5F2EE; color: var(--ax-text); }
.ax-dd-link.is-featured { color: var(--ax-accent); font-weight: 600; }
.ax-dd-link.is-featured:hover { background: rgba(255,107,53,0.06); }
.ax-dd-divider { height: 1px; background: rgba(26,22,18,0.06); margin: 4px 8px; }

/* ── Nav mobile ─────────────────────────────── */
.ax-mob-btn { display: none; }

/* ── Tabs ───────────────────────────────────── */
.ax-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.ax-tabs::-webkit-scrollbar { display: none; }

/* ── Utilities ──────────────────────────────── */
.ax-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ax-font-mono); font-size: 10px; font-weight: 500;
  color: var(--ax-accent); letter-spacing: 0.16em; text-transform: uppercase;
}
.ax-badge::before { content: ''; display: block; width: 24px; height: 1px; background: var(--ax-accent); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1100px) {
  .ax-wrap { padding: 0 40px; }
  .ax-wrap-narrow { padding: 0 40px; }
  .ax-nav-links { display: none !important; }
  .ax-mob-btn { display: flex !important; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 8px; }
  .ax-hero-grid { grid-template-columns: 1fr !important; }
  .ax-arch { display: none !important; }
}

@media (max-width: 900px) {
  .ax-wrap { padding: 0 32px; }
  .ax-wrap-narrow { padding: 0 32px; }
  .ax-grid-2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  .ax-grid-3 { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .ax-grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .ax-grid-5 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .ax-stats-4 { grid-template-columns: 1fr 1fr !important; }
  .ax-creds-5 { grid-template-columns: 1fr 1fr !important; }
  .ax-faq-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .ax-why-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .ax-founder-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .ax-founder-photo { max-width: 280px !important; }
  .ax-hero-text h1 { font-size: clamp(38px, 8vw, 64px) !important; }
}

@media (max-width: 640px) {
  .ax-wrap { padding: 0 20px !important; }
  .ax-wrap-narrow { padding: 0 20px !important; }
  .ax-grid-3 { grid-template-columns: 1fr !important; }
  .ax-grid-4 { grid-template-columns: 1fr !important; }
  .ax-stats-4 { grid-template-columns: 1fr 1fr !important; }
  .ax-uc-grid { grid-template-columns: 1fr 1fr !important; }
  .ax-showcase-grid { grid-template-columns: 1fr !important; }
  .ax-section-pad { padding: 64px 0 !important; }
  .ax-hero-pad { padding-top: 100px !important; padding-bottom: 60px !important; }
  .ax-cta-grid { grid-template-columns: 1fr !important; text-align: center !important; }
  .ax-cta-btns { justify-content: center !important; }
  .ax-packages-grid { grid-template-columns: 1fr !important; }
}
