/* Flexiqo — base layout, header, footer (violet / cyan wellness-tech) */

:root {
  --az-bg: #e8e4f5;
  --az-bg-noise: #ddd6fe;
  --az-surface: #ffffff;
  --az-surface-2: #f5f3ff;
  --az-text: #0c0b12;
  --az-muted: #57516a;
  --az-line: rgba(12, 11, 18, 0.09);
  --az-line-strong: rgba(12, 11, 18, 0.14);
  --az-accent: #7c3aed;
  --az-accent-2: #06b6d4;
  --az-accent-hover: #6d28d9;
  --az-accent-soft: rgba(124, 58, 237, 0.14);
  --az-accent-glow: rgba(124, 58, 237, 0.45);
  --az-ink: #0b0614;
  --az-hero-ink: #0b0614;
  --az-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 4px 24px rgba(76, 29, 149, 0.08),
    0 1px 3px rgba(12, 11, 18, 0.06);
  --az-shadow-lg: 0 24px 48px rgba(76, 29, 149, 0.12), 0 8px 16px rgba(12, 11, 18, 0.06);
  --az-radius: 20px;
  --az-radius-sm: 12px;
  --az-font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --az-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --az-max: 1140px;
  --az-header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--az-font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--az-text);
  background-color: var(--az-bg);
  background-image: radial-gradient(ellipse 100% 80% at 50% -30%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(6, 182, 212, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(167, 139, 250, 0.2), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--az-accent);
  text-decoration: none;
}

a:hover {
  color: var(--az-accent-hover);
  text-decoration: underline;
}

.az-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.az-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--az-accent);
  color: #fff;
  border-radius: var(--az-radius-sm);
  text-decoration: none;
}

.az-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--az-header-h);
  background: rgba(11, 6, 20, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.az-header-inner {
  max-width: var(--az-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.az-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #f8fafc;
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.az-logo:hover {
  color: #e9d5ff;
  text-decoration: none;
}

.az-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--az-accent) 0%, #4c1d95 48%, var(--az-accent-2) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 4px 16px rgba(124, 58, 237, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--az-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.az-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.az-nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.72);
  text-decoration: none;
}

.az-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.az-nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b0614 !important;
  background: linear-gradient(105deg, #f0abfc 0%, #67e8f9 100%);
  text-decoration: none !important;
  box-shadow: 0 2px 16px rgba(6, 182, 212, 0.35);
}

.az-nav-cta:hover {
  filter: brightness(1.06);
  color: #0b0614 !important;
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .az-header-inner {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .az-nav {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .az-nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
  }

  .az-nav-cta {
    margin-left: auto;
  }
}

.az-footer {
  margin-top: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  background: var(--az-ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
}

.az-footer a {
  color: rgba(255, 255, 255, 0.92);
}

.az-footer a:hover {
  color: #c4b5fd;
}

.az-footer-inner {
  max-width: var(--az-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .az-footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

.az-footer-brand {
  font-family: var(--az-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.az-footer-note {
  margin: 0;
  line-height: 1.6;
  max-width: 28rem;
}

.az-footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.az-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.az-footer-col li {
  margin-bottom: 0.45rem;
}

.az-footer-bottom {
  max-width: var(--az-max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 1.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Legacy token aliases for legal CSS */
:root {
  --az-amber: var(--az-accent);
  --az-cyan: var(--az-accent-2);
}
