/* /chhoti-bachat/ (mr) + /chhoti-bachat/hi/ (hi) landing page -
   src/components/landing/*.astro. Deliberately a plain static file, NOT
   component <style> blocks: Astro's scoped-CSS pipeline mismatches scope
   hashes in dev and can silently drop CSS chunks from production builds on
   this site (see astro-site/CLAUDE.md, "Scoped-CSS ..."). Guarded by
   python-scripts/verify_build.py. Every selector is prefixed with .cb so
   nothing leaks to the rest of the site. */

.cb {
  --cb-ink: #12201f;
  --cb-teal-deep: #0b3b3a;
  --cb-teal: #0e6b66;
  --cb-amber: #f2a33a;
  --cb-ground: #f3f6f5;
  --cb-card: #ffffff;
  --cb-border: #cfdad8;
  --cb-chip: #e3eeec;
  --cb-muted: #3a4a49;
  --cb-hero-sub: #d6e6e4;
  background: var(--cb-ground);
  color: var(--cb-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
/* style.css justifies paragraphs on wider screens - wide word gaps in Devanagari */
.cb,
.cb p,
.cb h1,
.cb li {
  text-align: left;
}
.cb-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.cb .cb-hero {
  background: var(--cb-teal-deep);
  color: #fff;
  padding: 36px 0 32px;
}
.cb .cb-eyebrow {
  color: var(--cb-amber);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.cb .cb-hero h1 {
  color: #fff;
  font-size: 1.85rem;
  line-height: 1.45;
  margin: 0 0 12px;
}
.cb .cb-hero-sub {
  color: var(--cb-hero-sub);
  margin: 0;
}
@media (min-width: 768px) {
  .cb .cb-hero h1 {
    font-size: 2.2rem;
  }
}

/* Route divider */
.cb .route-divider {
  display: block;
  width: 100%;
  height: 40px;
}

/* Sections */
.cb section {
  margin: 28px 0;
}
.cb h2 {
  color: var(--cb-teal-deep);
  font-size: 1.5rem;
  line-height: 1.45;
  margin: 0 0 14px;
}
.cb .cb-note {
  color: var(--cb-muted);
}

/* Option cards */
.cb .opt-card {
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 16px;
}
.cb .opt-name {
  margin: 0;
  color: var(--cb-teal-deep);
  font-size: 1.35rem;
  line-height: 1.4;
}
.cb .opt-tagline {
  margin: 2px 0 12px;
  color: var(--cb-muted);
}
.cb .opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.cb .opt-chips li {
  background: var(--cb-chip);
  color: var(--cb-teal-deep);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.cb .opt-points {
  margin: 0;
  padding-left: 1.2em;
}
.cb .opt-points li {
  margin-bottom: 6px;
}

/* WhatsApp button */
.cb .wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 10px 16px;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--cb-teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  text-decoration: none;
}
.cb .wa-btn:hover,
.cb .wa-btn:focus-visible {
  background: var(--cb-teal-deep);
  color: #fff;
  text-decoration: none;
}
.cb .wa-btn:focus-visible {
  outline: 3px solid var(--cb-amber);
  outline-offset: 2px;
}

/* Steps */
.cb .step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cb .step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.cb .step-num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cb-amber);
  color: var(--cb-ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Documents box */
.cb .cb-docs {
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: 12px;
  padding: 16px 20px 16px 40px;
  margin: 0;
}
.cb .cb-docs li {
  margin-bottom: 4px;
}

/* FAQ */
.cb .cb-faq details {
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  margin-bottom: 10px;
}
.cb .cb-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--cb-teal-deep);
  min-height: 48px;
}
.cb .cb-faq details p {
  margin: 0;
  padding: 0 16px 14px;
}

/* About */
.cb .cb-about p {
  margin: 0 0 10px;
  color: var(--cb-ink);
}
.cb .cb-contact a {
  color: var(--cb-teal);
  font-weight: 600;
}

/* Employer note - soft callout card (English) */
.cb .cb-employer {
  background: #fdf3e3;
  border: 1px solid #f5d29c;
  border-left: 4px solid var(--cb-amber);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 28px;
  color: var(--cb-ink);
  font-size: 1rem;
}
.cb .cb-employer p {
  margin: 0;
}

/* Page-language fine print (English MF warning / ARN are in the site footer) */
.cb .cb-fine {
  border-top: 1px solid var(--cb-border);
  padding: 20px 0 28px;
  color: var(--cb-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.cb .cb-fine p {
  margin: 0 0 8px;
}

/* Desktop: wider column, side-by-side blocks so the page doesn't sit in a
   narrow 640px strip. Mobile order is unchanged (single column). */
@media (min-width: 992px) {
  .cb-wrap {
    max-width: 1040px;
  }
  .cb .cb-hero h1,
  .cb .cb-hero-sub {
    max-width: 760px;
  }
  .cb .cb-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .cb .cb-options .opt-card {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .cb .cb-options .wa-btn {
    margin-top: auto;
  }
  .cb .cb-options .opt-points {
    margin-bottom: 16px;
  }
  .cb .cb-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .cb .cb-cols--wide-left {
    grid-template-columns: 3fr 2fr;
  }
}

.cb .cb-options + .cb-note {
  margin-top: 16px;
}
