.cta-center { display: flex; justify-content: center; }
.cta-center .btn { padding: 14px 22px; font-size: 18px; }
.services-title { text-align: center; color: #0081cc; font-size: 26px; line-height: 1.2; }
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #2563eb;
  --brand-700: #1d4ed8;
  --accent: #059669;
  --border: #e2e8f0;
  --shadow: 0 1px 2px rgba(2,6,23,0.06), 0 6px 20px rgba(2,6,23,0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1100px, 92%); margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; background: var(--surface); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header.no-border { border-bottom: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-mark { height: 48px; width: auto; }
.menu-toggle { background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle:hover { background: var(--bg-alt); }
.brand-text { letter-spacing: 0.2px; }

.nav-list { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav-list a:hover { background: var(--bg-alt); }
.nav-list .btn { padding: 10px 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; font-weight: 600; }
.btn-primary { background: #99f0ff; color: #0f172a; border-color: #99f0ff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #7ce9fb; border-color: #7ce9fb; }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--bg-alt); }

.hero { padding: 72px 0; border-bottom: 1px solid var(--border); background: radial-gradient(80% 80% at 50% 0%, rgba(37,99,235,0.1), rgba(0,0,0,0) 60%); }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; }
.hero-light { background: #e6fbff; border-bottom: none; }
.hero-light h1 { color: #0081cc; text-align: center; }
.hero-light p { text-align: center; max-width: 860px; margin: 12px auto 0; color: var(--muted); font-size: 20px; line-height: 1.4; }
.hero-light .container { text-align: center; }
.hero-full { position: relative; padding: 0; border-bottom: none; }
.hero-full .hero-img { width: 100%; height: 56vh; object-fit: cover; object-position: center; display: block; }
.hero-full .hero-overlay { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 56px; }
.hero-full .hero-overlay h1 { color: #0081cc; margin: 0; font-size: 40px; line-height: 1.1; text-align: center; padding: 0 16px; }
.hero-full .hero-overlay p { margin: 12px 0 0; font-size: 20px; line-height: 1.4; text-align: center; padding: 0 16px; }
@media (min-width: 720px) {
  .hero-full .hero-img { height: 68vh; }
  .hero-full .hero-overlay h1 { font-size: 54px; }
  .hero-full .hero-overlay p { font-size: 22px; }
  .services-title { font-size: 30px; }
  .hero-light p { font-size: 22px; }
  .hero.hero-light p { font-size: 22px; }
}
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
/* Ensure subheadline in light hero centers and uses constrained width */
.hero.hero-light p { text-align: center; max-width: 860px; margin: 12px auto 0; font-size: 20px; line-height: 1.4; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; align-self: start; box-shadow: var(--shadow); }
.stat { background: #f8fafc; border: 1px dashed var(--border); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.stat-value { font-weight: 700; }
.stat-label { color: var(--muted); font-size: 14px; }

.section { padding: 56px 0; }
.services-section { background: #f6feff; }
.services-section .lead { line-height: 1.7; }
.services-section h3 { margin-top: 28px; }
.services-section .stat { background: #e6fbff; padding: 24px 16px; text-align: center; max-width: 520px; margin: 28px auto 0; border-color: #99f0ff; border-style: solid; }
.services-section .stat .stat-label { font-size: 18px; line-height: 1.7; color: var(--muted); }
.services-section .stat .stat-source { margin-top: 6px; color: var(--muted); font-size: 14px; }
.org-logos { display: flex; gap: 48px; align-items: center; justify-content: center; margin: 12px 0 0; }
.org-logos img { height: 44px; width: auto; display: block; }
@media (min-width: 720px) {
  .org-logos img { height: 52px; }
}
.benefits { margin-top: 32px; }
.benefit-card { background: #e6fbff; border: 1px solid #99f0ff; border-radius: 12px; padding: 20px; text-align: center; }
.benefit-card h3 { margin: 0 0 8px; font-size: 20px; color: #0081cc; }
.benefit-icon { color: #0081cc; margin: 8px 0 8px; display: inline-flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 32px; height: 32px; display: block; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.6; }
/* Left align CBT-I modules in How CBT-I Works section only */
.benefits-left .benefit-card { text-align: left; }
/* Improve readability for bullet lists within CBT-I modules */
.benefits-left .benefit-card ul { padding-left: 40px; margin: 12px 0 0; list-style-position: outside; }
.benefits-left .benefit-card li { line-height: 1.7; margin-bottom: 10px; }
.benefits-left .benefit-card li:last-child { margin-bottom: 0; }
@media (min-width: 901px) {
  /* Center a second row of two items in a three-column grid */
  .benefits.grid.grid-3 > *:nth-child(4):nth-last-child(2) { grid-column: 2; }
  .benefits.grid.grid-3 > *:last-child:nth-child(5) { grid-column: 3; }
}
.insurers-section { padding-top: 48px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt.no-outline { border-top: none; border-bottom: none; padding-top: 32px; padding-bottom: 32px; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.7; }
.what-expect-subhead { text-align: center; }

.cards { margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.features .feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }

.quote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 8px 0; }
.quote figcaption { color: var(--muted); font-size: 14px; }

.insurers { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 0; margin: 12px 0 0; list-style: none; }
.insurers li { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; color: var(--muted); }
.insurers-title { text-align: center; margin: 0 0 28px; font-weight: 400; color: var(--muted); }
.insurers-logos { align-items: center; }
.insurers-logos li { background: transparent; border: none; border-radius: 0; padding: 0; }
.insurers-logos img { height: 26px; width: auto; display: block; filter: none; }
/* Slightly reduce Aetna logo size for better visual balance */
.insurers-logos img[src*="logo_aetna"] { height: 20px; }
/* Slightly reduce Medicare logo size for better visual balance */
.insurers-logos img[src*="logo_medicare"] { height: 20px; }
/* Slightly increase Cigna logo size for better visual balance */
.insurers-logos img[src*="logo_cigna"] { height: 30px; }
/* Slightly increase United logo size for better visual balance */
.insurers-logos img[src*="logo_united"] { height: 30px; }
@media (min-width: 900px) {
  .insurers { flex-wrap: nowrap; justify-content: space-between; }
}

.contact-cta .cta-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }

.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding: 28px 0; }
.footer-grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.footer-grid-2 .footer-nav { justify-self: start; }
.footer-grid-2 .footer-contact, .footer-grid-2 .footer-nav { align-self: start; }
.footer-nav h3 { margin: 0 0 8px; }
.footer-brand img { width: 44px; height: 44px; margin-bottom: 8px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact h3 { margin: 0 0 8px; }
.footer-contact p { margin: 0 0 6px; line-height: 1.4; }
.footer-contact p:last-child { margin-bottom: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 12px 0 24px; color: var(--muted); font-size: 14px; text-align: center; }

.hide-sm { display: none; }
@media (min-width: 720px) {
  .hide-sm { display: list-item; }
  .menu-toggle { display: none; }
  #primary-nav { display: block !important; }
}
@media (max-width: 719px) {
  .header-inner { gap: 10px; }
  #primary-nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  #primary-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li a { display: block; padding: 14px 16px; border-radius: 0; }
  .nav-list li a:hover { background: var(--bg-alt); }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-cta .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .insurers { row-gap: 20px; }
  /* Add extra spacing for the second wrapped line of insurer logos */
  .insurers-logos li:nth-child(n+5) { margin: 0 16px; }
}

/* Services stat value styling */
.services-section .stat .stat-value { font-size: 32px; color: #0081cc; }
@media (min-width: 720px) {
  .services-section .stat .stat-value { font-size: 36px; }
}
