/* =========================================================
   ROVEX HOME
   ========================================================= */

.home-hero {
  position: relative;
  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
  min-height: 690px;
  margin: 0 auto;
  padding: 108px 0 120px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  align-items: center;
  gap: 90px;
}

.home-hero::before,
.manifesto::before,
.rovex-way::before,
.products-section::before,
.product-intro::before,
.why-rovex::before,
.radar-home::before,
.home-final::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}

.home-hero::before,
.rovex-way::before,
.product-intro::before,
.radar-home::before {
  background: #101010;
}

.manifesto::before,
.products-section::before,
.why-rovex::before,
.home-final::before {
  background: #181818;
}

/* =========================================================
   TECHNICAL LABEL
   ========================================================= */

.technical-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin: 0 0 22px;

  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.home-hero__label::after {
  content: "";
  width: 52px;
  height: 1px;
  background: var(--green);
}

.manifesto__intro .technical-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--green);
}

.rovex-way__heading .technical-label::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green);
}

.products-section__intro .technical-label::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--green);
}

.product-intro__content .technical-label::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--green);
}

.why-rovex__heading .technical-label::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--green);
}

.radar-home__intro .technical-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--green);
}

.home-final .technical-label::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--green);
}

/* =========================================================
   HERO
   ========================================================= */

.home-hero__content {
  max-width: 640px;
  margin-left: 3%;
}

.home-hero h1 {
  margin: 0;

  font-size: clamp(50px, 6vw, 68px);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.06em;
}

.home-hero__lead {
  max-width: 540px;
  margin: 32px 0 0;

  color: var(--text);
  font-size: 19px;
  line-height: 1.5;
}

.home-hero__text {
  max-width: 500px;
  margin: 18px 0 0;

  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-hero__visual {
  justify-self: end;
  width: 100%;
}

.rovex-system {
  position: relative;
  width: 100%;
  max-width: 430px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--surface);

  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);

  overflow: hidden;

  transform: translateY(14px);
}

.rovex-system::after {
  content: "";

  position: absolute;
  top: 34px;
  right: -1px;

  width: 3px;
  height: 76px;

  background: var(--green);
}

.rovex-system__header,
.rovex-system__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 18px;

  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.rovex-system__header {
  border-bottom: 1px solid var(--border);
}

.rovex-system__footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.rovex-system__indicator {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--green);

  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.08);
}

.rovex-system__body {
  padding: 28px 24px 30px;
}

.system-line {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  min-height: 52px;

  border-bottom: 1px solid #252525;

  font-size: 13px;
}

.system-line span {
  color: var(--text-secondary);
}

.system-line strong {
  color: var(--text);
  font-weight: 500;
}

.system-track {
  height: 4px;
  margin-top: 26px;

  overflow: hidden;
  border-radius: 999px;

  background: #252525;
}

.system-track span {
  display: block;
  width: 68%;
  height: 100%;

  border-radius: inherit;
  background: var(--green);
}

/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 125px 0 135px;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 110px;
}

.manifesto__intro {
  margin-left: 7%;
}

.manifesto__intro h2 {
  max-width: 520px;

  margin: 0;

  font-size: clamp(39px, 4.8vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.manifesto__content {
  max-width: 540px;
  padding-top: 64px;
  margin-right: 5%;
}

.manifesto__content p {
  margin: 0 0 25px;

  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.72;
}

.manifesto__content .manifesto__large {
  color: var(--text);
  font-size: 21px;
  line-height: 1.5;
}

/* =========================================================
   THE ROVEX WAY
   ========================================================= */

.rovex-way {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 125px 0 135px;
}

.rovex-way__heading {
  margin-left: 17%;
}

.rovex-way__heading h2 {
  margin: 0;

  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.vertical-marker {
  display: block;

  width: 1px;
  height: 56px;

  margin-top: 32px;
  margin-left: 5px;

  background: var(--green);
}

.rovex-way__grid {
  width: min(760px, 100%);

  margin: 78px 4% 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
}

.rovex-way__list {
  display: flex;
  flex-direction: column;
}

.way-row {
  min-height: 62px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #2a2a2a;

  font-size: 16px;
}

.way-row span {
  color: var(--text-secondary);
}

.way-row strong {
  font-weight: 500;
}

.rovex-way__list--removed .way-row strong {
  color: var(--text-muted);
}

.rovex-way__list--kept .way-row span {
  color: var(--text);
}

.rovex-way__list--kept .way-row strong {
  color: var(--green);
}

.rovex-way__statement {
  max-width: 650px;

  margin: 60px 0 0 auto;
  padding-right: 4%;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

.rovex-way__statement strong {
  color: var(--text);
  font-weight: 500;
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.products-section {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 120px 0 130px;
}

.products-section__intro {
  max-width: 570px;
  margin-left: 9%;
}

.products-section__intro h2 {
  margin: 0;

  font-size: clamp(39px, 4.8vw, 57px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.products-section__intro > p:not(.technical-label) {
  max-width: 490px;

  margin: 28px 0 0;

  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.product-line {
  margin-top: 72px;
}

.product-line__item {
  min-height: 102px;

  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto 34px;
  align-items: center;

  gap: 20px;

  padding: 18px 10px;

  border-top: 1px solid #303030;

  transition:
    background-color var(--transition),
    padding var(--transition),
    border-color var(--transition);
}

.product-line__item:last-child {
  border-bottom: 1px solid #303030;
}

.product-line__item--ready {
  color: inherit;
}

.product-line__item--ready:hover {
  padding-left: 18px;
  padding-right: 18px;

  background: #1d1d1d;
  border-color: #383838;
}

.product-line__number {
  color: var(--text-muted);
  font-size: 12px;
}

.product-line__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.product-line__content strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.product-line__content span {
  color: var(--text-secondary);
  font-size: 13px;
}

.product-line__status {
  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.product-line__item--ready .product-line__status {
  color: var(--green);
}

.product-line__arrow {
  color: var(--text-muted);
  font-size: 20px;

  transition:
    color var(--transition),
    transform var(--transition);
}

.product-line__item--ready:hover .product-line__arrow {
  color: var(--green);
  transform: translateX(3px);
}

/* =========================================================
   PRODUCT INTRO
   ========================================================= */

.product-intro {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 125px 0 135px;

  display: grid;
  grid-template-columns: 160px minmax(0, 620px);
  gap: 60px;
}

.product-intro__number {
  padding-top: 2px;

  color: var(--green);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.product-intro__content {
  margin-left: 6%;
}

.product-intro__content h2 {
  margin: 0;

  font-size: clamp(42px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.product-intro__lead {
  max-width: 590px;

  margin: 28px 0 0;

  color: var(--text);

  font-size: 19px;
  line-height: 1.55;
}

.product-intro__content > p:not(.technical-label):not(.product-intro__lead) {
  max-width: 570px;

  margin: 22px 0 0;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

.product-intro__content .text-link {
  margin-top: 30px;
}

/* =========================================================
   WHY ROVEX
   ========================================================= */

.why-rovex {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 125px 0 135px;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.why-rovex__heading {
  margin-left: 4%;
}

.why-rovex__heading h2 {
  margin: 0;

  font-size: clamp(37px, 4.4vw, 53px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.why-rovex__list {
  padding-top: 24px;
}

.principle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);

  gap: 18px;

  padding: 0 0 28px;
  margin-bottom: 28px;

  border-bottom: 1px solid #303030;
}

.principle:last-child {
  margin-bottom: 0;
}

.principle__number {
  color: var(--green);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin: 0;

  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 470px;

  margin: 9px 0 0;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.65;
}

/* =========================================================
   RADAR
   ========================================================= */

.radar-home {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 120px 0 130px;

  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.radar-home__intro {
  margin-left: 8%;
}

.radar-home__intro h2 {
  margin: 0;

  font-size: clamp(38px, 4.3vw, 52px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.radar-home__intro > p:not(.technical-label) {
  max-width: 400px;

  margin: 26px 0 0;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

.radar-home__intro .text-link {
  margin-top: 30px;
}

.radar-home__feed {
  border-top: 1px solid #303030;
}

.radar-entry {
  display: flex;
  flex-direction: column;
  gap: 7px;

  padding: 22px 0;

  border-bottom: 1px solid #303030;

  transition:
    padding var(--transition),
    background-color var(--transition);
}

.radar-entry:hover {
  padding-left: 12px;
  background: #191919;
}

.radar-entry span {
  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.radar-entry strong {
  color: var(--text);

  font-size: 15px;
  font-weight: 500;
}

/* =========================================================
   FINAL
   ========================================================= */

.home-final {
  position: relative;

  width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));

  margin: 0 auto;
  padding: 130px 0 145px;

  text-align: center;
}

.home-final h2 {
  margin: 0;

  font-size: clamp(43px, 5.2vw, 62px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-final > p:not(.technical-label) {
  margin: 24px 0 0;

  color: var(--text-secondary);
  font-size: 15px;
}

.home-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 12px;

  margin-top: 34px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 68px;
    padding-top: 76px;
  }

  .home-hero__content {
    margin-left: 3%;
  }

  .home-hero__visual {
    justify-self: start;
  }

  .rovex-system {
    margin-left: 8%;
  }

  .manifesto,
  .why-rovex {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .manifesto__content {
    padding-top: 0;
    margin-left: 8%;
  }

  .rovex-way__heading {
    margin-left: 8%;
  }

  .rovex-way__grid {
    margin-right: 0;
    margin-left: 8%;
  }

  .products-section__intro {
    margin-left: 5%;
  }

  .product-intro {
    grid-template-columns: 80px 1fr;
  }

  .product-intro__content {
    margin-left: 5%;
  }

  .why-rovex__heading {
    margin-left: 5%;
  }

  .radar-home {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .radar-home__intro {
    margin-left: 5%;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding: 62px 0 82px;
    gap: 52px;
  }

  .home-hero__content,
  .manifesto__intro,
  .manifesto__content,
  .rovex-way__heading,
  .products-section__intro,
  .product-intro__content,
  .why-rovex__heading,
  .radar-home__intro {
    margin-left: 0;
  }

  .home-hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .home-hero__lead {
    font-size: 17px;
  }

  .home-hero__actions {
    margin-top: 28px;
  }

  .rovex-system {
    margin-left: 0;
    transform: none;
  }

  .manifesto {
    padding: 82px 0 92px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .manifesto__intro h2 {
    font-size: 41px;
  }

  .manifesto__content {
    padding-top: 0;
  }

  .rovex-way {
    padding: 82px 0 95px;
  }

  .rovex-way__heading h2 {
    font-size: 43px;
  }

  .rovex-way__grid {
    width: 100%;
    margin: 48px 0 0;

    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rovex-way__statement {
    margin-top: 44px;
    padding-right: 0;
  }

  .products-section {
    padding: 84px 0 94px;
  }

  .products-section__intro h2 {
    font-size: 41px;
  }

  .product-line {
    margin-top: 48px;
  }

  .product-line__item {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 12px;
    min-height: 88px;
  }

  .product-line__status {
    display: none;
  }

  .product-line__content strong {
    font-size: 15px;
  }

  .product-line__content span {
    font-size: 12px;
  }

  .product-intro {
    padding: 84px 0 95px;

    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;
  }

  .product-intro__content h2 {
    font-size: 42px;
  }

  .product-intro__lead {
    font-size: 17px;
  }

  .why-rovex {
    padding: 84px 0 96px;
    gap: 48px;
  }

  .why-rovex__heading h2 {
    font-size: 40px;
  }

  .principle {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .radar-home {
    padding: 84px 0 96px;
  }

  .radar-home__intro h2 {
    font-size: 39px;
  }

  .home-final {
    padding: 94px 0 108px;
  }

  .home-final h2 {
    font-size: 42px;
  }

  .home-final__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-final__actions .button {
    width: 100%;
  }
}
