/* LBS ChildSafe frontend polish: accessible, responsive overrides for the public landing page. */

:root { --focus-ring: 0 0 0 4px rgba(4, 111, 214, .18); }
html { text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #39c51f; outline-offset: 3px; box-shadow: var(--focus-ring); }
.header { transition: box-shadow .2s ease, background-color .2s ease; }
.header.scrolled { box-shadow: 0 10px 30px rgba(4, 42, 98, .10); }
.hero-illustration img, .hero-illustration > * { max-height: 520px; object-fit: contain; }
.feature-item, .why-card, .mini-feature, .step, .contact-panel, .contact-card, .subscription-feature { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
@media (hover: hover) and (pointer: fine) {
  .feature-item:hover, .why-card:hover, .mini-feature:hover, .step:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(4, 42, 98, .10); }
}
@media (max-width: 1100px) {
  .nav { min-height: 68px; }
  .brand { min-width: 0; }
  .mobile-menu { box-shadow: 0 12px 22px rgba(4, 42, 98, .08); }
  .mobile-menu a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 46px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .section-title { font-size: clamp(26px, 8vw, 36px); }
  .section-subtitle { font-size: 14px; line-height: 1.7; }
  .topbar-left { justify-content: center; width: 100%; }
  .helpline { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Two-plan pricing presentation */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #dce8f5; border-radius: 24px; background: #fff; box-shadow: 0 18px 42px rgba(4, 42, 98, .08); overflow: hidden; }
.pricing-card-basic { border-top: 5px solid #1769d2; }
.pricing-card-pro { border: 2px solid #14a7a4; border-top: 5px solid #39c51f; background: linear-gradient(155deg, #fff 0%, #f2fbfa 100%); }
.pricing-popular { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; background: #e8faee; color: #168653; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.pricing-card-header { padding-right: 92px; }
.pricing-plan-kicker { color: #1769d2; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; }
.pricing-card-pro .pricing-plan-kicker { color: #087f79; }
.pricing-card h3 { margin: 9px 0 8px; color: #102a43; font-family: Manrope, sans-serif; font-size: 26px; }
.pricing-card-header p { min-height: 42px; margin: 0; color: #627d98; font-size: 13px; line-height: 1.6; }
.pricing-amount { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; color: #1769d2; }
.pricing-card-pro .pricing-amount { color: #087957; }
.pricing-amount strong { font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -1.8px; }
.pricing-amount span { font-size: 16px; font-weight: 700; }
.pricing-tax { display: block; margin-top: 8px; color: #627d98; font-size: 11px; }
.pricing-highlight { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 20px; padding: 15px; border-radius: 14px; background: #eef6ff; color: #183b64; font-size: 13px; line-height: 1.55; }
.pricing-card-pro .pricing-highlight { background: #e7f8f4; color: #075f59; }
.pricing-highlight i { flex: 0 0 auto; color: #1769d2; font-size: 18px; }
.pricing-card-pro .pricing-highlight i { color: #087f79; }
.pricing-card h4 { margin: 0 0 12px; color: #102a43; font-size: 15px; }
.pricing-feature-list { display: grid; gap: 10px; flex: 1; list-style: none; margin: 0; padding: 0; }
.pricing-feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #526f8a; font-size: 12px; line-height: 1.5; }
.pricing-feature-list li i { flex: 0 0 16px; margin-top: 3px; color: #1769d2; font-size: 12px; text-align: center; }
.pricing-card-pro .pricing-feature-list li i { color: #087f79; }
.pricing-feature-list strong { color: #102a43; }
.pricing-button { width: 100%; margin-top: 26px; border-radius: 10px; }
.pricing-card-pro .pricing-button { background: #168653; box-shadow: 0 6px 0 #0c633d, 0 12px 22px rgba(22, 134, 83, .18); }
.pricing-disclaimer, .pricing-note { display: flex; gap: 9px; justify-content: center; max-width: 940px; margin: 22px auto 0; color: #627d98; font-size: 12px; line-height: 1.7; text-align: center; }
.pricing-disclaimer { color: #785b18; }
.pricing-disclaimer i { color: #c58b13; }
.pricing-note i { color: #1769d2; }
.pricing-comparison { margin-top: 34px; padding: 26px; border: 1px solid #dce8f5; border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: 0 12px 28px rgba(4,42,98,.05); }
.pricing-comparison h3 { margin: 0 0 18px; color: #102a43; font-family: Manrope, sans-serif; font-size: 21px; }
.comparison-scroll { overflow-x: auto; }
.pricing-comparison table { width: 100%; min-width: 680px; border-collapse: collapse; color: #526f8a; font-size: 12px; }
.pricing-comparison th, .pricing-comparison td { padding: 12px 14px; border-bottom: 1px solid #e5edf4; text-align: left; vertical-align: top; }
.pricing-comparison thead th { color: #fff; background: #102a43; font-weight: 800; }
.pricing-comparison thead th:first-child { border-radius: 10px 0 0 0; }
.pricing-comparison thead th:last-child { border-radius: 0 10px 0 0; }
.pricing-comparison tbody th { width: 34%; color: #183b64; font-weight: 700; }
.pricing-comparison tbody td:nth-child(2) { color: #1769d2; font-weight: 700; }
.pricing-comparison tbody td:nth-child(3) { color: #087957; font-weight: 700; }
@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }
  .pricing-card-header { padding-right: 0; }
  .pricing-popular { position: static; align-self: flex-start; margin-bottom: 12px; }
  .pricing-comparison { padding: 20px 16px; }
}

/* Public Pro Partner section: category names only; detailed income data stays in the Member Panel. */
.pro-partner-section { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 55%, #F0FDFA 100%); }
.pro-partner-section::before, .pro-partner-section::after { content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: .55; }
.pro-partner-section::before { top: -150px; right: -70px; background: radial-gradient(circle, rgba(37,99,235,.14), transparent 68%); }
.pro-partner-section::after { bottom: -170px; left: -80px; background: radial-gradient(circle, rgba(13,148,136,.13), transparent 68%); }
.pro-partner-header { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.partner-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #1769d2; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.pro-partner-header .section-title { font-size: clamp(34px, 5vw, 58px); }
.pro-partner-header .section-title { background: linear-gradient(100deg, #1d4ed8, #0d9488); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pro-partner-subheading { margin: 0 0 8px; color: #0f766e; font-size: 19px; font-weight: 800; }
.pro-partner-tagline { margin: 0 0 12px; color: #526f8a; font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.pro-partner-tagline span { margin: 0 5px; color: #94a3b8; }
.pro-partner-description { max-width: 680px; margin: 0 auto; color: #627d98; font-size: 15px; line-height: 1.75; }
.pro-partner-income-heading { max-width: 720px; margin: 0 auto 22px; text-align: center; }
.pro-partner-income-heading h3 { margin: 0 0 7px; color: #102a43; font-family: Manrope, sans-serif; font-size: clamp(22px, 3vw, 30px); }
.pro-partner-income-heading p { margin: 0; color: #627d98; font-size: 13px; line-height: 1.7; }
.partner-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner-category-card { position: relative; min-width: 0; min-height: 156px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px 22px; border: 1px solid #dbe7f1; border-top: 4px solid var(--category-color); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 12px 26px rgba(4,42,98,.06); text-align: center; transition: transform .22s ease, box-shadow .22s ease; }
.partner-category-blue { --category-color: #2563eb; background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%); }
.partner-category-teal { --category-color: #0d9488; background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%); }
.partner-category-purple { --category-color: #7c3aed; background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%); }
.partner-category-amber { --category-color: #d97706; background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%); }
.partner-category-number { position: absolute; top: 12px; left: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--category-color); font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px color-mix(in srgb, var(--category-color) 24%, transparent); }
.partner-category-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border: 1px solid color-mix(in srgb, var(--category-color) 20%, white); border-radius: 17px; background: color-mix(in srgb, var(--category-color) 12%, white); color: var(--category-color); font-size: 24px; box-shadow: 0 8px 16px color-mix(in srgb, var(--category-color) 14%, transparent); }
.partner-category-card h3 { margin: 0; color: #102a43; font-family: Manrope, sans-serif; font-size: 15px; line-height: 1.4; }
.partner-category-card p { max-width: 220px; margin: 8px 0 0; color: #627d98; font-size: 12px; line-height: 1.55; }
.partner-category-label { margin-top: 7px; color: #a16207; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.pro-partner-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin: 30px auto 0; text-align: center; }
.pro-partner-actions h3 { flex-basis: 100%; margin: 0; color: #102a43; font-family: Manrope, sans-serif; font-size: 22px; }
.pro-partner-actions p { flex-basis: 100%; margin: -4px 0 7px; color: #627d98; font-size: 13px; }
.pro-partner-actions .btn { min-width: 214px; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) {
  .partner-category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(4,42,98,.11); }
}
@media (max-width: 800px) {
  .partner-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .pro-partner-subheading { font-size: 16px; }
  .pro-partner-description { font-size: 14px; }
  .pro-partner-header .section-title { font-size: clamp(32px, 10vw, 42px); }
  .partner-category-grid { grid-template-columns: 1fr; }
  .partner-category-card { min-height: 126px; }
  .pro-partner-actions { display: grid; grid-template-columns: 1fr; }
  .pro-partner-actions .btn { width: 100%; }
}
