/* ========= NAV ========= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); padding: 14px 0; background: rgba(250,250,248,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.nav-logo img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta { display: inline-flex; padding: 8px 18px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s; }
.nav-links a.nav-cta:hover { background: var(--accent-hover); color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: .7em; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 12px); left: -12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px 0; min-width: 240px; z-index: 101; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: .85rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: background .1s, color .1s; }
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--text); }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 1px; }
.mobile-menu { display: none; position: fixed; top: 56px; left: 0; right: 0; z-index: var(--z-mobile-menu); background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; }
.mobile-menu.active { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a { display: block; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 0; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu .mobile-label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 12px 0 4px; border-bottom: none; }

/* ========= BUTTONS ========= */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; text-decoration: none; font-family: var(--font); transition: all .15s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 2px 8px rgba(15,118,110,.18); }
.btn-outline { background: none; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ========= SHARED SECTION UTILITIES ========= */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* ========= SUBPAGE HERO ========= */
.subpage-hero { padding: 140px 0 60px; }
.subpage-hero .wrap-narrow { text-align: center; }
.subpage-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 16px; }
.subpage-hero p { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; max-width: 580px; margin: 0 auto; }

/* ========= PAIN POINTS GRID ========= */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.pain-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.pain-card-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pain-card h3 { font-size: 1rem; margin-bottom: 8px; }
.pain-card p { font-size: .85rem; color: var(--text-2); line-height: 1.6; }

/* ========= SOLUTION LIST ========= */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.solution-item { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s; }
.solution-item:hover { border-color: var(--border-hover); }
.solution-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.solution-item h3 { font-size: .95rem; margin-bottom: 4px; }
.solution-item p { font-size: .82rem; color: var(--text-2); line-height: 1.55; }

/* ========= STAT CALLOUT ========= */
.stat-callout { display: flex; align-items: baseline; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border); margin-top: 24px; }
.stat-callout strong { font-size: 2.2rem; font-weight: 700; font-family: var(--font); }
.stat-callout span { font-size: .9rem; color: var(--text-2); }

/* ========= URGENCY BANNER ========= */
.urgency-banner { background: var(--red-bg); border: 1px solid rgba(220,38,38,.15); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.urgency-banner svg { flex-shrink: 0; }
.urgency-banner strong { color: var(--red); }
.urgency-banner p { font-size: .88rem; color: var(--text-2); line-height: 1.5; }

/* ========= HOW STEPS ========= */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 0; }
.how-step { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.how-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.2rem; }
.how-step-num.active { border-color: var(--accent); background: var(--accent-bg); }
.how-step h3 { font-size: .95rem; margin-bottom: 6px; }
.how-step p { font-size: .8rem; color: var(--text-2); line-height: 1.5; }

/* ========= INTEGRATIONS ========= */
.integrations { padding: 48px 0; text-align: center; }
.integrations .label { margin-bottom: 20px; }
.int-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.int-tag { padding: 7px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 500; color: var(--text-2); cursor: default; user-select: none; }
.int-note { font-size: .85rem; color: var(--text-3); max-width: 480px; margin: 0 auto; }

/* ========= FAQ ========= */
.faq-list { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--text); text-align: left; line-height: 1.4; gap: 16px; }
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--text-3); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { content: '\2212'; color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 20px; font-size: .88rem; color: var(--text-2); line-height: 1.7; }

/* ========= AUDIENCE ROUTING ========= */
.audience { padding: 80px 0; }
.audience .wrap-narrow { text-align: center; margin-bottom: 44px; }
.audience h2 { margin-bottom: 10px; }
.audience > .wrap-narrow > p { color: var(--text-2); }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.audience-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-decoration: none; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s, box-shadow .2s, transform .2s; }
.audience-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(15,118,110,.08); transform: translateY(-2px); }
.audience-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.audience-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--text); }
.audience-card p { font-size: .85rem; color: var(--text-2); line-height: 1.55; }
.audience-card .card-arrow { font-size: .85rem; color: var(--accent); font-weight: 600; margin-top: 8px; display: inline-block; }

/* ========= COMPLIANCE CALLOUT ========= */
.compliance-callout { padding: 64px 0; background: var(--bg-alt); }
.cc-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 32px; max-width: 720px; margin: 0 auto; }
.cc-card h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 12px; }
.cc-card p { font-size: .92rem; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.cc-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cc-badge { padding: 4px 12px; border-radius: 3px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cc-badge.urgent { background: var(--red-bg); color: var(--red); }
.cc-badge.standard { background: var(--accent-bg); color: var(--accent); }

/* ========= HOMEPAGE HOW / FAQ ========= */
.how { padding: 80px 0; }
.how .wrap-narrow { text-align: center; margin-bottom: 48px; }
.how h2 { margin-bottom: 12px; }
.how > .wrap-narrow > p { color: var(--text-2); font-size: 1rem; }
.faq-section { padding: 80px 0; background: var(--bg-alt); }
.faq-section .wrap-narrow { text-align: center; margin-bottom: 44px; }
.faq-section h2 { margin-bottom: 10px; }
.faq-section > .wrap-narrow > p { color: var(--text-2); }

/* ========= HERO STATS ========= */
.hero-stats-bar { padding: 48px 0; border-bottom: 1px solid var(--border); }
.hero-stats { display: flex; gap: 48px; justify-content: center; }
.hero-stat { text-align: center; cursor: default; }
.hero-stat-number { font-size: 2rem; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: .75rem; color: var(--text-3); font-weight: 500; letter-spacing: .02em; margin-top: 4px; }

/* ========= PAGE CTA ========= */
.page-cta { padding: 80px 0; text-align: center; }
.page-cta h2 { margin-bottom: 12px; }
.page-cta p { color: var(--text-2); font-size: 1rem; margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; }
.page-cta .cta-actions { display: flex; gap: 10px; justify-content: center; }

/* ========= FOOTER ========= */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--text-3); }
.footer-logo img { width: 22px; height: 22px; opacity: .5; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; font-size: .78rem; color: var(--text-3); transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: .72rem; color: var(--text-3); }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .solution-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .how-steps::before { display: none; }
  .audience-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  h1 { font-size: 2.2rem; }
  .subpage-hero { padding: 110px 0 48px; }
  .how-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .footer .wrap { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
