:root {
  --navy: #0b1533;
  --blue: #1c5dff;
  --cyan: #00c2d1;
  --teal: #00b89c;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef7fb;
  --panel: #ffffff;
  --panel2: #eef4fb;
  --text: #0b1533;
  --muted: #4e5b78;
  --line: rgba(11, 21, 51, .12);
  --line-strong: rgba(11, 21, 51, .2);
  --accent: #1c5dff;
  --accent-strong: #0b42cf;
  --accent-soft: #eaf1ff;
  --highlight-soft: #e7fbfc;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0, var(--bg) 360px, #eaf1f6 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(11, 21, 51, .06);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  display: block;
  width: 251px;
  height: 52px;
  object-fit: cover;
  object-position: center 48%;
}

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

.links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: color .2s;
}

.links a:hover {
  color: var(--teal);
}

.links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--teal);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .2s, transform .2s;
}

.links a:not(.btn):hover::after {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(28, 93, 255, .42);
  background: linear-gradient(135deg, var(--accent), #1487ff 55%, var(--cyan));
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(11, 21, 51, .12);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}

.btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(28, 93, 255, .24);
  transform: translateY(-1px);
}

.btn.secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--text);
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: rgba(0, 194, 209, .44);
  background: var(--highlight-soft);
  color: var(--navy);
}

.links .btn {
  min-height: 38px;
  padding: 9px 14px;
  color: var(--navy);
  background: rgba(0, 184, 156, .14);
  border-color: rgba(0, 184, 156, .42);
  box-shadow: none;
}

.links .btn:hover {
  border-color: rgba(0, 184, 156, .66);
  background: rgba(0, 184, 156, .22);
  color: var(--navy);
  box-shadow: none;
}

.hero {
  padding: 78px 0 64px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  font-size: 64px;
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.hero p.lead {
  font-size: 21px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0, var(--surface-soft) 100%);
  box-shadow: 0 18px 46px rgba(11, 21, 51, .1);
  padding: 28px;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--teal), #a7b3c2);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric b {
  display: block;
  color: var(--text);
  font-size: 28px;
  letter-spacing: 0;
  white-space: nowrap;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
  background: rgba(255, 255, 255, .38);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section .intro {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

.card {
  min-height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(11, 21, 51, .06);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
  border-color: rgba(0, 184, 156, .55);
  box-shadow: 0 16px 34px rgba(11, 21, 51, .1);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.process {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 62px;
}

.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 184, 156, .22);
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #2f456b);
  border: 1px solid rgba(11, 21, 51, .22);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(11, 21, 51, .1);
}

.band h2 {
  margin: 0 0 10px;
  color: #ffffff;
}

.band p {
  max-width: 720px;
  margin: 0;
  color: #eef4fb;
}

.band .btn {
  color: var(--navy);
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: none;
}

.band .btn:hover {
  color: var(--navy);
  background: #21ceb4;
  border-color: #21ceb4;
}

.footer {
  padding: 36px 0 50px;
  color: var(--muted);
  font-size: 14px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.tag {
  display: inline-flex;
  margin: 4px 6px 4px 0;
  padding: 6px 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  background: #eaf1f6;
  border: 1px solid rgba(167, 179, 194, .55);
  border-radius: 8px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.list-clean li:last-child {
  border-bottom: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 184, 156, .7);
  box-shadow: 0 0 0 4px rgba(0, 184, 156, .13);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8d98a8;
}

.alert {
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14px;
}

.alert-success {
  background: #e7fbf6;
  border: 1px solid rgba(0, 184, 156, .28);
  color: #00695b;
}

.alert-error {
  background: #fff0f0;
  border: 1px solid rgba(184, 49, 49, .24);
  color: #9e2b2b;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid3,
  .grid2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .links {
    display: none;
  }

  .hero {
    padding: 54px 0 52px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .band {
    display: block;
  }

  .band .btn {
    width: 100%;
    margin-top: 20px;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .nav-inner {
    height: 70px;
  }

  .brand-logo {
    width: 230px;
    height: 48px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p.lead {
    font-size: 18px;
  }

  .actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-card,
  .card,
  .band {
    padding: 22px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}
