:root {
  --blue: #1456d9;
  --blue-dark: #0d3f9f;
  --blue-soft: #eaf3ff;
  --green: #20c997;
  --green-dark: #0d9f76;
  --orange: #ff9d3d;
  --ink: #14213d;
  --muted: #667085;
  --line: #e5edf7;
  --surface: #ffffff;
  --soft: #f7fbff;
  --shadow: 0 20px 60px rgba(20, 33, 61, .10);
  --shadow-blue: 0 20px 60px rgba(20, 86, 217, .16);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: padding .28s ease, background .28s ease, box-shadow .28s ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(20, 33, 61, .08);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 0 24px;
  border: 1px solid rgba(229, 237, 247, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 44px rgba(20, 33, 61, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 28px rgba(20, 86, 217, .25);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.nav-link {
  position: relative;
  padding: 24px 0;
  transition: color .22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow-blue);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 22px 60px rgba(20, 86, 217, .24);
}

.btn.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 33, 61, .06);
}

.btn.secondary:hover {
  background: var(--blue-soft);
  box-shadow: 0 18px 44px rgba(20, 86, 217, .12);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(var(--container), calc(100% - 40px));
  margin: 12px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 6px;
  animation: menuIn .22s ease both;
}

.mobile-menu a {
  padding: 13px 16px;
  border-radius: 16px;
  color: #344054;
  font-weight: 800;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.page-hero {
  position: relative;
  padding: 164px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(32, 201, 151, .14), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(20, 86, 217, .12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 86, 217, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 86, 217, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.48), transparent 74%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.page-title {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 900;
}

.page-intro {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 88px 0;
}

.section.with-header-offset {
  padding-top: 164px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 900;
}

.section-heading p,
.muted {
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 33, 61, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 86, 217, .28);
  box-shadow: var(--shadow);
}

.page-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.stat-card {
  padding: 26px;
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 900;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.project-card {
  overflow: hidden;
}

.project-card.hidden {
  display: none;
}

.project-visual {
  min-height: 235px;
  padding: 24px;
  background: linear-gradient(135deg, #eaf3ff, #f3fff9);
}

.mock-screen {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(20, 86, 217, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 33, 61, .10);
}

.mock-row {
  height: 12px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #d9e8fb;
}

.mock-row.short {
  width: 48%;
  background: var(--green);
}

.mock-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 96px;
  margin-top: 20px;
}

.mock-chart span {
  flex: 1;
  border-radius: 12px 12px 4px 4px;
  background: var(--blue);
}

.mock-chart span:nth-child(1) { height: 48%; opacity: .24; }
.mock-chart span:nth-child(2) { height: 74%; opacity: .45; }
.mock-chart span:nth-child(3) { height: 55%; opacity: .3; }
.mock-chart span:nth-child(4) { height: 100%; background: var(--green); }
.mock-chart span:nth-child(5) { height: 68%; opacity: .45; }

.project-body {
  padding: 26px;
}

.project-body h2,
.project-body h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  background: #f8fbff;
  font-size: 12px;
  font-weight: 900;
}

.metric {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
}

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

.info-card,
.form-card,
.leader-card,
.value-card {
  padding: 28px;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbff;
}

.info-item strong {
  display: block;
  margin-bottom: 4px;
}

.map-box {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(20, 86, 217, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 86, 217, .08) 1px, transparent 1px),
    #f8fbff;
  background-size: 34px 34px;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: var(--shadow-blue);
  transform: translate(-50%, -50%);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
  height: 54px;
  padding: 0 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 15px 16px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 86, 217, .10);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.form-status,
.newsletter-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.story-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.illustration-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(20, 86, 217, .12), rgba(32, 201, 151, .12)),
    #fff;
  box-shadow: var(--shadow);
}

.illustration-card::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.screen-block {
  position: absolute;
  left: 70px;
  top: 86px;
  width: 270px;
  height: 178px;
  border: 12px solid var(--ink);
  border-radius: 24px;
  background: linear-gradient(135deg, #eef7ff, #fff);
  box-shadow: 0 18px 40px rgba(20, 33, 61, .16);
}

.screen-block::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -48px;
  width: 78px;
  height: 48px;
  border-radius: 0 0 18px 18px;
  background: var(--ink);
  transform: translateX(-50%);
}

.person-block {
  position: absolute;
  right: 96px;
  bottom: 118px;
  width: 92px;
  height: 138px;
  border-radius: 46px 46px 22px 22px;
  background: var(--orange);
}

.person-block::before {
  content: "";
  position: absolute;
  top: -54px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f2b28b;
  box-shadow: 0 -13px 0 var(--ink);
}

.desk-block {
  position: absolute;
  left: 70px;
  right: 70px;
  bottom: 72px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.leader-card {
  overflow: hidden;
}

.leader-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: var(--shadow-blue);
  font-size: 28px;
  font-weight: 900;
}

.leader-card h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.leader-title {
  color: var(--blue);
  font-weight: 900;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
}

.footer {
  padding: 76px 0 28px;
  background: #0c1f3d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 42px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,.72);
}

.footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  outline: 0;
}

.newsletter input::placeholder {
  color: rgba(255,255,255,.5);
}

.newsletter button {
  min-height: 48px;
  padding-inline: 17px;
  box-shadow: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .two-col,
  .three-col,
  .four-col,
  .split-layout,
  .story-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav-shell {
    min-height: 62px;
    padding: 0 14px;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .page-hero {
    padding-top: 120px;
  }

  .page-title {
    font-size: 40px;
  }

  .page-intro {
    font-size: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .section.with-header-offset {
    padding-top: 124px;
  }

  .stats-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .illustration-card {
    min-height: 360px;
  }

  .screen-block {
    left: 42px;
    width: 220px;
  }

  .person-block {
    right: 42px;
  }
}
