/* Shared Miaou dark UI palette, adapted from the reviewed dashboard mockup.
   This file changes presentation only; it never substitutes demo data or actions. */
:root {
  color-scheme: dark;
  --miaou-blue: #5579ee;
  --miaou-blue-bright: #8dbaff;
  --miaou-purple: #8b67e9;
  --miaou-action: linear-gradient(110deg, #4265d8, #6e50d1);
  --miaou-surface: #111216;
  --miaou-surface-raised: #171a22;
  --miaou-border: #ffffff29;
  --miaou-text: #ffffff;
  --miaou-muted: #cbd0db;
}

body.miaou-light {
  color: var(--miaou-text);
  background:
    radial-gradient(ellipse 900px 600px at 85% -8%, #344c9c2b, transparent 70%),
    radial-gradient(ellipse 700px 560px at 0 650px, #174d7526, transparent 72%),
    #09090c;
}

.miaou-light :is(h1 span, h2 span, .eyebrow, .text-link, .support-contact,
  .launch-value-cta, .dashboard-showcase-actions a, .pricing-boundaries a,
  .dashboard-link, .auth-cross a, .site-auth>a:not(.site-signup):hover) {
  color: var(--miaou-blue-bright);
}

.miaou-light :is(.button, .customize, .publish-button, .site-auth .site-signup,
  .auth-card .button, .pricing-card .button, .service-hero .customize,
  .health-cleanup-action) {
  color: #fff;
  background: var(--miaou-action);
  border-color: #7898ff;
  box-shadow: 0 8px 24px #547beb35;
}

.miaou-light :is(.button, .customize, .publish-button, .site-signup,
  .health-cleanup-action):hover {
  filter: brightness(1.1);
}

.miaou-light :is(a, button, input, textarea, select, summary):focus-visible {
  outline-color: #8dbaff;
}

.miaou-light .site-header.wrap {
  border-bottom-color: #ffffff20;
  background: #09090cd9;
}

.miaou-light .site-navigation a[aria-current="page"] {
  color: #a9caff;
  text-decoration-color: var(--miaou-blue);
}

.miaou-light .logo span {
  color: var(--miaou-blue-bright);
}

.miaou-light .launch-hero .lead strong {
  color: #a9caff;
}

.miaou-light :is(.launch-value-card, .creator-voice, .landing-pricing-details,
  .pricing-account-strip, .ai-handoff-card, .faq details, .cta,
  .launch-offer-note, .dashboard-shot, .dashboard-preview-dialog,
  .auth-card, .pricing-card, .offer-card, .pricing-grid>article) {
  color: #fff;
  background: linear-gradient(145deg, #151922, #101216 78%);
  border-color: #344054;
  box-shadow: 0 1px 0 #ffffff08, 0 18px 55px #0007;
}

.miaou-light :is(.launch-value-body h3, .section-head h2,
  .creator-voices-heading h2, .creator-voice h3, .dashboard-preview-top h2,
  .launch-offer-note h2, .auth-card h2, .pricing-intro h1,
  .pricing-faq h2) {
  color: #fff;
}

.miaou-light :is(.launch-value-copy, .section-head p:last-child,
  .hero-secondary, .hero-format-note, .creator-voice p,
  .pricing-account-strip p, .pricing-proposal-note, .faq p,
  .auth-subtitle, .auth-brand>p:last-child, .pricing-boundaries p) {
  color: var(--miaou-muted);
}

.miaou-light .offer-card :is(h2, h3) {
  color: #f5f8ff;
}

.miaou-light .offer-card .offer-kicker {
  color: #a9caff;
}

.miaou-light .offer-card .offer-price strong {
  color: #a9caff;
}

.miaou-light .offer-card :is(.offer-price span, .offer-billing-note,
  .offer-billing-note strong, .offer-description, ul) {
  color: #cbd0db;
}

.miaou-light .offer-card>small {
  color: #cbd0db;
}

.miaou-light .offer-card .offer-promise {
  color: #eef4ff;
}

.miaou-light .offer-card li::before {
  color: #8dbaff;
}

.miaou-light .pricing-account-strip strong {
  color: #f5f8ff;
}

.miaou-light .pricing-account-strip a,
.miaou-light .pricing-boundaries strong,
.miaou-light :is(.pricing-faq summary, .pricing-limits summary) {
  color: #a9caff;
}

.miaou-light :is(.launch-value-cta, .creator-voices-bottom a,
  .story-teaser-link, .pricing-boundaries a) {
  background: #142039;
  border-color: #38558a;
}

.miaou-light :is(.auth-card, .pricing-page, .pricing-faq details,
  .pricing-boundaries, .pricing-account-strip) {
  border-color: #344054;
}

.miaou-light .auth-card {
  background: linear-gradient(150deg, #151922, #101216);
  box-shadow: 0 18px 55px #0008;
}

.miaou-light :is(.auth-card input, .recovery-dialog input,
  #action-dialog input, #action-dialog select, .domain-search-field input) {
  color: #f5f8ff;
  background: #0b0e14;
  border-color: #46536a;
}

.miaou-light :is(.auth-card input, #action-dialog input,
  #action-dialog select)::placeholder {
  color: #a9b2c1;
}

.miaou-light .auth-consent {
  color: #d9deea;
}

.miaou-light .auth-card a {
  color: var(--miaou-blue-bright);
}

.miaou-light .auth-card .github-button {
  color: #f5f8ff;
  background: #151922;
  border-color: #65738c;
  box-shadow: none;
}

.miaou-light .auth-card .github-button:hover {
  background: #202635;
}

.miaou-light .dashboard {
  color: #f5f8ff;
  background: linear-gradient(135deg, #0d1119, #111722 70%, #0d1722);
  border-color: #344054;
  box-shadow: 0 22px 70px #0009;
}

.miaou-light .dashboard aside {
  color: #eaf1fb;
  background: linear-gradient(175deg, #111722, #0d1119);
  border-color: #344054;
}

.miaou-light .dash-nav button {
  color: #cbd4e2;
}

.miaou-light .dash-nav button:hover {
  color: #fff;
  background: #1b2432;
}

.miaou-light .dash-nav button.active {
  color: #eaf3ff;
  background: linear-gradient(110deg, #193052, #172437);
  border-left-color: var(--miaou-blue-bright);
}

.miaou-light .dash-heading {
  border-color: #344054;
}

.miaou-light .dash-heading h3,
.miaou-light .dash-heading small {
  color: #f5f8ff;
}

.miaou-light .dash-content :is(.view-box, .metric, .home-project,
  .fresh-project, .support-search, .faq-answer, .plan-card,
  .plan-overview, .dashboard-tools>div, .service-hero, .connection-card,
  .domain-address-grid .view-box) {
  color: #f1f5fb;
  background: linear-gradient(145deg, #151922, #10141b);
  border-color: #344054;
  box-shadow: 0 12px 32px #0005;
}

.miaou-light .dash-content :is(.metric strong, .view-box h4,
  .home-project h4, .plan-overview h4, .plan-card h4,
  .faq-answer summary, .settings-panel h4, .service-hero h4,
  .connection-card h4) {
  color: #f5f8ff;
}

.miaou-light .dash-content :is(.metric small, .view-box p,
  .home-project p, .plan-card p, .plan-overview p, .plan-card li,
  .settings-panel p, .service-hero p, .connection-card p,
  .dashboard-note, .capacity-summary, .slot-note) {
  color: #c0cad8;
}

.miaou-light :is(.settings-tabs button, .dashboard-cycle-switch,
  .billing-choice .dashboard-cycle-switch) {
  color: #d5dce8;
  background: #111722;
  border-color: #3a4658;
}

.miaou-light :is(.settings-tabs button[aria-pressed="true"],
  .dashboard-cycle-switch button[aria-pressed="true"]) {
  color: #fff;
  background: #193052;
  border-color: #5579ee;
}

.miaou-light :is(.plan-card.current, .plan-card.featured,
  .pricing-card.featured, .offer-card.featured) {
  color: #fff;
  background: linear-gradient(145deg, #172743, #121924);
  border-color: #5579ee;
}

.miaou-light :is(.health-cleanup-icon, .connection-icon,
  .address-label, .domain-suggestion strong) {
  color: var(--miaou-blue-bright);
}

.miaou-light .health-gauge-track {
  stroke: #344054;
}

.miaou-light .health-gauge-spinner {
  border-color: #344054;
  border-top-color: var(--miaou-blue-bright);
}

.miaou-light .health-cleanup-action {
  color: #fff !important;
  border-color: #7898ff;
}

@media (max-width: 700px) {
  .miaou-light .site-header.wrap {
    background: #09090cf5;
  }

  .miaou-light .dashboard aside {
    border-bottom: 1px solid #344054;
  }
}

@media (prefers-reduced-motion: reduce) {
  .miaou-light *,
  .miaou-light *::before,
  .miaou-light *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
