/* =============================================================
   retail.css — Industries / Retail ("the storefront & checkout")
   Page prefix: .rt-  ·  Own visual language: retail floor
   (storefront window & scanner beam, conversion funnel, scan
   bench, shelf planogram, sticker metrics, loyalty punch card,
   checkout belts, voucher). Theme colours follow the site.
   Light/dark rhythm: hero D · funnel L · scan D · shelf L ·
   impact D · rollout L · belts D · CTA L
   ============================================================= */

.rt-wrap {
    --rt-ink: #080b2a;
    --rt-ink-2: #0b1036;
    --rt-panel: #101646;
    --rt-panel-2: #161e5c;
    --rt-line: rgba(255, 255, 255, 0.12);
    --rt-line-strong: rgba(255, 255, 255, 0.22);
    --rt-text: #ffffff;
    --rt-dim: rgba(255, 255, 255, 0.68);
    --rt-faint: rgba(255, 255, 255, 0.44);
    --rt-cyan: #43D2E0;
    --rt-violet: #7B2FF7;
    --rt-magenta: #B51BB5;
    --rt-pink: #FF5C8A;
    --rt-amber: #F0A400;
    --rt-green: #35E08F;

    --rt-shell: min(88%, 1400px);

    position: relative;
    background: var(--rt-ink);
    color: var(--rt-text);
    overflow-x: clip;
}

.rt-wrap .rt-shell {
    max-width: var(--rt-shell);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- shared type ---------- */
.rt-h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.rt-h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.rt-h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--rt-cyan), var(--rt-magenta) 55%, var(--rt-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rt-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.32rem);
    line-height: 1.62;
    color: var(--rt-dim);
    max-width: 56ch;
}

.rt-body {
    font-size: 1.06rem;
    line-height: 1.66;
    color: var(--rt-dim);
    max-width: 64ch;
}

.rt-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rt-cyan);
}

.rt-label i {
    font-style: normal;
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid rgba(67, 210, 224, 0.5);
    border-radius: 5px;
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.rt-head {
    margin-bottom: clamp(38px, 5vw, 64px);
}

.rt-head .rt-h2 {
    margin: 18px 0 16px;
}

.rt-sec {
    position: relative;
    padding: clamp(74px, 9vw, 130px) 0;
    scroll-margin-top: 130px;
}

/* ---------- status LEDs ---------- */
.rt-led {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
    flex: none;
}

.rt-led--on {
    background: var(--rt-green);
    box-shadow: 0 0 10px rgba(53, 224, 143, 0.8);
    animation: rt-pulse 2.6s ease-in-out infinite;
}

.rt-led--warn {
    background: var(--rt-amber);
    box-shadow: 0 0 10px rgba(240, 164, 0, 0.8);
    animation: rt-pulse 1.3s ease-in-out infinite;
}

@keyframes rt-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

/* ---------- buttons ---------- */
.rt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.rt-btn--fill {
    background: linear-gradient(120deg, var(--rt-magenta), var(--rt-pink) 65%, var(--rt-amber));
    color: #fff;
    box-shadow: 0 14px 34px rgba(181, 27, 181, 0.36);
}

.rt-btn--fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(181, 27, 181, 0.5);
}

.rt-btn--ghost {
    border-color: var(--rt-line-strong);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.rt-btn--ghost:hover {
    border-color: var(--rt-cyan);
    color: var(--rt-cyan);
    transform: translateY(-2px);
}

/* ---------- scroll reveal ---------- */
[data-rt-rise] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-rt-rise].is-in {
    opacity: 1;
    transform: none;
}

[data-rt-delay="1"] {
    transition-delay: 0.1s;
}

[data-rt-delay="2"] {
    transition-delay: 0.2s;
}

[data-rt-delay="3"] {
    transition-delay: 0.3s;
}

/* =============================================================
   1 · HERO — storefront window
   ============================================================= */
.rt-hero {
    position: relative;
    padding: clamp(150px, 17vh, 210px) 0 0;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(1100px 560px at 78% 12%, rgba(36, 18, 92, 0.85), transparent 68%),
        radial-gradient(900px 520px at 12% 90%, rgba(181, 27, 181, 0.1), transparent 70%),
        linear-gradient(180deg, #0b0c34 0%, var(--rt-ink) 80%);
}

.rt-shop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rt-shop__grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(1200px 800px at 55% 45%, #000 30%, transparent 82%);
    -webkit-mask-image: radial-gradient(1200px 800px at 55% 45%, #000 30%, transparent 82%);
}

.rt-shop__win {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.rt-shop__draw {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: rt-draw 3.4s ease forwards;
}

.rt-shop__draw:nth-of-type(2) {
    animation-delay: 0.35s;
}

.rt-shop__draw:nth-of-type(3) {
    animation-delay: 0.7s;
}

.rt-shop__draw:nth-of-type(4) {
    animation-delay: 1s;
}

@keyframes rt-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.rt-shop__scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(255, 92, 138, 0.1) 45%, rgba(255, 92, 138, 0.24) 50%, transparent);
    animation: rt-sweep 7.5s linear infinite;
}

@keyframes rt-sweep {
    from {
        top: -140px;
    }

    to {
        top: 110%;
    }
}

.rt-shop__glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.3;
}

.rt-shop__glow--a {
    background: var(--rt-magenta);
    right: -120px;
    top: -80px;
}

.rt-shop__glow--b {
    background: var(--rt-cyan);
    left: -160px;
    bottom: -140px;
    opacity: 0.14;
}

.rt-hero__in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(32px, 4vw, 68px);
    align-items: center;
    padding-bottom: clamp(40px, 6vh, 80px);
    width: 100%;
}

.rt-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--rt-faint);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.rt-crumb i {
    font-style: normal;
    opacity: 0.5;
}

.rt-crumb a:hover {
    color: var(--rt-cyan);
}

.rt-crumb b {
    color: var(--rt-dim);
    font-weight: 600;
}

.rt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--rt-line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--rt-dim);
    margin-bottom: 26px;
}

.rt-eyebrow__led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rt-pink);
    box-shadow: 0 0 12px var(--rt-pink);
    animation: rt-pulse 1.6s ease-in-out infinite;
}

.rt-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.5em) scale(0.98);
    animation: rt-word-in 0.85s cubic-bezier(0.16, 0.84, 0.28, 1) forwards;
    animation-delay: calc(0.12s + var(--w) * 0.11s);
}

.rt-word--grad {
    background: linear-gradient(100deg, var(--rt-cyan), var(--rt-magenta) 50%, var(--rt-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes rt-word-in {
    to {
        opacity: 1;
        transform: none;
    }
}

.rt-hero__copy .rt-lead {
    margin: 26px 0 34px;
}

.rt-hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rt-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.rt-hero__tags li {
    padding: 8px 15px;
    border: 1px solid var(--rt-line);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--rt-dim);
    background: rgba(255, 255, 255, 0.035);
}

/* live store board */
.rt-board {
    border: 1px solid var(--rt-line-strong);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(22, 30, 92, 0.92), rgba(11, 16, 54, 0.94));
    box-shadow: 0 30px 70px rgba(3, 5, 24, 0.6);
    overflow: hidden;
    animation: rt-board-in 1s ease 0.5s both;
}

@keyframes rt-board-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rt-board__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid var(--rt-line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    letter-spacing: 2px;
}

.rt-board__title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.rt-board__clock {
    color: var(--rt-faint);
    letter-spacing: 1px;
}

.rt-board__rows {
    padding: 18px;
    display: grid;
    gap: 15px;
}

.rt-board__row {
    display: grid;
    grid-template-columns: 1fr 110px 56px;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--rt-dim);
}

.rt-board__row b {
    text-align: right;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.rt-board__row--warn b {
    color: var(--rt-amber);
}

.rt-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.rt-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rt-cyan), var(--rt-magenta));
    transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rt-board__row--warn .rt-bar i {
    background: linear-gradient(90deg, var(--rt-amber), var(--rt-pink));
}

.rt-board.is-on .rt-bar i {
    width: var(--v);
}

.rt-board__spark {
    padding: 4px 18px 14px;
}

.rt-board__spark svg {
    width: 100%;
    height: 54px;
}

.rt-board__spark polyline {
    fill: none;
    stroke: var(--rt-pink);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(255, 92, 138, 0.6));
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
    animation: rt-draw 2.4s ease 1s forwards;
}

.rt-board__spark small {
    display: block;
    margin-top: 6px;
    color: var(--rt-faint);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.rt-board__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 13px 18px;
    border-top: 1px solid var(--rt-line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.82rem;
    color: var(--rt-dim);
}

.rt-board__foot span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* channels strip */
.rt-strip {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 16px 24px;
    border-top: 1px solid var(--rt-line);
    background: rgba(8, 11, 42, 0.6);
    backdrop-filter: blur(6px);
    overflow-x: auto;
    scrollbar-width: none;
}

.rt-strip::-webkit-scrollbar {
    display: none;
}

.rt-strip__label {
    flex: none;
    font-size: 0.76rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rt-faint);
}

.rt-strip ul {
    display: flex;
    gap: 22px;
    align-items: center;
}

.rt-strip li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    font-size: 0.92rem;
    color: var(--rt-dim);
    letter-spacing: 0.6px;
}

/* =============================================================
   2 · CONVERSION FUNNEL (light)
   ============================================================= */
.rt-funnel__chart {
    list-style: none;
    display: grid;
    gap: 18px;
}

.rt-stage__bar {
    position: relative;
    width: var(--w, 100%);
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border: 1px solid var(--rt-line-strong);
    border-radius: 12px;
    background: linear-gradient(100deg, rgba(14, 145, 168, 0.14), rgba(168, 23, 168, 0.12) 70%, rgba(226, 61, 108, 0.14));
    color: var(--rt-text);
    font-size: 1.02rem;
    transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(31, 24, 89, 0.08);
}

/* funnel grows to its width when scrolled into view */
.rt-funnel__chart:not(.is-on) .rt-stage__bar {
    width: 0;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    border-left-color: transparent;
    border-right-color: transparent;
}

.rt-funnel__chart .rt-stage:nth-child(2) .rt-stage__bar {
    transition-delay: 0.12s;
}

.rt-funnel__chart .rt-stage:nth-child(3) .rt-stage__bar {
    transition-delay: 0.24s;
}

.rt-funnel__chart .rt-stage:nth-child(4) .rt-stage__bar {
    transition-delay: 0.36s;
}

.rt-funnel__chart .rt-stage:nth-child(5) .rt-stage__bar {
    transition-delay: 0.48s;
}

.rt-stage:hover .rt-stage__bar {
    transform: translateX(6px);
    box-shadow: 0 16px 32px rgba(31, 24, 89, 0.14);
}

.rt-stage__bar span {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rt-stage__bar span i {
    font-style: normal;
    color: var(--rt-pink);
    font-size: 0.88rem;
    margin-left: 8px;
}

.rt-stage__fix {
    margin: 10px 0 0;
    padding-left: 4px;
    color: var(--rt-dim);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 72ch;
}

.rt-stage__fix b {
    color: var(--rt-text);
}

.rt-funnel__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: var(--rt-faint);
    font-size: 0.88rem;
}

/* =============================================================
   3 · SCAN BENCH (dark)
   ============================================================= */
.rt-scan {
    background:
        radial-gradient(1000px 520px at 12% 20%, rgba(181, 27, 181, 0.14), transparent 70%),
        linear-gradient(180deg, var(--rt-ink-2), var(--rt-ink));
    border-top: 1px solid var(--rt-line);
    border-bottom: 1px solid var(--rt-line);
}

.rt-scan__bench {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(330px, 1.15fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}

.rt-scan__codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.rt-code {
    position: relative;
    padding: 18px 16px 14px;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--rt-dim);
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.rt-code:hover {
    transform: translateY(-3px);
    border-color: var(--rt-line-strong);
    color: #fff;
}

.rt-code.is-on {
    border-color: rgba(255, 92, 138, 0.6);
    background: rgba(255, 92, 138, 0.1);
    color: #fff;
}

/* barcode stripes */
.rt-code__bars {
    display: block;
    height: 44px;
    margin-bottom: 11px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.75) 0 3px,
            transparent 3px 6px,
            rgba(255, 255, 255, 0.75) 6px 8px,
            transparent 8px 13px,
            rgba(255, 255, 255, 0.75) 13px 18px,
            transparent 18px 21px);
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.rt-code.is-on .rt-code__bars {
    opacity: 0.9;
}

/* scanning line while active */
.rt-code.is-on .rt-code__bars::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 18px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(180deg, transparent 40%, rgba(255, 92, 138, 0.65) 50%, transparent 60%);
    animation: rt-code-scan 1.6s linear infinite;
}

@keyframes rt-code-scan {
    from {
        transform: translateY(-40px);
    }

    to {
        transform: translateY(40px);
    }
}

.rt-code b {
    display: block;
    font-size: 0.86rem;
    letter-spacing: 2px;
    color: var(--rt-cyan);
}

.rt-code small {
    display: block;
    margin-top: 3px;
    font-size: 0.88rem;
}

.rt-scan__panel {
    position: relative;
    border: 1px solid var(--rt-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: clamp(24px, 3vw, 36px);
    min-height: 360px;
    overflow: hidden;
}

.rt-scan__beam {
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 110px;
    background: linear-gradient(180deg, transparent, rgba(67, 210, 224, 0.08) 45%, rgba(67, 210, 224, 0.18) 50%, transparent);
    animation: rt-panel-scan 6s linear infinite;
    pointer-events: none;
}

@keyframes rt-panel-scan {
    from {
        top: -120px;
    }

    to {
        top: 110%;
    }
}

.rt-scan__panel article {
    display: none;
}

.rt-scan__panel article.is-on {
    display: block;
    animation: rt-panel-in 0.45s ease;
}

@keyframes rt-panel-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rt-scan__tag {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid rgba(255, 92, 138, 0.55);
    border-radius: 6px;
    color: var(--rt-pink);
    font-size: 0.74rem;
    letter-spacing: 2.2px;
    margin-bottom: 14px;
}

.rt-scan__panel h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 16px;
}

.rt-scan__panel p {
    color: var(--rt-dim);
    line-height: 1.62;
    margin-bottom: 12px;
    font-size: 0.99rem;
    max-width: 72ch;
}

.rt-scan__panel p small {
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--rt-cyan);
    margin-bottom: 4px;
}

.rt-scan__panel ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.rt-scan__panel li {
    padding: 6px 12px;
    border: 1px solid var(--rt-line-strong);
    border-radius: 999px;
    font-size: 0.84rem;
    color: var(--rt-dim);
}

/* =============================================================
   4 · SHELF MODULES (light)
   ============================================================= */
.rt-shelf__rows {
    display: grid;
    gap: 34px;
}

.rt-shelf__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.rt-item {
    position: relative;
    padding: 24px 20px;
    border: 1px solid var(--rt-line);
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, #ffffff, #f8f7fd);
    box-shadow: 0 12px 26px rgba(31, 24, 89, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* price-tag label */
.rt-item__tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(14, 145, 168, 0.5);
    border-radius: 6px;
    color: var(--rt-cyan);
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.rt-item:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 23, 168, 0.4);
    box-shadow: 0 20px 40px rgba(31, 24, 89, 0.16);
}

.rt-item h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: var(--rt-text);
}

.rt-item p {
    color: var(--rt-dim);
    font-size: 0.92rem;
    line-height: 1.52;
}

/* the shelf board */
.rt-shelf__board {
    height: 12px;
    margin-top: 10px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(20, 28, 74, 0.22), rgba(20, 28, 74, 0.1));
    box-shadow: 0 8px 18px rgba(31, 24, 89, 0.14);
}

/* =============================================================
   5 · STICKER METRICS (dark)
   ============================================================= */
.rt-impact {
    background:
        radial-gradient(900px 460px at 50% 0%, rgba(255, 92, 138, 0.1), transparent 70%),
        linear-gradient(180deg, var(--rt-ink), var(--rt-ink-2));
}

.rt-impact .rt-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: center;
}

.rt-impact .rt-head {
    grid-column: 1 / -1;
    margin-bottom: clamp(26px, 3vw, 40px);
}

.rt-impact__stickers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 8px;
}

/* hangtag sticker */
.rt-sticker {
    position: relative;
    margin: 0;
    padding: 30px 22px 22px;
    text-align: center;
    border: 1px solid var(--rt-line-strong);
    border-radius: 18px 18px 18px 6px;
    background: linear-gradient(150deg, rgba(255, 92, 138, 0.16), rgba(123, 47, 247, 0.14));
    transform: rotate(-1.2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rt-sticker--alt {
    transform: rotate(1.2deg);
    background: linear-gradient(150deg, rgba(67, 210, 224, 0.16), rgba(240, 164, 0, 0.12));
}

.rt-sticker:hover {
    transform: rotate(0) translateY(-4px);
    box-shadow: 0 22px 46px rgba(3, 5, 24, 0.5);
}

.rt-sticker__hole {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.rt-sticker b {
    display: block;
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--rt-cyan), var(--rt-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rt-sticker--alt b {
    background: linear-gradient(120deg, var(--rt-amber), var(--rt-pink));
    -webkit-background-clip: text;
    background-clip: text;
}

.rt-sticker small {
    display: block;
    margin-top: 8px;
    color: var(--rt-dim);
    font-size: 0.9rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* readiness card */
.rt-audit {
    border: 1px solid var(--rt-line-strong);
    border-radius: 16px;
    background: linear-gradient(170deg, rgba(22, 30, 92, 0.9), rgba(11, 16, 54, 0.92));
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(3, 5, 24, 0.5);
}

.rt-audit__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rt-line);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.8rem;
    letter-spacing: 2.4px;
    color: var(--rt-dim);
}

.rt-audit__rows {
    padding: 8px 20px;
}

.rt-audit__rows li {
    display: grid;
    grid-template-columns: 0.85fr 1.45fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}

.rt-audit__rows li:last-child {
    border-bottom: 0;
}

.rt-audit__rows span {
    color: #fff;
}

.rt-audit__rows b {
    color: var(--rt-green);
    font-weight: 500;
    font-size: 0.92rem;
}

.rt-audit__foot {
    padding: 13px 20px;
    border-top: 1px solid var(--rt-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--rt-faint);
    font-size: 0.82rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* =============================================================
   6 · ROLLOUT — loyalty punch card (light)
   ============================================================= */
.rt-punch {
    display: flex;
    justify-content: center;
}

.rt-punch__card {
    width: min(1020px, 100%);
    border: 1px solid var(--rt-line-strong);
    border-radius: 22px;
    background:
        radial-gradient(700px 300px at 10% 0%, rgba(168, 23, 168, 0.08), transparent 65%),
        linear-gradient(170deg, #ffffff, #f7f6fd);
    box-shadow: 0 26px 60px rgba(31, 24, 89, 0.14);
    overflow: hidden;
}

.rt-punch__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 26px;
    border-bottom: 1px dashed rgba(20, 28, 74, 0.2);
    font-size: 0.8rem;
    letter-spacing: 2.6px;
    color: var(--rt-faint);
}

.rt-punch__head b {
    color: var(--rt-cyan);
}

.rt-punch__stamps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding: 30px 26px;
}

.rt-stamp {
    position: relative;
    padding: 58px 14px 18px;
    border: 1px dashed rgba(20, 28, 74, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.rt-stamp:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 23, 168, 0.45);
}

.rt-stamp__hole {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px dashed rgba(168, 23, 168, 0.55);
    color: var(--rt-magenta);
    font-size: 0.82rem;
    letter-spacing: 1px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1);
}

.rt-stamp.is-in .rt-stamp__hole {
    background: rgba(168, 23, 168, 0.12);
    transform: rotate(-8deg) scale(1.05);
}

.rt-stamp b {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 8px;
    color: var(--rt-text);
}

.rt-stamp p {
    color: var(--rt-dim);
    font-size: 0.88rem;
    line-height: 1.5;
}

.rt-stamp small {
    display: block;
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px dashed rgba(20, 28, 74, 0.18);
    color: var(--rt-cyan);
    font-size: 0.78rem;
}

.rt-punch__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-top: 1px dashed rgba(20, 28, 74, 0.2);
    background: rgba(255, 255, 255, 0.5);
    color: var(--rt-faint);
    font-size: 0.84rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* =============================================================
   7 · CHECKOUT BELTS (dark)
   ============================================================= */
.rt-belts {
    background:
        radial-gradient(900px 500px at 85% 85%, rgba(67, 210, 224, 0.1), transparent 70%),
        linear-gradient(180deg, var(--rt-ink-2), var(--rt-ink));
    border-top: 1px solid var(--rt-line);
}

.rt-belts__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.5fr) minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 36px);
    align-items: center;
    padding: clamp(26px, 3vw, 44px);
    border: 1px solid var(--rt-line-strong);
    border-radius: 18px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 24px, transparent 24px 48px),
        linear-gradient(165deg, rgba(16, 22, 70, 0.92), rgba(9, 12, 42, 0.92));
    overflow: hidden;
}

.rt-belts__cap {
    font-size: 0.76rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rt-faint);
    margin-bottom: 12px;
}

/* belt track */
.rt-belts__track {
    position: relative;
    padding: 10px 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.18);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.rt-belts__move {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: rt-belt 16s linear infinite;
}

.rt-belts__track--rev .rt-belts__move {
    animation: rt-belt-rev 16s linear infinite;
}

@keyframes rt-belt {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes rt-belt-rev {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.rt-crate {
    flex: none;
    padding: 11px 16px;
    border: 1px solid rgba(67, 210, 224, 0.4);
    border-radius: 10px;
    background: rgba(67, 210, 224, 0.1);
    color: var(--rt-dim);
    font-size: 0.9rem;
    white-space: nowrap;
}

.rt-crate--out {
    border-color: rgba(255, 92, 138, 0.4);
    background: rgba(255, 92, 138, 0.1);
}

/* core */
.rt-belts__core {
    position: relative;
    z-index: 2;
    aspect-ratio: 1;
    max-width: 210px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    place-items: center;
    gap: 8px;
    border-radius: 50%;
    border: 1px solid rgba(67, 210, 224, 0.5);
    background:
        radial-gradient(circle at 32% 28%, rgba(67, 210, 224, 0.26), transparent 55%),
        linear-gradient(160deg, var(--rt-panel-2), var(--rt-panel));
    box-shadow: 0 0 0 10px rgba(67, 210, 224, 0.06), 0 0 60px rgba(67, 210, 224, 0.2);
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 2.6px;
    line-height: 1.5;
}

.rt-belts__note {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 92%;
    color: var(--rt-faint);
    font-size: 0.86rem;
}

/* =============================================================
   8 · CTA — voucher (light)
   ============================================================= */
.rt-voucher {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(28px, 3.5vw, 56px);
    padding: clamp(34px, 4vw, 58px);
    border: 2px dashed var(--rt-line-strong);
    border-radius: 20px;
    background:
        radial-gradient(700px 320px at 8% 0%, rgba(255, 92, 138, 0.1), transparent 65%),
        linear-gradient(165deg, #ffffff, #f7f6fd);
    box-shadow: 0 30px 70px rgba(31, 24, 89, 0.16);
    overflow: hidden;
}

/* side notches */
.rt-voucher__notch {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rt-ink);
    transform: translateY(-50%);
    opacity: 0.08;
}

.rt-voucher__notch--l {
    left: -17px;
}

.rt-voucher__notch--r {
    right: -17px;
}

.rt-voucher .rt-h2 {
    margin: 16px 0 14px;
}

.rt-voucher__btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 28px 0 24px;
}

.rt-voucher__check {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.rt-voucher__check li {
    position: relative;
    padding-left: 24px;
    color: var(--rt-dim);
    font-size: 0.95rem;
}

.rt-voucher__check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid var(--rt-green);
    background: rgba(53, 224, 143, 0.15);
}

.rt-voucher__card {
    margin: 0;
    align-self: center;
    border: 1px solid var(--rt-line);
    border-radius: 14px;
    padding: 12px 22px;
    background: rgba(20, 28, 74, 0.035);
}

.rt-voucher__card div {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(20, 28, 74, 0.14);
}

.rt-voucher__card div:last-child {
    border-bottom: 0;
}

.rt-voucher__card dt {
    color: var(--rt-faint);
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.rt-voucher__card dd {
    margin: 0;
    color: var(--rt-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}

.rt-voucher__card dd a:hover {
    color: var(--rt-magenta);
}

/* barcode footer */
.rt-voucher__barcode {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px dashed var(--rt-line-strong);
}

.rt-voucher__bars {
    display: block;
    width: 180px;
    height: 38px;
    border-radius: 4px;
    background: repeating-linear-gradient(90deg,
            rgba(20, 28, 74, 0.75) 0 3px,
            transparent 3px 6px,
            rgba(20, 28, 74, 0.75) 6px 8px,
            transparent 8px 13px,
            rgba(20, 28, 74, 0.75) 13px 18px,
            transparent 18px 21px);
    opacity: 0.6;
}

.rt-voucher__barcode small {
    color: var(--rt-faint);
    letter-spacing: 2px;
    font-size: 0.76rem;
}

/* =============================================================
   LIGHT SECTIONS — scoped re-theme (hero D · funnel L · scan D ·
   shelf L · impact D · rollout L · belts D · CTA L)
   ============================================================= */
.rt-light {
    --rt-ink: #f7f6fb;
    --rt-ink-2: #eff0f8;
    --rt-panel: #ffffff;
    --rt-panel-2: #f8f9fe;
    --rt-line: rgba(20, 28, 74, 0.12);
    --rt-line-strong: rgba(20, 28, 74, 0.22);
    --rt-text: #141c4a;
    --rt-dim: rgba(20, 28, 74, 0.72);
    --rt-faint: rgba(20, 28, 74, 0.5);
    --rt-cyan: #0E91A8;
    --rt-violet: #6A22E0;
    --rt-magenta: #A817A8;
    --rt-pink: #E23D6C;
    --rt-amber: #B97C00;
    --rt-green: #12885A;

    color: var(--rt-text);
    background-color: var(--rt-ink);
    background-image:
        linear-gradient(rgba(20, 28, 74, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 28, 74, 0.05) 1px, transparent 1px),
        radial-gradient(900px 420px at 88% 4%, rgba(168, 23, 168, 0.07), transparent 70%),
        radial-gradient(820px 400px at 6% 96%, rgba(14, 145, 168, 0.08), transparent 70%);
    background-size: 46px 46px, 46px 46px, auto, auto;
    border-top: 1px solid var(--rt-line);
    border-bottom: 1px solid var(--rt-line);
}

.rt-light .rt-h2 em {
    background: linear-gradient(100deg, var(--rt-cyan), var(--rt-magenta) 55%, var(--rt-pink));
    -webkit-background-clip: text;
    background-clip: text;
}

.rt-light .rt-label i {
    border-color: rgba(14, 145, 168, 0.5);
}

.rt-light .rt-btn--ghost {
    color: var(--rt-text);
    background: rgba(20, 28, 74, 0.04);
}

.rt-light .rt-btn--ghost:hover {
    color: var(--rt-magenta);
    border-color: var(--rt-magenta);
}

.rt-light .rt-btn--fill {
    box-shadow: 0 14px 34px rgba(168, 23, 168, 0.28);
}

.rt-light .rt-btn--fill:hover {
    box-shadow: 0 20px 44px rgba(168, 23, 168, 0.4);
}

.rt-light .rt-led {
    background: rgba(20, 28, 74, 0.2);
    box-shadow: 0 0 0 3px rgba(20, 28, 74, 0.06);
}

.rt-light .rt-led--on {
    background: var(--rt-green);
    box-shadow: 0 0 10px rgba(18, 136, 90, 0.55);
}

.rt-light .rt-led--warn {
    background: var(--rt-amber);
    box-shadow: 0 0 10px rgba(185, 124, 0, 0.5);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1180px) {
    .rt-shelf__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-punch__stamps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .rt-hero {
        min-height: 0;
        padding-top: 130px;
    }

    .rt-hero__in,
    .rt-impact .rt-shell,
    .rt-scan__bench,
    .rt-voucher {
        grid-template-columns: 1fr;
    }

    .rt-board {
        max-width: 560px;
    }

    .rt-belts__stage {
        grid-template-columns: 1fr;
    }

    .rt-belts__core {
        max-width: 170px;
    }

    .rt-belts__note {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        justify-content: center;
        margin-top: 18px;
    }

    .rt-punch__stamps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .rt-shelf__items,
    .rt-impact__stickers,
    .rt-punch__stamps,
    .rt-scan__codes {
        grid-template-columns: 1fr;
    }

    .rt-hero__btns .rt-btn,
    .rt-voucher__btns .rt-btn {
        width: 100%;
        justify-content: center;
    }

    .rt-audit__rows li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .rt-board__row {
        grid-template-columns: 1fr 70px 50px;
    }

    .rt-stage__bar {
        min-width: 0;
        width: 100% !important;
    }

    .rt-voucher__barcode {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {

    .rt-word,
    .rt-shop__draw,
    .rt-shop__scan,
    .rt-board,
    .rt-board__spark polyline,
    .rt-scan__beam,
    .rt-code.is-on .rt-code__bars::after,
    .rt-belts__move {
        animation: none !important;
    }

    .rt-word {
        opacity: 1;
        transform: none;
    }

    .rt-shop__draw,
    .rt-board__spark polyline {
        stroke-dashoffset: 0;
    }

    [data-rt-rise] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
