:root {
  --color-ink: #14242a;
  --color-ink-soft: #36474d;
  --color-muted: #4a5a60;
  --color-ground: #f5f6f4;
  --color-surface: #ffffff;
  --color-line: #dde3e2;
  --color-line-strong: #ccd5d4;
  --color-brand: #0e4b50;
  --color-brand-dark: #08363a;
  --color-brand-tint: #e8f1f1;
  --color-brand-line: #5fa0a5;
  --color-brand-ring: #2c767c;
  --color-on-brand: #ffffff;
  --color-on-brand-soft: #e3f1f2;
  --color-on-brand-accent: #a9dadd;
  --color-capatech: #060f5e;
  --color-capatech-ring: #3443b0;
  --color-on-capatech-soft: #e6effa;
  --color-on-capatech-accent: #c5dcf5;
  --color-footer-text: #d5dddf;
  --font-heading: "Archivo", system-ui, 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 {
  margin: 0;
}

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

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--brand {
  color: var(--color-brand);
}

.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;
  color: var(--color-ink-soft);
}

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

.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: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.button--outline {
  background: transparent;
  color: var(--color-brand);
}

.button--outline: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--plain {
  border-bottom: 0;
  background: transparent;
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  text-decoration: none;
}

.logo__mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--color-brand);
}

.logo__place {
  font-size: 14px;
  color: var(--color-muted);
}

.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;
}

.gateway {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-ground);
}

.gateway__intro {
  padding-top: 40px;
  padding-bottom: 44px;
}

.gateway__title {
  max-width: 900px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.gateway__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 64px;
}

.gateway-card {
  position: relative;
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 520px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-on-brand);
  text-decoration: none;
}

.gateway-card:hover {
  color: var(--color-on-brand);
}

.gateway-card--capatech {
  background: var(--color-capatech);
}

.gateway-card__art {
  position: absolute;
  top: -70px;
  right: -90px;
  width: 460px;
  height: 460px;
  fill: none;
  stroke: var(--color-brand-ring);
}

.gateway-card--capatech .gateway-card__art {
  top: 20px;
  right: -40px;
  width: 440px;
  height: 330px;
  stroke: var(--color-capatech-ring);
}

.gateway-card__dot {
  fill: var(--color-capatech-ring);
  stroke: none;
}

.gateway-card__label {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-on-brand-accent);
}

.gateway-card--capatech .gateway-card__label {
  color: var(--color-on-capatech-accent);
}

.gateway-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gateway-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.gateway-card__text {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-on-brand-soft);
}

.gateway-card--capatech .gateway-card__text {
  color: var(--color-on-capatech-soft);
}

.gateway-card__action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 22px;
  border-radius: var(--radius-small);
  background: var(--color-on-brand);
  color: var(--color-brand);
  font-size: 15px;
  font-weight: 600;
}

.gateway-card--capatech .gateway-card__action {
  color: var(--color-capatech);
}

.gateway-card__action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero__content {
  flex: 1 1 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.hero__title {
  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: 540px;
  font-size: 18px;
  color: var(--color-ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__art {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-brand);
}

.hero__art svg {
  width: 100%;
  height: auto;
  fill: none;
}

.pipe-outline {
  stroke: var(--color-on-brand-accent);
  stroke-width: 2;
}

.pipe-wall {
  stroke: var(--color-brand-ring);
}

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

.producer-card {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.producer-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
}

.producer-card__text {
  color: var(--color-ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.tag-list li {
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--color-brand-tint);
}

.producer-card__link {
  margin-top: auto;
  padding: 12px 0;
  font-weight: 600;
}

.application-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border: 1px solid var(--color-line-strong);
  background: var(--color-line-strong);
}

.application {
  flex: 1 1 270px;
  min-height: 150px;
  padding: 28px;
  background: var(--color-surface);
}

.application__number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
}

.application__name {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

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

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

.benefits__intro {
  flex: 1 1 320px;
}

.benefits__list {
  flex: 2 1 560px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.benefit {
  flex: 1 1 240px;
  padding-top: 16px;
  border-top: 1px solid var(--color-brand-line);
}

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

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

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.step {
  flex: 1 1 230px;
}

.step__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-brand);
}

.step__name {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.step__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__text {
  margin: 20px 0 32px;
  color: var(--color-ink-soft);
}

.contact__company {
  font-weight: 600;
}

.contact__panel {
  flex: 1 1 440px;
  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);
}

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

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

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

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer__column {
  flex: 1 1 220px;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-on-brand);
}

.site-footer__heading {
  font-weight: 600;
  color: var(--color-on-brand);
}

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

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

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

  .gateway-card {
    min-height: 420px;
    padding: 28px;
  }

  .hero__art {
    min-height: 260px;
  }
}
