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

:root {
  --charcoal: #1C2B3A;
  --teal: #2D7D9A;
  --teal-dark: #1F6682;
  --teal-light: #E8F5FA;
  --teal-mid: #C2E0EC;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --border: #E8ECF0;
  --border-soft: #EDF0F4;
  --text-muted: #8896A4;
  --text-body: #4A5A6A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Nav ─────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(45, 125, 154, 0.35);
}

.nav-mark-sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}

.logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.footer-logo {
  color: var(--white);
}

/* ─── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 13px 26px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(45, 125, 154, 0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(45, 125, 154, 0.4);
  transform: translateY(-1px);
}

.btn-sm {
  background: var(--charcoal);
  color: var(--white);
  padding: 9px 18px;
  font-size: 13px;
}

.btn-sm:hover {
  background: #2a3f52;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 15px;
}

/* ─── Badges ──────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-white {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.6);
  color: var(--teal-dark);
}

/* ─── Hero ────────────────────────────────────────────── */

.hero {
  padding: 96px 0 88px;
  background: linear-gradient(150deg, #EEF8FC 0%, #F7FBFD 40%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,125,154,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 660px;
  position: relative;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--charcoal);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Stats ───────────────────────────────────────────── */

.stats {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── How it works ────────────────────────────────────── */

.how-it-works {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.section-header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 60px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  padding: 0 6px;
  margin-top: 56px;
  flex-shrink: 0;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(45, 125, 154, 0.28);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Updates / Newsletter ────────────────────────────── */

.updates {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.updates-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.updates-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.updates-header h2 {
  margin-bottom: 8px;
}

.updates-subscribe-btn {
  flex-shrink: 0;
  margin-bottom: 4px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.article-tag--regulatory {
  background: #FEF3C7;
  color: #92400E;
}

.article-tag--guide {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.article-tag--industry {
  background: #EDE9FE;
  color: #5B21B6;
}

.article-date {
  font-size: 12px;
  color: var(--text-muted);
}

.article-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  letter-spacing: -0.015em;
  flex: 1;
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.15s ease;
}

.article-link:hover {
  gap: 9px;
}

/* ─── Lead Capture ────────────────────────────────────── */

.qualify {
  padding: 96px 0;
  background: linear-gradient(160deg, #D6EFF7 0%, #E8F5FA 50%, #EEF8FC 100%);
  border-top: 1px solid var(--teal-mid);
  border-bottom: 1px solid var(--teal-mid);
  position: relative;
  overflow: hidden;
}

.qualify::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,125,154,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.qualify-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
  position: relative;
}

.qualify-header h2 {
  margin-bottom: 12px;
}

.qualify-header p {
  font-size: 15px;
  color: var(--text-body);
}

.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px 44px 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.8);
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #B0BDCA;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 125, 154, 0.12);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896A4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea {
  resize: vertical;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 52px 0 32px;
}

.form-success.hidden {
  display: none;
}

#lead-form.hidden {
  display: none;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(45, 125, 154, 0.35);
}

.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ─── Why us ──────────────────────────────────────────── */

.why-us {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content h2 {
  margin-bottom: 18px;
}

.why-us-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.why-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  font-weight: 500;
}

.why-icon {
  width: 24px;
  height: 24px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.why-us-quote {
  position: relative;
}

blockquote {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  font-style: normal;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-mark {
  font-size: 72px;
  color: var(--teal);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
  font-family: Georgia, serif;
}

/* ─── Footer ──────────────────────────────────────────── */

footer {
  background: var(--charcoal);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
}

.footer-copy p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Mobile ──────────────────────────────────────────── */

@media (max-width: 800px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .updates-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps {
    flex-direction: column;
    gap: 14px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: -4px auto;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 32px 28px 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
