:root {
  --bg: #f4f7f5;                  /* Soft mint-tinted white background */
  --bg-soft: #ffffff;             /* Pure white for cards */
  --surface: rgba(5, 150, 105, 0.06); /* Soft tint */
  --surface-strong: #065f46;      /* Deep forest green for tags */
  --text: #111827;                /* High contrast dark text */
  --muted: #6b7280;               /* Medium gray */
  --dark-text: #ffffff;
  --primary: #059669;             /* Mint/Deep Mint Green */
  --primary-2: #10b981;           /* Bright secondary green accent */
  --accent: #6ee7b7;              /* Light mint flair */
  --border: rgba(5, 150, 105, 0.12);
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.05);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* FIXED: Removed dark linear colors and red/yellow radial shapes */
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 40%),
    radial-gradient(circle at top right, rgba(110, 231, 183, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  /* FIXED: Changed from dark rgba(10, 14, 27) to transparent white frosted layout */
  background: rgba(255, 255, 255, 0.80);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--text);
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.brand-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 900;
  /* FIXED: Shifted shadow glow from red to clean green */
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
}

.site-nav .nav-cta {
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  /* FIXED: Shadow tone fixed to match green CTA */
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.2);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text); /* FIXED: Menu bars are now dark so they show on light screens */
  border-radius: 999px;
  transition: 0.3s ease;
}

.hero {
  padding: 88px 0 56px;
}

.hero-grid,
.two-col,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surface-strong); /* FIXED: Labels now map to dark forest green for visibility */
  margin: 0 0 16px;
}

.hero h1,
.section h2,
.notice-box h2 {
  margin: 0 0 18px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

.section h2,
.notice-box h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.lead,
.section-head p,
.content-block p,
.notice-box p,
.footer-grid p {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions,
.download-box,
.footer-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  /* FIXED: Shadow tone fixed to green theme */
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.keyword-cloud,
.pill-wrap,
.check-list,
.steps-list,
.info-card ul,
.footer-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.keyword-cloud li,
.pill-wrap span {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  /* FIXED: Converted from dark borders/transparencies to clean mint highlights */
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--surface-strong);
}

.hero-card,
.info-card,
.feature-card,
.keyword-panel,
.notice-box,
.download-box {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.glass-card,
.info-card,
.feature-card,
.keyword-panel,
.notice-box,
.download-box {
  /* FIXED: Swapped dark transparency values for crisp clean white base layer variables */
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.glass-card {
  padding: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.stats-grid div {
  /* FIXED: Modified component base layer color styling */
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 18px;
}

.stats-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.stats-grid strong {
  font-size: 1rem;
  color: var(--text);
}

.mockup {
  background: var(--bg);
  border-radius: 22px;
  padding: 14px;
  border: 1px solid var(--border);
}

.mockup-topbar {
  height: 12px;
  border-radius: 999px;
  /* FIXED: Swapped out legacy red/yellow accent line elements */
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  margin-bottom: 14px;
}

.mockup-screen {
  min-height: 280px;
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 18px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
}

.mini-card {
  background: var(--bg);
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.04);
  border: 1px solid var(--border);
}

.mini-card.hot {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
}

.ticker-section {
  padding-bottom: 28px;
}

.ticker {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.ticker-track {
  display: flex;
  gap: 18px;
  padding: 14px 18px;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  color: var(--surface-strong);
  font-weight: 800;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-30%); }
}

.section {
  padding: 72px 0;
}

.section.alt {
  /* FIXED: Set section to use clean light properties instead of dark gradients */
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-col {
  grid-template-columns: 1fr 0.88fr;
  align-items: start;
}

.two-col.reverse {
  grid-template-columns: 0.88fr 1fr;
}

.content-block,
.section-head {
  max-width: 820px;
}

.steps-list,
.check-list,
.info-card ul,
.footer-grid ul {
  display: grid;
  gap: 12px;
}

.steps-list li,
.check-list li,
.info-card li,
.footer-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.steps-list li::before,
.check-list li::before,
.info-card li::before,
.footer-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.info-card,
.keyword-panel,
.notice-box {
  padding: 28px;
}

.info-card h3,
.feature-card h3,
.keyword-panel h3,
.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  color: var(--text);
}

.cards-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.download-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.download-box {
  margin-top: 24px;
  padding: 24px 26px;
  justify-content: space-between;
}

.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.6rem;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  color: var(--muted);
  padding-bottom: 20px;
  margin: 0;
}

.disclaimer-section {
  padding-top: 20px;
}

.notice-box {
  /* FIXED: Altered red-tinted warning card layout to an elegant theme matching gradient */
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.10), rgba(16, 185, 129, 0.04));
  border: 1px solid var(--border);
}

.site-footer {
  padding: 52px 0 30px;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 12px;
}

.footer-bottom {
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-bottom a {
  color: var(--muted);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .two-col.reverse,
  .cards-grid.three,
  .cards-grid.four,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    /* FIXED: Mobile navbar window converted from charcoal background to matching frosted white layout */
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .two-col,
  .two-col.reverse,
  .cards-grid.three,
  .cards-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .download-box,
  .footer-bottom,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 72px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .glass-card,
  .info-card,
  .feature-card,
  .keyword-panel,
  .notice-box,
  .download-box {
    padding: 20px;
    border-radius: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .keyword-cloud li,
  .pill-wrap span {
    width: 100%;
    text-align: center;
  }
}