:root {
  --color-ink: #1a1d2b;
  --color-ink-soft: #3a3f52;
  --color-muted: #4f5568;
  --color-ground: #f4f5f7;
  --color-surface: #ffffff;
  --color-line: #dcdfe8;
  --color-brand: #060f5e;
  --color-brand-dark: #030a45;
  --color-brand-tint: #e9ebf7;
  --color-brand-line: #6c78c9;
  --color-accent: #0074ae;
  --color-on-brand: #ffffff;
  --color-on-brand-soft: #e6e9fa;
  --color-on-brand-accent: #c5cdf5;
  --color-footer-text: #d5d8e4;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-wordmark: "Anton", Impact, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --page-width: 1240px;
  --page-gutter: 32px;
  --radius: 6px;
  --radius-small: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-surface);
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-brand);
}

a:hover {
  color: var(--color-brand-dark);
}

a:focus-visible {
  outline: 3px solid var(--color-brand-line);
  outline-offset: 2px;
}

.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section--ground {
  background: var(--color-ground);
}

.section--brand {
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.eyebrow--on-brand {
  color: var(--color-on-brand-accent);
}

.heading {
  max-width: 760px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin-top: 16px;
  font-size: 18px;
  color: var(--color-ink-soft);
}

.section--brand .lead {
  color: var(--color-on-brand-soft);
}

.section-body {
  margin-top: 48px;
}

.button {
  display: inline-block;
  padding: 15px 24px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-small);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--color-brand-dark);
  color: var(--color-on-brand);
}

.button--light {
  border-color: var(--color-on-brand);
  background: var(--color-on-brand);
  color: var(--color-brand);
}

.button--light:hover {
  background: var(--color-brand-tint);
  color: var(--color-brand-dark);
}

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 4px 0;
  text-decoration: none;
}

.logo__name {
  padding: 0 18px;
  font-family: var(--font-wordmark);
  font-size: 30px;
  line-height: 1;
  color: var(--color-brand);
}

.logo__triangle {
  width: 100%;
  height: 11px;
  fill: var(--color-accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  align-items: center;
  font-size: 15px;
}

.site-nav__link {
  padding: 12px 0;
  color: var(--color-ink);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--color-brand);
}

.site-nav .button {
  padding: 12px 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 94, 0.94) 0%, rgba(6, 15, 94, 0.82) 42%, rgba(6, 15, 94, 0.25) 100%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 112px;
  padding-bottom: 120px;
}

.hero__content .eyebrow {
  margin-bottom: 0;
}

.hero__title {
  max-width: 760px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.hero__text {
  max-width: 520px;
  font-size: 19px;
  color: var(--color-on-brand-soft);
}

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
}

.about__intro {
  flex: 1 1 380px;
}

.about__statement {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.about__details {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--color-ink-soft);
}

.product-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-index a {
  padding: 8px 14px;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.product-index a:hover {
  background: var(--color-brand-tint);
}

.product {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--color-line);
}

.product--reversed {
  flex-direction: row-reverse;
}

.product__media {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product__media img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--color-ground);
}

.product__content {
  flex: 1 1 420px;
  min-width: 0;
}

.product__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-brand);
}

.product__lead {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.product__text {
  margin-top: 16px;
  color: var(--color-ink-soft);
}

.feature-list {
  margin-top: 28px;
  counter-reset: feature;
}

.feature-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
  counter-increment: feature;
}

.feature-list li::before {
  content: counter(feature, decimal-leading-zero);
  flex: none;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-brand);
}

.feature-list strong {
  font-weight: 600;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.other-product {
  flex: 1 1 360px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.other-product img {
  flex: none;
  width: 84px;
  border-radius: var(--radius-small);
}

.other-product__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-brand);
}

.other-product__text {
  margin-top: 8px;
  color: var(--color-ink-soft);
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}

.advantages__intro {
  flex: 1 1 380px;
  min-width: 0;
}

.advantages__intro img {
  margin-top: 32px;
  border-radius: var(--radius);
}

.advantages__list {
  flex: 1.2 1 440px;
  min-width: 0;
  margin-top: 0;
}

.advantages__list li {
  padding: 20px 0;
  font-weight: 500;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.projects__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.projects__item figcaption {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
}

.consulting {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}

.consulting__intro {
  flex: 1 1 400px;
}

.consulting__panel {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.consulting__panel-title {
  font-size: 18px;
  font-weight: 600;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  list-style: disc;
  color: var(--color-ink-soft);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.benefit {
  padding-top: 16px;
  border-top: 2px solid var(--color-brand);
}

.benefit__name {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.benefit__text {
  font-size: 15px;
  color: var(--color-ink-soft);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.contact__details {
  flex: 1 1 340px;
}

.contact__block {
  margin-top: 28px;
}

.contact__label {
  font-weight: 600;
}

.contact__panel {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.contact__panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
}

.contact__panel-text {
  color: var(--color-on-brand-soft);
}

.site-footer {
  background: var(--color-ink);
  color: var(--color-footer-text);
  font-size: 15px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 64px;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}

.site-footer a {
  padding: 10px 0;
  color: var(--color-on-brand);
}

@media (max-width: 1000px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero__content {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .hero__shade {
    background: rgba(6, 15, 94, 0.86);
  }

  .product {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .projects__grid,
  .benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .other-product {
    flex-direction: column;
  }
}
