:root {
  --navy: #071833;
  --navy-2: #0c244b;
  --blue: #0ea5e9;
  --blue-2: #2563eb;
  --green: #10b981;
  --red: #ef4444;
  --text: #172033;
  --muted: #64748b;
  --soft: #f5f9fc;
  --line: #dbe7f0;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(7, 24, 51, 0.14);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219,231,240,0.88);
}

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

.brand img {
  height: 150px;
  width: auto;
  display: block;
  margin: -24px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
}

.hero {
  padding: 100px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(14,165,233,.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  font-size: clamp(46px, 7vw, 78px);
  letter-spacing: -0.058em;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.046em;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.hero-content p,
.lead,
.section-copy p,
.contact-box p {
  color: var(--muted);
  font-size: 20px;
}

.hero-content p {
  max-width: 720px;
  margin: 25px 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  box-shadow: 0 18px 48px rgba(37,99,235,0.24);
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pills span {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(219,231,240,0.92);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.visual-card {
  background: var(--navy);
  border-radius: 28px;
  padding: 24px;
}

.visual-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.visual-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.mini-node {
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 850;
}

.mini-node.active {
  background: rgba(14,165,233,.22);
  border-color: rgba(14,165,233,.45);
}

.mini-node.success {
  background: rgba(16,185,129,.20);
  border-color: rgba(16,185,129,.45);
}

.mini-line {
  width: 2px;
  height: 20px;
  background: var(--blue);
  margin: 8px auto;
}

.section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 74px;
  align-items: start;
}

.section-copy p:first-child { margin-top: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.card,
.compare-card,
.module,
.workflow-card,
.contact-box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 52px rgba(7,24,51,.06);
}

.card {
  padding: 30px;
}

.card-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(14,165,233,.12);
  color: var(--blue-2);
  border-radius: 15px;
  font-weight: 950;
  margin-bottom: 20px;
}

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

.solution-section,
.workflow-section,
.vision-section {
  background: var(--soft);
}

.center {
  text-align: center;
}

.lead {
  max-width: 820px;
  margin: 22px auto 0;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.compare-card {
  padding: 32px;
}

.compare-card.before { border-top: 5px solid var(--red); }
.compare-card.after { border-top: 5px solid var(--green); }

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

.compare-card li { margin: 10px 0; }

.module-row {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  gap: 0;
  align-items: center;
  margin-top: 50px;
}

.module {
  min-height: 260px;
  padding: 31px;
}

.module-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  color: #fff;
  font-weight: 950;
  margin-bottom: 22px;
}

.module-arrow {
  text-align: center;
  color: var(--blue-2);
  font-size: 30px;
  font-weight: 950;
}

.workflow-card {
  margin-top: 42px;
  padding: 36px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  gap: 0;
  align-items: center;
}

.workflow-step {
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  text-align: center;
  font-weight: 900;
}

.workflow-step.decision {
  min-height: 98px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
}

.workflow-step.wide {
  grid-column: 1 / -1;
  margin-top: 26px;
  background: #0f766e;
}

.workflow-connector {
  height: 2px;
  background: var(--blue);
  position: relative;
}

.workflow-connector:after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border-left: 9px solid var(--blue);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.branch {
  margin-top: 24px;
  text-align: center;
}

.branch span {
  display: inline-block;
  font-weight: 950;
  color: var(--blue-2);
  margin-bottom: 9px;
}

.branch div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 850;
}

.branch.no {
  grid-column: 1 / 3;
}

.branch.yes {
  grid-column: 4 / 6;
}

.markets-section {
  background: #fff;
}

.market-list {
  display: grid;
  gap: 13px;
}

.market-list div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 19px;
  color: var(--navy);
  font-weight: 850;
}

.vision-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(14,165,233,.12), transparent 35%),
    var(--navy);
}

.vision-section h2,
.vision-section .eyebrow {
  color: #fff;
}

.vision-section .lead {
  color: rgba(255,255,255,.74);
}

.contact-box {
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}

small { color: var(--muted); }

.footer {
  background: var(--navy);
  color: rgba(255,255,255,.74);
  padding: 44px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer img {
  height: 92px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
}

.footer p {
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 800;
}

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

  .nav {
    min-height: 96px;
  }

  .brand img {
    height: 118px;
    margin: -18px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 96px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-grid,
  .split,
  .comparison,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .module-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .module-arrow {
    transform: rotate(90deg);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workflow-connector {
    width: 2px;
    height: 26px;
    margin: 0 auto;
  }

  .workflow-connector:after {
    right: -5px;
    top: auto;
    bottom: -1px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 9px solid var(--blue);
    border-bottom: 0;
  }

  .branch.no,
  .branch.yes {
    grid-column: 1;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    height: 96px;
    margin: -14px 0;
  }

  .hero {
    padding: 68px 0;
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-content p,
  .lead,
  .section-copy p,
  .contact-box p {
    font-size: 17px;
  }

  .contact-box,
  .workflow-card {
    padding: 24px;
  }
}
