/* Aura Cure landing — theme polish (loads after Tailwind utilities) */
html.ac-landing {
  color-scheme: light;
  scroll-behavior: smooth;
  --ac-teal: #00796b;
  --ac-teal-dark: #005a50;
  --ac-mint: #e1eee6;
  --ac-cream: #f6faf7;
  --ac-ink: #142820;
  --ac-muted: #5a6e66;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
}

html.ac-landing body,
.ac-landing body {
  font-family: var(--font-ui) !important;
  background-color: rgba(225, 238, 230, 0.55) !important;
  color: var(--ac-ink) !important;
  -webkit-font-smoothing: antialiased;
}

html.ac-landing body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(0, 121, 107, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 98% 12%, rgba(197, 221, 210, 0.65), transparent 48%),
    linear-gradient(180deg, var(--ac-mint) 0%, var(--ac-cream) 22%, var(--ac-cream) 100%);
}

#root {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
}

/* Unify .container (embedded Tailwind v4 + v2 CDN conflict) */
.ac-landing .container,
.ac-landing .container.mx-auto {
  width: 100% !important;
  max-width: 80rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.ac-landing #root > div {
  width: 100%;
}

@media (min-width: 768px) {
  .ac-landing .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.ac-landing #features .grid,
.ac-landing #testimonials .grid,
.ac-landing #privacy .grid {
  margin-left: auto;
  margin-right: auto;
}

.ac-landing .compliance-doc-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.ac-landing .compliance-doc-links a {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .ac-landing header nav.hidden.md\:flex {
    display: none !important;
  }

  .ac-landing .grid.grid-cols-3 {
    min-width: 520px;
  }

  .ac-landing header.fixed .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Display type only on marketing headlines, not card titles */
.ac-landing .font-heading,
.ac-landing section h1,
.ac-landing section > .container > .flex.flex-col h2,
.ac-landing section h2.font-heading {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
}

.ac-landing section h1 {
  font-weight: 600 !important;
  line-height: 1.12 !important;
  max-width: none !important;
}

.ac-landing h3.font-semibold,
.ac-landing [data-slot="card"] h3 {
  font-family: var(--font-ui) !important;
}

.ac-landing .text-muted-foreground {
  color: var(--ac-muted) !important;
}

.ac-landing header.fixed {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(0, 121, 107, 0.12) !important;
  box-shadow: 0 1px 0 rgba(0, 121, 107, 0.06) !important;
}

.ac-landing header nav.hidden.md\:flex {
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.ac-landing header nav.hidden.md\:flex a {
  white-space: nowrap;
}

.ac-landing header a.text-gray-600 {
  color: var(--ac-muted) !important;
  font-weight: 500;
}

.ac-landing header a.text-gray-600:hover {
  color: var(--ac-teal) !important;
}

.ac-landing a[style*="background-color: #00796B"] {
  background-color: var(--ac-teal) !important;
}

.ac-landing a[style*="background-color: #00796B"]:hover {
  background-color: var(--ac-teal-dark) !important;
}

.ac-landing .bg-primary\/10 {
  background-color: rgba(0, 121, 107, 0.1) !important;
}

.ac-landing .text-primary {
  color: var(--ac-teal) !important;
}

.ac-landing .pt-24 img.rounded-md {
  border-radius: 1rem !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 77, 69, 0.08),
    0 24px 48px -12px rgba(0, 77, 69, 0.18);
  border: 1px solid rgba(0, 121, 107, 0.12);
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
}

.ac-landing section#features,
.ac-landing section#pricing {
  background-color: rgba(225, 238, 230, 0.4) !important;
}

.ac-landing section#testimonials {
  background-color: #fff !important;
}

.ac-landing section#privacy,
.ac-landing footer.bg-gray-50 {
  background-color: var(--ac-cream) !important;
}

.ac-landing #pricing [data-slot="card"] {
  border-color: rgba(0, 121, 107, 0.12) !important;
}

.ac-landing footer.bg-gray-50 {
  border-top: 1px solid rgba(0, 121, 107, 0.12) !important;
}

.ac-landing footer a:hover {
  color: var(--ac-teal) !important;
}

.ac-landing a:focus-visible,
.ac-landing button:focus-visible {
  outline: 2px solid var(--ac-teal);
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  html.ac-landing,
  html.ac-landing body {
    color-scheme: light !important;
    background-color: rgba(225, 238, 230, 0.55) !important;
    color: var(--ac-ink) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ac-landing {
    scroll-behavior: auto;
  }
}
