:root {
  --text: #1f3a6d;
  --text-muted: #5a6475;
  --blue: #5b8ee6;
  --purple: #8a7ff0;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --border: #e3e7ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(227, 231, 239, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.menu-button {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: #fff;
  font-weight: 600;
  color: var(--text);
  align-items: center;
  gap: 0.4rem;
}

.menu-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--purple));
  box-shadow: 0 10px 24px rgba(91, 142, 230, 0.28);
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-sm {
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
}

.button-lg {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 8.6rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #eef4ff 0%, #f4f6fb 45%, #fff 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
}

.hero-orb-1 {
  width: 34rem;
  height: 34rem;
  top: 5rem;
  right: -6rem;
  background: linear-gradient(130deg, rgba(191, 211, 247, 0.5), rgba(214, 210, 251, 0.5));
}

.hero-orb-2 {
  width: 24rem;
  height: 24rem;
  bottom: 2rem;
  left: -4rem;
  background: linear-gradient(150deg, rgba(220, 232, 251, 0.6), rgba(177, 168, 245, 0.26));
}

.hero-orb-3 {
  width: 38rem;
  height: 38rem;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: linear-gradient(140deg, rgba(143, 178, 240, 0.16), rgba(138, 127, 240, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f5fb3;
  border: 1px solid #bfd3f7;
  background: rgba(255, 255, 255, 0.8);
}

h1,
h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.9rem);
  letter-spacing: -0.02em;
}

h1 span,
h2 span {
  background: linear-gradient(110deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  width: min(42rem, 100%);
  margin: 1.5rem auto 0;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 2.25rem;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.hero-actions small,
.signup small {
  color: #8b94a6;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8b94a6;
}

.learn-more svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--bg-soft);
}

.section h2 {
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  color: var(--text);
}

.section h2 + .grid {
  margin-top: 2.4rem;
}

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #5a4fcf;
  font-size: 0.73rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

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

.card,
.feature,
.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.25rem;
}

.icon-wrap {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(130deg, #eef4ff, #dce8fb);
}

.card-icon,
.feature-icon,
.trust-icon {
  width: 1.22rem;
  height: 1.22rem;
  fill: none;
  stroke: #3e74d6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3,
.feature h3,
.trust-item h3 {
  margin: 0;
  color: #2a2f3a;
  font-size: 1.02rem;
}

.card p,
.feature p,
.trust-item p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  background: linear-gradient(140deg, #1f3a6d, #2f5fb3 55%, #5a4fcf);
  color: #fff;
  padding: 4rem min(5vw, 4rem);
  text-align: center;
}

.spotlight::before,
.spotlight::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
}

.spotlight::before {
  width: 13rem;
  height: 13rem;
  right: -2rem;
  top: -1rem;
  background: rgba(138, 127, 240, 0.25);
}

.spotlight::after {
  width: 15rem;
  height: 15rem;
  bottom: -3rem;
  left: -2rem;
  background: rgba(91, 142, 230, 0.28);
}

.spotlight h2 {
  color: #fff;
}

.spotlight h2 span {
  color: #bfd3f7;
  background: transparent;
}

.spotlight p {
  width: min(44rem, 100%);
  margin: 1.2rem auto 0;
  color: #dce8fb;
}

.metrics {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: min(7vw, 5rem);
}

.metrics strong {
  display: block;
  font-size: 1.45rem;
}

.metrics small {
  color: #8fb2f0;
}

.signup {
  background: linear-gradient(to bottom, #f4f6fb 0%, #eef4ff 45%, #dce8fb 100%);
}

.signup-inner {
  text-align: center;
  max-width: 44rem;
}

.signup-logo {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.15rem;
}

.signup h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.signup p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
}

.signup-form {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
}

.signup-form input {
  min-width: min(26rem, 65vw);
  border: 1px solid #c7ceda;
  border-radius: 999px;
  height: 3rem;
  padding: 0 1.05rem;
  font-size: 0.95rem;
}

.footer {
  padding: 2.7rem 0 1.4rem;
  background: linear-gradient(to top, #162b52, #1f3a6d);
  color: #fff;
}

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

.brand-footer {
  color: #fff;
}

.footer p {
  margin: 0.4rem 0 0;
  color: #8fb2f0;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  color: #8fb2f0;
}

.copyright {
  margin: 1.6rem 0 0;
  text-align: center;
  color: rgba(91, 142, 230, 0.9);
  font-size: 0.76rem;
}

.legal-page {
  background: linear-gradient(to bottom, #eef4ff 0%, #f4f6fb 28%, #fff 100%);
}

.legal-main {
  padding: 9rem 0 5rem;
}

.legal-article {
  max-width: 56rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(31, 58, 109, 0.06);
}

.legal-article h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.5rem;
}

.legal-article h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
  color: #1f3a6d;
}

.legal-article p {
  margin: 0.95rem 0 0;
  color: #364150;
}

.legal-article ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.legal-article li {
  margin-top: 0.35rem;
  color: #364150;
}

.legal-meta {
  margin: 0;
  color: #5a6475;
  font-weight: 600;
}

.legal-separator {
  border: 0;
  border-top: 1px solid #e3e7ef;
  margin: 1.5rem 0;
}

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

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

@media (max-width: 780px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 86%;
    left: 1.25rem;
    right: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(17, 29, 65, 0.1);
    padding: 0.95rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .metrics {
    gap: 1.3rem;
  }

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

  .signup-form input {
    min-width: 0;
    width: 100%;
  }

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