/* CIP ERP Builder — Styles v2.0 */
/* Brand: Navy #1F4E79 / White #FFFFFF / Inter */

:root {
  --navy:        #1F4E79;
  --navy-dark:   #163a5a;
  --navy-light:  #2e6da4;
  --white:       #ffffff;
  --headline:    #0A0E1A;
  --muted:       #6B7C93;
  --border:      #E5E7EB;
  --surface:     #F9FAFB;
  /* legacy aliases kept for confirm.ejs / other views */
  --grey-50:     #F9FAFB;
  --grey-100:    #F3F4F6;
  --grey-200:    #E5E7EB;
  --grey-400:    #9CA3AF;
  --grey-600:    #6B7C93;
  --grey-800:    #0A0E1A;
  --green-600:   #065F46;
  --red-600:     #991B1B;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--headline);
  background: var(--white);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--headline);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: 2.5rem;   margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.25rem;  margin-bottom: 0.625rem; }
h4 { font-size: 1.0625rem;margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.88; text-decoration: none; }
.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid var(--navy);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--navy-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31,78,121,0.25);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background: #f0f6ff;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 2px rgba(31,78,121,0.15), 0 4px 12px rgba(31,78,121,0.2);
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(31,78,121,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 20px rgba(31,78,121,0.25);
}

.btn-sm  { padding: 0.5rem 1.1rem;  font-size: 0.875rem; border-radius: 6px; }
.btn-lg  { padding: 0.9375rem 2.25rem; font-size: 1rem; border-radius: 8px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  padding: 0.3rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
  margin: 0 auto 1.25rem;
}
.hero .subheadline {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  font-weight: 400;
}
.hero-upload-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.25rem 2rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.68);
  font-size: 0.8125rem;
  font-weight: 500;
}
.trust-item svg { flex-shrink: 0; }

/* ── Sections ────────────────────────────────────────────── */
.section     { padding: 6rem 0; }
.section-alt { padding: 6rem 0; background: var(--surface); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { color: var(--headline); margin-bottom: 0.75rem; }
.section-header p  { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

.section-title { font-size: 1.875rem; color: var(--headline); margin-bottom: 0.5rem; }
.section-lead  { color: var(--muted); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ── Steps (How it works) ────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.step {
  padding: 2rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.step:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0;
}

/* ── Trust list (2 x 3 grid) ─────────────────────────────── */
.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--headline);
  line-height: 1.55;
}
.check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.pricing-card.featured {
  border-color: var(--navy);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(31,78,121,0.1);
}
.pricing-card.featured:hover {
  box-shadow: 0 12px 36px rgba(31,78,121,0.18);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
}
.pricing-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1;
}
.pricing-card .price {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--headline);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}
.pricing-card .price-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.pricing-card .includes {
  list-style: none;
  margin-bottom: 1.75rem;
  flex: 1;
}
.pricing-card .includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.4375rem 0;
  font-size: 0.9375rem;
  color: var(--headline);
  line-height: 1.4;
}
.pricing-card .includes li::before {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4L16 6' stroke='%231F4E79' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.pricing-best-for {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Two-tier pricing layout ────────────────────────────────── */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
@media (max-width: 640px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}
.pricing-card-dim {
  opacity: 0.82;
  border-color: #D1D5DB;
}
.pricing-card-dim h3 { color: #9CA3AF; }
.pricing-card-dim .price { color: #374151; }

/* ── CIP trial banner (landing page, above fold) ──────────── */
.cip-trial-banner {
  background: var(--navy);
  color: #fff;
  padding: 0.875rem 1rem;
  text-align: center;
}
.cip-trial-banner p { color: #E0E7EF; }
.pricing-card .btn {
  width: 100%;
  text-align: center;
  display: block;
  margin-top: auto;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--headline);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.form-label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--headline);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.5;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,78,121,0.15);
}
.form-control.confidence-low    { border-left: 3px solid #EF4444; background: #FFF9F9; }
.form-control.confidence-high   { border-left: 3px solid #10B981; }
.form-control.confidence-medium { border-left: 3px solid #D97706; background: #FFFBEB; }
.form-control.field-invalid     { border-color: #EF4444; box-shadow: 0 0 0 2px rgba(239,68,68,0.15); }
.field-error { color: #991B1B; font-size: 0.8125rem; margin-top: 0.25rem; display: block; }
.required-star { color: #991B1B; margin-left: 2px; font-weight: 700; font-size: 0.8em; }
.w-full { width: 100%; }
textarea.form-control { min-height: 80px; resize: vertical; }
select.form-control    { appearance: auto; cursor: pointer; }

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* ── Field grid ──────────────────────────────────────────── */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ── Confidence badges ───────────────────────────────────── */
.confidence-badge {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-left: 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.confidence-badge.high    { background: #D1FAE5; color: #065F46; }
.confidence-badge.low     { background: #FEE2E2; color: #991B1B; }
.confidence-badge.medium  { background: #FEF3C7; color: #92400E; }
.confidence-badge.default { background: #FEF3C7; color: #92400E; cursor: help; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1.5px solid var(--border);
  letter-spacing: -0.01em;
}

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.alert-info    { background: #EFF6FF; border-left: 4px solid var(--navy);  color: #1E3A5F; }
.alert-warning { background: #FFFBEB; border-left: 4px solid #F59E0B; color: #78350F; }
.alert-error   { background: #FEF2F2; border-left: 4px solid #EF4444; color: #7F1D1D; }
.alert-success { background: #F0FDF4; border-left: 4px solid #10B981; color: #064E3B; }

.banner-partial-fsp {
  background: #FEF3C7;
  color: #1E3A5F;
  padding: 16px;
  width: 100%;
  margin-bottom: 24px;
  border-left: 4px solid #D97706;
  border-radius: 6px;
  box-sizing: border-box;
}
.banner-partial-fsp strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.banner-partial-fsp p { margin: 0; font-size: 0.9375rem; }

/* ── Upload area ─────────────────────────────────────────── */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: var(--surface);
}
.upload-area:hover { border-color: var(--navy); background: #EFF6FF; }
.upload-area p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 0.25rem; }

/* ── Progress steps ──────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}
.progress-step {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.progress-step.active { color: var(--navy); font-weight: 700; }
.progress-step.done   { color: #10B981; }
.progress-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 0.4rem;
}
.progress-step.active .progress-step-num { border-color: var(--navy);  background: var(--navy);  color: #fff; }
.progress-step.done   .progress-step-num { border-color: #10B981; background: #10B981; color: #fff; }
.progress-divider { flex: 1; height: 1px; background: var(--border); margin: 0 0.75rem; }

/* ── Interview ───────────────────────────────────────────── */
.interview-question {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.question-number {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* Staff sub-group (Q4 conditional) */
.sub-group {
  background: var(--surface);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sub-group-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 0.625rem;
}
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--headline);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #F9FAFB;
  color: #374151;
  padding: 4rem 0 0;
  margin-top: 5rem;
  font-size: 0.875rem;
  border-top: 1px solid #E5E7EB;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a {
  color: #4B5563;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links li a:hover { color: var(--navy); text-decoration: none; }
.footer-contact p { font-size: 0.875rem; color: #4B5563; margin-bottom: 0.375rem; }
.footer-contact a { color: var(--navy); }
.footer-contact a:hover { color: var(--navy-dark); text-decoration: none; }
.footer-bar {
  border-top: 1px solid #E5E7EB;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #6B7280;
}

/* ── Table ───────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { background: var(--navy); color: #fff; padding: 0.6875rem 0.875rem; text-align: left; font-weight: 600; font-size: 0.875rem; }
.table td { padding: 0.6875rem 0.875rem; border-bottom: 1px solid var(--border); color: var(--headline); }
.table tr:last-child td { border-bottom: none; }
.table tr:nth-child(even) td { background: var(--surface); }

/* ── Success page ────────────────────────────────────────── */
.success-page {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 560px;
  margin: 0 auto;
}
.success-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 2.5rem;
  display: block;
}
.success-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: #D1FAE5;
  margin-bottom: 2rem;
}

/* ── Legal pages ─────────────────────────────────────────── */
.legal-page {
  background: #fff;
  padding: 4rem 0 6rem;
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}
.legal-body h1 {
  color: var(--navy);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.legal-body h2 {
  color: var(--navy);
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.625rem;
}
.legal-body h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2937;
  margin-bottom: 1rem;
}
.legal-body ul, .legal-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: #1F2937;
  line-height: 1.7;
}
.legal-body li {
  margin-bottom: 0.35rem;
}
.legal-body a {
  color: var(--navy);
  text-decoration: underline;
}
.legal-body a:hover {
  color: var(--navy-dark);
}
.legal-body strong {
  color: #0A0E1A;
}
.legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}
.legal-back a {
  color: var(--navy);
}
.legal-back a:hover {
  text-decoration: underline;
}

/* ── Footer legal links ───────────────────────────────────── */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}
.footer-legal-links a {
  color: var(--navy);
  text-decoration: none;
}
.footer-legal-links a:hover {
  text-decoration: underline;
}
.footer-dot {
  color: var(--muted);
}
.footer-copyright {
  font-size: 0.8125rem;
  text-align: center;
}

/* ── Terms checkbox ───────────────────────────────────────── */
.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #1F2937;
  cursor: pointer;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.terms-checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy);
  cursor: pointer;
}
.terms-checkbox-label a {
  color: var(--navy);
  text-decoration: underline;
}
.terms-checkbox-label a:hover {
  color: var(--navy-dark);
}

/* ── Utility ─────────────────────────────────────────────── */
.text-muted   { color: var(--muted); }
.text-navy    { color: var(--navy); }
.text-small   { font-size: 0.875rem; }
.text-center  { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-3 { padding-top: 1.5rem; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2  { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-right { text-align: right; }
.w-full { width: 100%; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .section, .section-alt { padding: 4rem 0; }
  .fields-grid  { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps        { grid-template-columns: 1fr; }
  .trust-list   { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .checkbox-group { grid-template-columns: 1fr; }
  .hero-upload-card { padding: 1.5rem 1.25rem; }
}
