:root {
  --ink: #050505;
  --muted: #5f6d74;
  --blue: #557fb7;
  --steel: #7692a4;
  --steel-dark: #4d7790;
  --pale: #d9f0f4;
  --wash: #eff8fb;
  --line: #557fb7;
  --card: #ffffff;
  --dot: #d9d9d9;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.28;
}

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

.wrap {
  width: min(100% - 112px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 84px;
  padding: 16px 56px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}

.logo,
.footer-logo {
  width: 194px;
  height: 34px;
  border-radius: 7px;
  background: #c1d0e1;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex: 1;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.lang {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #c8d6e2;
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mega-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: min(calc(100% - 112px), var(--max));
  max-height: calc(100vh - 110px);
  overflow: auto;
  transform: translateX(-50%);
  display: none;
  padding: 28px;
  border: 1px solid #d7e2ea;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgb(25 54 72 / 0.18);
}

.mega-panel.open {
  display: block;
}

.mega-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  margin-bottom: 24px;
}

.mega-header h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.mega-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.mega-primary-link {
  width: fit-content;
  align-self: end;
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pale);
  color: #263f55;
  font-size: 16px;
  font-weight: 800;
}

.mega-primary-link:hover {
  color: var(--blue);
}

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

.mega-column h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.mega-column a,
.mobile-column a {
  display: block;
  padding: 7px 0;
  color: #17202a;
  font-size: 16px;
  font-weight: 700;
}

.mega-column a:hover,
.mobile-column a:hover {
  color: var(--blue);
}

.mega-featured,
.mobile-featured {
  padding: 22px;
  border-radius: 8px;
  background: var(--pale);
}

.mega-featured h3,
.mobile-featured h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.1;
}

.mega-featured p,
.mobile-featured p {
  color: #17202a;
  font-size: 16px;
  font-weight: 700;
}

.mega-featured a,
.mobile-featured a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
}

.mobile-primary-link {
  display: block;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--pale);
  color: #263f55;
  font-size: 16px;
  font-weight: 800;
}

.mobile-nav {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-muted {
  color: #fff;
  background: #abc6dc;
}

.button-outline {
  color: #2d4f7d;
  border: 1.5px solid var(--blue);
  background: #fff;
}

.hero {
  background: linear-gradient(90deg, var(--pale) 0 50%, var(--steel) 50% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  min-height: 865px;
}

.hero-copy {
  padding: 76px 84px 80px 0;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
}

.eyebrow span::before {
  content: "•";
  display: inline-block;
  margin: 0 18px;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 34px;
  font-size: clamp(48px, 4.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 56px;
  font-size: 23px;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  margin-bottom: 52px;
}

.partners-line {
  max-width: 650px;
  font-size: 24px;
  font-weight: 800;
}

.hero-projects {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 72px 0 72px 64px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 54px;
  padding: 28px 28px 26px 32px;
  border-radius: 8px;
  background: var(--pale);
}

.card-kicker {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 800;
}

.featured-card h2 {
  max-width: 390px;
  margin-bottom: 22px;
  font-size: 31px;
  line-height: 1.1;
}

.featured-card p:not(.card-kicker) {
  max-width: 350px;
  margin-bottom: 72px;
  font-size: 21px;
}

.featured-card a {
  font-weight: 800;
}

.image-block,
.service-image,
.case-image,
.article-image,
.large-image {
  background: var(--steel);
}

.image-block {
  min-height: 292px;
  border-radius: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 90px 0;
}

.stats article {
  min-height: 148px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  column-gap: 24px;
  padding: 22px 28px;
  border: 3px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 3px 5px rgb(0 0 0 / 0.16);
}

.stat-dot {
  width: 62px;
  height: 62px;
  grid-row: span 2;
  border-radius: 50%;
  background: var(--dot);
}

.stats strong {
  font-size: 44px;
  line-height: 0.9;
}

.stats p {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.section {
  padding: 80px 0;
}

.section-tint {
  background: var(--wash);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-head h2,
.partners h2,
.cta h2 {
  margin-bottom: 44px;
  font-size: clamp(40px, 3.2vw, 54px);
  line-height: 1.05;
}

.section-head p {
  max-width: 680px;
  margin-bottom: 0;
  font-weight: 700;
}

.section-head > a {
  margin-bottom: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.service-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.article-grid article {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 4px;
  background: var(--card);
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.14);
}

.service-image {
  height: 140px;
}

.floating-dot {
  position: absolute;
  top: 102px;
  left: 16px;
  width: 68px;
  height: 68px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dot);
}

.service-card h3,
.service-card p,
.service-card a {
  display: block;
  padding-inline: 16px;
}

.service-card h3 {
  margin: 48px 0 18px;
  font-size: 25px;
  line-height: 1.1;
}

.service-card p {
  min-height: 76px;
  margin-bottom: 26px;
  color: #1a1a1a;
  font-size: 17px;
}

.service-card a {
  font-weight: 800;
}

.request-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.32fr;
  gap: 58px;
  align-items: start;
}

.large-image {
  min-height: 436px;
}

.accordion-list {
  display: grid;
  gap: 18px;
}

details {
  border-bottom: 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
  list-style: none;
  font-size: 25px;
  font-weight: 800;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 18px;
  height: 18px;
  border-right: 5px solid #666;
  border-bottom: 5px solid #666;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  max-width: 740px;
  margin: 0 48px 16px 0;
  color: var(--muted);
}

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

.case-card {
  display: grid;
  grid-template-columns: 33% 1fr;
  overflow: hidden;
  min-height: 156px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.12);
}

.case-card > div:last-child {
  padding: 26px 18px 18px;
}

.case-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.1;
}

.case-card p {
  font-size: 17px;
}

.case-card span {
  display: inline-flex;
  margin: 0 5px 5px 0;
  padding: 4px 16px;
  color: #fff;
  border-radius: 999px;
  background: #8fa4ba;
  font-size: 12px;
}

.why {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 96px;
}

.why h2 {
  font-size: 44px;
}

.why aside p {
  font-size: 25px;
  font-weight: 800;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 52px;
}

.steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: #000;
}

.steps article {
  position: relative;
}

.steps article::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #000;
}

.steps strong {
  display: block;
  margin-bottom: 20px;
  font-size: 42px;
}

.steps h3 {
  margin-bottom: 26px;
  font-size: 24px;
}

.steps p {
  font-size: 19px;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 52px;
  margin: -14px 0 30px;
  font-size: 25px;
  font-weight: 800;
}

.tabs button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.tabs .active {
  text-decoration: underline;
  text-underline-offset: 12px;
}

.article-grid article {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.article-image {
  height: 145px;
  flex: 0 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 16px 16px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-meta.no-badge {
  justify-content: flex-end;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  color: #fff;
  border-radius: 999px;
  background: #8fa4ba;
  white-space: nowrap;
}

.article-grid h3 {
  min-height: 88px;
  margin-bottom: 12px;
  padding: 16px 16px 0;
  font-size: 24px;
  line-height: 1.12;
}

.article-excerpt {
  padding: 0 16px;
  margin-bottom: 18px;
  color: #1a1a1a;
  font-size: 16px;
}

.article-grid article > a {
  display: block;
  margin-top: auto;
  padding: 0 16px 18px;
  font-weight: 800;
}

.section-more {
  display: inline-flex;
  margin-top: 34px;
  font-weight: 800;
}

.topics {
  padding-bottom: 56px;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 22px;
  max-width: 1320px;
}

.topic-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 30px;
  color: #fff;
  border-radius: 999px;
  background: #91a7bd;
  font-size: 24px;
  font-weight: 800;
}

.partners {
  padding: 30px 0 118px;
}

.partners-subtitle {
  max-width: 760px;
  margin: -24px 0 42px;
  font-size: 22px;
  font-weight: 700;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 110px;
}

.logo-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  color: #2c6c9a;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  opacity: 1;
}

.cta {
  padding: 70px 24px 76px;
  text-align: center;
  background: var(--pale);
}

.cta h2 {
  margin-bottom: 24px;
}

.cta p {
  margin-bottom: 34px;
  font-size: 24px;
  font-weight: 800;
}

.cta .button {
  min-width: 178px;
  min-height: 46px;
  margin: 0 4px;
}

.footer {
  padding: 56px 0 86px;
  background: var(--steel-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.45fr);
  gap: 44px;
}

.footer-logo {
  background: #7db0cc;
}

.footer p,
.footer li {
  height: 27px;
  margin: 26px 0 0;
  list-style: none;
  background: rgb(125 176 204 / 0.45);
}

.footer p:first-of-type {
  width: 75%;
}

.footer p:last-of-type {
  width: 64%;
}

.footer ul {
  margin: 0;
  padding: 0;
}

.footer li:first-child {
  background: #7db0cc;
}

@media (max-width: 1360px) {
  .site-header {
    padding-inline: 28px;
    gap: 24px;
  }

  .main-nav {
    gap: 18px;
    font-size: 16px;
  }

  .mega-panel {
    width: calc(100% - 56px);
  }

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

  .mega-featured {
    grid-column: 1 / -1;
  }

  .hero {
    background: linear-gradient(180deg, var(--pale) 0 50%, var(--steel) 50% 100%);
  }

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

  .hero-copy,
  .hero-projects {
    padding-inline: 0;
  }

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

  .case-grid,
  .why,
  .request-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .header-actions .button-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mega-panel {
    display: none;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 84px);
    overflow: auto;
    padding: 18px 28px 28px;
    border-top: 1px solid #d7e2ea;
    background: #fff;
    box-shadow: 0 18px 32px rgb(25 54 72 / 0.14);
  }

  .mobile-nav.open {
    display: block;
  }

  .mobile-link,
  .mobile-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #e4edf2;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 20px;
    font-weight: 800;
    text-align: left;
  }

  .mobile-trigger::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 3px solid #66727b;
    border-bottom: 3px solid #66727b;
    transform: rotate(45deg);
  }

  .mobile-trigger[aria-expanded="true"]::after {
    transform: rotate(225deg);
  }

  .mobile-panel {
    display: none;
    padding: 18px 0 24px;
  }

  .mobile-panel.open {
    display: grid;
    gap: 20px;
  }

  .mobile-column h3 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .mobile-actions {
    display: grid;
    gap: 12px;
    padding-top: 18px;
  }

  .mobile-actions .button {
    width: 100%;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    position: static;
    padding: 14px 16px;
    justify-content: space-between;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .header-actions .button {
    min-height: 44px;
    padding-inline: 18px;
  }

  .main-nav {
    gap: 18px;
    font-size: 16px;
  }

  .hero-copy,
  .hero-projects {
    padding: 42px 0;
  }

  .eyebrow {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  .lead,
  .partners-line {
    font-size: 20px;
  }

  .hero-buttons,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-card,
  .case-card {
    grid-template-columns: 1fr;
  }

  .featured-card p:not(.card-kicker) {
    margin-bottom: 28px;
  }

  .image-block {
    min-height: 190px;
  }

  .stats,
  .service-grid,
  .case-grid,
  .article-grid,
  .steps,
  .footer-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 42px 0;
  }

  .stats article {
    border-radius: 22px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head h2,
  .partners h2,
  .cta h2 {
    margin-bottom: 22px;
    font-size: 38px;
  }

  summary {
    font-size: 21px;
  }

  .large-image {
    min-height: 260px;
  }

  .why {
    gap: 28px;
  }

  .steps {
    padding-left: 24px;
  }

  .steps::after {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 2px;
    height: auto;
  }

  .steps article::after {
    left: -30px;
    bottom: auto;
    top: 12px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 20px;
  }

  .topic-cloud a {
    width: 100%;
    justify-content: center;
    font-size: 20px;
    text-align: center;
  }
}
