.rub-page {
  background: var(--body-bg);
}

.rub-page .edge-lock-layer {
  z-index: 15;
  opacity: calc(var(--edge-opacity) * 1.2);
}

.rub-page main {
  margin-top: 62px;
  position: relative;
  z-index: 10;
}

.rub-page .hero-header,
.rub-page .site-footer {
  position: relative;
  z-index: 30;
}

.rub-page .site-footer {
  margin-top: 0;
}

.rub-header {
  z-index: 200;
}

.rub-shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.rub-section {
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  overflow: hidden;
}

.rub-section--light {
  background: transparent;
  color: #535962;
}

.rub-section--light h1,
.rub-section--light h2,
.rub-section--light h3 {
  color: #515862;
}

.rub-section--dark {
  background: linear-gradient(98deg, #242628 0%, #1b1d20 56%, #242628 100%);
  color: #eef3f8;
}

.rub-media {
  position: relative;
  background: linear-gradient(145deg, rgb(226 232 239 / 0.9), rgb(201 210 220 / 0.96));
  border: 1px solid rgb(118 132 148 / 0.35);
  overflow: hidden;
}

.rub-section--dark .rub-media {
  background: linear-gradient(145deg, rgb(54 63 74 / 0.75), rgb(39 45 53 / 0.88));
  border-color: rgb(169 186 206 / 0.28);
}

.rub-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rub-media--cover img {
  object-fit: cover;
}

.rub-media--contain img {
  object-fit: contain;
}

.rub-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  color: #31455f;
  line-height: 1.35;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px;
}

.rub-media__placeholder code {
  display: inline-block;
  margin-top: 6px;
  color: #1f3b5b;
}

.rub-section--dark .rub-media__placeholder {
  color: #e9f2ff;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px;
}

.rub-section--dark .rub-media__placeholder code {
  color: #ca0d00;
}

.rub-media.has-media .rub-media__placeholder {
  display: none;
}

.rub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent-blue);
  padding: 12px 22px;
}

.rub-btn--solid {
  color: #ffffff;
  background: #ca0d00;
}

.rub-hero {
  position: relative;
  min-height: clamp(500px, 62vh, 700px);
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #0e1218;
}

.rub-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: #1d232b;
}

.rub-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.62) 0%, rgb(0 0 0 / 0.52) 50%, rgb(0 0 0 / 0.62) 100%);
}

.rub-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(980px, 92vw);
}

.rub-hero__content h1 {
  margin: 0;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  line-height: 1.08;
}

.rub-hero__content p {
  margin: 18px auto 0;
  width: min(920px, 94%);
  color: rgb(243 248 253 / 0.9);
  font-size: clamp(1rem, 1.45vw, 2rem);
  line-height: 1.45;
}

.rub-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 44px;
  z-index: 3;
  background: var(--story-bg);
  clip-path: polygon(0 26%, 10% 38%, 23% 31%, 35% 42%, 50% 30%, 65% 44%, 80% 33%, 92% 40%, 100% 30%, 100% 100%, 0 100%);
}

.rub-model-hero {
  text-align: center;
  padding-top: clamp(68px, 7vw, 102px);
}

.rub-model-hero h1 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.35vw, 3.8rem);
  line-height: 1.1;
}

.rub-model-hero__lead {
  margin: 16px auto 0;
  width: min(980px, 94%);
  font-size: clamp(1rem, 1.18vw, 1.34rem);
  line-height: 1.5;
}

.rub-model-grid {
  margin-top: clamp(34px, 3.8vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}

.rub-model-card {
  position: relative;
  text-align: center;
}

.rub-model-card__main {
  min-height: clamp(340px, 34vw, 560px);
}

.rub-model-card__detail {
  position: absolute;
  left: 50%;
  bottom: clamp(110px, 9vw, 132px);
  transform: translateX(-50%);
  width: clamp(110px, 8.8vw, 148px);
  height: clamp(110px, 8.8vw, 148px);
  border-radius: 50%;
  border: 4px solid #ca0d00;
  z-index: 2;
}

.rub-model-card h2 {
  margin: clamp(12px, 1.3vw, 18px) 0 0;
  color: #ca0d00;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  line-height: 1.15;
}

.rub-model-card p {
  margin: 10px 0 0;
  color: #ca0d00;
  font-size: clamp(1rem, 1.15vw, 1.24rem);
  line-height: 1.35;
}

.rub-benefits {
  text-align: center;
}

.rub-benefits h2 {
  margin: 0 auto;
  width: min(1120px, 96%);
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.1;
}

.rub-benefits__lead {
  margin: 18px auto 0;
  width: min(980px, 94%);
  font-size: clamp(1rem, 1.16vw, 1.32rem);
  line-height: 1.52;
}

.rub-benefits__grid {
  margin-top: clamp(34px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.rub-benefits__grid article {
  max-width: 420px;
  margin: 0 auto;
}

.rub-icon {
  width: clamp(72px, 6.4vw, 92px);
  height: clamp(72px, 6.4vw, 92px);
  margin: 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgb(202 13 0 / 0.12);
  border: 2px solid rgb(202 13 0 / 0.56);
  color: #ca0d00;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
}

.rub-icon svg {
  width: 58%;
  height: 58%;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rub-benefits__grid h3 {
  margin: 16px 0 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 1.95vw, 2.2rem);
  line-height: 1.2;
}

.rub-benefits__grid p {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.16vw, 1.28rem);
  line-height: 1.5;
}

.rub-features {
  text-align: center;
}

.rub-features h2 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  line-height: 1.08;
}

.rub-features__lead {
  margin: 16px auto 0;
  width: min(980px, 94%);
  font-size: clamp(1rem, 1.14vw, 1.3rem);
  line-height: 1.52;
}

.rub-feature-table-wrap {
  margin: clamp(28px, 3vw, 44px) auto 0;
  width: min(1180px, 100%);
  text-align: left;
}

.rub-feature-table-title {
  color: #ca0d00;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.rub-feature-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rub-feature-table th,
.rub-feature-table td {
  border-bottom: 1px solid rgb(90 108 128 / 0.24);
}

.rub-feature-table thead th {
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 1.4vw, 1.55rem);
  color: #545a63;
  padding: 10px 12px 12px;
  text-align: center;
  vertical-align: bottom;
}

.rub-feature-table thead th:first-child {
  text-align: left;
  width: 42%;
  background: #5b5b5b;
  color: #ffffff;
}

.rub-feature-table td {
  padding: 10px 14px;
  font-size: clamp(1rem, 1.12vw, 1.28rem);
  color: #565d67;
  line-height: 1.35;
  text-align: center;
}

.rub-feature-table td:first-child {
  text-align: left;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  color: #505762;
}

.rub-feature-head-media {
  width: 100%;
  height: clamp(120px, 11vw, 170px);
  margin: 0 auto 10px;
}

.rub-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #69b86f;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1;
}

.rub-features__cta {
  margin-top: clamp(22px, 2.2vw, 32px);
  text-align: center;
}

.rub-quality-band {
  padding: clamp(46px, 5vw, 72px) 0;
}

.rub-quality-band__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(26px, 3vw, 42px);
  align-items: center;
}

.rub-quality-band__icon {
  width: clamp(120px, 10vw, 160px);
  height: clamp(120px, 10vw, 160px);
  border-radius: 18px;
  border: 2px solid rgb(202 13 0 / 0.6);
  background: rgb(202 13 0 / 0.16);
  color: #ca0d00;
  display: grid;
  place-items: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
}

.rub-quality-band__icon svg {
  width: 58%;
  height: 58%;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rub-quality-band h2 {
  margin: 0;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.05vw, 3.4rem);
  line-height: 1.1;
}

.rub-quality-band p {
  margin: 14px 0 0;
  color: rgb(238 245 253 / 0.92);
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.52;
}

.rub-usage {
  padding-top: 0;
  padding-bottom: clamp(70px, 7vw, 100px);
}

.rub-usage-row {
  display: grid;
  grid-template-columns: minmax(340px, 50%) 1fr;
  align-items: stretch;
}

.rub-usage-row + .rub-usage-row {
  margin-top: 0;
}

.rub-usage-row .rub-media {
  min-height: clamp(320px, 36vw, 520px);
}

.rub-usage-copy {
  padding: clamp(34px, 3.8vw, 54px) clamp(28px, 2.9vw, 44px);
  display: grid;
  align-content: center;
}

.rub-usage-copy h2 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.5rem);
  line-height: 1.1;
}

.rub-usage-copy p {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.52;
}

.rub-usage-copy ul {
  margin: 16px 0 0;
  padding: 0 0 0 22px;
}

.rub-usage-copy li {
  margin: 0;
  padding: 6px 0;
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.42;
}

.rub-usage-row--reverse {
  grid-template-columns: 1fr minmax(340px, 50%);
}

@media (max-width: 1160px) {
  .rub-model-grid,
  .rub-benefits__grid,
  .rub-feature-table-wrap,
  .rub-usage-row,
  .rub-usage-row--reverse,
  .rub-quality-band__grid {
    grid-template-columns: 1fr;
  }

  .rub-model-card {
    max-width: 540px;
    margin: 0 auto;
  }

  .rub-feature-table-title {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .rub-feature-table-wrap {
    overflow-x: auto;
  }

  .rub-feature-table {
    min-width: 720px;
  }
}

@media (max-width: 780px) {
  .rub-page main {
    margin-top: 44px;
  }

  .rub-section {
    padding: 42px 0;
  }

  .rub-hero {
    min-height: 440px;
  }

  .rub-model-hero {
    padding-top: 52px;
  }

  .rub-hero__content h1,
  .rub-model-hero h1,
  .rub-benefits h2,
  .rub-features h2,
  .rub-quality-band h2,
  .rub-usage-copy h2 {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .rub-hero__content p,
  .rub-model-hero__lead,
  .rub-benefits__lead,
  .rub-features__lead,
  .rub-model-card p,
  .rub-benefits__grid p,
  .rub-feature-table td,
  .rub-quality-band p,
  .rub-usage-copy p,
  .rub-usage-copy li {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .rub-model-card__main {
    min-height: 280px;
  }

  .rub-model-card__detail {
    width: 98px;
    height: 98px;
    bottom: 98px;
  }

  .rub-model-card h2 {
    font-size: clamp(1.18rem, 5.8vw, 1.62rem);
  }

  .rub-feature-table-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .rub-quality-band__icon {
    margin: 0 auto;
  }

  .rub-wave-divider {
    height: 28px;
  }

  .rub-usage-copy {
    padding: 28px 16px;
  }
}
