/* Fresh Sky hub UX refresh: clearer routing, calmer palette, tighter controls. */
:root {
  --ux-bg: #f6f8fb;
  --ux-panel: #ffffff;
  --ux-ink: #102033;
  --ux-muted: #5b6b7f;
  --ux-rule: #d8e0ea;
  --ux-blue: #0369a1;
  --ux-teal: #0f766e;
  --ux-gold: #b45309;
  --ux-focus: #0284c7;
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--ux-bg) !important;
  background-image: none !important;
  color: var(--ux-ink) !important;
  overflow-x: hidden;
}

body::before,
.hero-mesh,
.hero-grid {
  display: none !important;
}

nav.fs-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--ux-rule) !important;
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.04);
}

.nav-logo,
.nav-links > li > a,
.nav-links > li > button.nav-trigger {
  color: var(--ux-ink) !important;
}

.nav-links > li > a:hover,
.nav-links > li > button.nav-trigger:hover {
  color: var(--ux-blue) !important;
}

.nav-dropdown {
  background: #fff !important;
  border-color: var(--ux-rule) !important;
  border-radius: 8px !important;
}

.nav-dropdown li a {
  color: var(--ux-ink) !important;
}

.nav-dropdown li a:hover {
  background: #e8f3fb !important;
  color: var(--ux-blue) !important;
}

.hero {
  min-height: auto;
  padding: 1.8rem 1.5rem 1.4rem !important;
  display: flex;
  align-items: center;
  background: #f7fbff !important;
  color: var(--ux-ink) !important;
  text-align: center;
}

.hero-inner {
  width: 100%;
  min-width: 0;
  max-width: 880px !important;
  padding-top: 0;
}

.hero-logo {
  display: block !important;
  width: min(380px, 76vw) !important;
  height: auto !important;
  margin: 0 auto 1rem !important;
  filter: none !important;
  animation: none !important;
}

.hero-eyebrow {
  margin-bottom: 1rem !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--ux-rule) !important;
  color: var(--ux-teal) !important;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.08);
}

.hero h1 {
  margin-bottom: 0.75rem !important;
  color: var(--ux-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 3.45rem !important;
  letter-spacing: 0 !important;
}

.hero h1 .highlight {
  color: var(--ux-blue) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.hero-subtitle {
  color: var(--ux-ink) !important;
  font-size: 1.25rem !important;
  letter-spacing: 0 !important;
}

.hero-tagline {
  color: var(--ux-muted) !important;
  max-width: 720px !important;
  margin-bottom: 1.5rem !important;
}

.btn,
.support-amount,
.about-fs-cta,
.audience-hub,
.contact-email-btn {
  border-radius: 8px !important;
}

.btn-primary {
  background: var(--ux-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.22) !important;
}

.btn-primary:hover {
  background: #075985 !important;
  box-shadow: 0 14px 30px rgba(3, 105, 161, 0.24) !important;
}

.btn-ghost,
.btn-outline {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid var(--ux-rule) !important;
  color: var(--ux-ink) !important;
}

.btn-ghost:hover,
.btn-outline:hover {
  background: #fff !important;
  border-color: #93c5fd !important;
}

.hero-tool-finder {
  width: min(760px, 100%);
  min-width: 0;
  margin: 1.4rem auto 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ux-rule);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
  text-align: left;
}

.hero-tool-finder label {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--ux-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-tool-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  background: #f8fafc;
  border: 1px solid var(--ux-rule);
  border-radius: 8px;
}

.hero-tool-row i {
  color: var(--ux-muted);
}

.hero-tool-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ux-ink);
  font: inherit;
  font-size: 1rem;
}

.hero-tool-row input::placeholder {
  color: #7b8da2;
}

.hero-tool-row button,
.product-actions button,
.hero-quick-starts button {
  border: 1px solid var(--ux-rule);
  border-radius: 8px;
  background: #fff;
  color: var(--ux-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero-tool-row button {
  padding: 0.58rem 1rem;
  background: var(--ux-ink);
  color: #fff;
  border-color: var(--ux-ink);
}

.hero-tool-row button:hover {
  background: var(--ux-blue);
  border-color: var(--ux-blue);
}

.hero-quick-starts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.hero-quick-starts button {
  padding: 0.4rem 0.7rem;
  color: var(--ux-blue);
}

.hero-quick-starts button:hover,
.product-actions button:hover {
  background: #e8f3fb;
  border-color: #9bc8e7;
}

.hero-tool-status {
  margin: 0.7rem 0 0;
  color: var(--ux-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-stats span,
.hero-trust-chip {
  background: rgba(255, 255, 255, 0.84) !important;
  border: 1px solid var(--ux-rule) !important;
  color: var(--ux-muted) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.06);
}

.hero-stats span {
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
}

.hero-stats strong {
  color: var(--ux-ink);
}

.hero-trust {
  display: none !important;
}

section {
  background: var(--ux-bg) !important;
}

#products {
  background: var(--ux-bg) !important;
}

h2.section-title,
.about-fs-card h2 {
  color: var(--ux-ink) !important;
  letter-spacing: 0 !important;
}

.section-sub,
.about-fs-card p,
.about-fs-sub {
  color: var(--ux-muted) !important;
}

.section-tag,
.about-fs-eyebrow {
  background: #e8f3fb !important;
  border-color: #b9dced !important;
  color: var(--ux-blue) !important;
  border-radius: 999px !important;
}

.fs-filter-row {
  max-width: 760px !important;
  background: #fff !important;
  border-color: var(--ux-rule) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.07) !important;
}

.fs-filter-row input {
  color: var(--ux-ink) !important;
}

.fs-filter-row input::placeholder,
.fs-filter-row i,
.fs-filter-clear {
  color: var(--ux-muted) !important;
}

.product-toolbar {
  max-width: 760px;
  margin: -0.8rem auto 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: var(--ux-muted);
  font-size: 0.86rem;
}

.product-actions {
  display: flex;
  gap: 0.45rem;
}

.product-actions button {
  padding: 0.4rem 0.7rem;
  color: var(--ux-blue);
}

details.fs-accordion,
.product-card,
.civic-audience,
.civic-tool,
.about-fs-card {
  border-radius: 8px !important;
}

details.fs-accordion {
  background: #fff !important;
  border-color: var(--ux-rule) !important;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.04) !important;
}

details.fs-accordion[open] {
  border-color: #b9dced !important;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.08) !important;
}

details.fs-accordion > summary {
  color: var(--ux-ink) !important;
}

details.fs-accordion[open] > summary {
  border-bottom-color: var(--ux-rule) !important;
}

.fs-acc-icon {
  background: #e8f3fb !important;
  border-radius: 8px !important;
}

.fs-acc-sub,
.fs-acc-count,
.fs-acc-chevron {
  color: var(--ux-muted) !important;
}

.fs-acc-count {
  background: #eef2f7 !important;
}

.product-card {
  background: #fff !important;
  border-color: var(--ux-rule) !important;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.04) !important;
}

.product-card::after {
  content: none !important;
}

.product-card:hover {
  transform: translateY(-2px) !important;
  border-color: #9bc8e7 !important;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.12) !important;
}

.product-card h3 {
  color: var(--ux-ink) !important;
  letter-spacing: 0 !important;
}

.product-card .product-desc {
  color: var(--ux-muted) !important;
}

.product-card .product-url,
.product-card .product-arrow {
  color: var(--ux-blue) !important;
}

.product-card .tag {
  background: #eef7f3 !important;
  border-color: #cce7dd !important;
  color: var(--ux-teal) !important;
}

.product-card .product-arrow {
  border-top-color: var(--ux-rule) !important;
}

.product-card.flagship {
  border-color: #7dd3fc !important;
  background: #f0f9ff !important;
}

.flagship-badge {
  background: var(--ux-blue) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.fs-marquee {
  background: #fff !important;
  border-color: var(--ux-rule) !important;
}

.fs-marquee-track {
  animation-duration: 90s !important;
}

.fs-marquee-item {
  color: var(--ux-muted) !important;
}

.about-fs {
  padding-top: 3rem !important;
}

.about-fs-card {
  background: #fff !important;
  border-color: var(--ux-rule) !important;
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.08) !important;
}

.hulec-strip {
  background: #eef7f3 !important;
  border-color: #cce7dd !important;
}

.hulec-pillar {
  background: #fff !important;
  border-color: #cce7dd !important;
  color: var(--ux-muted) !important;
  border-radius: 8px !important;
}

.hulec-pillar b {
  color: var(--ux-ink) !important;
}

.hulec-foot {
  color: var(--ux-muted) !important;
}

#pro {
  background: #102033 !important;
  color: #fff !important;
}

#pro::before {
  content: none !important;
}

.support-amount {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.support-amount.featured {
  border-color: #f59e0b !important;
}

#civic {
  background: #172033 !important;
}

footer {
  background: #0f172a !important;
}

*:focus-visible {
  outline: 3px solid var(--ux-focus) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    color: var(--ux-ink) !important;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom-color: var(--ux-rule) !important;
  }

  .nav-links > li > a,
  .nav-links > li > button.nav-trigger {
    display: block !important;
  }

  .nav-dropdown {
    background: #f8fafc !important;
  }

  .hero {
    min-height: auto;
    padding-top: 1.6rem !important;
  }

  .hero-inner {
    padding-top: 0;
  }

  .hero-logo {
    width: min(230px, 78vw) !important;
    margin-bottom: 0.8rem !important;
  }

  .hero h1 {
    font-size: 2.35rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
  }

  .hero-tool-row {
    grid-template-columns: auto 1fr;
  }

  .hero-tool-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .product-actions {
    width: 100%;
  }

  .product-actions button {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .hero-tool-finder {
    padding: 0.85rem;
  }

  .hero-stats,
  .hero-tool-status {
    display: none !important;
  }

  .hero-quick-starts {
    display: none;
  }

}
