/* connectunited.guide — global styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1E3D;
  --navy-mid: #0F2A4F;
  --green: #1DB47A;
  --green-light: #e8f7f0;
  --green-border: #b6e8d4;
  --text: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --border: #e5e7eb;
  --border-faint: #f0f0f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-w: 900px;
  --max-w-text: 660px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logomark {
  width: 30px;
  height: 30px;
  background: var(--green);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.nav-wordmark {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.88; text-decoration: none; color: #fff; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 72px 24px 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,180,122,0.15);
  border: 1px solid rgba(29,180,122,0.3);
  border-radius: 20px;
  padding: 5px 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.13;
  max-width: 680px;
  margin: 0 auto 18px;
  letter-spacing: -0.9px;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.88; color: #fff; text-decoration: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; text-decoration: none; }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-stat {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-stat:last-child { border-right: none; }

.stat-num {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── CLUSTER NAV TABS ── */
.cluster-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cluster-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}

.cluster-tab {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  display: block;
}

.cluster-tab:hover { color: var(--navy); text-decoration: none; }
.cluster-tab.active { color: var(--navy); border-bottom-color: var(--green); }

/* ── SECTIONS ── */
.section {
  padding: 60px 24px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: var(--max-w-text);
  margin-bottom: 36px;
}

/* ── CARDS ── */
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--green-border); }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.card-icon.green { background: var(--green-light); }
.card-icon.blue { background: #eff6ff; }
.card-icon.purple { background: #f5f3ff; }
.card-icon.yellow { background: #fefce8; }
.card-icon.red { background: #fff1f2; }
.card-icon.teal { background: #f0fdfa; }

.card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  margin-top: 14px;
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

.card-count {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  margin-top: 12px;
}

/* ── HOW IT WORKS LOOP ── */
.how-section {
  background: var(--navy);
  padding: 60px 24px;
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.how-h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.how-lead {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  max-width: 520px;
}

.loop {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 0;
}

.loop-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.loop-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 16px;
}

.loop-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.loop-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.loop-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.loop-tag {
  display: inline-block;
  background: rgba(29,180,122,0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── TRUST BAND ── */
.trust-band {
  background: var(--green-light);
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
  padding: 18px 24px;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-mid);
  white-space: nowrap;
}

.trust-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-list { max-width: var(--max-w-text); }

.faq-item {
  border-bottom: 1px solid var(--border-faint);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.4;
}

.faq-question .faq-toggle {
  color: var(--text-faint);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 300;
}

.faq-question[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer.open { display: block; }
.faq-answer a { color: var(--green); }
.faq-answer a:hover { text-decoration: underline; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--navy);
  padding: 48px 24px 52px;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.page-hero h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 640px;
}

.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  max-width: 540px;
  line-height: 1.65;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}

.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--text-faint);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--green); }

.breadcrumb span { color: var(--text-faint); }

/* ── ARTICLE BODY ── */
.article-body {
  max-width: var(--max-w-text);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

.article-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-body li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}

.article-body a {
  color: var(--green);
}

.callout {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.callout strong { color: var(--navy); }

.verify-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
}

.verify-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.verify-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-faint);
  font-size: 13px;
}

.verify-link:last-child { border-bottom: none; }

.verify-link a {
  color: var(--green);
  font-weight: 500;
  font-size: 13px;
}

.verify-link span {
  color: var(--text-faint);
  font-size: 12px;
}

/* ── DISCLAIMER ── */
.site-disclaimer {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  padding: 24px 24px;
}

.disclaimer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.75;
}

.disclaimer-inner strong { color: var(--text-muted); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 48px 24px 32px;
  color: rgba(255,255,255,0.45);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; border-radius: var(--radius-md); }
  .hero-stat { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:last-child, .hero-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-h2 { font-size: 22px; }
  .trust-inner { gap: 14px; }
}
