/* ─── Base & Variables ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Real KneesUp Brand Colors (from kneesupvenues.com) ── */
  --smoke-blue:   #192531;   /* Main dark bg — hero, header, footer */
  --navy-dark:    #0F1419;   /* Deeper dark */
  --navy-light:   #2A3442;   /* Cards on dark bg */
  --yellow:       #F3E951;   /* Primary CTA / accent */
  --yellow-dark:  #E8DC3D;   /* Hover state */
  --yellow-light: #F5EE7A;   /* Light accent */
  --light-blue:   #DAE4F3;   /* Soft bg panels */
  --light-blue-dark: #C8D9EC;

  /* ── UI tokens ── */
  --bg:           #F8FAFB;
  --card-bg:      #ffffff;
  --border:       #e2e8f0;
  --text-primary: #1A2332;
  --text-muted:   #6B7280;
  --success:      #0e9f6e;
  --warning:      #d97706;
  --danger:       #dc2626;
  --radius:       14px;
  --radius-sm:    9px;
  --shadow:       0 2px 14px rgba(25, 37, 49, 0.08);
  --shadow-lg:    0 8px 32px rgba(25, 37, 49, 0.16);
}


html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── SVG Icon Utilities ─────────────────────────────────────────────────── */
.badge-icon          { width: 13px; height: 13px; flex-shrink: 0; }
.trust-badge-icon    { width: 16px; height: 16px; flex-shrink: 0; }
.btn-icon-l          { width: 15px; height: 15px; flex-shrink: 0; }
.btn-icon-r          { width: 15px; height: 15px; flex-shrink: 0; }
.callout-icon        { width: 16px; height: 16px; flex-shrink: 0; color: var(--smoke-blue); opacity: 0.6; }
.check-arrow         { width: 16px; height: 16px; }
.verify-all-icon     { width: 16px; height: 16px; flex-shrink: 0; }
.flags-title-icon    { width: 18px; height: 18px; flex-shrink: 0; color: var(--warning); }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--smoke-blue);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(15,20,25,0.25);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: flex; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.brand-accent { color: var(--yellow); }

.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(243, 233, 81, 0.15);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(243,233,81,0.25);
}
/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--smoke-blue);
  color: white;
  padding: 48px 24px 40px;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-block;
  background: rgba(243, 233, 81, 0.15);
  border: 1px solid rgba(243,233,81,0.3);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.75;
  max-width: 480px;
  line-height: 1.6;
}

.trust-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ─── Main Layout ────────────────────────────────────────────────────────── */
.main-layout {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--bg);
}

/* ─── Stepper ────────────────────────────────────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  position: relative;
}

.step-check-icon { display: none; width: 14px; height: 14px; }
.step-item.done .step-num      { display: none; }
.step-item.done .step-check-icon { display: block; }

.step-item.active .step-circle {
  background: var(--yellow);
  color: var(--smoke-blue);
  box-shadow: 0 4px 12px rgba(243, 233, 81, 0.35);
}

.step-item.done .step-circle {
  background: var(--success);
  color: white;
}


.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.step-item.active .step-label { color: var(--smoke-blue); font-weight: 700; }
.step-item.done  .step-label { color: var(--success); }

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 24px;
  transition: background 0.3s;
  min-width: 20px;
}

/* ─── Panels ─────────────────────────────────────────────────────────────── */
.panels-container { position: relative; }

.panel {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: none;
  animation: fadeSlideIn 0.3s ease;
}
.panel.active { display: block; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.panel-icon {
  width: 52px; height: 52px;
  background: rgba(218, 228, 243, 0.5);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--smoke-blue);
}
.panel-icon svg { width: 26px; height: 26px; }

.panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--smoke-blue);
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Form ───────────────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group.full { grid-column: 1 / -1; }

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.req { color: #e53e3e; }

.field-input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--card-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.field-input:focus {
  border-color: var(--smoke-blue);
  box-shadow: 0 0 0 3px rgba(25,37,49,0.1);
}
.field-input::placeholder { color: #a8b8c8; }

.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(218, 228, 243, 0.4);
  border-left: 3px solid var(--smoke-blue);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ─── Input with button ───────────────────────────────────────────────────── */
.input-with-btn {
  display: flex;
  gap: 8px;
}
.input-with-btn .field-input { flex: 1; }

.btn-check {
  height: 44px;
  padding: 0 20px;
  background: var(--yellow);
  color: var(--smoke-blue);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.2s, transform 0.1s;
}
.btn-check:hover { background: var(--yellow-dark); }
.btn-check:active { transform: scale(0.97); }

.btn-check-sm {
  height: 44px;
  width: 44px;
  background: var(--light-blue);
  color: var(--smoke-blue);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-check-sm:hover { background: var(--smoke-blue); color: var(--yellow); }

/* ─── Result Cards ───────────────────────────────────────────────────────── */
.result-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
  animation: fadeSlideIn 0.3s ease;
}

.result-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
}

.result-score-badge {
  margin-left: auto;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--text-muted);
  transition: all 0.3s;
}
.result-score-badge.score-high   { background: #d1fae5; color: #065f46; }
.result-score-badge.score-medium { background: #fef3c7; color: #92400e; }
.result-score-badge.score-low    { background: #fee2e2; color: #991b1b; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  padding: 0;
}

.result-grid-item {
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.result-grid-item:last-child { border-right: none; }
.result-grid-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.result-grid-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
}

.signal-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.signal-chip.ok     { background: #d1fae5; color: #065f46; }
.signal-chip.warn   { background: #fef3c7; color: #92400e; }
.signal-chip.bad    { background: #fee2e2; color: #991b1b; }
.signal-chip.info   { background: rgba(12,71,114,0.08); color: var(--brand-blue); }

/* ─── Document Grid ──────────────────────────────────────────────────────── */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.doc-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.doc-card.uploaded {
  border-color: var(--success);
  background: #f0fdf4;
}

.doc-icon {
  width: 44px; height: 44px;
  background: rgba(218, 228, 243, 0.5);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--smoke-blue);
}
.doc-icon svg { width: 22px; height: 22px; }

.doc-info { flex: 1; }
.doc-title { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.doc-desc  { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 6px; }

.doc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 100px;
}
.doc-required    { background: #fee2e2; color: #991b1b; }
.doc-recommended { background: rgba(12,71,114,0.08); color: var(--brand-blue); }

.file-hidden { display: none; }

.btn-upload {
  padding: 8px 16px;
  border: 1.5px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--brand-blue);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-upload:hover { background: var(--brand-blue); color: white; }
.btn-upload.uploaded { background: var(--success); color: white; border-color: var(--success); }

.doc-score-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.doc-score-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.progress-track { flex: 1; height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-fill  { height: 100%; background: linear-gradient(90deg, var(--smoke-blue), #2A3442); border-radius: 100px; transition: width 0.5s ease; }
.doc-score-val  { font-size: 0.8rem; font-weight: 700; color: var(--brand-blue); white-space: nowrap; min-width: 50px; text-align: right; }

/* ─── Social ─────────────────────────────────────────────────────────────── */
.social-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

.social-field { display: flex; align-items: flex-start; gap: 14px; }

.social-icon {
  width: 44px; height: 44px;
  background: rgba(218, 228, 243, 0.5);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 22px;
  color: var(--smoke-blue);
}
.social-icon svg { width: 20px; height: 20px; }

.social-input-wrap { flex: 1; }

.social-result {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}
.social-result.ok   { background: #d1fae5; color: #065f46; }
.social-result.fail { background: #fee2e2; color: #991b1b; }

/* ─── Stripe Connect Card ────────────────────────────────────────────────────── */
.stripe-connect-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.stripe-connect-card .doc-icon {
  margin-bottom: 12px;
}

.stripe-connect-info {
  width: 100%;
}

.stripe-state { margin-top: 12px; }
.stripe-state.hidden { display: none; }

.stripe-state-msg {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-stripe-connect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--smoke-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
  justify-content: center;
}
.btn-stripe-connect:hover   { background: var(--navy-light); }
.btn-stripe-connect:active  { transform: scale(0.98); }
.btn-stripe-connect.outline {
  background: white;
  color: var(--smoke-blue);
  border: 1.5px solid var(--smoke-blue);
}
.btn-stripe-connect.outline:hover { background: var(--light-blue); }

.stripe-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.stripe-status-row .status-icon { width: 16px; height: 16px; flex-shrink: 0; }
.stripe-status-row.ok   { background: #d1fae5; color: #065f46; }
.stripe-status-row.warn { background: #fef3c7; color: #92400e; }

.stripe-account-id-display {
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--text-muted);
  margin-top: 6px;
}

.stripe-manual-toggle { margin-top: 10px; }
.btn-link {
  background: none;
  border: none;
  color: var(--smoke-blue);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-link:hover { color: var(--yellow-dark); }

.stripe-manual { margin-top: 10px; }
.stripe-manual-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}
.stripe-manual-hint a { color: var(--smoke-blue); }


.btn-verify-all {
  width: 100%;
  padding: 14px;
  background: var(--yellow);

  color: var(--smoke-blue);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s, transform 0.1s;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.btn-verify-all:hover   { background: var(--yellow-dark); }
.btn-verify-all:active  { transform: scale(0.98); }
.btn-verify-all:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Trust Score ────────────────────────────────────────────────────────── */
.score-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
}

.score-pending { display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--text-muted); font-size: 0.9rem; }

.score-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-ring {
  position: relative;
  width: 160px; height: 160px;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring-track { stroke: var(--accent); }
.score-ring-fill {
  stroke: var(--yellow);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease, stroke 0.5s;
}
.score-ring-label {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-ring-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1;
}
.score-ring-max { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.score-tier-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.tier-1     { background: #d1fae5; color: #065f46; }
.tier-2     { background: #fef3c7; color: #92400e; }
.tier-3     { background: #dbeafe; color: #1e40af; }
.tier-rej   { background: #fee2e2; color: #991b1b; }

.score-recommendation {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 400px;
  line-height: 1.5;
}

/* ─── Breakdown ──────────────────────────────────────────────────────────── */
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.breakdown-card {
  background: var(--light-blue);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bd-icon { display: flex; align-items: center; justify-content: center; color: var(--smoke-blue); }
.bd-icon svg { width: 24px; height: 24px; }
.bd-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bd-bar-track { width: 100%; height: 6px; background: rgba(255,255,255,0.6); border-radius: 100px; overflow: hidden; }
.bd-bar-fill  { height: 100%; background: var(--smoke-blue); border-radius: 100px; transition: width 1s ease; }
.bd-value { font-size: 1rem; font-weight: 700; color: var(--smoke-blue); }

/* ─── Flags ──────────────────────────────────────────────────────────────── */
.flags-section {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 16px;
}
.flags-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flags-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.flags-list li {
  font-size: 0.78rem;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.btn-primary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--yellow);
  color: var(--smoke-blue);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(243, 233, 81, 0.35);
  letter-spacing: 0.01em;
}
.btn-primary:hover  { background: var(--yellow-dark); box-shadow: 0 6px 18px rgba(243,233,81,0.4); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  padding: 12px 24px;
  background: white;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--smoke-blue); color: var(--smoke-blue); }

.btn-submit {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  background: linear-gradient(135deg, #0e9f6e, #059669);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(14,159,110,0.3);
}
.btn-submit:hover  { opacity: 0.9; }
.btn-submit:active { transform: scale(0.97); }

.btn-arrow { font-size: 1.1rem; }


/* ─── Success ────────────────────────────────────────────────────────────── */
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 20px;
  gap: 16px;
}
.success-icon-wrap {
  width: 72px; height: 72px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0e9f6e;
}
.success-icon-wrap svg { width: 36px; height: 36px; }
.success-state h2 { font-size: 1.5rem; font-weight: 800; color: var(--smoke-blue); }
.success-state p  { font-size: 0.9rem; color: var(--text-muted); max-width: 400px; line-height: 1.6; }
.success-badge {
  padding: 8px 24px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ─── Spinners ───────────────────────────────────────────────────────────── */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner-lg {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 20px 24px;
  font-size: 0.8rem;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .doc-grid  { grid-template-columns: 1fr; }
  .breakdown-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { flex-direction: column; }
  .trust-badges { justify-content: flex-start; }
  .stepper { padding: 16px 12px; gap: 0; }
  .step-label { font-size: 0.6rem; }
  .step-circle { width: 32px; height: 32px; font-size: 0.75rem; }
  .panel { padding: 20px; }
  .step-connector { min-width: 8px; }

  /* Panel footer: stack buttons vertically on mobile */
  .panel-footer {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .panel-footer .btn-primary,
  .panel-footer .btn-secondary,
  .panel-footer .btn-submit {
    width: 100%;
    justify-content: center;
  }

  /* Doc cards: stack icon + info + upload vertically */
  .doc-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-card .doc-upload { width: 100%; }
  .doc-card .btn-upload { width: 100%; text-align: center; }

  /* Input + button: stack vertically */
  .input-with-btn { flex-direction: column; }
  .input-with-btn .btn-check { width: 100%; justify-content: center; }

  /* Stripe connect button always full-width (already is, but ensure on stack) */
  .btn-stripe-connect { width: 100%; }

  /* Hero */
  .hero { padding: 28px 20px 24px; }
  .main-layout { padding: 20px 16px 48px; }
}

/* ─── Small phones (≤420px) ─────────────────────────────────────────────── */
@media (max-width: 420px) {
  .step-label { display: none; }
  .step-circle { width: 28px; height: 28px; font-size: 0.7rem; }
  .step-connector { min-width: 6px; }
  .stepper { padding: 12px 10px; }
  .panel { padding: 14px; }
  .panel-title { font-size: 1.05rem; }
  .breakdown-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .score-ring { width: 130px; height: 130px; }
  .score-ring svg { width: 130px; height: 130px; }
  .header-badge { display: none; }
  .main-layout { padding: 14px 12px 40px; }
}

