/* Asteroid Recruiting marketing site — extended sections */

/* ---------- NAV (extras: mobile, signin) ---------- */
.site-nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-default);
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: auto;
  color: var(--brand-navy);
}
.site-nav__burger i { width: 20px; height: 20px; }
.site-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-3) var(--space-6) var(--space-5);
}
.site-nav__mobile a:not(.btn) {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 500;
  font-size: 15px;
  color: var(--brand-navy);
  text-decoration: none;
}
.site-nav__mobile .btn { margin-top: var(--space-2); justify-content: center; }

/* ---------- HERO upgrades ---------- */
.hero { padding-top: var(--space-16); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
}
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__title { margin-bottom: var(--space-5); max-width: 14ch; }
.hero__sub { margin-bottom: var(--space-6); }
.hero__ctas { margin-bottom: var(--space-8); }
.hero__trust {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero__trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero__trust-row {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero__trust-row span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: var(--ls-wide);
  color: var(--brand-navy);
  opacity: 0.7;
}
.hero__preview-wrap { position: relative; min-width: 0; }
.hero__sparkle {
  position: absolute;
  inset: -40px;
  background: radial-gradient(50% 50% at 70% 30%, rgba(0,168,168,0.18), transparent 60%),
              radial-gradient(40% 40% at 20% 80%, rgba(240,120,72,0.18), transparent 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
}

/* Hero preview card */
.hero-preview {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 100%;
}
.hero-preview__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--border-default);
  min-width: 0;
}
.hero-preview__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero-preview__url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-preview__body { padding: var(--space-5) var(--space-5) var(--space-4); }
.hero-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  gap: var(--space-4);
  min-width: 0;
}
.hero-preview__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-teal-deep);
  margin-bottom: 4px;
}
.hero-preview__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-navy);
}
.hero-preview__pulse {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  background: var(--neutral-100);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  min-width: 0;
  flex-shrink: 1;
}
.hero-preview__pulse span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-preview__pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 0 0 rgba(27, 158, 107, 0.6);
  animation: hp-pulse 1.6s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes hp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(27,158,107,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(27,158,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,158,107,0); }
}
.hero-preview__list { display: flex; flex-direction: column; gap: 6px; }
.hero-preview__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.hero-preview__row:hover { border-color: var(--brand-teal); box-shadow: var(--shadow-xs); }
.hero-preview__col { min-width: 0; }
.hero-preview__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal-deep));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-preview__name { font-weight: 700; font-size: 13px; color: var(--brand-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-preview__role { font-size: 11px; color: var(--fg-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-preview__tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.hero-preview__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--neutral-100);
  color: var(--fg-2);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}
.hero-preview__score { text-align: right; flex-shrink: 0; }
.hero-preview__score-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-orange);
  line-height: 1;
}
.hero-preview__score-label {
  font-size: 10px; color: var(--fg-3);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-top: 2px;
}
.hero-preview__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border-default);
  font-size: 12px;
  color: var(--fg-2);
  gap: var(--space-2);
  flex-wrap: wrap;
}
.hero-preview__foot i { width: 14px; height: 14px; color: var(--status-success); vertical-align: -2px; }
.hero-preview__cta { color: var(--brand-orange-deep); font-weight: 700; white-space: nowrap; }

/* ---------- LOGO BAR ---------- */
.logo-bar { padding: var(--space-12) 0; background: #fff; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.logo-bar__label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--space-6);
}
.logo-bar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.logo-bar__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: var(--ls-wider);
  color: var(--brand-navy);
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.logo-bar__item:hover { opacity: 1; }

/* ---------- FEATURES ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.feature {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(240,120,72,0.10);
  color: var(--brand-orange-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature__icon i { width: 22px; height: 22px; }
.feature:nth-child(2n) .feature__icon { background: rgba(0,168,168,0.10); color: var(--brand-teal-deep); }
.feature:nth-child(3n) .feature__icon { background: rgba(16,48,80,0.08); color: var(--brand-navy); }
.feature__title { font-size: 18px; font-weight: 700; color: var(--brand-navy); line-height: 1.25; }
.feature__body { font-size: 14px; color: var(--fg-2); line-height: 1.55; }

/* ---------- PLATFORM SHOWCASE ---------- */
.platform { background: var(--neutral-50); }
.platform__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-10);
}
.platform__title { max-width: 16ch; }
.platform__sub { font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 50ch; }
.platform__tabs {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: var(--space-6);
}
.platform__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.platform__tab i { width: 16px; height: 16px; }
.platform__tab:hover { color: var(--brand-navy); }
.platform__tab.is-active { background: var(--brand-navy); color: #fff; }
.platform__panel {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

/* Pipeline kanban */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.pipeline__col {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 380px;
}
.pipeline__col-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: var(--space-3);
  padding: 0 4px;
}
.pipeline__count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  color: var(--brand-navy);
}
.pipeline__items { display: flex; flex-direction: column; gap: var(--space-2); }
.pipeline__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.pipeline__card.is-muted { background: transparent; box-shadow: none; border-style: dashed; color: var(--fg-3); }
.pipeline__flag { position: absolute; top: 0; left: 0; bottom: 0; width: 3px; }
.pipeline__flag--orange { background: var(--brand-orange); }
.pipeline__flag--teal { background: var(--brand-teal); }
.pipeline__name { font-size: 13px; font-weight: 700; color: var(--brand-navy); }
.pipeline__card.is-muted .pipeline__name { color: var(--fg-3); font-weight: 500; }
.pipeline__meta { font-size: 11px; color: var(--fg-2); margin-top: 4px; }

/* Matching */
.matching { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.matching__candidate {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  grid-column: 1 / -1;
}
.matching__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal-deep));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.matching__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--brand-navy); }
.matching__role { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.matching__big { text-align: right; }
.matching__big-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: var(--ls-tighter);
}
.matching__big-label {
  font-size: 11px; letter-spacing: var(--ls-wider);
  text-transform: uppercase; color: var(--fg-3);
}
.matching__factors { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--space-3); }
.matching__factor-row {
  display: flex; justify-content: space-between; margin-bottom: 6px;
  font-size: 13px;
}
.matching__factor-label { color: var(--fg-1); font-weight: 500; }
.matching__factor-score {
  font-family: var(--font-mono); font-weight: 600; color: var(--brand-navy);
}
.matching__bar {
  height: 8px;
  background: var(--neutral-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.matching__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-teal-deep), var(--brand-teal));
  border-radius: var(--radius-pill);
  transition: width 600ms var(--ease-out);
}
.matching__note {
  grid-column: 1 / -1;
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  background: rgba(0,168,168,0.06);
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--fg-1);
}
.matching__note i { width: 18px; height: 18px; color: var(--brand-teal-deep); flex-shrink: 0; margin-top: 1px; }

/* Comp */
.comp__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-6); gap: var(--space-4); }
.comp__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--brand-navy); }
.comp__sub { font-size: 13px; color: var(--fg-2); margin-top: 4px; }
.comp__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,158,107,0.10);
  color: var(--status-success);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.comp__chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--status-success);
  animation: hp-pulse 1.6s infinite;
}
.comp__chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  align-items: end;
  height: 280px;
  padding: 0 var(--space-2);
  border-bottom: 1px solid var(--border-default);
  margin-bottom: var(--space-5);
}
.comp__bar {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-2);
  height: 100%;
}
.comp__bar-amount {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
}
.comp__bar-track {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, transparent, var(--neutral-100));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.comp__bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--brand-navy-soft), var(--brand-navy));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: height 600ms var(--ease-out);
}
.comp__bar.is-highlight .comp__bar-fill {
  background: linear-gradient(180deg, var(--brand-orange-warm), var(--brand-orange));
  box-shadow: 0 -8px 24px rgba(240,120,72,0.30);
}
.comp__bar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: var(--ls-wide);
}
.comp__legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-1); }
.comp__legend-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 8px; vertical-align: -1px;
}
.comp__legend-dot--orange { background: var(--brand-orange); }
.comp__legend-dot--teal { background: var(--brand-teal); }

/* ---------- TESTIMONIALS ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -36px; right: -10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 220px;
  color: var(--neutral-100);
  line-height: 1;
  pointer-events: none;
}
.testimonial__stat {
  display: flex; align-items: baseline; gap: 10px;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: var(--space-3);
}
.testimonial__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: var(--ls-tighter);
}
.testimonial__stat-label { font-size: 13px; color: var(--fg-2); }
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: var(--brand-navy);
  margin: 0;
  flex: 1;
  position: relative; z-index: 1;
}
.testimonial__caption { display: flex; align-items: center; gap: var(--space-3); }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal-deep));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial__name { font-size: 14px; font-weight: 700; color: var(--brand-navy); }
.testimonial__title { font-size: 12px; color: var(--fg-2); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}
.faq__head .h2 { margin-top: var(--space-3); margin-bottom: var(--space-4); }
.faq__sub { font-size: 16px; color: var(--fg-2); line-height: 1.55; }
.faq__sub a { color: var(--brand-orange-deep); font-weight: 600; }
.faq__list { display: flex; flex-direction: column; gap: var(--space-2); }
.faq__item {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq__item.is-open { border-color: var(--brand-teal); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-navy);
  text-align: left;
  cursor: pointer;
}
.faq__q i { width: 18px; height: 18px; color: var(--brand-teal-deep); flex-shrink: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
  padding: 0 var(--space-5);
}
.faq__item.is-open .faq__a {
  max-height: 240px;
  padding: 0 var(--space-5) var(--space-5);
}
.faq__a p { font-size: 15px; color: var(--fg-2); line-height: 1.6; }

/* ---------- CTA banner ---------- */
.cta { padding: var(--space-16) 0; background: var(--neutral-50); }
.cta__inner {
  position: relative;
  background: var(--brand-navy-deep);
  color: var(--fg-on-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta__bg {
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 90% 10%, rgba(0,168,168,0.25), transparent 60%),
              radial-gradient(50% 70% at 10% 100%, rgba(240,120,72,0.20), transparent 60%);
  pointer-events: none;
}
.cta__watermark {
  position: absolute;
  right: -100px; bottom: -120px;
  height: 480px;
  opacity: 0.06;
  transform: rotate(12deg);
}
.cta__copy { position: relative; z-index: 1; }
.cta__eyebrow { color: var(--brand-teal-soft); margin-bottom: var(--space-3); }
.cta__title { color: #fff; font-size: 56px; line-height: 1; margin-bottom: var(--space-4); }
.cta__sub { font-size: 18px; color: rgba(242,245,249,0.75); line-height: 1.55; }
.cta__form { position: relative; z-index: 1; }
.cta__label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-teal-soft);
  margin-bottom: var(--space-3);
}
.cta__row {
  display: flex; gap: var(--space-2);
  background: rgba(255,255,255,0.06);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.10);
}
.cta__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  padding: 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: 15px;
  min-width: 0;
}
.cta__input::placeholder { color: rgba(242,245,249,0.45); }
.cta__btn { border-radius: var(--radius-pill) !important; }
.cta__perks {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(242,245,249,0.7);
}
.cta__perks span { display: inline-flex; align-items: center; gap: 6px; }
.cta__perks i { width: 14px; height: 14px; color: var(--brand-teal-soft); }

/* ---------- FOOTER (extras) ---------- */
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}
.site-footer__brand { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__brand-row {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border: 0;
  color: #fff;
}
.site-footer__brand-row img { height: 36px; }
.site-footer__name { font-weight: 800; font-size: 15px; letter-spacing: var(--ls-widest); color: #fff; }
.site-footer__news { margin-top: var(--space-3); max-width: 320px; }
.site-footer__news-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-teal-soft);
  margin-bottom: var(--space-3);
}
.site-footer__news-row { display: flex; gap: var(--space-2); }
.site-footer__news-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  min-width: 0;
}
.site-footer__news-input::placeholder { color: rgba(242,245,249,0.4); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}
.site-footer__legal {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
  padding-top: var(--space-5);
  font-size: 12px;
  color: rgba(242,245,249,0.5);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.site-footer__legal-links { display: flex; gap: var(--space-5); }
.site-footer__legal-links a { color: rgba(242,245,249,0.5); border: 0; }
.site-footer__legal-links a:hover { color: var(--brand-orange-warm); }

/* Override original Footer grid (was 1.2/2.8 → now we have a top class) */
.site-footer__inner { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__preview-wrap { order: -1; }
  .platform__head { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .matching { grid-template-columns: 1fr; }
  .faq__layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .cta__inner { grid-template-columns: 1fr; padding: var(--space-12) var(--space-6); }
  .cta__title { font-size: 40px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 720px) {
  .site-nav__links, .site-nav__signin { display: none; }
  .site-nav__cta .btn-primary { display: none; }
  .site-nav__burger { display: inline-flex; }
  .site-nav.is-scrolled + .site-nav__mobile, .site-nav__mobile { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .logo-bar__row { justify-content: center; gap: var(--space-5); }
  .logo-bar__item { font-size: 16px; }
  .hero .display-lg { font-size: 44px; line-height: 1.05; }
  .cta__title { font-size: 32px; }
  .platform__panel { padding: var(--space-4); }

  /* Tighter vertical rhythm on mobile (was 80px, now 48px) */
  .section { padding: var(--space-12) 0; }
  .hero { padding: var(--space-10) 0 var(--space-12); }
  .section__head { margin-bottom: var(--space-8); }

  /* Hero — title and copy */
  .hero__title { max-width: 100%; }
  .hero__sub { font-size: 17px; }

  /* Hero stats — 2x2 grid instead of single column */
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .hero__stat-num { font-size: 36px; }
  .hero__stat-suffix { font-size: 22px; }

  /* Stats section — was 64px, way too big on a 360px phone */
  .stats { gap: var(--space-6); }
  .stat__num { font-size: 44px; }
  .stat__label { font-size: 13px; }

  /* Pricing — kill the "featured tier" lift in stacked layout so cards line up */
  .tier--featured { transform: none; }
  .tier__flag { left: var(--space-4); }
  .tier__price-num { font-size: 36px; }

  /* Pipeline cols are way too tall (380px min) when stacked */
  .pipeline__col { min-height: auto; }
  .platform__panel { min-height: auto; }

  /* Make platform tabs scrollable horizontally rather than wrapping/squishing */
  .platform__tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }
  .platform__tabs::-webkit-scrollbar { display: none; }
  .platform__tab { flex-shrink: 0; padding: 10px 14px; font-size: 13px; }

  /* Comp chart — tighter gap so 5 bars fit comfortably */
  .comp__chart { gap: var(--space-2); height: 220px; }
  .comp__bar-amount { font-size: 11px; }
  .comp__bar-label { font-size: 10px; }
  .comp__head { flex-direction: column; align-items: flex-start; gap: var(--space-3); }

  /* Touch targets — bump small buttons to ~44px tall on mobile */
  .btn-sm { padding: 12px 16px; font-size: 14px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .tier .btn { padding: 14px 20px; }

  /* Mobile menu items get more breathing room */
  .site-nav__mobile a:not(.btn) { padding: 14px 0; }
  .site-nav__mobile .btn { padding: 14px 20px; }

  /* Hero preview card — let head and foot stack so content fits cleanly */
  .hero-preview__head { flex-direction: column; gap: var(--space-2); align-items: flex-start; }
  .hero-preview__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-preview__chrome { padding: 10px 12px; gap: 6px; }
  .hero-preview__url { font-size: 10px; padding: 3px 8px; margin-left: 6px; }
  .hero-preview__pulse { font-size: 10px; padding: 3px 8px; max-width: 100%; }

  /* CTA card — softer padding so the form doesn't feel cramped */
  .cta__inner { padding: var(--space-10) var(--space-5); border-radius: var(--radius-lg); }
  .cta__row { flex-direction: column; padding: 8px; border-radius: var(--radius-lg); gap: var(--space-2); }
  .cta__input { padding: var(--space-3) var(--space-4); width: 100%; }
  .cta__btn { width: 100%; justify-content: center; }
  .cta__sub { font-size: 16px; }

  /* Testimonials — quote mark was overlapping content on narrow widths */
  .testimonial::before { font-size: 140px; top: -24px; right: 0; }
  .testimonial__quote { font-size: 16px; }
  .testimonial__stat-num { font-size: 30px; }

  /* FAQ — give the question text room to breathe */
  .faq__q { padding: var(--space-3) var(--space-4); font-size: 15px; }
  .faq__item.is-open .faq__a { padding: 0 var(--space-4) var(--space-4); }

  /* Footer cols stay readable */
  .site-footer { padding: var(--space-12) 0 var(--space-5); }
  .site-footer__top { gap: var(--space-8); padding-bottom: var(--space-8); }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .site-footer__legal-links { flex-wrap: wrap; gap: var(--space-3); }
}

/* ---------- TINY PHONES (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .site-nav__inner { padding: 12px var(--space-4); gap: var(--space-3); }
  .site-nav__brand span { font-size: 14px; }

  /* Hero — drop the headline a notch more so it doesn't wrap awkwardly */
  .hero .display-lg { font-size: 36px; line-height: 1.05; }
  .hero__sub { font-size: 16px; }
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero__stat-num { font-size: 32px; }

  /* Section heads */
  h2, .h2 { font-size: 28px; }
  .section__head { margin-bottom: var(--space-6); }

  /* CTA */
  .cta__title { font-size: 28px; }
  .cta__inner { padding: var(--space-8) var(--space-4); }
  .cta__perks { gap: var(--space-3); font-size: 12px; }

  /* Footer cols collapse to single column */
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--space-6); }

  /* Stats section */
  .stats { grid-template-columns: 1fr; gap: var(--space-5); }
  .stat__num { font-size: 40px; }

  /* Hero preview card — tighten so it fits cleanly on small phones */
  .hero-preview__row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; }
  .hero-preview__avatar { width: 32px; height: 32px; font-size: 11px; }
  .hero-preview__name { font-size: 12px; }
  .hero-preview__role { font-size: 10px; }
  .hero-preview__score-num { font-size: 18px; }
  .hero-preview__body { padding: var(--space-4) var(--space-4) var(--space-3); }

  /* Comp chart on tiny screens — let it scroll horizontally */
  .comp__chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
