/* ==========================================================================
   Meetecho - site styles
   No external fonts or frameworks: system font stack, plain CSS.
   ========================================================================== */

:root {
  --navy-950: #06121a;
  --navy-900: #0a1f2c;
  --navy: #0f2c3e;
  --navy-700: #16405a;
  --blue: #52a8ec;
  --blue-600: #1f7fc8;
  --blue-50: #eef6fd;
  --ink: #0f1d26;
  --muted: #4b5d6b;
  --muted-light: #a9bccb;
  --line: #e2e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 44, 62, 0.06), 0 8px 24px rgba(15, 44, 62, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 44, 62, 0.06), 0 16px 40px rgba(15, 44, 62, 0.12);
  --container: 1180px;
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

sup {
  font-size: 0.55em;
}

abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: help;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 12px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--blue);
  color: var(--navy-950);
}
.btn--primary:hover {
  background: #73b9f0;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 15px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.link-arrow .icon {
  transition: transform 0.2s;
}
.link-arrow:hover {
  text-decoration: none;
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 31, 44, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: 128px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Flex items instead of inline boxes: an inline-flex link that starts with an SVG
   (GitHub) would otherwise sit on the SVG's bottom edge and ride ~2px higher */
.nav__links > li {
  display: flex;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  color: #d7e3ec;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
  text-decoration: none;
}
.nav__links .nav__icon {
  gap: 6px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle .icon {
  width: 26px;
  height: 26px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px 28px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__links a {
    display: flex;
    flex: 1;
    padding: 10px 0;
    font-size: 17px;
  }
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 96px;
  /* Navy overlay keeps the text readable on top of the photo; darker on the left, where the copy sits */
  --hero-overlay: linear-gradient(90deg, rgba(6, 18, 26, 0.92) 0%, rgba(10, 31, 44, 0.8) 50%, rgba(15, 44, 62, 0.6) 100%);
  /* JPEG first, for browsers without image-set(); WebP for all modern browsers */
  background:
    var(--hero-overlay),
    url("../img/hero-bg-1920.jpg") center / cover no-repeat,
    var(--navy-950);
  background:
    var(--hero-overlay),
    image-set(url("../img/hero-bg-1920.webp") type("image/webp"), url("../img/hero-bg-1920.jpg") type("image/jpeg")) center / cover no-repeat,
    var(--navy-950);
  color: #fff;
}
@media (max-width: 900px) {
  .hero {
    background:
      var(--hero-overlay),
      url("../img/hero-bg-1024.jpg") center / cover no-repeat,
      var(--navy-950);
    background:
      var(--hero-overlay),
      image-set(url("../img/hero-bg-1024.webp") type("image/webp"), url("../img/hero-bg-1024.jpg") type("image/jpeg")) center / cover no-repeat,
      var(--navy-950);
  }
}
.hero__grid {
  display: grid;
  /* minmax(0, …): the one-line descriptions in the stack card must not force a minimum column width */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(82, 168, 236, 0.14);
  color: #bfe0fa;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(82, 168, 236, 0.25);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero__lead strong {
  color: #fff;
  font-weight: 700;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #c9d8e3;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__existing {
  color: #c9d8e3;
  font-size: 15px;
}
.hero__existing a {
  color: #fff;
  font-weight: 600;
}

.hero__visual {
  position: relative;
}
.stack-card {
  position: relative;
  background: rgba(6, 18, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.stack-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #c8d8e4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stack-layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(10, 31, 44, 0.85);
  border: 1px solid rgba(82, 168, 236, 0.25);
  color: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.stack-layer:hover {
  border-color: var(--blue);
  transform: translateX(-3px);
  text-decoration: none;
}
.stack-layer + .stack-layer {
  margin-top: 12px;
}
.stack-layer__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(82, 168, 236, 0.16);
  color: var(--blue);
  flex: none;
}
.stack-layer__icon .icon {
  width: 28px;
  height: 28px;
}
.stack-layer__body {
  flex: 1;
  min-width: 0;
}
.stack-layer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.stack-layer strong {
  font-size: 16px;
}
.stack-layer .tag {
  flex: none;
  margin-left: auto; /* badge aligned to the right edge of the box */
  padding: 2px 8px;
  font-size: 11.5px;
}
/* One line only: the descriptions are short enough to fit; the ellipsis is just a safety net */
.stack-layer__desc {
  display: block;
  font-size: 13.5px;
  color: #dde8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* On phones: tighter card and smaller icon, so the description keeps one line */
@media (max-width: 560px) {
  .stack-card {
    padding: 14px;
  }
  .stack-layer {
    gap: 10px;
    padding: 10px 12px;
  }
  .stack-layer__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .stack-layer__icon .icon {
    width: 22px;
    height: 22px;
  }
  .stack-layer__desc {
    font-size: 13px;
  }
}
/* Small phones (360px and below): drop the decorative icons to keep the text on one line */
@media (max-width: 400px) {
  .stack-layer__icon {
    display: none;
  }
}
/* Narrow desktops, where the card column is at its tightest */
@media (min-width: 961px) and (max-width: 1100px) {
  .hero__grid {
    gap: 32px;
  }
  .stack-layer__desc {
    font-size: 13px;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: calc(var(--header-h) + 56px) 0 72px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

/* Tags / badges
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag--stable {
  background: rgba(46, 160, 67, 0.16);
  color: #6fd88a;
}
.tag--beta {
  background: rgba(226, 160, 40, 0.16);
  color: #f2c063;
}
.tag--alpha {
  background: rgba(186, 120, 240, 0.18);
  color: #d4a8f7;
}
.tag--light.tag--stable {
  background: #e6f6ea;
  color: #1b7a33;
}
.tag--light.tag--beta {
  background: #fdf3e0;
  color: #8a5a00;
}
.tag--light.tag--alpha {
  background: #f3eafd;
  color: #6b2fa3;
}
.tag--neutral {
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Proof strip
   ========================================================================== */
.proof {
  background: var(--navy-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof__item {
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.proof__item:first-child {
  border-left: 0;
}
.proof__value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.proof__label {
  display: block;
  font-size: 14.5px;
  color: #c9d8e3;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof__item:nth-child(3) {
    border-left: 0;
  }
  .proof__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Sections
   ========================================================================== */
.section {
  padding: 96px 0;
}
.section--soft {
  background: var(--bg-soft);
}
/* Light brand tint, for a section that sits between a soft and a white one */
.section--tint {
  background: var(--blue-50);
  border-block: 1px solid #cfe5f8;
}
.section--tight {
  padding: 64px 0;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left {
  margin-left: 0;
  text-align: left;
}
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }
}

/* Logos
   ========================================================================== */
.logos__title {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 28px;
}
.logos__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logos__grid li a,
.logos__grid li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.logos__grid li a:hover {
  border-color: var(--blue);
}
.logos__grid img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.2s;
}
.logos__grid li a:hover img {
  filter: none;
  opacity: 1;
}
@media (max-width: 1020px) {
  .logos__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 560px) {
  .logos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Products
   ========================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.product__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.product__icon .icon {
  width: 24px;
  height: 24px;
}
.product h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.product__role {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}
.product__desc {
  color: var(--muted);
  font-size: 16px;
}
.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15.5px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231f7fc8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.product__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Side by side, the three cards share their rows (subgrid), so descriptions,
   bullet lists, license tags and links line up across the cards */
@media (min-width: 1021px) {
  @supports (grid-template-rows: subgrid) {
    .products {
      row-gap: 0;
    }
    .product {
      display: grid;
      grid-row: span 7;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .product__desc {
      margin-bottom: 18px;
    }
    .product__meta {
      align-self: end;
    }
    .product__links {
      margin-top: 0;
      align-self: end;
    }
  }
}
@media (max-width: 1020px) {
  .products {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}

/* Architecture
   ========================================================================== */
.arch {
  margin-top: 64px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(82, 168, 236, 0.18), transparent 60%);
}
.arch h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.arch > p {
  color: #c9d8e3;
  margin-bottom: 32px;
  max-width: 760px;
}
.arch__flow {
  display: grid;
  /* Fixed arrow columns: the arrow labels have different lengths, the gaps between the nodes stay equal */
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}
.arch__node {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.arch__node--core {
  border-color: rgba(82, 168, 236, 0.6);
  background: rgba(82, 168, 236, 0.1);
}
.arch__node h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.arch__node ul {
  margin: 0;
  padding-left: 18px;
  color: #c9d8e3;
  font-size: 14.5px;
}
.arch__arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}
.arch__arrow .icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
}
.arch__note {
  max-width: none;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #c9d8e3;
  font-size: 15px;
}
.arch__note strong {
  color: #fff;
}
@media (max-width: 900px) {
  .arch {
    padding: 28px 22px;
  }
  .arch__flow {
    grid-template-columns: 1fr;
  }
  .arch__arrow .icon {
    transform: rotate(90deg);
  }
}

/* Services
   ========================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.service__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.service__head .product__icon {
  flex: none;
}
.service h3 {
  font-size: 21px;
  margin: 0;
}
.service > p {
  color: var(--muted);
  font-size: 16px;
}
.service .checklist {
  margin-bottom: 20px;
}
.service .link-arrow {
  margin-top: auto;
}
@media (max-width: 860px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.license-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--blue-50);
  border: 1px solid #cfe5f8;
}
.license-box h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.license-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 860px) {
  .license-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Why us
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why__item .product__icon {
  margin-bottom: 16px;
}
.why__item h3 {
  font-size: 18px;
}
.why__item p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}
@media (max-width: 1020px) {
  .why {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .why {
    grid-template-columns: 1fr;
  }
}

/* Work highlights
   ========================================================================== */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case__media {
  aspect-ratio: 16 / 7;
  background: var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.case__media img.case__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.case__media .case__logo {
  position: absolute;
  max-height: 46px;
  width: auto;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}
.case__media--esa {
  background:
    radial-gradient(400px 200px at 80% 20%, rgba(82, 168, 236, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-700));
}
.case__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.case__body .tag {
  align-self: flex-start;
  margin-bottom: 12px;
}
.case__body h3 {
  font-size: 20px;
}
.case__body p {
  color: var(--muted);
  font-size: 16px;
}
.case__body .link-arrow {
  margin-top: auto;
}
@media (max-width: 860px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

/* Team
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.about__text h2,
.contact__info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
}
.about__text p {
  color: var(--muted);
}
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.member {
  text-align: center;
}
.member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  background: var(--bg-soft);
}
.member strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.member span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
}
.member a {
  color: inherit;
}
@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA band
   ========================================================================== */
.cta-band {
  padding: 72px 0;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(82, 168, 236, 0.25), transparent 60%),
    var(--navy);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}
.cta-band p {
  color: #c9d8e3;
  margin: 0;
}
.cta-band .hero__ctas {
  margin: 0;
}

/* Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact__info h3 {
  font-size: 16px;
  margin: 28px 0 6px;
}
.contact__info p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__row--4 {
  grid-template-columns: repeat(4, 1fr);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cdd8e1;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(82, 168, 236, 0.25);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form__events[hidden] {
  display: none;
}
.form__consent {
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.form__captcha {
  margin-bottom: 16px;
  min-height: 78px;
}
.form__captcha[hidden],
.captcha-gate[hidden] {
  display: none;
}
.captcha-gate {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
}
.captcha-gate p {
  margin: 0 0 12px;
}
.captcha-gate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.form__status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.form__status[hidden] {
  display: none;
}
.form__status--ok {
  background: #e6f6ea;
  color: #1b5e2b;
}
.form__status--error {
  background: #fdecec;
  color: #8a1c1c;
}
.form .btn--primary {
  background: var(--blue-600);
  color: #fff;
}
.form .btn--primary:hover {
  background: #186aa8;
}
@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .form {
    padding: 22px;
  }
  .form__row,
  .form__row--4 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #a9bccb;
  padding: 64px 0 28px;
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand img {
  width: 128px;
  height: auto;
  margin-bottom: 16px;
}
.footer__brand p {
  max-width: 320px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 8px;
}
.site-footer a {
  color: #d7e3ec;
}
.site-footer a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__social a:hover {
  border-color: var(--blue);
  text-decoration: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Simple content page (privacy)
   ========================================================================== */
.page {
  padding: calc(var(--header-h) + 56px) 0 80px;
}
.page .container {
  max-width: 820px;
}
.page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.page h2 {
  font-size: 20px;
  margin-top: 36px;
}
.page p,
.page li {
  color: var(--muted);
}
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #fdf3e0;
  color: #6b4700;
  font-size: 15px;
  margin-bottom: 32px;
}

/* Reveal on scroll
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
