@font-face {
  font-family: "MiSans";
  src: url("fonts/MiSans-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "MiSans";
  src: url("fonts/MiSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "MiSans";
  src: url("fonts/MiSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "MiSans";
  src: url("fonts/MiSans-Normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "MiSans";
  src: url("fonts/MiSans-Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef2f8;
  --text: #111827;
  --muted: #5b6472;
  --line: #d9e0ea;
  --primary: #111827;
  --primary-soft: #e5eaf3;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "MiSans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.8);
  border-bottom: 1px solid rgba(217, 224, 234, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

.mobile-footer {
  display: none;
}

.mobile-footer-link {
  display: inline-block;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section-label,
.stat-label {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.lead,
.section-text,
.card p,
.feature p,
.stat strong {
  color: var(--muted);
}

.lead,
.section-text {
  font-size: 1.05rem;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--text);
}

.hero-card,
.card,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.stat + .stat {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards,
.features {
  display: grid;
  gap: 20px;
}

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

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

.card,
.feature {
  padding: 24px;
}

.feature {
  background: transparent;
  border-top: 1px solid var(--line);
}

.section-cta {
  padding-bottom: 88px;
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: none;
  margin-bottom: 16px;
}

.legal h3 {
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal .section-text {
  max-width: 72ch;
}

.cta-box {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .features,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .cta-box {
    display: grid;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .section,
  .section-cta {
    padding: 48px 0;
  }

  .hero-card,
  .card,
  .feature,
  .cta-box {
    padding: 20px;
  }

  .mobile-footer {
    display: block;
    padding: 0 0 32px;
    text-align: center;
  }
}
