:root {
  --rl-bg: #e8e8e3;
  --rl-dark: #202126;
  --rl-dark-panel: #2a2b31;
  --rl-input: #3a3b41;
  --rl-text: #1f2023;
  --rl-light: #f4f4f2;
  --rl-purple: #7c3cf4;
  --rl-yellow: #efe922;
}

@font-face {
  font-family: "GT Flexa";
  src: url("/fonts/GT-Flexa-Compressed-Black.924ce594.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body.rl-body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--rl-text);
  background: var(--rl-bg);
}

.rl-body h1,
.rl-body h2,
.rl-body h3,
.rl-body h4,
.rl-body h5,
.rl-body h6 {
  font-family: "GT Flexa", sans-serif;
  font-weight: 900;
}

.rl-body p {
  font-family: "Inter", sans-serif;
}

.rl-container {
  width: min(100% - 48px, 1080px);
  margin-inline: auto;
}

.rl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--rl-light);
  border-bottom: 1px solid #d6d6cf;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.rl-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rl-header__logo {
  width: 170px;
  height: auto;
}

.rl-header__badge {
  font-family: "GT Flexa", sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--rl-yellow);
  color: #111;
  padding: 2px 12px;
}

.rl-hero {
  padding: 74px 0 52px;
}

.rl-title {
  margin: 0;
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
}

.rl-title__accent {
  color: var(--rl-purple);
}

.rl-lead {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.35;
}

.rl-logos {
  background: #f7f7f7;
  border-top: 1px solid #e3e3de;
  border-bottom: 1px solid #e3e3de;
  padding: 0;
  overflow: hidden;
}

.rl-logos__viewport {
  width: 100%;
  overflow: hidden;
}

.rl-logos__rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: rl-logo-slide 22s linear infinite;
  will-change: transform;
}

.rl-logos:hover .rl-logos__rail {
  animation-play-state: paused;
}

.rl-logo__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 260px;
  height: 160px;
  margin-right: 32px;
}

.rl-logo {
  width: 90%;
  height: 90%;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  margin: auto;
}

@keyframes rl-logo-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.rl-contact {
  background: var(--rl-dark);
  color: #fff;
  padding: 74px 0 68px;
}

.rl-section-title {
  margin: 0;
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.rl-section-title span {
  color: var(--rl-yellow);
}

.rl-section-sub {
  margin: 18px 0 34px;
  color: #d4d4d9;
  font-size: 18px;
}

.rl-tabs {
  display: flex;
  gap: 10px;
}

.rl-tabs button {
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  padding: 12px 20px;
  cursor: pointer;
}

.rl-tabs button.is-active {
  background: var(--rl-yellow);
  color: #111;
}

.rl-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
}

.rl-flash--success {
  background: #1f5f29;
  color: #fff;
}

.rl-flash--error {
  background: #792626;
  color: #fff;
}

.rl-form {
  background: linear-gradient(130deg, #2b2c32, #24252a);
  margin-top: 0;
  padding: 34px;
  border: 1px solid #34353b;
}

.rl-form h3 {
  margin: 0 0 22px;
  font-family: "GT Flexa", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}

.rl-form label {
  display: block;
  font-size: 16px;
  color: #d8d8dd;
  margin-bottom: 14px;
}

.rl-form input:not([type="radio"]):not([type="checkbox"]),
.rl-form select,
.rl-form textarea {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #4a4b52;
  background: var(--rl-input);
  color: #f3f3f4;
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
}

.rl-form ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #ff9f9f;
  font-size: 13px;
}

.rl-radio-group {
  margin-top: 8px;
  display: flex;
  gap: 14px;
}

.rl-radio-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.rl-radio-item input {
  width: auto;
  margin: 0;
}

.rl-radio-item label {
  margin: 0;
  display: inline;
  color: #d8d8dd;
  font-size: 16px;
}

.rl-consent {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.rl-consent input {
  width: auto;
  margin: 0;
}

.rl-submit {
  border: 0;
  background: var(--rl-yellow);
  color: #111;
  font-family: "GT Flexa", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  padding: 11px 18px;
  cursor: pointer;
}

.is-hidden {
  display: none;
}

.rl-kpis {
  background: #f6f6f6;
  padding: 28px 0;
  border-top: 1px solid #d7d7d1;
  border-bottom: 1px solid #d7d7d1;
}

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

.rl-kpis article {
  text-align: center;
}

.rl-kpis strong {
  display: block;
  color: var(--rl-purple);
  font-family: "GT Flexa", sans-serif;
  font-size: 36px;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
  will-change: transform;
}

.rl-kpis span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.rl-features {
  padding: 74px 0 82px;
}

.rl-title--small {
  font-size: clamp(30px, 4.6vw, 48px);
}

.rl-feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rl-feature-grid article {
  padding: 28px 24px;
}

.rl-feature-grid article:nth-child(odd) {
  border-right: 1px solid #cecec8;
}

.rl-feature-grid article:nth-child(-n+4) {
  border-bottom: 1px solid #cecec8;
}

.rl-feature-grid h3 {
  margin: 0 0 8px;
  font-family: "GT Flexa", sans-serif;
  font-size: 24px;
  line-height: 1.08;
}

.rl-feature-grid h3 span {
  color: var(--rl-purple);
}

.rl-feature-grid p {
  margin: 0;
  color: #4d4e56;
  font-size: 15px;
  line-height: 1.4;
}

.rl-brochure {
  background: var(--rl-yellow);
  padding: 34px 0;
}

.rl-brochure__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rl-brochure h2 {
  margin: 0;
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
}

.rl-brochure h2 span {
  color: var(--rl-purple);
}

.rl-brochure__link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #141414;
  max-width: 420px;
}

.rl-brochure__icon {
  width: 36px;
  height: 36px;
  border: 2px solid #151515;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.rl-brochure strong {
  font-size: 22px;
  font-family: "GT Flexa", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .rl-container {
    width: min(100% - 30px, 1080px);
  }

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

  .rl-brochure__inner,
  .rl-feature-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .rl-feature-grid article:nth-child(odd) {
    border-right: 0;
  }

  .rl-feature-grid article:nth-child(-n+4) {
    border-bottom: 0;
  }

  .rl-feature-grid article:not(:last-child) {
    border-bottom: 1px solid #cecec8;
  }

  .rl-tabs button {
    font-size: 20px;
    padding: 12px 16px;
  }
}

@media (max-width: 640px) {
  .rl-header__badge {
    font-size: 24px;
  }

  .rl-title {
    line-height: 1;
  }

  .rl-logo__item {
    flex-basis: 180px;
    height: 110px;
    margin-right: 12px;
    border-radius: 12px;
  }

  .rl-logo {
    max-width: 90%;
    max-height: 90%;
    width: 90%;
    height: 90%;
    margin: auto;
  }

  .rl-kpis__grid {
    grid-template-columns: 1fr;
  }

  .rl-feature-grid h3 {
    font-size: 26px;
  }
}

.rl-logo--gartner {
  width: auto;
  height: 80px;
}

.rl-logo--french-tech {
  width: auto;
  height: 110px;
}

.rl-logo--anssi {
  width: auto;
  height: 110px;
}

.rl-logo--europe {
  width: auto;
  height: 120px;
}

.rl-logo--nvidia {
  width: auto;
  height: 70px;
}

@media (max-width: 640px) {
  .rl-logo--gartner {
    height: 54px;
  }

  .rl-logo--french-tech {
    height: 80px;
  }

  .rl-logo--anssi {
    height: 80px;
  }

  .rl-logo--europe {
    height: 90px;
  }

  .rl-logo--nvidia {
    height: 50px;
  }
}
