:root {
  --bg: #fafaf8;
  --bg-alt: #f0ede6;
  --fg: #1a1a1a;
  --fg-muted: #6b6b6b;
  --fg-dim: #9a9a9a;
  --accent: #c8963e;
  --accent-dark: #a07828;
  --navy: #0f1b2d;
  --navy-light: #1c2f47;
  --seal: #c8963e;
  --border: #e2ddd4;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  padding: 140px 32px 80px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.doc-stack {
  position: relative;
  width: 120px;
  height: 160px;
}
.doc-card {
  position: absolute;
  width: 110px;
  height: 145px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 14px;
}
.doc-card-back { transform: rotate(-8deg) translate(-8px, -6px); opacity: 0.4; }
.doc-card-mid  { transform: rotate(-2deg) translate(-4px, -3px); opacity: 0.7; }
.doc-card-front { transform: none; z-index: 2; }
.doc-lines { margin-bottom: 10px; }
.doc-line {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  margin-bottom: 6px;
}
.doc-line.long   { width: 90%; }
.doc-line.medium { width: 70%; }
.doc-line.short  { width: 50%; }
.doc-seal {
  width: 32px;
  height: 32px;
  border: 2px solid var(--seal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 12px;
  right: 12px;
}
.doc-seal::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--seal);
  opacity: 0.4;
}
.doc-header-bar {
  height: 10px;
  background: var(--navy);
  border-radius: 2px;
  margin-bottom: 12px;
  width: 60%;
}
.doc-signature-area {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.sig-field {
  height: 14px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: 2px;
  margin-bottom: 4px;
}
.sig-label {
  font-size: 9px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Phone frame */
.phone-frame {
  width: 160px;
  background: var(--navy);
  border-radius: 28px;
  padding: 16px 12px 20px;
  box-shadow: 0 20px 60px rgba(15,27,45,0.3);
}
.phone-notch {
  width: 60px;
  height: 8px;
  background: var(--navy);
  border-radius: 4px;
  margin: 0 auto 14px;
  border: 1px solid rgba(255,255,255,0.1);
}
.phone-screen {
  background: var(--bg);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-icon svg { width: 12px; height: 12px; }
.step-done { background: #2d7a4f; }
.step-active { background: var(--navy); }
.step-pending { background: var(--bg-alt); border: 1px solid var(--border); }
.step-pulse {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.step-num {
  font-size: 11px;
  font-weight: 600;
  color: white;
}
.step-label {
  font-size: 10px;
  color: var(--fg-muted);
}
.step-label-active {
  color: var(--navy);
  font-weight: 600;
}

/* SECTION SHARED */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 56px;
  max-width: 640px;
}

/* PROCESS */
.process { padding: 80px 0; background: var(--bg-alt); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
  opacity: 0.4;
}
.step-number {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
  line-height: 1;
}
.step-title {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* FEATURES */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* TRUST */
.trust { padding: 80px 0; background: var(--navy); }
.trust-stat-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.trust-stat { text-align: center; }
.trust-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.trust-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}
.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trust-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
}
.trust-card-text {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  font-style: italic;
}

/* CLOSING */
.closing { padding: 80px 0; background: var(--bg); }
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 24px;
  max-width: 720px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* FOOTER */
.footer { padding: 40px 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--navy);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .trust-stat-row { flex-wrap: wrap; justify-content: center; gap: 24px; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .section-inner { padding: 0 20px; }
  .process-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .nav-inner { padding: 16px 20px; }
}