/* Coterie Health Theme Styles
   All classes prefixed coteriehealth- to avoid Tailwind conflicts.
   Theme colors use var(--primary), var(--accent), etc. from the theme system.
   Brand-specific values use --coteriehealth-* custom properties. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');
@import url('https://unpkg.com/@phosphor-icons/web@2.1.1/src/duotone/style.css');

/* ---- Tailwind color overrides ----
   Tailwind v4 + DaisyUI override --color-primary with oklch purple.
   These utilities ensure coterieos blocks use the theme's HSL variables. */
.ch-text-primary    { color: hsl(var(--primary)) !important; }
.ch-bg-primary      { background-color: hsl(var(--primary)) !important; }
.ch-text-accent     { color: hsl(var(--accent)) !important; }

/* ---- Nav ---- */
.coteriehealth-nav {
  background: hsl(var(--background));
  min-height: 4rem;
  display: flex;
  align-items: stretch;
  padding: 0 1.5rem;
  position: relative;
  border-bottom: 1px solid hsl(var(--border));
}

.coteriehealth-nav-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coteriehealth-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, hsl(var(--primary) / 0.35) 40%, hsl(var(--accent) / 0.3) 65%, transparent 95%);
}

.coteriehealth-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.78rem;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.coteriehealth-nav-cta:hover {
  opacity: 0.92;
}

/* ---- Typography ---- */
.coteriehealth-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

.coteriehealth-mono {
  font-family: 'DM Mono', 'Courier New', monospace;
}

/* ---- Hero ---- */
.coteriehealth-hero {
  background: hsl(var(--color-coteriehealth-hero-surface, var(--primary)));
  position: relative;
  overflow: hidden;
}

.coteriehealth-hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--color-coteriehealth-hero-grid, 0 0% 100% / 0.12)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--color-coteriehealth-hero-grid, 0 0% 100% / 0.12)) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.coteriehealth-hero-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--color-coteriehealth-hero-glow, 38 52% 54% / 0.22)) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- Glow line separator ---- */
.coteriehealth-glow-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.4), transparent);
}

/* ---- Badge ---- */
.coteriehealth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid hsl(var(--accent) / 0.2);
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
}

.coteriehealth-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--accent));
  box-shadow: 0 0 6px hsl(var(--accent) / 0.2);
}

/* ---- Waveform ---- */
.coteriehealth-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 2rem;
}

.coteriehealth-waveform-bar {
  flex: 1;
  background: hsl(var(--primary) / 0.6);
  border-radius: 2px;
}

/* ---- Transcript widget ---- */
.coteriehealth-widget {
  background: hsl(var(--primary-foreground) / 0.04);
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.coteriehealth-widget-header {
  background: hsl(var(--primary-foreground) / 0.05);
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.07);
}

.coteriehealth-rec-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--destructive));
  box-shadow: 0 0 6px hsl(var(--destructive) / 0.7);
}

.coteriehealth-cursor {
  display: inline-block;
  width: 0.4rem;
  height: 0.9em;
  background: hsl(var(--accent));
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: coteriehealth-cursor-blink 1s step-end infinite;
}

/* ---- Section label with line ---- */
.coteriehealth-section-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.coteriehealth-section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: hsl(var(--accent));
}

/* ---- AI icon wrap ---- */
.coteriehealth-ai-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

/* ---- Status dot (live indicator in AI pillar cards) ---- */
.coteriehealth-status-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  flex-shrink: 0;
}

/* Proof strip is now pure Tailwind utilities in templates/blocks/proof-strip.ninjatpl */

/* ---- Interop strip ---- */
.coteriehealth-interop-strip {
  background: hsl(var(--muted));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* ---- CTA Band ---- */
.coteriehealth-cta-band {
  background: hsl(var(--color-coteriehealth-hero-surface, var(--primary)));
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%));
}

/* ---- Footer ---- */
.coteriehealth-footer {
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.coteriehealth-footer-logo {
  color: hsl(var(--foreground) / 0.45);
}

.coteriehealth-footer-copy {
  color: hsl(var(--foreground) / 0.25);
}

/* ---- Coding panel ---- */
.coteriehealth-code-panel {
  /* Opaque surface (hero colour + subtle lift) so the grid background
     can't bleed through the example window. */
  background:
    linear-gradient(hsl(var(--primary-foreground) / 0.08), hsl(var(--primary-foreground) / 0.08)),
    hsl(var(--color-coteriehealth-hero-surface, var(--primary)));
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.coteriehealth-code-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary-foreground) / 0.03);
  border: 1px solid hsl(var(--primary-foreground) / 0.05);
}

.coteriehealth-code-row-matched {
  border-color: hsl(var(--accent) / 0.3);
  background: hsl(var(--accent) / 0.07);
}

/* ---- Contact form ---- */
.coteriehealth-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.coteriehealth-form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.coteriehealth-form-field input,
.coteriehealth-form-field select,
.coteriehealth-form-field textarea {
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  transition: border-color 0.15s;
}

.coteriehealth-form-field input:focus,
.coteriehealth-form-field select:focus,
.coteriehealth-form-field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.22);
}

.coteriehealth-field-error {
  font-size: 0.75rem;
  color: hsl(var(--destructive));
  font-weight: 400;
}

.coteriehealth-submit-btn {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.coteriehealth-submit-btn:hover { opacity: 0.9; }
.coteriehealth-submit-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---- Specialty grid animations ---- */
@keyframes coteriehealth-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.coteriehealth-fade-up {
  animation: none;
}

@keyframes coteriehealth-icon-pulse {
  0%, 100% { box-shadow: 0 4px 12px hsl(var(--primary) / 0.22); }
  50%       { box-shadow: 0 4px 22px hsl(var(--primary) / 0.45); }
}

.coteriehealth-icon-pulse {
  animation: none;
}

/* ---- Bento feature cards ---- */
.coteriehealth-bento-feature {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.coteriehealth-bento-feature-alt {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Card-context overrides scoped to bento feature cards */
.coteriehealth-bento-feature .coteriehealth-widget-header,
.coteriehealth-bento-feature-alt .coteriehealth-widget-header {
  background: hsl(var(--muted));
  border-bottom: 1px solid hsl(var(--border));
}

.coteriehealth-bento-feature .coteriehealth-waveform-bar,
.coteriehealth-bento-feature-alt .coteriehealth-waveform-bar {
  background: hsl(var(--primary) / 0.6);
}

.coteriehealth-bento-feature .coteriehealth-code-row,
.coteriehealth-bento-feature-alt .coteriehealth-code-row {
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}

.coteriehealth-bento-feature .coteriehealth-code-row-matched,
.coteriehealth-bento-feature-alt .coteriehealth-code-row-matched {
  border-color: hsl(var(--accent) / 0.4);
  background: hsl(var(--accent) / 0.14);
}

/* ---- Confidence bar ---- */
.coteriehealth-confidence-track {
  width: 5rem;
  height: 0.25rem;
  border-radius: 2px;
  background: hsl(var(--muted));
  overflow: hidden;
  flex-shrink: 0;
}

.coteriehealth-confidence-fill {
  height: 100%;
  background: hsl(var(--primary));
  border-radius: 2px;
  width: var(--coteriehealth-bar-target, 80%);
  animation: none;
}

.coteriehealth-confidence-fill-hi {
  background: hsl(var(--accent));
}

/* ---- Cursor blink ---- */
@keyframes coteriehealth-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---- Transcript line animation ---- */
@keyframes coteriehealth-transcript-line {
  0%   { opacity: 0; transform: translateY(4px); }
  5%   { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  92%  { opacity: 0; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(4px); }
}

.coteriehealth-transcript-line {
  opacity: 1;
  animation: none;
}

/* ---- Code row animation ---- */
@keyframes coteriehealth-code-row-in {
  0%   { opacity: 0; transform: translateX(-8px); }
  8%   { opacity: 1; transform: translateX(0); }
  80%  { opacity: 1; transform: translateX(0); }
  92%  { opacity: 0; transform: translateX(-4px); }
  100% { opacity: 0; transform: translateX(-8px); }
}

.coteriehealth-code-animated {
  opacity: 1;
  animation: none;
}

/* ---- Confidence bar fill ---- */
@keyframes coteriehealth-bar-fill {
  0%   { width: 0%; }
  10%  { width: var(--coteriehealth-bar-target, 80%); }
  80%  { width: var(--coteriehealth-bar-target, 80%); }
  90%  { width: 0%; }
  100% { width: 0%; }
}

/* ============================================================
   COTERIE — editorial / landing page components
   Layout variants for hero, proof strip, banner, and audience sections.
   ============================================================ */

/* ---- Editorial Hero ---- */
.coteriehealth-hero-editorial {
  background: linear-gradient(180deg,
    hsl(var(--color-coteriehealth-hero-surface, var(--primary))) 0%,
    hsl(var(--color-coteriehealth-hero-surface-end, var(--primary))) 100%);
  isolation: isolate;
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%));
  position: relative;
}

.coteriehealth-hero-editorial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, hsl(var(--primary) / 0.5) 30%, hsl(var(--accent) / 0.45) 70%, transparent 95%);
  z-index: 1;
}

.coteriehealth-editorial-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--color-coteriehealth-hero-grid, 0 0% 100% / 0.08)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--color-coteriehealth-hero-grid, 0 0% 100% / 0.08)) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.coteriehealth-editorial-label {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.86);
  letter-spacing: 0.04em;
}

/* ---- Editorial Hero — animated hoops ---- */
@keyframes coteriehealth-hoop-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes coteriehealth-hoop-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.04) rotate(180deg); }
}

.coteriehealth-editorial-hoops {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.coteriehealth-hoop {
  position: absolute;
  border-radius: 50%;
}

.coteriehealth-hoop-1 {
  width: 34rem;
  height: 22rem;
  right: -6rem;
  top: -4rem;
  border: 3px solid hsl(var(--primary) / 0.35);
  border-top-color: transparent;
  border-left-color: transparent;
  filter: blur(1px);
  box-shadow:
    0 0 120px 20px hsl(var(--primary) / 0.08),
    0 0 40px 2px hsl(var(--primary) / 0.12);
  animation: coteriehealth-hoop-drift 50s linear infinite;
}

.coteriehealth-hoop-2 {
  width: 20rem;
  height: 30rem;
  right: 2rem;
  top: -6rem;
  border: 3px solid hsl(var(--accent) / 0.3);
  border-bottom-color: transparent;
  border-right-color: transparent;
  filter: blur(1px);
  box-shadow:
    0 0 100px 22px hsl(var(--accent) / 0.08),
    0 0 30px 2px hsl(var(--accent) / 0.1);
  animation: coteriehealth-hoop-drift 38s linear infinite reverse;
}

.coteriehealth-hoop-3 {
  width: 14rem;
  height: 14rem;
  right: 8rem;
  bottom: 10%;
  border: 3px solid hsl(var(--primary) / 0.25);
  border-bottom-color: transparent;
  filter: blur(1.5px);
  box-shadow:
    0 0 80px 18px hsl(var(--primary) / 0.06),
    0 0 25px 2px hsl(var(--primary) / 0.1);
  animation: coteriehealth-hoop-breathe 18s ease-in-out infinite;
}

.coteriehealth-hoop-4 {
  width: 44rem;
  height: 28rem;
  right: -14rem;
  top: -12rem;
  border: 3px solid hsl(var(--accent) / 0.25);
  border-left-color: transparent;
  border-bottom-color: transparent;
  filter: blur(1px);
  box-shadow:
    0 0 140px 28px hsl(var(--accent) / 0.06),
    0 0 50px 4px hsl(var(--accent) / 0.1);
  animation: coteriehealth-hoop-drift 65s linear infinite;
}

.coteriehealth-hoop-5 {
  width: 8rem;
  height: 8rem;
  left: 8%;
  bottom: 20%;
  border: 3px solid hsl(var(--primary) / 0.3);
  border-right-color: transparent;
  filter: blur(1px);
  box-shadow:
    0 0 60px 15px hsl(var(--primary) / 0.08),
    0 0 20px 2px hsl(var(--primary) / 0.12);
  animation: coteriehealth-hoop-breathe 14s ease-in-out infinite 4s;
}

/* ---- Editorial Hero — glow orbs ---- */
.coteriehealth-glow-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.coteriehealth-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.coteriehealth-glow-orb-1 {
  width: 28rem;
  height: 28rem;
  top: -6rem;
  right: -4rem;
  background: radial-gradient(circle, hsl(var(--primary) / 0.14) 0%, hsl(var(--primary) / 0.04) 40%, transparent 70%);
}

.coteriehealth-glow-orb-2 {
  width: 22rem;
  height: 22rem;
  bottom: -4rem;
  left: 15%;
  background: radial-gradient(circle, hsl(var(--accent) / 0.1) 0%, hsl(var(--accent) / 0.03) 40%, transparent 70%);
}

.coteriehealth-glow-orb-3 {
  width: 18rem;
  height: 18rem;
  top: 20%;
  right: 25%;
  background: radial-gradient(circle, hsl(var(--primary) / 0.08) 0%, transparent 60%);
}

/* ---- Gradient CTA ---- */
.coteriehealth-cta-gradient {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 22px hsl(var(--primary) / 0.22);
  transition: opacity 0.15s ease;
}

.coteriehealth-cta-ghost {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.88);
  border: 1px solid hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.15);
  background: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.02);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.coteriehealth-cta-gradient:hover,
.coteriehealth-cta-ghost:hover {
  opacity: 0.94;
}

/* ---- Proof strip with icons ---- */
.coteriehealth-proof-icons {
  background: hsl(var(--color-coteriehealth-hero-surface, var(--primary)));
}

.coteriehealth-editorial-headline {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%));
  background-image: linear-gradient(110deg,
    hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%)) 0%,
    hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%)) 45%,
    hsl(var(--accent)) 50%,
    hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%)) 55%,
    hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%)) 100%);
  background-size: 260% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    coteriehealth-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both,
    coteriehealth-sheen 12s ease-in-out 2.5s infinite;
}

.coteriehealth-editorial-copy {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.72);
}

.coteriehealth-editorial-copy-muted {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.62);
}

.coteriehealth-editorial-aside {
  border: 1px solid hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.1);
  border-radius: 0.5rem;
  background: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.03);
}

.coteriehealth-editorial-aside-item {
  padding: 1rem 1.1rem;
}

.coteriehealth-editorial-aside-item + .coteriehealth-editorial-aside-item {
  border-top: 1px solid hsl(var(--border));
}

.coteriehealth-proof-inline-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coteriehealth-proof-icons-text {
  color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%) / 0.82);
}

/* ---- Proof strip icons ---- */
.coteriehealth-proof-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.coteriehealth-proof-icon-primary {
  background: hsl(var(--primary) / 0.18);
  border: 1px solid hsl(var(--primary) / 0.35);
  color: hsl(var(--primary));
}

.coteriehealth-proof-icon-accent {
  background: hsl(var(--accent) / 0.18);
  border: 1px solid hsl(var(--accent) / 0.35);
  color: hsl(var(--accent));
}

/* ---- Marketing banner ---- */
.coteriehealth-banner {
  background: linear-gradient(180deg,
    hsl(var(--background)) 0%,
    hsl(var(--secondary)) 35%,
    hsl(var(--muted)) 65%,
    hsl(var(--muted)) 100%
  );
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.coteriehealth-banner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.06) 0%, hsl(var(--accent) / 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.coteriehealth-banner-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: hsl(var(--primary));
  opacity: 0.85;
}

.coteriehealth-banner-eyebrow::before,
.coteriehealth-banner-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: hsl(var(--primary));
  opacity: 0.5;
}

.coteriehealth-banner-title {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.25;
  color: hsl(var(--foreground));
  margin-bottom: 0.7rem;
}

.coteriehealth-banner-title em {
  font-style: normal;
  color: hsl(var(--primary));
}

.coteriehealth-banner-sub {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  max-width: 520px;
  margin: 0 auto 2rem;
}

.coteriehealth-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.coteriehealth-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 3px;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.06);
  font-size: 0.74rem;
  color: hsl(var(--foreground) / 0.78);
  font-weight: 400;
}

.coteriehealth-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: hsl(var(--primary));
  opacity: 0.7;
  flex-shrink: 0;
}

.coteriehealth-pill-accent {
  border-color: hsl(var(--accent) / 0.2);
  background: hsl(var(--accent) / 0.06);
}

.coteriehealth-pill-accent .coteriehealth-pill-dot {
  background: hsl(var(--accent));
}

.coteriehealth-audience {
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.coteriehealth-audience-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.25rem 2.5rem;
}

.coteriehealth-audience-grid {
  display: grid;
  gap: 1.25rem;
}

.coteriehealth-audience-card {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  padding: 2rem;
}

.coteriehealth-audience-card h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.coteriehealth-audience-card p {
  margin-top: 0.9rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.8;
}

.coteriehealth-audience-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid hsl(var(--border));
}

.coteriehealth-audience-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--foreground) / 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .coteriehealth-nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .coteriehealth-audience-inner {
    padding: 2.5rem 1.5rem;
  }

}

@media (min-width: 1024px) {
  .coteriehealth-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   COTERIE — Hero motion (load entrance, headline sheen, cursor glow, parallax)
   Hover/interaction states are Tailwind utilities in the template; these
   keyframe + pointer-driven effects live here, matching the existing
   hoop/orb ambient animations above. Entrance animates `transform` (not the
   `translate` property) so it composes with the Tailwind translate hovers.
   ============================================================ */

/* Staggered load entrance (delay set per element via --rise-d). */
@keyframes coteriehealth-rise {
  from { opacity: 0; transform: translateY(1.4rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.coteriehealth-rise {
  animation: coteriehealth-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--rise-d, 0s);
}

/* Headline light sweep — used by .coteriehealth-editorial-headline. */
@keyframes coteriehealth-sheen {
  0%   { background-position: 0% 0; }
  22%  { background-position: 100% 0; }
  100% { background-position: 100% 0; }
}

/* Cursor-tracking spotlight (script sets --mx/--my on the hero). */
.coteriehealth-hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(34rem 34rem at var(--mx, 50%) var(--my, 30%),
    hsl(var(--accent) / 0.13) 0%,
    hsl(var(--accent) / 0.05) 38%,
    transparent 64%);
}

.coteriehealth-hero-editorial:hover .coteriehealth-hero-spotlight {
  opacity: 1;
}

/* Cursor parallax — orb and hoop layers drift with the pointer (script sets
   --px/--py). Applied to the containers so each child keeps its own
   drift/breathe animation. At rest (--px/--py unset) this is translate(0,0). */
.coteriehealth-glow-orbs {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform: translate(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 16px));
}

.coteriehealth-editorial-hoops {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform: translate(calc(var(--px, 0) * -30px), calc(var(--py, 0) * -20px));
}

/* Respect reduced-motion: stop all hero motion (the new effects and the
   existing hoop/orb drift, which previously ignored this), keep content
   visible and the headline solid and readable. */
@media (prefers-reduced-motion: reduce) {
  .coteriehealth-hoop,
  .coteriehealth-glow-orb,
  .coteriehealth-rise,
  .coteriehealth-editorial-headline {
    animation: none !important;
  }

  .coteriehealth-rise {
    opacity: 1 !important;
    transform: none !important;
  }

  .coteriehealth-glow-orbs,
  .coteriehealth-editorial-hoops {
    transform: none !important;
    transition: none !important;
  }

  .coteriehealth-hero-spotlight {
    display: none !important;
  }

  .coteriehealth-editorial-headline {
    background: none !important;
    -webkit-text-fill-color: hsl(var(--color-coteriehealth-hero-foreground, 0 0% 98%)) !important;
  }
}
