:root {
  --company-night: #081d32;
  --company-night-soft: #102c45;
  --company-green: #10d187;
  --company-green-dark: #087b50;
  --company-mist: #eef5f7;
  --company-sand: #f6f1e8;
}

.company-hero {
  position: relative;
  display: flex;
  min-height: 700px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--company-night);
  background-image:
    linear-gradient(90deg, rgba(4, 19, 32, 0.97) 0%, rgba(5, 24, 40, 0.86) 34%, rgba(5, 24, 40, 0.2) 65%, rgba(5, 24, 40, 0.03) 100%),
    url("/assets/swipe-company-hero-v1.webp");
  background-position: center;
  background-size: cover;
}

.company-hero-inner,
.company-proof,
.company-foundation,
.company-difference,
.company-partner,
.company-scale,
.company-cta {
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 86px;
  padding-bottom: 92px;
}

.company-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 5.8vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.company-hero h1 span {
  display: block;
  white-space: nowrap;
}

.company-hero h1 .company-title-accent {
  color: #74e4b7;
}

.company-hero-lead {
  max-width: none;
  margin: 30px 0 0;
  color: #f5f8fa;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.42;
  white-space: nowrap;
}

.company-hero-support {
  margin: 12px 0 0;
  color: #b9c9d6;
  font-size: 16px;
}

.company-hero-actions {
  margin-top: 32px;
}

.company-page .company-hero-actions .button-primary,
.company-page .company-cta .button-primary {
  border-color: var(--company-green);
  color: #062317;
  background: var(--company-green);
}

.company-page .company-hero-actions .button-primary:hover,
.company-page .company-cta .button-primary:hover {
  border-color: var(--company-green-dark);
  color: #fff;
  background: var(--company-green-dark);
}

.company-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
}

.company-proof > div {
  min-width: 0;
  padding: 29px 26px 31px;
  border-left: 1px solid #d5dee7;
}

.company-proof > div:first-child {
  border-left: 0;
}

.company-proof strong,
.company-proof span {
  display: block;
}

.company-proof strong {
  color: var(--company-night);
  font-size: 16px;
}

.company-proof span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.company-foundation {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(54px, 7vw, 112px);
  padding-top: 104px;
  padding-bottom: 108px;
  background: var(--company-sand);
}

.company-kicker {
  margin: 0 0 16px;
  color: var(--company-green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company-kicker-light {
  color: #74e4b7;
}

.company-foundation h2,
.company-section-heading h2,
.company-partner h2,
.company-cta h2 {
  margin: 0;
  color: var(--company-night);
  font-size: clamp(42px, 4.8vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.company-foundation h2 span {
  display: block;
}

.company-scale h2 span {
  display: block;
}

.company-foundation-copy > p:not(.company-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: #4c6072;
  font-size: 18px;
  line-height: 1.65;
}

.company-foundation-copy > p + p:not(.company-kicker) {
  margin-top: 16px;
}

.company-image-pair {
  position: relative;
  min-height: 530px;
}

.company-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd7df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(8, 29, 50, 0.16);
}

.company-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-image figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 9px 12px;
  border-radius: 5px;
  color: #fff;
  background: rgba(8, 29, 50, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.company-image-software {
  top: 0;
  right: 10%;
  left: 0;
  height: 330px;
}

.company-image-software img {
  object-position: left center;
}

.company-image-service {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 285px;
  border: 6px solid var(--company-sand);
}

.company-difference {
  padding-top: 102px;
  padding-bottom: 108px;
  background: #fff;
}

.company-section-heading {
  max-width: 940px;
  margin-bottom: 48px;
}

.company-difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfd9e2;
  border-bottom: 1px solid #cfd9e2;
}

.company-difference-grid article {
  min-width: 0;
  padding: 34px 30px 38px;
  border-left: 1px solid #cfd9e2;
}

.company-difference-grid article:first-child {
  border-left: 0;
}

.company-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  color: var(--company-green-dark);
  background: #e7f7f0;
}

.company-card-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.company-difference-grid h3 {
  margin: 24px 0 0;
  color: var(--company-night);
  font-size: 19px;
  line-height: 1.25;
}

.company-difference-grid p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.company-partner {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
  padding-top: 100px;
  padding-bottom: 106px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 45%, rgba(16, 209, 135, 0.12), transparent 30%),
    var(--company-night);
}

.company-partner h2 {
  color: #fff;
}

.company-partner-heading > p:last-child {
  max-width: 520px;
  margin: 22px 0 0;
  color: #aebfcc;
  font-size: 17px;
  line-height: 1.6;
}

.company-product-list {
  display: grid;
  gap: 1px;
  background: #31516a;
}

.company-product-list a {
  display: grid;
  min-height: 94px;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  color: #fff;
  background: #102c45;
  text-decoration: none;
  transition: background 160ms ease;
}

.company-product-list a:hover,
.company-product-list a:focus-visible {
  background: #163b59;
}

.company-product-list > a > span {
  color: #74e4b7;
  font-size: 12px;
  font-weight: 850;
}

.company-product-list strong,
.company-product-list small {
  display: block;
}

.company-product-list strong {
  font-size: 19px;
}

.company-product-list small {
  margin-top: 3px;
  color: #aebfcc;
  font-size: 13px;
}

.company-product-list i {
  color: #74e4b7;
  font-size: 22px;
  font-style: normal;
  text-align: right;
}

.company-scale {
  padding-top: 98px;
  padding-bottom: 108px;
  background: var(--company-mist);
}

.company-scale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.company-scale-grid article {
  min-height: 248px;
  padding: 30px;
  border: 1px solid #cbd8e1;
  border-radius: 12px;
  background: #fff;
}

.company-scale-grid span {
  color: var(--company-green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.company-scale-grid h3 {
  max-width: 280px;
  margin: 56px 0 0;
  color: var(--company-night);
  font-size: 24px;
  line-height: 1.18;
}

.company-scale-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.company-cta {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: #102c45;
}

.company-cta h2 {
  color: #fff;
  font-size: clamp(38px, 4.4vw, 60px);
}

.company-cta p {
  margin: 14px 0 0;
  color: #b8c7d3;
  font-size: 16px;
}

.company-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .company-hero {
    min-height: 640px;
    background-position: 58% center;
  }

  .company-hero h1 {
    font-size: clamp(50px, 6.5vw, 72px);
  }

  .company-foundation,
  .company-partner {
    grid-template-columns: 1fr;
  }

  .company-foundation-copy {
    max-width: 760px;
  }

  .company-image-pair {
    width: min(100%, 850px);
    margin: 0 auto;
  }

  .company-partner-heading {
    max-width: 780px;
  }

  .company-difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-difference-grid article:nth-child(3) {
    border-left: 0;
  }

  .company-difference-grid article:nth-child(n + 3) {
    border-top: 1px solid #cfd9e2;
  }
}

@media (max-width: 760px) {
  .company-hero {
    min-height: 680px;
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(5, 24, 40, 0.2) 0%, rgba(5, 24, 40, 0.42) 28%, rgba(5, 24, 40, 0.96) 76%, #051828 100%),
      url("/assets/swipe-company-hero-v1.webp");
    background-position: 67% center;
  }

  .company-hero-inner {
    padding-top: 250px;
    padding-bottom: 52px;
  }

  .company-hero h1 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .company-hero-lead {
    margin-top: 22px;
    font-size: 18px;
    white-space: normal;
  }

  .company-hero-support {
    font-size: 14px;
  }

  .company-hero-actions {
    display: grid;
  }

  .company-hero-actions .button {
    width: 100%;
  }

  .company-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-proof > div:nth-child(3) {
    border-left: 0;
  }

  .company-proof > div:nth-child(n + 3) {
    border-top: 1px solid #d5dee7;
  }

  .company-foundation,
  .company-difference,
  .company-partner,
  .company-scale {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .company-foundation {
    gap: 42px;
  }

  .company-foundation h2,
  .company-section-heading h2,
  .company-partner h2 {
    font-size: clamp(36px, 9vw, 50px);
  }

  .company-foundation-copy > p:not(.company-kicker) {
    font-size: 16px;
  }

  .company-image-pair {
    min-height: 440px;
  }

  .company-image-software {
    right: 0;
    height: 260px;
  }

  .company-image-service {
    width: 76%;
    height: 230px;
  }

  .company-difference-grid {
    grid-template-columns: 1fr;
  }

  .company-difference-grid article,
  .company-difference-grid article:nth-child(3) {
    border-top: 1px solid #cfd9e2;
    border-left: 0;
  }

  .company-difference-grid article:first-child {
    border-top: 0;
  }

  .company-product-list a {
    grid-template-columns: 35px 1fr 24px;
    gap: 12px;
    padding: 16px;
  }

  .company-scale-grid {
    grid-template-columns: 1fr;
  }

  .company-scale-grid article {
    min-height: 210px;
  }

  .company-scale-grid h3 {
    margin-top: 38px;
  }

  .company-cta {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .company-cta .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .company-hero {
    min-height: 650px;
  }

  .company-hero-inner {
    padding-top: 225px;
  }

  .company-hero h1 {
    font-size: clamp(34px, 9.4vw, 42px);
  }

  .company-proof {
    grid-template-columns: 1fr;
  }

  .company-proof > div,
  .company-proof > div:nth-child(3) {
    border-top: 1px solid #d5dee7;
    border-left: 0;
  }

  .company-proof > div:first-child {
    border-top: 0;
  }

  .company-image-pair {
    min-height: 380px;
  }

  .company-image-software {
    height: 225px;
  }

  .company-image-service {
    width: 82%;
    height: 195px;
  }

  .company-product-list small {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .company-hero {
    background-image:
      linear-gradient(90deg, rgba(4, 19, 32, 0.97) 0%, rgba(5, 24, 40, 0.86) 34%, rgba(5, 24, 40, 0.2) 65%, rgba(5, 24, 40, 0.03) 100%),
      url("/assets/swipe-company-hero-v1-960.webp");
  }
}
