:root {
  color-scheme: light;
  --bg: #f2f5fb;
  --surface: #ffffff;
  --ink: #1a2231;
  --muted: #5f6980;
  --brand: #1c4fca;
  --brand-strong: #123da8;
  --line: #dce4f4;
  --shadow: 0 18px 48px rgba(20, 47, 109, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Trebuchet MS", "Verdana", sans-serif;
}

a {
  color: inherit;
}

.wrap {
  width: min(1100px, calc(100vw - 2.5rem));
  margin: 0 auto;
}

.ambient-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(28, 79, 202, 0.2), transparent 34%),
    radial-gradient(
      circle at 86% 13%,
      rgba(62, 137, 255, 0.21),
      transparent 28%
    ),
    radial-gradient(circle at 78% 88%, rgba(26, 34, 49, 0.1), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.topbar,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 1.1rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  display: block;
}

.hero {
  padding: 3.5rem 0 1.5rem;
  text-align: center;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand);
}

.hero h1 {
  margin: 0 auto;
  max-width: 15ch;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.lead {
  margin: 1.2rem auto 0;
  max-width: 62ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.58;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(140deg, var(--brand) 0%, #376deb 100%);
  box-shadow: 0 12px 24px rgba(28, 79, 202, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(28, 79, 202, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: #ffffff;
}

.features {
  padding: 2rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 228, 244, 0.9);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(18, 35, 83, 0.06);
  backdrop-filter: blur(4px);
  animation: reveal 0.5s ease both;
}

.feature-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.07rem;
  line-height: 1.24;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
  font-size: 0.96rem;
}

.feature-card:nth-child(2) {
  animation-delay: 0.04s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.12s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.16s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.2s;
}

.highlight {
  margin-top: 2.3rem;
  margin-bottom: 3rem;
  background: linear-gradient(145deg, #0f2959 0%, #183d8c 75%, #2457c6 100%);
  color: #ecf4ff;
  border-radius: 1.2rem;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.highlight h2 {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.highlight p {
  margin: 0;
  max-width: 54ch;
  color: rgba(236, 244, 255, 0.92);
}

.highlight .btn-primary {
  flex-shrink: 0;
  background: #ffffff;
  color: var(--brand-strong);
  box-shadow: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  background: rgba(255, 255, 255, 0.54);
}

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

.footer-inner p {
  margin: 0;
  color: #3f4a63;
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--brand-strong);
  font-weight: 600;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(1100px, calc(100vw - 1.4rem));
  }

  .topbar {
    padding: 0.8rem 0;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .highlight {
    margin-top: 1.4rem;
    margin-bottom: 2rem;
    padding: 1.35rem;
  }
}
