/* Standalone RCS Compute responsive and brand corrections. */

:root {
  --color-orange: #009bc9;
  --color-orange-soft: #63c9e6;
}

.hero__accent::after {
  background: rgba(3, 161, 209, 0.28);
}

.technology__map::after {
  background:
    radial-gradient(circle at 63% 43%, rgba(3, 161, 209, 0.22), transparent 9%),
    linear-gradient(90deg, rgba(15, 21, 24, 0.95) 0%, rgba(15, 21, 24, 0.58) 56%, rgba(15, 21, 24, 0.3) 100%);
}

.lifecycle__heading {
  max-width: 755px;
}

.lifecycle__heading h2,
.system-builders .section-heading h2,
.service__copy > h2,
.technology__copy > h2,
.ecosystem__heading h2,
.why-rcs__heading h2,
.cta__content > h2 {
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 0.98;
}

.section-heading p.content-section__subtitle,
.service__copy p.content-section__subtitle,
.cta p.content-section__subtitle {
  max-width: 720px;
  margin-top: 18px;
  color: currentColor;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.12;
}

.section-heading p.content-section__subtitle + p,
.service__copy p.content-section__subtitle + p,
.cta p.content-section__subtitle + p {
  margin-top: 22px;
}

.cta p.content-section__subtitle {
  margin-right: auto;
  margin-left: auto;
  color: #fff;
}

.credibility-strip {
  padding: clamp(48px, 5.5vw, 76px) 0;
  color: #fff;
  background: var(--color-orange);
}

.lifecycle__notch {
  background: var(--color-orange);
}

.credibility-strip p {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.site-footer__bottom {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1;
}

.site-footer__credit img {
  width: 42px;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.site-footer__credit:hover img,
.site-footer__credit:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__credit:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 5px;
}

.cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100vw - 40px), 620px);
  padding: 18px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 64px rgba(24, 28, 31, 0.2);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice strong {
  font-family: var(--font-display);
  font-size: 16px;
}

.cookie-notice p {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-notice p a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__actions {
  display: flex;
  gap: 10px;
}

.cookie-notice button {
  min-width: 80px;
  min-height: 44px;
  border: 1px solid rgba(39, 49, 54, 0.2);
  padding: 0 15px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-notice button:last-child {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #fff;
}

.cookie-notice button:focus-visible,
.cookie-notice a:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .cookie-notice {
    right: 16px;
    bottom: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-notice__actions {
    justify-content: flex-end;
  }
}

.process-step small {
  display: block;
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.3;
}

.process-step__icon {
  filter: brightness(0) saturate(100%) invert(49%) sepia(96%) saturate(1805%) hue-rotate(155deg) brightness(91%) contrast(98%);
}

.focus-list .compute-bullet,
.technology__list .compute-bullet {
  display: block;
  width: 16px;
  height: 17px;
  background: url("assets/brand/RCS_compute-bullet.svg") center / contain no-repeat;
}

.focus-list li,
.technology__list li {
  align-items: center;
}

.focus-list li > div,
.technology__list li > div {
  display: grid;
  gap: 5px;
  padding: 12px 0;
}

.focus-list li strong,
.technology__list li strong {
  font: inherit;
}

.focus-list li small,
.technology__list li small {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.technology__list li small {
  color: rgba(255, 255, 255, 0.58);
}

.technology__list li {
  align-items: start;
  min-height: 88px;
  border-bottom: 0;
}

.technology__list li > div {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.technology__list .compute-bullet {
  position: relative;
  width: 17px;
  height: 17px;
  margin-top: 17px;
  border: 2px solid var(--color-orange);
  border-radius: 50%;
  background: transparent;
}

.technology__list li:not(:last-child) .compute-bullet::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  width: 2px;
  height: 65px;
  background: var(--color-orange);
  transform: translateX(-50%);
}

.technology__list li:not(:last-child) .compute-bullet::after {
  content: "";
  position: absolute;
  top: 72px;
  left: 50%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
  background: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.technology__list li:last-child .compute-bullet {
  background: var(--color-orange);
  box-shadow: inset 0 0 0 3px rgba(15, 21, 24, 0.72);
}

.ecosystem,
.why-rcs {
  padding: var(--section-y) 0;
}

.ecosystem__heading,
.why-rcs__heading {
  max-width: 780px;
}

.ecosystem__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 60px;
  padding: 1px;
  background: #d9dddf;
  list-style: none;
}

.ecosystem__logos li {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 24px;
  color: #5c6468;
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
}

.ecosystem__logos img {
  display: block;
  width: auto;
  max-width: min(180px, 82%);
  max-height: 54px;
}

.ecosystem__logo-fallback {
  font-size: clamp(24px, 2.6vw, 36px) !important;
  letter-spacing: -0.03em;
}

.why-rcs__heading {
  color: #fff;
}

.why-rcs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
}

.why-card {
  min-height: 210px;
  padding: 0 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.why-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.why-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.why-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.site-header__brand-logo,
.site-header__brand img {
  width: 220px;
}

.site-footer__brand img {
  width: min(250px, 70vw);
  height: auto;
}

.site-footer__logo-strip {
  display: grid;
  grid-template-columns: auto 1px auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 52px;
}

.site-footer__group-mark,
.site-footer__company-mark {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  line-height: 0;
  outline: none;
}

.site-footer__group-mark img,
.site-footer__company-mark img {
  width: auto;
  height: 50px;
  opacity: 0.58;
  filter: grayscale(1) brightness(0.82);
  transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out);
}

.site-footer__group-mark img {
  height: 50px;
  transform: translateY(3px);
}


.site-footer__logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.24);
}

.site-footer__company-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

.site-footer__company-mark {
  position: relative;
  height: 44px;
}

.site-footer__company-mark:hover img,
.site-footer__company-mark:focus-visible img,
.site-footer__group-mark:hover img,
.site-footer__group-mark:focus-visible img {
  opacity: 1;
  filter: none;
}

.site-footer__group-mark:focus-visible,
.site-footer__company-mark:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 6px;
}

.site-header__cta {
  color: var(--color-ink);
}

.button--light,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  color: #007b9f;
}

.cta__pattern {
  background: #03a1d1;
  -webkit-mask: url("https://cdn1.rcs.com/group/img/logo_symbol.svg") center / contain no-repeat;
  mask: url("https://cdn1.rcs.com/group/img/logo_symbol.svg") center / contain no-repeat;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__menu {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header__cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .process-map__steps,
  .why-rcs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .why-card:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .why-card {
    margin-top: 34px;
  }
}

@media (max-width: 620px) {
  .site-header__brand img,
  .site-header__brand-logo {
    width: 148px;
  }

  .hero__title {
    font-size: clamp(30px, 8.4vw, 46px);
    line-height: 0.92;
  }

  .process-map__steps,
  .why-rcs__grid {
    grid-template-columns: 1fr;
  }

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

  .process-step:nth-child(n) {
    min-height: 0;
  }

  .why-card,
  .why-card:nth-child(n) {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
    margin: 0;
  }

  .site-footer__logo-strip {
    grid-template-columns: auto 1px auto;
    gap: 12px;
  }

  .site-footer__group-mark img {
    height: 50px;
  }

  .site-footer__logo-divider {
    height: 54px;
    min-height: 0;
  }

  .site-footer__company-marks {
    max-width: 230px;
    justify-content: center;
    gap: 8px 14px;
  }

  .site-footer__company-mark img {
    height: 50px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
