/* ══════════════════════════════════════════════════════════════════════
   BIZLINXOS 2.0 — Brand Design System
   White-dominant · Feminine · Sparkle
   ══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────────── */
:root {
  --white: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8fc;
  --surface: #e8e8ec;
  --surface-elevated: #f0f0f6;
  --surface-hover: #f5f5fa;
  --purple: #8b5cf6;
  --purple-dim: #7c3aed;
  --purple-glow: rgba(139, 92, 246, 0.15);
  --purple-glow-strong: rgba(139, 92, 246, 0.25);
  --teal: #14b8a6;
  --teal-dim: #0d9488;
  --teal-glow: rgba(20, 184, 166, 0.12);
  --green: #00c27a;
  --warm: #ff6b4a;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: rgba(139, 92, 246, 0.12);
  --border-strong: rgba(139, 92, 246, 0.2);
  --shadow-soft: 0 4px 20px rgba(139, 92, 246, 0.08);
  --shadow-card: 0 8px 32px rgba(139, 92, 246, 0.1);
  --shadow-hover: 0 12px 40px rgba(139, 92, 246, 0.16);
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-input: 10px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Sparkle Animations ────────────────────────────────────────────── */
@keyframes sparkle {
  0%   { transform: scale(1);    box-shadow: var(--shadow-card); }
  40%  { transform: scale(1.04); box-shadow: 0 0 24px rgba(139,92,246,0.35); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1);    box-shadow: var(--shadow-card); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--shadow-card); }
  50%       { box-shadow: 0 0 32px rgba(139,92,246,0.3), 0 4px 20px rgba(139,92,246,0.15); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@keyframes sparkleDot {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.8); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Navigation ────────────────────────────────────────────────────── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: block;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139,92,246,0.25);
}
.btn-primary:hover {
  background: var(--purple-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.4);
}
.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--purple);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(20,184,166,0.2);
}
.btn-teal:hover {
  background: var(--teal-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(20,184,166,0.3);
}
.btn-warm {
  background: var(--warm);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,74,0.25);
}
.btn-warm:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }

/* ── Hero Section ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20,184,166,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-glow);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--purple);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-label .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 680px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: normal;
  color: var(--purple);
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── Hub Cards ──────────────────────────────────────────────────────── */
.hub-section { padding: 100px 40px; }
.hub-section h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.hub-section .subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 480px;
}
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
}
.hub-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow-soft);
}
.hub-card:hover {
  background: var(--surface-elevated);
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  animation: glowPulse 2s ease infinite;
}
.hub-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.hub-card.buyer-card .card-icon { background: var(--teal-glow); }
.hub-card.seller-card .card-icon { background: var(--purple-glow); }
.hub-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.hub-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}
.hub-card .card-arrow {
  margin-top: 24px;
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
}
.hub-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ── Form Pages ─────────────────────────────────────────────────────── */
.form-page {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-secondary);
}
.form-page .form-container { width: 100%; max-width: 680px; }
.form-page h1 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.form-page .form-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select option { background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 32px; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

/* Range display */
.range-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--teal);
  margin-top: 6px;
}
.range-display .preview {
  background: var(--teal-glow);
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
}

/* ── Results Page ──────────────────────────────────────────────────── */
.results-page {
  min-height: 100vh;
  padding: 120px 40px 80px;
  background: var(--bg-secondary);
}
.results-container { max-width: 860px; margin: 0 auto; }
.results-header { margin-bottom: 48px; }
.results-header h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.results-header p { color: var(--text-secondary); font-size: 1rem; }
.profile-summary {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.profile-summary .stat { display: flex; flex-direction: column; gap: 4px; }
.profile-summary .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.profile-summary .stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-head);
}
.match-count {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.match-count strong { color: var(--purple); }
.match-list { display: flex; flex-direction: column; gap: 16px; }
.match-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.4s ease both;
  cursor: pointer;
}
.match-card:hover {
  background: var(--surface-elevated);
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  animation: sparkle 0.5s ease-out;
}
.match-rank {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 56px;
  text-align: center;
  line-height: 1;
}
.match-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.match-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.match-tag {
  font-size: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--text-secondary);
}
.match-score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
}
.score-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.score-high { background: var(--teal-glow); color: var(--teal); border: 1.5px solid rgba(20,184,166,0.3); }
.score-med  { background: var(--purple-glow); color: var(--purple); border: 1.5px solid var(--border-strong); }
.score-low  { background: var(--surface); color: var(--text-muted); border: 1.5px solid var(--border); }
.score-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.breakdown-bars { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.breakdown-bar-bg {
  flex: 1; height: 4px;
  background: var(--surface);
  border-radius: 2px;
  max-width: 80px;
}
.breakdown-bar-fill {
  height: 100%;
  background: var(--purple);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.no-matches {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-secondary);
}
.no-matches h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--purple); }

/* ── Error Page ────────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: var(--bg-secondary);
}
.error-page h1 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 12px; }
.error-page p { color: var(--text-secondary); }

/* ── Misc ──────────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 900px;
  margin: 0 auto;
}
.footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

/* ── Badge Pills ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 10px;
  letter-spacing: 0.4px;
}
.badge-purple { background: var(--purple-glow); color: var(--purple); border: 1px solid var(--border-strong); }
.badge-teal   { background: var(--teal-glow);   color: var(--teal);   border: 1px solid rgba(20,184,166,0.2); }
.badge-warn   { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.badge-error  { background: rgba(255,107,74,0.1); color: var(--warm); border: 1px solid rgba(255,107,74,0.2); }

/* ── Score Meters ──────────────────────────────────────────────────── */
.score-meter { display: flex; flex-direction: column; gap: 16px; }
.score-meter-row { display: flex; align-items: center; gap: 12px; }
.score-meter-label { font-size: 0.75rem; color: var(--text-secondary); width: 140px; flex-shrink: 0; }
.score-meter-bar-bg {
  flex: 1; height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}
.score-meter-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}
.score-meter-bar-fill.purple { background: var(--purple); }
.score-meter-bar-fill.teal   { background: var(--teal); }
.score-meter-bar-fill.green  { background: var(--green); }
.score-meter-value { font-size: 0.75rem; font-weight: 600; width: 36px; text-align: right; color: var(--text-primary); }

/* ── Info Cards ────────────────────────────────────────────────────── */
.info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

/* ── Verification Status ───────────────────────────────────────────── */
.vstatus-verified   { color: var(--teal); }
.vstatus-pending   { color: #f59e0b; }
.vstatus-flagged   { color: var(--warm); }
.vstatus-unverified { color: var(--text-muted); }

/* ── Section Headers ───────────────────────────────────────────────── */
.section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-header h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.section-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--purple-glow);
  color: var(--purple);
}

/* ── Check List ────────────────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.check-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ── Flag Alerts ───────────────────────────────────────────────────── */
.flag-alert {
  background: rgba(255,107,74,0.06);
  border: 1px solid rgba(255,107,74,0.15);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.flag-alert.severity-medium { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.15); }

/* ── OTP Input Group ───────────────────────────────────────────────── */
.otp-group { display: flex; gap: 12px; align-items: center; }
.otp-input {
  width: 140px !important;
  font-size: 1.4rem !important;
  letter-spacing: 4px;
  text-align: center;
  font-family: 'Space Grotesk', monospace;
}

/* ── Progress Stepper ──────────────────────────────────────────────── */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.step.active { color: var(--purple); font-weight: 600; }
.step.done   { color: var(--teal); }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-head);
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
}
.step.done .step-num   { background: var(--teal);   border-color: var(--teal);   color: var(--white); }
.step.active .step-num { background: var(--purple); border-color: var(--purple); color: var(--white); }
.step-sep { flex: 1; height: 1px; background: var(--border); margin: 0 12px; }

/* ── Staggered animations ───────────────────────────────────────────── */
.match-card:nth-child(1) { animation-delay: 0.05s; }
.match-card:nth-child(2) { animation-delay: 0.10s; }
.match-card:nth-child(3) { animation-delay: 0.15s; }
.match-card:nth-child(4) { animation-delay: 0.20s; }
.match-card:nth-child(5) { animation-delay: 0.25s; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .top-nav { padding: 0 20px; }
  .top-nav .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hub-section { padding: 60px 20px; }
  .hub-grid { grid-template-columns: 1fr; }
  .form-page { padding: 100px 20px 60px; }
  .results-page { padding: 100px 20px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: 40px 1fr; }
  .match-score-badge { grid-column: 1 / -1; flex-direction: row; gap: 10px; }
  .score-circle { width: 44px; height: 44px; font-size: 0.875rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  /* Calculator — two-col to stacked */
  .calc-grid { grid-template-columns: 1fr; }
  .calc-page { padding: 70px 16px 60px; }
  .calc-hero { padding: 40px 0 32px; }
  .calc-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .calc-nav { padding: 0 16px; }
  .calc-nav-links a:not(.calc-nav-cta) { display: none; }
  .form-card, .results-card { padding: 20px 16px; }
  /* Seller/buyer intake two-col forms */
  .intake-grid { grid-template-columns: 1fr; }
  /* Score meter row wrap */
  .score-meter-row { flex-wrap: wrap; }
  .score-meter-label { width: 100%; }
  /* Profile summary stack */
  .profile-summary { flex-direction: column; gap: 16px; }
}

@media (max-width: 375px) {
  .top-nav { padding: 0 16px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .calc-hero h1 { font-size: 1.5rem; }
  .form-card, .results-card { padding: 16px 12px; }
  /* Prevent iOS zoom on input focus */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .match-card { padding: 16px; }
  .profile-summary { gap: 12px; }
}

/* Signing status badges */
.sig-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 8px; font-size: 0.72rem; font-weight: 700; border: 1px solid; }
.sig-teal { background: rgba(20,184,166,0.08); color: #0d9488; border-color: rgba(20,184,166,0.25); }
.sig-amber { background: rgba(245,158,11,0.08); color: #d97706; border-color: rgba(245,158,11,0.25); }
.sig-gray { background: rgba(107,114,128,0.08); color: #6b7280; border-color: rgba(107,114,128,0.2); }
.sig-badge a { color: inherit \!important; text-decoration: none; }
.sig-badge a:hover { text-decoration: underline; }
