
:root {
  --navy: #071426;
  --navy-light: #10233d;
  --blue: #155eef;
  --blue-dark: #0d3fbe;
  --green: #14b86e;
  --background: #f4f7fb;
  --surface: #ffffff;
  --text: #111c2e;
  --muted: #68778e;
  --line: #dfe6ef;
  --shadow: 0 20px 60px rgba(7,20,38,.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 12px clamp(20px,5vw,72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .shield {
  width: 40px;
  height: 46px;
  display: grid;
  place-items: center;
  clip-path: polygon(
    50% 0,
    91% 14%,
    87% 72%,
    50% 100%,
    13% 72%,
    9% 14%
  );
  color: white;
  background: var(--blue);
  font-weight: 1000;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  color: var(--navy);
  letter-spacing: .04em;
}

.brand small {
  margin-top: 4px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .15em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a {
  color: #39475b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.site-header .nav-button {
  padding: 12px 17px;
  border-radius: 11px;
  color: white;
  background: var(--blue);
}

.hero {
  min-height: 650px;
  padding:
    clamp(52px,8vw,105px)
    clamp(20px,6vw,90px);
  display: grid;
  grid-template-columns:
    minmax(0,1.15fr)
    minmax(330px,.85fr);
  align-items: center;
  gap: clamp(40px,7vw,100px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(21,94,239,.46),
      transparent 26%
    ),
    linear-gradient(
      135deg,
      #071426,
      #0a1e39 58%,
      #0a2b57
    );
}

.eyebrow,
.section-heading > span {
  color: #66a2ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 790px;
  margin: 18px 0;
  font-size: clamp(44px,6vw,78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 em {
  display: block;
  color: #6da7ff;
  font-style: normal;
}

.hero-copy > p {
  max-width: 680px;
  color: #b5c1d2;
  font-size: 18px;
  line-height: 1.65;
}

.search-box {
  max-width: 770px;
  margin-top: 30px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.4fr .75fr auto;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.search-box label {
  padding: 5px 10px;
  display: grid;
  gap: 5px;
  color: #526278;
  font-size: 11px;
  font-weight: 850;
}

.search-box select,
.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--navy);
  background: transparent;
  font-size: 15px;
  font-weight: 750;
}

.search-box button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  color: white;
  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-dark)
    );
  font-weight: 900;
  cursor: pointer;
}

.trust-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #aebbd0;
  font-size: 12px;
  font-weight: 750;
}

.match-preview {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

.match-head span,
.match-head strong {
  display: block;
}

.match-head span {
  color: #71a9ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
}

.match-head strong {
  margin-top: 6px;
  font-size: 21px;
}

.pro-card {
  margin-top: 15px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(5,15,29,.64);
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  font-weight: 950;
}

.pro-card p {
  margin: 5px 0 0;
  color: #9fadbf;
  font-size: 12px;
}

.pro-card b {
  color: #54db99;
}

.verified-badge {
  padding: 6px 8px;
  border-radius: 8px;
  color: #58dfa0;
  background: rgba(20,184,110,.12);
  font-size: 10px;
  font-weight: 950;
}

.shield-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 15px;
  color: #c8d4e4;
  background:
    linear-gradient(
      135deg,
      rgba(21,94,239,.25),
      rgba(20,184,110,.12)
    );
}

.shield-card p {
  margin-bottom: 0;
  color: #9fadc0;
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding:
    clamp(68px,8vw,110px)
    clamp(20px,6vw,90px);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 10px 0;
  font-size: clamp(34px,4vw,52px);
  letter-spacing: -.045em;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap: 15px;
}

.service-card {
  min-height: 185px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(7,20,38,.05);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #a9c5ff;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: #edf4ff;
  font-weight: 1000;
}

.service-card strong {
  margin-top: auto;
  font-size: 17px;
}

.service-card small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.how-section {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap: 20px;
}

.steps article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f9fbfd;
}

.steps b {
  color: var(--blue);
  font-size: 13px;
}

.steps h3 {
  margin: 20px 0 10px;
}

.steps p {
  color: var(--muted);
  line-height: 1.6;
}

.pro-section {
  margin:
    0 clamp(20px,6vw,90px)
    clamp(68px,8vw,110px);
  padding: clamp(34px,5vw,64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(
      135deg,
      var(--navy),
      #123b70
    );
}

.pro-section h2 {
  max-width: 720px;
  margin: 12px 0;
  font-size: clamp(32px,4vw,50px);
  letter-spacing: -.04em;
}

.pro-section p {
  max-width: 700px;
  color: #afbdd0;
  line-height: 1.65;
}

.pro-section > a {
  flex: 0 0 auto;
  padding: 15px 20px;
  border-radius: 12px;
  color: var(--navy);
  background: white;
  text-decoration: none;
  font-weight: 950;
}

footer {
  padding: 28px clamp(20px,6vw,90px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8997aa;
  background: var(--navy);
  font-size: 12px;
}

footer strong {
  color: white;
}

@media (max-width: 950px) {
  .site-header nav a:not(.nav-button) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .match-preview {
    max-width: 650px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .hero {
    padding-top: 58px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  footer {
    flex-direction: column;
  }
}
