:root {
  --bg: #f3f7fc;
  --bg-soft: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f4f8fd;
  --border: #dbe6f2;
  --border-strong: #c7d8ea;

  --text: #10233f;
  --text-soft: #5f7189;
  --text-muted: #7a8ba3;

  --primary: #1f57d6;
  --primary-hover: #1847b1;
  --primary-dark: #0f2140;
  --primary-soft: #e8f0ff;

  --warning-bg: #fff8e8;
  --warning-border: #f1d493;

  --shadow-sm: 0 8px 22px rgba(16, 35, 63, 0.05);
  --shadow-md: 0 18px 48px rgba(16, 35, 63, 0.08);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 87, 214, 0.05), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: visible;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-text span {
  font-size: 14px;
  line-height: 1.15;
  color: var(--text-muted);
}

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

.nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2c66ea 0%, var(--primary) 100%);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 87, 214, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cta-link:hover {
  background: linear-gradient(180deg, #2459cf 0%, var(--primary-hover) 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 87, 214, 0.24);
}

main {
  padding: 28px 0 76px;
}

.hero {
  padding: 18px 0 12px;
}

.hero-card {
  background:
    radial-gradient(circle at top right, rgba(31, 87, 214, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px 32px 30px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 850;
  color: var(--primary-dark);
  max-width: 820px;
}

.lead {
  margin: 0;
  max-width: 760px;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #2c66ea 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(31, 87, 214, 0.24);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #255bcf 0%, var(--primary-hover) 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #edf3fb;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  color: var(--text);
  background: #e6eef8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.stat {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

.stat span {
  display: block;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.section {
  padding: 42px 0;
}

.section-head {
  max-width: 920px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,252,255,0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.panel {
  background: linear-gradient(180deg, rgba(235,243,252,0.55) 0%, rgba(255,255,255,0.92) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.cta-center {
  text-align: center;
  margin-top: 30px;
}

.note {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 18px;
  padding: 18px 20px;
  color: #5d4a14;
}

.note strong {
  color: #4b3b0f;
}

.footer {
  margin-top: 10px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  padding: 34px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer .brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.footer .brand-mark img {
  width: 34px;
  height: 34px;
}

.footer .brand-text strong {
  font-size: 18px;
}

.footer .brand-text span {
  font-size: 14px;
}

.footer h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1rem;
}

.footer p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.footer a {
  color: var(--text-soft);
}

.footer a:hover {
  color: var(--primary);
}

.small {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card,
  .panel {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
    min-height: auto;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .cta-link {
    width: 100%;
  }

  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-header .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .site-header .brand-text strong {
    font-size: 18px;
  }

  .site-header .brand-text span {
    font-size: 13px;
  }

  .section {
    padding: 34px 0;
  }
}
