* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: var(--color-surface-2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5.5vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.3; }
p { color: var(--color-text-muted); font-size: 17px; }
.lede { font-size: 20px; color: var(--color-text-muted); max-width: 640px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--color-text); }
.nav-links a:hover { color: var(--color-accent); }
.nav-cta {
  background: var(--gradient-brand);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(152,17,251,0.10) 0%, rgba(152,17,251,0) 60%),
    radial-gradient(50% 40% at 10% 10%, rgba(230,0,118,0.08) 0%, rgba(230,0,118,0) 60%),
    #fff;
}
.hero-inner { max-width: 760px; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.stat .stat-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-label { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }

/* Feature grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }

.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header.left { margin: 0 0 56px; text-align: left; }

/* Segments (who we serve) */
.segment-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.segment-pill .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--gradient-brand); flex: none; }
.segment-pill strong { font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-num {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-brand);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

/* Calculator */
.calc {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.calc-form label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: var(--color-text); }
.calc-form label:first-child { margin-top: 0; }
.calc-form input, .calc-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 15px;
  background: #fff;
}
.calc-result { text-align: center; }
.calc-result .big-num { font-size: 48px; font-weight: 800; color: var(--color-accent-dark); }
.calc-result .sub { color: var(--color-text-muted); margin-top: 8px; font-size: 14px; }

/* Compliance list */
.compliance-list { list-style: none; }
.compliance-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text);
}
.compliance-list li:last-child { border-bottom: none; }
.compliance-list .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-surface-2); color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.partner-chip {
  padding: 12px 22px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-muted);
  background: #fff;
}

.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: var(--color-surface-2);
  padding: 8px 16px;
  border-radius: 100px;
}

/* CTA band */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 12px auto 32px; }
.cta-band .btn-secondary { background: #fff; color: var(--color-accent-dark); border: none; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-grid label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.contact-grid input, .contact-grid select, .contact-grid textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 15px;
}
.contact-grid textarea { min-height: 100px; resize: vertical; }

/* Footer */
footer {
  background: #16101c;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
footer .logo { -webkit-text-fill-color: unset; background: none; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}

/* Legal pages */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 14px; font-size: 22px; }
.legal-content p, .legal-content li { color: var(--color-text-muted); margin-bottom: 14px; font-size: 16px; }
.legal-content .updated { color: var(--color-text-muted); font-size: 14px; margin-bottom: 40px; }

/* Mobile */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; font-size: 20px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; padding: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 64px 0; }
}
