/* PayHold — Modern Escrow Design System */
:root {
  --navy-950: #06101f;
  --navy-900: #0b1f3a;
  --navy-800: #132d52;
  --navy-700: #1a3a66;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-50: #f0fdfa;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --white: #ffffff;
  --success: #059669;
  --warning: #d97706;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 16, 31, 0.05);
  --shadow: 0 4px 16px rgba(6, 16, 31, 0.08);
  --shadow-lg: 0 12px 40px rgba(6, 16, 31, 0.12);
  --shadow-xl: 0 24px 64px rgba(6, 16, 31, 0.16);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ——— Layout ——— */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 36rem;
  line-height: 1.7;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* height only on inner bar — not on header shell so mobile nav can expand */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--navy-900);
  background: var(--slate-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.875rem 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover {
  background: var(--slate-50);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 0.75rem;
  justify-content: center;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.375rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: #0f766e;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 4rem 0 5.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(11, 31, 58, 0.06), transparent 50%),
    linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 0.4rem 0.875rem 0.4rem 0.5rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  color: var(--teal-600);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-fee-note {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate-500);
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-fee-note strong {
  color: var(--teal-600);
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.pricing-who {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 0.5rem;
}

.pricing-rate {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}

.pricing-when {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0 0 0.85rem;
}

.pricing-detail {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate-500);
  margin: 0;
  text-align: left;
}

.pricing-footnote {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--slate-500);
}

.pricing-footnote strong {
  color: var(--navy-900);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
  flex-shrink: 0;
}

/* Hero visual card */
.hero-visual {
  position: relative;
}

.escrow-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.escrow-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.escrow-card-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-600);
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.escrow-amount {
  text-align: center;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
}

.escrow-amount .label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 0.35rem;
}

.escrow-amount .value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.escrow-amount .held {
  font-size: 0.8125rem;
  color: var(--teal-600);
  font-weight: 500;
  margin-top: 0.25rem;
}

.milestones {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.milestone-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.milestone-icon.done {
  background: rgba(5, 150, 105, 0.12);
  color: var(--success);
}

.milestone-icon.active {
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-600);
}

.milestone-icon.pending {
  background: var(--slate-100);
  color: var(--slate-400);
}

.milestone-icon svg {
  width: 18px;
  height: 18px;
}

.milestone-info {
  flex: 1;
  min-width: 0;
}

.milestone-info .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

.milestone-info .meta {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.milestone-amount {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 70%);
  top: -40px;
  right: -40px;
  z-index: 0;
  pointer-events: none;
}

/* ——— Dual audience ——— */
.audience-cards {
  display: grid;
  gap: 1.25rem;
}

.audience-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
  overflow: hidden;
}

.audience-card:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.audience-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--teal-50);
  color: var(--teal-600);
}

.audience-card .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.audience-card p {
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}

.audience-card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--teal-600);
}

.audience-card .link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.audience-card:hover .link svg {
  transform: translateX(3px);
}

/* ——— How it works ——— */
.how-section {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-section .section-label {
  color: var(--teal-400);
}

.how-section .section-label::before {
  background: var(--teal-400);
}

.how-section .section-title {
  color: var(--white);
}

.how-section .section-lead {
  color: rgba(255, 255, 255, 0.65);
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(20, 184, 166, 0.3);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ——— Features ——— */
.features-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.feature:hover {
  box-shadow: var(--shadow);
  border-color: var(--slate-300);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal-50), rgba(13, 148, 136, 0.15));
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ——— Industries ——— */
.industries-section {
  background: var(--slate-50);
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
}

.industry-pill svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
}

/* ——— Stats strip ——— */
.stats-strip {
  background: var(--white);
  border-block: 1px solid var(--slate-200);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ——— Comparison ——— */
.compare-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
}

.compare-card.without {
  background: var(--slate-50);
}

.compare-card.with {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: transparent;
  color: var(--white);
}

.compare-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-card.without h3 {
  color: var(--slate-600);
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.compare-card.without li {
  color: var(--slate-600);
}

.compare-card.with li {
  color: rgba(255, 255, 255, 0.85);
}

.compare-card li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-card.without li svg {
  color: #dc2626;
}

.compare-card.with li svg {
  color: var(--teal-400);
}

/* ——— CTA band ——— */
.cta-band {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(20, 184, 166, 0.18), transparent 60%),
    var(--navy-900);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(20, 184, 166, 0.1), transparent 50%),
    var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 36rem;
  line-height: 1.7;
}

/* ——— Content blocks ——— */
.content-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-check svg {
  width: 16px;
  height: 16px;
}

.benefit h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.benefit p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ——— Form ——— */
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.form-card .form-sub {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 1.75rem;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--slate-100);
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.75rem;
}

.form-tab {
  border: none;
  background: transparent;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-500);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition);
}

.form-tab.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-400);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.checkbox-field input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal-600);
  flex-shrink: 0;
}

.checkbox-field a {
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success .check-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success .check-circle svg {
  width: 28px;
  height: 28px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--slate-500);
  font-size: 0.9375rem;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate-400);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--teal-600);
}

.faq-item .faq-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  filter: invert(1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 16rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .ca {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ——— Utilities ——— */
.text-center {
  text-align: center;
}

.text-center .section-lead {
  margin-inline: auto;
}

.mt-2 {
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Responsive ——— */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions .btn-primary {
    display: inline-flex;
  }

  .audience-cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .content-grid.form-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .header-actions .btn-primary.desktop-only {
    display: none;
  }
}

/* ——— Escrow wizard ——— */
.wizard-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.wizard-step-pill {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-100);
  border: 1px solid transparent;
}

.wizard-step-pill.active {
  background: var(--teal-50);
  color: var(--teal-600);
  border-color: rgba(13, 148, 136, 0.25);
}

.wizard-step-pill.done {
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.pay-methods {
  display: grid;
  gap: 0.875rem;
}

.pay-method {
  position: relative;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition);
  background: var(--white);
}

.pay-method:hover {
  border-color: var(--slate-300);
}

.pay-method.selected {
  border-color: var(--teal-500);
  background: var(--teal-50);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method-top {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.pay-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-900);
}

.pay-method.selected .pay-method-icon {
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--teal-600);
}

.pay-method-icon svg {
  width: 20px;
  height: 20px;
}

.pay-method h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.pay-method p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.pay-method .badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.pay-method .badge.manual {
  color: var(--warning);
  background: rgba(217, 119, 6, 0.12);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.wizard-error {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9375rem;
  border: 1px solid #fecaca;
}

.wizard-error.show {
  display: block;
}

.summary-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.summary-box dl {
  display: grid;
  gap: 0.65rem;
}

.summary-box .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.summary-box .row dt {
  color: var(--slate-500);
}

.summary-box .row dd {
  font-weight: 600;
  color: var(--navy-900);
  text-align: right;
}

.summary-box .total dd {
  font-size: 1.25rem;
  color: var(--teal-600);
}

.summary-box .fee-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate-400);
  margin-top: 0.15rem;
}

.summary-box .fee-footnote {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--slate-500);
}

/* Legal documents */
.page-hero-legal {
  padding-bottom: 1.5rem;
}

.legal-meta {
  margin: 0.5rem 0 0;
  color: var(--slate-500);
  font-size: 0.9375rem;
}

.legal-doc {
  padding-top: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static !important;
  }
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.875rem;
}

.legal-toc h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.legal-toc a {
  color: var(--slate-600);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--teal-600);
}

.legal-related {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.legal-related a {
  color: var(--teal-600);
  font-weight: 600;
}

.legal-body {
  max-width: 48rem;
  color: var(--slate-700);
  font-size: 0.9875rem;
  line-height: 1.65;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  margin: 0 0 0.85rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

.legal-body a {
  color: var(--teal-600);
  font-weight: 500;
}

.legal-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.legal-end {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Status page */
.status-hero {
  text-align: center;
  padding: 1rem 0 2rem;
}

.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.status-icon.funded {
  background: var(--teal-50);
  color: var(--teal-600);
}

.status-icon.pending {
  background: #fff7ed;
  color: var(--warning);
}

.status-icon.processing {
  background: #eff6ff;
  color: #2563eb;
}

.status-icon svg {
  width: 32px;
  height: 32px;
}

.etransfer-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.etransfer-box h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.etransfer-box .ref {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-400);
  margin: 0.5rem 0 1rem;
}

.etransfer-box ol {
  margin: 0 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.etransfer-box .copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.legal-note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  line-height: 1.55;
  margin-top: 1.5rem;
}

.milestone-list-status {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.35rem;
}

/* Payment method availability by amount */
.pay-method.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  border-style: dashed;
}

.pay-method.is-disabled input {
  pointer-events: none;
}

.pay-method-disabled-msg {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--warning);
  font-weight: 600;
  line-height: 1.45;
}

.pay-method.is-disabled .pay-method-disabled-msg {
  display: block;
}

.bank-details-grid {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.bank-details-grid .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bank-details-grid .row span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.bank-details-grid .row span:last-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Coming soon */
.coming-soon-banner {
  background: #0b1f3a;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.75rem 0;
  text-align: center;
}
.coming-soon-banner a {
  color: #2dd4bf;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.coming-soon-banner strong {
  color: #fff;
}
