/* =========================================================
   RELI ANODES — PRODUCT & MATERIAL PAGES
   Loaded after style.css on the 10 product/material pages.
   Selectors are scoped to .rx-page and carry !important on
   type sizes to override the global typography layer in
   style.css ("body h3 { … !important }" etc.).
========================================================= */

.rx-page {
    --rx-ink: #111111;
    --rx-ink-2: #2a2a2a;
    --rx-text: #4d4d4d;
    --rx-muted: #767676;
    --rx-line: #e4e4e4;
    --rx-soft: #f5f6f7;
    --rx-red: #e53237;
    --rx-red-dark: #c9272d;
    --rx-red-tint: rgba(229, 50, 55, 0.08);
    --rx-dark: #0f0f10;
    --rx-max: 1240px;
    --rx-sticky: 140px;
    --rx-radius: 6px;
}

.rx-page *,
.rx-page *::before,
.rx-page *::after {
    box-sizing: border-box;
}

.rx-container {
    width: 100%;
    max-width: var(--rx-max);
    margin: 0 auto;
    padding: 0 24px;
}

.rx-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* =========================================================
   TYPE SCALE
========================================================= */

.rx-page .rx-h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4.6vw, 58px) !important;
    font-weight: 700;
    line-height: 1.06 !important;
    letter-spacing: -0.02em;
}

.rx-page .rx-h1-sub {
    display: block;
    margin-top: 14px;
    color: #bdbdbd;
    font-size: clamp(18px, 1.8vw, 23px) !important;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

.rx-page .rx-h2 {
    margin: 0;
    color: var(--rx-ink);
    font-size: clamp(26px, 2.6vw, 34px) !important;
    font-weight: 700;
    line-height: 1.18 !important;
    letter-spacing: -0.01em;
}

.rx-page .rx-h3 {
    margin: 0 0 8px;
    color: var(--rx-ink);
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

.rx-page .rx-text {
    margin: 0;
    color: var(--rx-text);
    font-size: 15px !important;
    line-height: 1.7;
}

.rx-page .rx-lead-para {
    margin: 0;
    color: var(--rx-ink-2);
    font-size: 19px !important;
    line-height: 1.65;
}

.rx-page .rx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--rx-red);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rx-page .rx-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.rx-page .rx-footnote {
    margin: 16px 0 0;
    color: var(--rx-muted);
    font-size: 13px !important;
    line-height: 1.6;
}

.rx-page .rx-footnote a {
    color: var(--rx-red);
    font-size: inherit !important;
    font-weight: 700;
}


/* =========================================================
   BUTTONS
========================================================= */

.rx-page .rx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--rx-radius);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rx-page .rx-btn-primary {
    background: var(--rx-red);
    color: #ffffff;
}

.rx-page .rx-btn-primary:hover {
    background: var(--rx-red-dark);
    color: #ffffff;
}

.rx-page .rx-btn-primary i {
    transition: transform 0.2s ease;
}

.rx-page .rx-btn-primary:hover i {
    transform: translateX(3px);
}

.rx-page .rx-btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.rx-page .rx-btn-ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.rx-page .rx-btn-block {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.rx-hero {
    position: relative;
    padding: 40px 0 72px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 70% at 85% 30%, rgba(229, 50, 55, 0.16), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
        var(--rx-dark);
}

.rx-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.rx-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.rx-page .rx-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8f8f8f;
    font-size: 13px !important;
}

.rx-breadcrumb li + li::before {
    content: "/";
    color: #555555;
}

.rx-page .rx-breadcrumb a,
.rx-page .rx-breadcrumb span {
    color: inherit;
    font-size: 13px !important;
    text-decoration: none;
}

.rx-page .rx-breadcrumb a:hover {
    color: #ffffff;
}

.rx-page .rx-breadcrumb [aria-current] {
    color: #e6e6e6;
}

.rx-page .rx-hero-lead {
    max-width: 590px;
    margin: 26px 0 0;
    color: #c9c9c9;
    font-size: 18px !important;
    line-height: 1.7;
}

.rx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.rx-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 36px 0 0;
    padding: 24px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rx-page .rx-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d6d6d6;
    font-size: 13.5px !important;
}

.rx-hero-trust i {
    color: var(--rx-red);
}

/* media + glance card */
.rx-hero-media {
    position: relative;
    margin: 0;
    padding-bottom: 48px;
}

.rx-hero-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #e9eaec);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.rx-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6%;
}

.rx-glance {
    position: absolute;
    left: -28px;
    bottom: 0;
    width: min(330px, 80%);
    padding: 22px 24px;
    background: #ffffff;
    border-top: 3px solid var(--rx-red);
    border-radius: var(--rx-radius);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.rx-page .rx-glance-title {
    display: block;
    margin-bottom: 12px;
    color: var(--rx-red);
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-glance dl {
    margin: 0;
}

.rx-glance dl > div {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--rx-line);
}

.rx-glance dl > div:first-child {
    border-top: 0;
    padding-top: 0;
}

.rx-page .rx-glance dt {
    color: var(--rx-muted);
    font-size: 13px !important;
}

.rx-page .rx-glance dd {
    margin: 0;
    color: var(--rx-ink);
    font-size: 13.5px !important;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   KEY FIGURES
========================================================= */

.rx-stats {
    position: relative;
    z-index: 2;
    margin-top: -36px;
}

.rx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.rx-stat {
    padding: 26px 28px;
    border-left: 1px solid var(--rx-line);
}

.rx-stat:first-child {
    border-left: 0;
}

.rx-page .rx-stat-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--rx-ink);
    font-size: clamp(22px, 2.1vw, 28px) !important;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.rx-page .rx-stat-unit {
    color: var(--rx-red);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0;
}

.rx-page .rx-stat-label {
    display: block;
    margin-top: 6px;
    color: var(--rx-muted);
    font-size: 13px !important;
    line-height: 1.45;
}


/* =========================================================
   LAYOUT + TABLE OF CONTENTS
========================================================= */

.rx-main {
    padding: 72px 0 96px;
}

.rx-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
}

.rx-aside {
    position: sticky;
    top: var(--rx-sticky);
    display: grid;
    gap: 24px;
}

.rx-page .rx-toc-title {
    display: block;
    margin-bottom: 12px;
    color: var(--rx-muted);
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--rx-line);
}

.rx-page .rx-toc a {
    position: relative;
    display: flex;
    gap: 12px;
    margin-left: -2px;
    padding: 8px 0 8px 16px;
    color: var(--rx-text);
    font-size: 14px !important;
    line-height: 1.4;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.rx-page .rx-toc-num {
    color: #b4b4b4;
    font-size: 12px !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
}

.rx-page .rx-toc a:hover {
    color: var(--rx-ink);
}

.rx-page .rx-toc a.is-active {
    color: var(--rx-ink);
    font-weight: 700;
    border-left-color: var(--rx-red);
}

.rx-page .rx-toc a.is-active .rx-toc-num {
    color: var(--rx-red);
}

.rx-aside-card {
    padding: 22px;
    background: var(--rx-dark);
    border-radius: 10px;
}

.rx-page .rx-aside-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--rx-red);
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-page .rx-aside-text {
    margin: 0 0 16px;
    color: #c4c4c4;
    font-size: 14px !important;
    line-height: 1.6;
}

.rx-page .rx-aside-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #e2e2e2;
    font-size: 13.5px !important;
    text-decoration: none;
    word-break: break-all;
}

.rx-page .rx-aside-link:first-of-type {
    margin-top: 16px;
}

.rx-aside-link i {
    color: var(--rx-red);
    width: 14px;
}

.rx-page .rx-aside-link:hover {
    color: #ffffff;
}


/* =========================================================
   SECTIONS
========================================================= */

.rx-section {
    padding: 64px 0;
    border-top: 1px solid var(--rx-line);
    scroll-margin-top: calc(var(--rx-sticky) + 8px);
}

.rx-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.rx-section-head {
    margin-bottom: 32px;
}

.rx-page .rx-section-num {
    display: inline-block;
    margin-right: 10px;
    color: var(--rx-red);
    font-size: 13px !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rx-page .rx-section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--rx-muted);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-page .rx-section-intro {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--rx-text);
    font-size: 16px !important;
    line-height: 1.7;
}

.rx-page .rx-subhead {
    margin: 44px 0 18px;
    color: var(--rx-ink);
    font-size: 19px !important;
    font-weight: 700;
    line-height: 1.3 !important;
}

.rx-prose {
    display: grid;
    gap: 18px;
    max-width: 760px;
}


/* =========================================================
   FEATURE GRID
========================================================= */

.rx-feature-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--rx-line);
    border: 1px solid var(--rx-line);
    border-radius: 10px;
}

.rx-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rx-cols-2 { grid-template-columns: repeat(2, 1fr); }

.rx-feature {
    padding: 28px;
    background: #ffffff;
    transition: background-color 0.2s ease;
}

.rx-feature:hover {
    background: #fcfcfc;
}

.rx-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--rx-red);
    font-size: 17px;
    background: var(--rx-red-tint);
    border-radius: 8px;
}


/* =========================================================
   CONFIGURATIONS
========================================================= */

.rx-config-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rx-config-grid.rx-config-even {
    grid-template-columns: repeat(2, 1fr);
}

.rx-config {
    position: relative;
    padding: 28px 28px 28px 30px;
    background: var(--rx-soft);
    border-radius: 10px;
    border-left: 3px solid var(--rx-red);
}

.rx-page .rx-config-num {
    display: block;
    margin-bottom: 14px;
    color: var(--rx-red);
    font-size: 13px !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   ALLOY (Al-Zn-In)
========================================================= */

.rx-alloy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rx-alloy {
    display: flex;
    gap: 20px;
    padding: 26px;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
}

.rx-page .rx-alloy-sym {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 64px;
    height: 64px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 19px !important;
    font-weight: 700;
    background: var(--rx-ink);
    border-radius: 8px;
}

.rx-alloy:nth-child(3) .rx-alloy-sym {
    background: var(--rx-red);
}

.rx-alloy:nth-child(4) .rx-alloy-sym {
    font-size: 13px !important;
    background: #7a7a7a;
}

.rx-page .rx-alloy-range {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    color: var(--rx-ink);
    font-size: 12.5px !important;
    font-weight: 700;
    background: var(--rx-soft);
    border-radius: 4px;
}


/* =========================================================
   SPEC LIST
========================================================= */

.rx-spec {
    margin: 0;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    overflow: hidden;
}

.rx-spec-row {
    display: grid;
    grid-template-columns: minmax(180px, 34%) 1fr;
    border-top: 1px solid var(--rx-line);
}

.rx-spec-row:first-child {
    border-top: 0;
}

.rx-spec-row:nth-child(even) {
    background: #fafafa;
}

.rx-page .rx-spec dt,
.rx-page .rx-spec dd {
    margin: 0;
    padding: 15px 22px;
    font-size: 15px !important;
    line-height: 1.55;
}

.rx-page .rx-spec dt {
    color: var(--rx-muted);
    font-weight: 600;
    border-right: 1px solid var(--rx-line);
}

.rx-page .rx-spec dd {
    color: var(--rx-ink);
    font-weight: 600;
}


/* =========================================================
   DATA TABLES
========================================================= */

.rx-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
}

.rx-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.rx-page .rx-table th,
.rx-page .rx-table td {
    padding: 14px 20px;
    font-size: 14.5px !important;
    line-height: 1.5;
    text-align: left;
    border-top: 1px solid var(--rx-line);
}

.rx-page .rx-table thead th {
    color: #ffffff;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: var(--rx-ink);
    border-top: 0;
}

.rx-page .rx-table tbody th {
    color: var(--rx-ink);
    font-weight: 700;
}

.rx-page .rx-table td {
    color: var(--rx-text);
    font-variant-numeric: tabular-nums;
}

.rx-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.rx-page .rx-el {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    color: var(--rx-ink);
    font-size: 13px !important;
    font-weight: 700;
    background: var(--rx-soft);
    border: 1px solid var(--rx-line);
    border-radius: 4px;
}

.rx-chem tr.is-base td {
    color: var(--rx-ink);
    font-weight: 700;
}

.rx-chem tr.is-base .rx-el {
    color: #ffffff;
    background: var(--rx-red);
    border-color: var(--rx-red);
}

/* comparison */
.rx-compare th.is-current,
.rx-compare td.is-current {
    background: rgba(229, 50, 55, 0.05);
}

.rx-page .rx-compare thead th.is-current {
    background: var(--rx-red);
}

.rx-page .rx-compare td.is-current {
    color: var(--rx-ink);
    font-weight: 600;
}

.rx-page .rx-compare thead a {
    color: #ffffff;
    font-size: inherit !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.rx-page .rx-chip {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    color: var(--rx-red);
    font-size: 10.5px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
    background: #ffffff;
    border-radius: 3px;
}

.rx-compare tbody th {
    width: 22%;
}


/* =========================================================
   TABS
========================================================= */

.rx-tablist {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    background: var(--rx-soft);
    border-radius: 8px;
}

.rx-page .rx-tab {
    padding: 10px 20px;
    color: var(--rx-text);
    font-size: 14px !important;
    font-weight: 700;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.rx-page .rx-tab[aria-selected="true"] {
    color: var(--rx-ink);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rx-page .rx-tabpanel-title {
    margin: 0 0 12px;
    font-size: 16px !important;
}

/* With JS the tab buttons replace the panel titles */
.rx-js .rx-tabpanel-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.rx-tablist {
    display: none;
}

.rx-js .rx-tablist {
    display: inline-flex;
}

.rx-tabpanel + .rx-tabpanel {
    margin-top: 28px;
}

.rx-js .rx-tabpanel + .rx-tabpanel {
    margin-top: 0;
}

/* Without JS show every panel */
html:not(.rx-js) .rx-tabpanel[hidden] {
    display: block;
}


/* =========================================================
   KPI TILES
========================================================= */

.rx-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.rx-kpi {
    padding: 22px;
    background: var(--rx-dark);
    border-radius: 10px;
}

.rx-page .rx-kpi-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    color: #ffffff;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.15;
}

.rx-page .rx-kpi-unit {
    color: var(--rx-red);
    font-size: 12.5px !important;
    font-weight: 700;
}

.rx-page .rx-kpi-label {
    display: block;
    margin-top: 8px;
    color: #a9a9a9;
    font-size: 12.5px !important;
    line-height: 1.45;
}


/* =========================================================
   NOTE
========================================================= */

.rx-note {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 22px;
    background: #fff8f8;
    border: 1px solid rgba(229, 50, 55, 0.18);
    border-radius: 10px;
}

.rx-note > i {
    margin-top: 3px;
    color: var(--rx-red);
}

.rx-page .rx-note-title {
    margin: 0 0 4px;
    color: var(--rx-ink);
    font-size: 14.5px !important;
    font-weight: 700;
}

.rx-page .rx-note .rx-text {
    font-size: 14.5px !important;
}


/* =========================================================
   GRADES + MATERIAL CARDS
========================================================= */

.rx-grade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.rx-grade {
    padding: 22px;
    border: 1px solid var(--rx-line);
    border-top: 3px solid var(--rx-ink);
    border-radius: 8px;
}

.rx-grade-zinc { border-top-color: #8a8f96; }
.rx-grade-project,
.rx-grade-engineering { border-top-color: var(--rx-red); }

.rx-page .rx-grade-family {
    display: block;
    margin-bottom: 10px;
    color: var(--rx-muted);
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rx-page .rx-grade .rx-h3 {
    font-size: 16px !important;
}

.rx-page .rx-grade .rx-text {
    font-size: 14px !important;
}

.rx-material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rx-page .rx-material {
    display: flex;
    flex-direction: column;
    padding: 28px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rx-page .rx-material:hover {
    border-color: var(--rx-ink);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
}

.rx-page .rx-material-tag {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--rx-ink);
    border-radius: 4px;
}

.rx-material-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

.rx-page .rx-material-points li {
    padding: 4px 10px;
    color: var(--rx-ink);
    font-size: 12.5px !important;
    font-weight: 600;
    background: var(--rx-soft);
    border-radius: 4px;
}

.rx-page .rx-material-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--rx-red);
    font-size: 14px !important;
    font-weight: 700;
}


/* =========================================================
   CHECKLIST
========================================================= */

.rx-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rx-page .rx-checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--rx-text);
    font-size: 15px !important;
    line-height: 1.6;
}

.rx-checklist li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--rx-red);
    font-family: "Font Awesome 6 Free" !important;
    font-size: 10px;
    font-weight: 900;
    background: var(--rx-red-tint);
    border-radius: 50%;
}


/* =========================================================
   APPLICATIONS
========================================================= */

.rx-app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rx-app {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.rx-app:hover {
    border-color: #c9c9c9;
}

.rx-app > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #ffffff;
    font-size: 17px;
    background: var(--rx-ink);
    border-radius: 8px;
}

.rx-page .rx-app .rx-h3 {
    margin-bottom: 4px;
    font-size: 16px !important;
}

.rx-page .rx-app .rx-text {
    font-size: 14px !important;
}


/* =========================================================
   PROJECTS
========================================================= */

.rx-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rx-project {
    padding: 30px;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(229, 50, 55, 0.22), transparent 60%),
        var(--rx-dark);
    border-radius: 10px;
}

.rx-page .rx-project-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #bdbdbd;
    font-size: 13px !important;
}

.rx-project-place i {
    color: var(--rx-red);
}

.rx-page .rx-project .rx-h3 {
    color: #ffffff;
    font-size: 19px !important;
}

.rx-page .rx-project .rx-text {
    color: #c4c4c4;
}


/* =========================================================
   LINK CARDS (product forms)
========================================================= */

.rx-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rx-page .rx-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px 12px 12px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rx-page .rx-link-card:hover {
    border-color: var(--rx-ink);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.07);
}

.rx-link-media {
    flex-shrink: 0;
    width: 72px;
    height: 60px;
    overflow: hidden;
    background: var(--rx-soft);
    border-radius: 6px;
}

.rx-link-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.rx-link-body {
    display: grid;
    flex: 1;
    gap: 2px;
}

.rx-page .rx-link-name {
    color: var(--rx-ink);
    font-size: 15px !important;
    font-weight: 700;
}

.rx-page .rx-link-desc {
    color: var(--rx-muted);
    font-size: 13px !important;
}

.rx-link-card > i {
    color: var(--rx-red);
    transition: transform 0.2s ease;
}

.rx-link-card:hover > i {
    transform: translateX(3px);
}


/* =========================================================
   PROCESS
========================================================= */

.rx-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background: var(--rx-line);
    border: 1px solid var(--rx-line);
    border-radius: 10px;
}

.rx-step {
    position: relative;
    padding: 28px;
    background: #ffffff;
}

.rx-page .rx-step-num {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #e3e3e3;
    font-size: 30px !important;
    font-weight: 700;
    line-height: 1;
}

.rx-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 16px;
    background: var(--rx-red);
    border-radius: 8px;
}

.rx-page .rx-step .rx-text {
    font-size: 14px !important;
}

.rx-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.rx-why-item {
    padding: 22px 24px;
    background: var(--rx-soft);
    border-radius: 10px;
}

.rx-page .rx-why-value {
    display: block;
    color: var(--rx-ink);
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.2;
}

.rx-page .rx-why-label {
    display: block;
    margin-top: 6px;
    color: var(--rx-muted);
    font-size: 13.5px !important;
    line-height: 1.5;
}


/* =========================================================
   FAQ
========================================================= */

.rx-faq {
    border-top: 1px solid var(--rx-line);
}

.rx-faq-item {
    border-bottom: 1px solid var(--rx-line);
}

.rx-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}

.rx-faq-item summary::-webkit-details-marker {
    display: none;
}

.rx-page .rx-faq-q {
    color: var(--rx-ink);
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.4;
}

.rx-faq-item summary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--rx-ink);
    font-size: 12px;
    border: 1px solid var(--rx-line);
    border-radius: 50%;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.rx-faq-item[open] summary i {
    color: #ffffff;
    background: var(--rx-red);
    border-color: var(--rx-red);
    transform: rotate(45deg);
}

.rx-faq-item summary:hover .rx-faq-q {
    color: var(--rx-red);
}

.rx-faq-a {
    max-width: 760px;
    padding: 0 52px 24px 0;
}


/* =========================================================
   RFQ
========================================================= */

.rx-rfq {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 24px;
    padding: 44px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(229, 50, 55, 0.2), transparent 55%),
        var(--rx-dark);
    border-radius: 12px;
}

.rx-page .rx-rfq .rx-h2 {
    color: #ffffff;
}

.rx-page .rx-rfq .rx-text {
    margin-top: 14px;
    color: #c4c4c4;
    font-size: 16px !important;
}

.rx-rfq-list {
    padding: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.rx-page .rx-rfq-list-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 15px !important;
    font-weight: 700;
}

.rx-rfq-list ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rx-page .rx-rfq-list li {
    display: flex;
    gap: 10px;
    color: #d4d4d4;
    font-size: 14px !important;
    line-height: 1.5;
}

.rx-rfq-list li i {
    margin-top: 4px;
    color: var(--rx-red);
    font-size: 11px;
}


/* =========================================================
   RANGE EXPLORER
========================================================= */

.rx-range {
    padding: 88px 0 96px;
    background: var(--rx-soft);
}

.rx-range-head {
    margin-bottom: 36px;
}

.rx-range-group + .rx-range-group {
    margin-top: 40px;
}

.rx-page .rx-range-title {
    margin: 0 0 16px;
    color: var(--rx-muted);
    font-size: 12.5px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.rx-page .rx-range-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--rx-line);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rx-page .rx-range-card:hover {
    border-color: var(--rx-ink);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.09);
    transform: translateY(-3px);
}

.rx-page .rx-range-card.is-current {
    border-color: var(--rx-red);
    box-shadow: inset 0 0 0 1px var(--rx-red);
}

.rx-range-media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #ffffff, #eceef0);
    border-bottom: 1px solid var(--rx-line);
}

.rx-range-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8%;
}

.rx-range-body {
    display: grid;
    gap: 4px;
    padding: 18px 20px 20px;
}

.rx-page .rx-range-name {
    color: var(--rx-ink);
    font-size: 16px !important;
    font-weight: 700;
}

.rx-page .rx-range-desc {
    color: var(--rx-muted);
    font-size: 13.5px !important;
}

.rx-page .rx-range-card.is-current .rx-range-desc {
    color: var(--rx-red);
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .rx-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rx-hero-media {
        max-width: 640px;
    }

    .rx-glance {
        left: auto;
        right: 16px;
    }

    .rx-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    /* TOC becomes a sticky, horizontally scrolling chip bar */
    .rx-aside {
        z-index: 20;
        margin: 0 -24px 40px;
        padding: 10px 24px;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid var(--rx-line);
        backdrop-filter: blur(8px);
    }

    .rx-aside-card,
    .rx-toc-title {
        display: none !important;
    }

    .rx-toc ol {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        border-left: 0;
        scrollbar-width: none;
    }

    .rx-toc ol::-webkit-scrollbar {
        display: none;
    }

    .rx-page .rx-toc a {
        margin: 0;
        padding: 8px 14px;
        white-space: nowrap;
        border: 1px solid var(--rx-line);
        border-radius: 999px;
    }

    .rx-page .rx-toc a.is-active {
        color: #ffffff;
        background: var(--rx-ink);
        border-color: var(--rx-ink);
    }

    .rx-page .rx-toc a.is-active .rx-toc-num {
        color: var(--rx-red);
    }

    .rx-section {
        scroll-margin-top: calc(var(--rx-sticky) + 70px);
    }

    .rx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rx-stat:nth-child(3) {
        border-left: 0;
    }

    .rx-stat:nth-child(n + 3) {
        border-top: 1px solid var(--rx-line);
    }

    .rx-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 860px) {

    .rx-cols-3,
    .rx-config-grid,
    .rx-grade-grid,
    .rx-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .rx-rfq {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .rx-why {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {

    .rx-container {
        padding: 0 16px;
    }

    .rx-aside {
        margin: 0 -16px 32px;
        padding: 10px 16px;
    }

    .rx-hero {
        padding: 24px 0 64px;
    }

    .rx-breadcrumb ol {
        margin-bottom: 28px;
    }

    .rx-hero-media {
        padding-bottom: 0;
    }

    .rx-glance {
        position: static;
        width: 100%;
        margin-top: -24px;
        margin-left: 0;
    }

    .rx-hero-actions .rx-btn {
        flex: 1 1 100%;
    }

    .rx-stat {
        padding: 20px 18px;
    }

    .rx-main {
        padding: 48px 0 72px;
    }

    .rx-section {
        padding: 48px 0;
    }

    .rx-cols-3,
    .rx-cols-2,
    .rx-config-grid,
    .rx-config-grid.rx-config-even,
    .rx-alloy-grid,
    .rx-grade-grid,
    .rx-material-grid,
    .rx-app-grid,
    .rx-project-grid,
    .rx-link-grid,
    .rx-process,
    .rx-checklist {
        grid-template-columns: 1fr;
    }

    .rx-feature,
    .rx-step,
    .rx-config {
        padding: 22px;
    }

    .rx-spec-row {
        grid-template-columns: 1fr;
    }

    .rx-page .rx-spec dt {
        padding-bottom: 2px;
        border-right: 0;
        font-size: 13px !important;
    }

    .rx-page .rx-spec dd {
        padding-top: 0;
    }

    .rx-faq-a {
        padding-right: 0;
    }

    .rx-rfq {
        padding: 26px 20px;
    }

    .rx-range {
        padding: 64px 0 72px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.rx-page .rx-content a:focus-visible,
.rx-page .rx-hero a:focus-visible,
.rx-page .rx-range a:focus-visible,
.rx-page .rx-aside a:focus-visible,
.rx-page .rx-tab:focus-visible,
.rx-faq-item summary:focus-visible {
    outline: 2px solid var(--rx-red);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .rx-page *,
    .rx-page *::before {
        transition: none !important;
    }

}
