/* Header and hero design study. Palette follows finkasha.in.
   These styles are scoped to the first screen; existing sections retain their design. */
.site-header, .hero {
  --hero-blue: #005bb5;
  --hero-muted: #64748b;
  --hero-border: #d9e4f0;
  --hero-tint: #f0f5fb;
}
.site-header { position: relative; z-index: 20; background: #fff; color: var(--navy); border-bottom: 1px solid #e2e8f0; }
.header-inner, .hero-inner { width: min(1280px, calc(100% - 80px)); }
.header-inner { min-height: 76px; justify-content: space-between; gap: 28px; }
.brand { gap: 11px; }
.brand-copy { min-width: 0; }
.brand-mark { width: 54px; height: 54px; }
.brand-name { font-size: 28.08px; font-weight: 600; letter-spacing: -.9px; white-space: nowrap; }
.brand-descriptor { font-size: .62em; font-weight: 400; letter-spacing: -.3px; }
.main-navigation { gap: 26px; }
.main-navigation .mobile-section-link, .main-navigation .blog-link, .nav-dropdown-toggle { display: block; color: #475569; font-size: 12.96px; font-weight: 500; white-space: nowrap; }
.main-navigation a[href]:not(.button):hover { color: var(--hero-blue); }
.main-navigation a[aria-current='page'] { color: var(--hero-blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; line-height: 1.5; text-align: left; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded='true'] { color: var(--hero-blue); }
.nav-dropdown-toggle svg { display: block; width: 14px; height: 14px; flex: 0 0 14px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.nav-dropdown-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); left: -16px; z-index: 30; width: 270px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--hero-border); border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgb(0 51 102 / 12%); }
.nav-dropdown-menu::before { content: ''; position: absolute; inset: -9px 0 100%; }
.services-menu li:first-child { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid #e2e8f0; }
.nav-dropdown-menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 10px 12px; border-radius: 4px; color: var(--navy); font-size: 12.96px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.nav-dropdown-menu a[href]:hover, .nav-dropdown-menu a[href]:focus-visible { background: var(--hero-tint); color: var(--hero-blue); }
.nav-dropdown-menu a[aria-disabled='true'] { color: #64748b; }
.nav-dropdown-menu .pending-label { display: inline; margin-left: 0; color: #64748b; font-size: 9.72px; font-weight: 400; }
.site-header .header-cta { gap: 12px; min-height: 43px; padding: 10px 18px; border: 1px solid var(--hero-blue); border-radius: 5px; background: var(--hero-blue); color: #fff; font-size: 12.96px; }
.header-cta svg { flex-shrink: 0; width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; }
.site-header .header-cta:hover { background: var(--navy); border-color: var(--navy); }
.site-header a:focus-visible, .site-header button:focus-visible, .hero a:focus-visible { outline-color: var(--hero-blue); }
.hero { background: #fff; border-bottom: 1px solid #e2e8f0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 35px; min-height: clamp(680px, calc(100svh - 182px), 820px); padding: 66px 0 60px; }
.hero-panel { width: auto; min-width: 0; padding: 0; background: transparent; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--hero-blue); font-size: 10.8px; font-weight: 600; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; }
.hero-eyebrow > span { width: 22px; height: 2px; background: var(--hero-blue); }
.hero h1 { margin-top: 20px; color: var(--navy); font-size: clamp(47.52px, 4.536vw, 69.12px); font-weight: 400; letter-spacing: -2.5px; line-height: 1.18; white-space: normal; }
.hero h1 > span { color: var(--hero-blue); font-weight: 600; }
.hero .hero-intro { margin: 22px 0 0; color: #475569; font-size: 20.52px; line-height: 1.65; }
.hero-action-panel { margin-top: 33px; max-width: 550px; padding: 21px 23px 22px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; box-shadow: 0 9px 30px rgb(0 51 102 / 6%); }
.hero-action-heading { display: flex; align-items: center; gap: 12px; font-size: 14.04px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.hero-conversation-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hero-tint); color: var(--hero-blue); flex-shrink: 0; }
.hero-conversation-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero .hero-primary-action { display: flex; justify-content: space-between; gap: 14px; width: 100%; min-height: 51px; margin-top: 17px; padding: 13px 17px; border-radius: 4px; background: var(--hero-blue); color: #fff; font-size: 12.96px; text-align: left; }
.hero .hero-primary-action:hover { background: var(--navy); }
.hero-primary-action svg { flex-shrink: 0; width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; }
.hero-credentials { display: grid; grid-template-columns: 1.2fr 1fr; max-width: 550px; margin: 35px 0 0; padding: 0; }
.hero-credentials > div { padding: 0 22px; border-left: 1px solid var(--hero-border); }
.hero-credentials > div:first-child { padding-left: 0; border-left: 0; }
.hero-credentials > div:last-child { padding-right: 0; }
.hero-credentials dt { display: flex; align-items: center; min-height: 45px; color: var(--navy); font-size: 23.76px; font-weight: 400; line-height: 1.3; letter-spacing: -.6px; }
.hero-credentials .hero-families dt { font-size: 36.72px; }
.hero-credentials dd { margin: 4px 0 0; color: var(--hero-muted); font-size: 11.88px; line-height: 1.7; }
.hero-visual { position: relative; min-width: 0; margin: 0 -18px 0 0; }
.hero-growth-graphic { display: block; width: 100%; height: auto; overflow: visible; }
.hero-visual figcaption { margin-top: -6px; text-align: center; color: var(--hero-muted); font-size: 11.88px; letter-spacing: .5px; }
@media (max-width: 1199px) {
  .header-inner, .hero-inner { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .main-navigation { gap: 17px; }
  .main-navigation .mobile-section-link, .main-navigation .blog-link, .nav-dropdown-toggle { font-size: 11.88px; }
  .brand-name { font-size: 27px; }
  .site-header .header-cta { padding-inline: 14px; font-size: 11.88px; }
  .hero-inner { gap: 24px; }
  .hero h1 { font-size: 56.16px; }
  .hero-credentials > div { padding-inline: 12px; }
}
@media (min-width: 1024px) {
  .main-navigation { position: static; display: flex; padding: 0; box-shadow: none; }
  .menu-toggle { display: none; }
  .pending-label { display: none; }
}
@media (max-width: 1023px) {
  .header-inner { position: relative; min-height: 70px; gap: 12px; }
  .brand { max-width: calc(100% - 54px); flex-shrink: 1; }
  .brand-mark { width: 52px; height: 52px; flex-shrink: 0; }
  .brand-name { font-size: 27px; }
  .menu-toggle { display: flex; flex: 0 0 44px; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin: 0; padding: 10px; border: 0; background: transparent; color: var(--navy); }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-navigation { display: none; position: absolute; inset: 100% -32px auto; z-index: 10; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 24px; border-top: 1px solid #e2e8f0; background: #fff; box-shadow: 0 12px 20px rgb(0 51 102 / 7%); }
  .main-navigation.is-open { display: flex; }
  .main-navigation .mobile-section-link, .main-navigation .blog-link { padding: 11px 0; font-size: 15.12px; }
  .nav-dropdown-toggle { justify-content: space-between; width: 100%; padding: 11px 0; font-size: 15.12px; }
  .nav-dropdown-menu { position: static; width: 100%; margin: 0 0 8px; padding: 4px; border-radius: 6px; box-shadow: none; }
  .nav-dropdown-menu::before { display: none; }
  .main-navigation { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior-y: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .site-header .header-cta { align-self: start; min-height: 44px; margin-top: 10px; padding-inline: 20px; font-size: 12.96px; }
  .pending-label { display: inline; margin-left: 8px; color: var(--hero-muted); font-size: 10.8px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 12px; min-height: 655px; padding-block: 52px; }
  .hero h1 { font-size: 49.68px; letter-spacing: -1.8px; }
  .hero .hero-intro { font-size: 18.36px; }
  .hero-action-panel { padding: 18px; }
  .hero .hero-primary-action { padding-inline: 12px; font-size: 11.88px; }
  .hero-credentials > div { padding-inline: 14px; }
  .hero-credentials dt { font-size: 20.52px; }
  .hero-credentials .hero-families dt { font-size: 32.4px; }
  .hero-credentials dd { font-size: 10.8px; }
  .hero-visual { margin-right: -12px; }
  .hero-visual figcaption { font-size: 9.72px; }
}
@media (max-width: 767px) {
  .header-inner, .hero-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; }
  .brand { gap: 8px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 24.84px; }
  .main-navigation { inset-inline: -20px; padding-inline: 24px; }
  .main-navigation { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding: 40px 0 34px; }
  .hero-eyebrow { font-size: 9.72px; letter-spacing: 1.6px; }
  .hero h1 { margin-top: 16px; font-size: clamp(45.36px, 11.124vw, 62.64px); letter-spacing: -1.8px; line-height: 1.16; }
  .hero .hero-intro { margin-top: 19px; font-size: 16.2px; }
  .hero-action-panel { max-width: none; margin-top: 26px; padding: 18px; }
  .hero-action-heading { font-size: 12.96px; }
  .hero .hero-primary-action { min-height: 51px; padding: 12px; font-size: 11.88px; }
  .hero-credentials { margin-top: 29px; }
  .hero-visual { width: 100%; max-width: 380px; margin: 0 auto; }
  .hero-visual figcaption { font-size: 10.8px; }
}
@media (max-width: 359px) {
  .header-inner, .hero-inner { width: calc(100% - 32px); }
  .brand-name { font-size: 23.76px; line-height: 1.15; }
  .brand-descriptor { display: block; line-height: 1.15; }
  .brand-mark { width: 42px; height: 42px; }
  .main-navigation { inset-inline: -16px; padding-inline: 16px; }
  .hero h1 { font-size: 43.2px; }
  .hero-action-panel { padding: 15px; }
  .hero .hero-primary-action { font-size: 10.8px; gap: 8px; }
  .hero-credentials > div { padding-inline: 12px; }
  .hero-credentials dt { font-size: 18.36px; }
  .hero-credentials .hero-families dt { font-size: 30.24px; }
  .hero-credentials dd { font-size: 9.72px; }
}
