/* We Need Us — Marketing site styles
   Built on colors_and_type.css tokens (loaded before this file). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  color: var(--fg-3);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link-indigo); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }

/* --------------- Layout --------------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* --------------- Header --------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--fg-1); font-size: 17px; letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--fg-3); font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav a:hover { color: var(--fg-1); background: var(--bg-2); text-decoration: none; }
.nav a.active { color: var(--brand-blue); background: var(--brand-blue-bg); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 18px; }

.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  padding: 8px; border-radius: 8px;
}
@media (max-width: 820px) {
  .site-header .inner { gap: 16px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 64px; left: 12px; right: 12px;
    background: white; padding: 10px;
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open a {
    padding: 12px 14px; font-size: 15px;
  }
  .nav.is-open .mobile-ctas {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 10px; padding-top: 12px;
    border-top: 1px solid var(--border-soft);
  }
  .nav.is-open .mobile-ctas .btn { justify-content: center; }
  .nav-cta { display: none; }
}
@media (min-width: 821px) {
  .nav .mobile-ctas { display: none; }
}

/* --------------- Buttons --------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-hover); text-decoration: none; box-shadow: 0 8px 20px -8px var(--brand-blue); }
.btn-outline { background: #fff; color: var(--fg-2); border-color: var(--border); }
.btn-outline:hover { background: var(--bg-1); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg-2); }
.btn-ghost:hover { background: var(--bg-2); text-decoration: none; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-arrow::after {
  content: "→"; display: inline-block; transition: transform var(--dur-fast) var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* --------------- Wave background (signature) --------------- */
.waves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wave-top, .wave-bottom {
  position: absolute; border-radius: 50%;
  filter: blur(0.5px);
}
.wave-top {
  top: -40%; left: -20%; width: 140%; height: 80%;
  background: #F5F3FF;
}
.wave-bottom {
  bottom: -55%; right: -20%; width: 140%; height: 80%;
  background: var(--purple-100);
}
.hero-surface { position: relative; isolation: isolate; }
.hero-surface > * { position: relative; z-index: 1; }

/* --------------- Typography --------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-blue);
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-blue-bg);
}
.eyebrow.neutral { color: var(--fg-4); background: var(--bg-2); }

h1, h2, h3, h4 { color: var(--fg-1); margin: 0; }
.display {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; color: var(--fg-1);
}
.h1-mkt { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.h2-mkt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.h3-mkt { font-size: 20px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--fg-3); }
.muted { color: var(--fg-4); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* --------------- Cards --------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card.elevated:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 8px; }

.icon-chip {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-blue-bg); color: var(--brand-blue);
  margin-bottom: 16px;
}
.icon-chip.lav { background: var(--purple-100); color: var(--purple-dark); }
.icon-chip.mint { background: #ECFDF5; color: #059669; }
.icon-chip.peach { background: #FFF7ED; color: #C2410C; }
.icon-chip.rose { background: #FFF1F2; color: #BE185D; }
.icon-chip.sky { background: #E0F2FE; color: #0369A1; }
.icon-chip svg { width: 20px; height: 20px; }

/* --------------- Footer --------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fafafb;
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--fg-3); font-size: 14.5px; }
.footer-grid a:hover { color: var(--fg-1); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--fg-4); font-size: 13px;
}
.footer-bottom a { color: var(--fg-4); }

/* Crisis banner in footer */
.crisis {
  margin-top: 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.crisis strong { color: var(--fg-1); }
.crisis p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.crisis .icon-chip { margin: 0; flex-shrink: 0; background: var(--warning-bg); color: var(--warning); }

/* --------------- Misc --------------- */
.kicker-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-size: 40px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.02em; line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--fg-4); }

.divider { height: 1px; background: var(--border); margin: 48px 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--bg-2); color: var(--fg-3);
  border: 1px solid var(--border);
}

/* Small-screen image handling */
img.hero-photo { border-radius: 24px; box-shadow: var(--shadow-lg); }
