/* site/rise.css — the NAADI Rise Test Series page (/rise), v3, 27 Nov 2026.
   One full-screen section per scroll (.nd-vp from site.css, snapping on laptop),
   alternating dark and light so each section reads as its own screen. Arena amber
   for the series, gold for the price only, subject colours from the schedule PDF.
   Motion: the shared .nd-rv reveal, plus rise.js (count-ups, the flip cards, the two-way
   switch, the journey rail) and CSS keyframes (the pulse line, Nia's lines). Everything
   lands in its final state under prefers-reduced-motion.
   Phone first; the laptop layout is the @media block near the end. */

.rs {
    --rs-navy: #0B1220;
    --rs-navy2: #13203a;
    --rs-amber: #E09B1A;
    --rs-amber-ink: #9a6408;
    --rs-gold: #F0B43C;
    --rs-body: #f4f6fa;
    --rs-card: #ffffff;
    --rs-line: #e2e8f0;
    --rs-ink: #0f172a;
    --rs-mute: #475569;
    --rs-phy: #1f5896;
    --rs-phy-bg: #e8f0fb;
    --rs-che: #9a3412;
    --rs-che-bg: #fdf0e6;
    --rs-bio: #166534;
    --rs-bio-bg: #e8f5ee;
    --rx-ease: cubic-bezier(.22, .61, .36, 1);
    background: var(--rs-body);
    color: var(--rs-ink);
}

.rs .nd-pr-fig {
    font-family: 'Sora', 'Baloo 2', sans-serif;
}

.rx-wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.center {
    text-align: center;
}

/* ── shared type ──────────────────────────────────────── */
.rx-kicker {
    display: inline-block;
    font: 800 .76rem 'DM Sans', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rs-amber-ink);
}

.rx-dark .rx-kicker,
.rx-close .rx-kicker {
    color: var(--rs-amber);
}

.rx-h2 {
    font: 800 clamp(1.75rem, 6.6vw, 3rem)/1.08 'Sora', sans-serif;
    letter-spacing: -.015em;
    margin: 10px 0 12px;
    text-wrap: balance;
}

.rx-h2 span {
    color: var(--rs-amber-ink);
}

.rx-dark .rx-h2,
.rx-close .rx-h2 {
    color: #fff;
}

.rx-dark .rx-h2 span,
.rx-close .rx-h2 span {
    color: var(--rs-gold);
}

.rx-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--rs-mute);
    margin: 0;
    max-width: 40rem;
}

.rx-head.center .rx-lead,
.center .rx-lead {
    margin-left: auto;
    margin-right: auto;
}

.rx-dark .rx-lead,
.rx-close .rx-lead {
    color: #c3cde0;
}

.rx-head {
    margin-bottom: 26px;
}

.rx-foot {
    margin: 22px 0 0;
    color: var(--rs-mute);
    font-size: .92rem;
    line-height: 1.55;
}

.rx-dark .rx-foot {
    color: #9fb0c9;
}

.rx-foot a {
    color: var(--rs-phy);
    font-weight: 700;
}

.rx-small {
    margin: 12px 0 0;
    font-size: .88rem;
    color: var(--rs-mute);
}

/* ── sections ─────────────────────────────────────────── */
.rx-sec {
    position: relative;
    overflow: hidden;
}

.rx-light {
    background: var(--rs-body);
}

.rx-tint {
    background: #e9eef6;
}

.rx-dark {
    background: radial-gradient(110% 80% at 85% 0%, #1b2d52 0%, var(--rs-navy) 60%);
    color: #e7ecf5;
}

/* ── buttons ──────────────────────────────────────────── */
.rx-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.rx-ctas.center {
    justify-content: center;
}

.rx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    font: 800 1rem 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s var(--rx-ease), box-shadow .2s var(--rx-ease), background .2s;
}

.rx-btn.primary {
    background: var(--rs-amber);
    color: #1a1204;
    box-shadow: 0 12px 30px -12px rgba(224, 155, 26, .75);
}

.rx-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -14px rgba(224, 155, 26, .9);
}

.rx-btn.primary i {
    transition: transform .2s var(--rx-ease);
}

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

.rx-btn.ghost {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.rx-btn.ghost:hover {
    border-color: #fff;
}

.rx-btn.dark {
    background: var(--rs-navy);
    color: #fff;
}

.rx-btn:disabled {
    background: #e3e8f0;
    color: #64748b;
    box-shadow: none;
    cursor: default;
}

/* ── 1 · hero ─────────────────────────────────────────── */
.rx-hero,
.rx-close {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 90% at 85% 0%, #1d3157 0%, var(--rs-navy) 60%);
    color: #e7ecf5;
}

.rx-pulse {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    width: 100%;
    height: 220px;
    transform: translateY(-40%);
    opacity: .22;
    pointer-events: none;
}

.rx-pulse path {
    fill: none;
    stroke: var(--rs-amber);
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: rx-beat 4.2s linear infinite;
}

@keyframes rx-beat {
    0% { stroke-dashoffset: 1600; opacity: 0; }
    8% { opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.rx-hero-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.rx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font: 800 .78rem 'DM Sans', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rs-amber);
    background: rgba(224, 155, 26, .1);
    border: 1px solid rgba(224, 155, 26, .35);
    border-radius: 999px;
    padding: 7px 14px;
}

.rx-name {
    font: 800 clamp(2.4rem, 9.5vw, 4.4rem)/1 'Sora', sans-serif;
    letter-spacing: -.02em;
    color: #fff;
    margin: 18px 0 14px;
    text-wrap: balance;
}

.rx-hook {
    font: 800 clamp(1.25rem, 5vw, 1.9rem)/1.25 'Sora', sans-serif;
    color: #fff;
    margin: 0 0 14px;
}

.rx-hook span {
    color: var(--rs-gold);
}

.rx-sub {
    color: #c3cde0;
    font-size: 1.04rem;
    line-height: 1.6;
    margin: 0;
    max-width: 36rem;
}

.rx-sub b {
    color: #fff;
}

.rx-price-line {
    margin: 18px 0 0;
    color: #c3cde0;
    font-size: 1rem;
}

.rx-price-line .nd-pr-fig {
    font-size: 1.6rem;
    color: var(--rs-gold);
}

.rx-price-line .nd-pr-term {
    font: 600 1rem 'DM Sans', sans-serif;
    color: #c3cde0;
    margin-left: 4px;
}

.rx-price-line .nd-pr-fig + .nd-pr-term::before {
    content: "";
}

.rx-dot {
    color: #64748b;
}

/* the phone with Nia's note */
.rx-phone {
    justify-self: center;
    width: min(340px, 100%);
    border-radius: 34px;
    padding: 10px;
    background: #050a14;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
    animation: rx-float 6s ease-in-out infinite;
}

@keyframes rx-float {
    50% { transform: translateY(-10px); }
}

.rx-phone-in {
    background: #f1f5f9;
    border-radius: 26px;
    padding: 16px 14px 18px;
    color: var(--rs-ink);
}

.rx-ph-top {
    display: flex;
    justify-content: space-between;
    font: 700 .74rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
    margin-bottom: 10px;
}

.rx-ph-top b {
    color: var(--rs-bio);
}

.rx-ph-rank {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin-bottom: 10px;
}

.rx-ph-rank small {
    display: block;
    font: 800 .62rem 'DM Sans', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rx-skel {
    display: block;
    height: 22px;
    width: 60%;
    margin-top: 4px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: rx-shine 1.6s linear infinite;
}

@keyframes rx-shine {
    to { background-position: -200% 0; }
}

.rx-ph-note {
    grid-column: 1 / -1;
    font-size: .74rem;
    color: var(--rs-mute);
}

.rx-ph-nia {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px 4px;
}

.rx-ph-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 800 .86rem 'Sora', sans-serif;
    margin: 0 0 8px;
}

.rx-ph-h i,
.rx-chat-q i {
    font-style: normal;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--rs-phy);
    color: #fff;
    display: grid;
    place-items: center;
    font: 800 .72rem 'Sora', sans-serif;
}

.rx-line {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 8px;
    font-size: .8rem;
    line-height: 1.4;
    margin: 0 0 9px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--rx-ease), transform .5s var(--rx-ease);
}

.rx-phone.in .rx-line {
    opacity: 1;
    transform: none;
}

.rx-phone.in .rx-line:nth-child(2) { transition-delay: .5s; }
.rx-phone.in .rx-line:nth-child(3) { transition-delay: 1.1s; }
.rx-phone.in .rx-line:nth-child(4) { transition-delay: 1.7s; }
.rx-phone.in .rx-line:nth-child(5) { transition-delay: 2.3s; }

.rx-line em,
.rx-labels em {
    font: 800 .58rem 'DM Sans', sans-serif;
    font-style: normal;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 6px;
    padding: 4px 2px;
    align-self: start;
}

.rx-line.ok em { background: #e6f4ec; color: #166534; }
.rx-line.fix em { background: #fdeee4; color: #b4380f; }
.rx-line.nx em { background: #e3ecf8; color: #1f5896; }

.rx-scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #9fb0c9;
    font-size: 1.1rem;
    animation: rx-bob 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes rx-bob {
    50% { transform: translate(-50%, 6px); }
}

/* ── 2 · problem flips ────────────────────────────────── */
.rx-flips {
    display: grid;
    gap: 12px;
}

.rx-flip {
    position: relative;
    display: grid;
    width: 100%;
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    perspective: 1200px;
}

.rx-f-bad,
.rx-f-good {
    grid-area: 1 / 1;
    border-radius: 18px;
    padding: 18px 20px;
    display: block;
    backface-visibility: hidden;
    transition: transform .7s var(--rx-ease);
    color: var(--rs-mute);
    line-height: 1.5;
    font-size: .95rem;
}

.rx-f-bad {
    background: #fff;
    border: 1px dashed #cbd5e1;
}

.rx-f-good {
    background: var(--rs-navy);
    color: #c3cde0;
    transform: rotateX(180deg);
    border-top: 6px solid var(--rs-amber);
}

.rx-f-bad i,
.rx-f-good i {
    display: block;
    margin-bottom: 8px;
}

.rx-f-bad > b,
.rx-f-good > b {
    display: block;
    margin-bottom: 6px;
    font: 800 1.05rem/1.25 'Sora', sans-serif;
    color: var(--rs-ink);
}

.rx-f-good b {
    color: #fff;
}

.rx-f-good span[data-fact] {
    color: var(--rs-gold);
    font-weight: 800;
}

.rx-f-bad i {
    color: #c43d3d;
    font-size: 1.2rem;
}

.rx-f-good i {
    color: var(--rs-gold);
    font-size: 1.2rem;
}

.rx-flip.flipped .rx-f-bad {
    transform: rotateX(-180deg);
}

.rx-flip.flipped .rx-f-good {
    transform: rotateX(0);
}

.rx-flip:focus-visible {
    outline: 3px solid var(--rs-amber);
    outline-offset: 4px;
    border-radius: 18px;
}

/* ── 3 · the two ways ─────────────────────────────────── */
.rx-head.center {
    text-align: center;
}

.rx-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    max-width: 560px;
    margin: 0 auto 26px;
    box-shadow: 0 10px 30px -18px rgba(11, 18, 32, .4);
}

.rx-switch button {
    position: relative;
    z-index: 1;
    border: 0;
    background: none;
    padding: 12px 8px;
    border-radius: 999px;
    font: 800 .92rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
    cursor: pointer;
    transition: color .3s;
}

.rx-switch button.on {
    color: #fff;
}

.rx-switch-pill {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(50% - 6px);
    border-radius: 999px;
    background: var(--rs-navy);
    transition: transform .45s var(--rx-ease);
}

.rx-switch.two .rx-switch-pill {
    transform: translateX(100%);
}

.rx-way {
    display: grid;
    gap: 22px;
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    border-top: 8px solid var(--rs-amber);
    box-shadow: 0 20px 50px -30px rgba(11, 18, 32, .45);
    animation: rx-in .5s var(--rx-ease);
}

.rx-way[hidden] {
    display: none;
}

@keyframes rx-in {
    from { opacity: 0; transform: translateY(14px); }
}

.rx-tag {
    display: inline-block;
    font: 800 .72rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 12px;
}

.rx-tag.live {
    background: #e6f4ec;
    color: #166534;
}

.rx-tag.soon {
    background: #fff4dc;
    color: var(--rs-amber-ink);
}

.rx-way h3 {
    font: 800 1.35rem/1.2 'Sora', sans-serif;
    margin: 10px 0 12px;
}

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

.rx-ticks li {
    position: relative;
    padding-left: 30px;
    line-height: 1.55;
    color: var(--rs-mute);
}

.rx-ticks li::before {
    content: "\f00c";
    font: 900 .72rem 'Font Awesome 6 Free';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rs-amber);
    color: #1a1204;
    display: grid;
    place-items: center;
}

.rx-ticks b {
    color: var(--rs-ink);
}

.rx-best {
    margin: 16px 0 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--rs-amber-ink);
}

.rx-week {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-self: center;
}

.rx-week-note {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    text-align: center;
    font-size: .86rem;
    color: var(--rs-mute);
}

.rx-wk {
    border-radius: 12px;
    background: #f4f6fa;
    padding: 10px 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 4px solid #e2e8f0;
    opacity: .55;
}

.rx-wk b {
    font: 800 1.3rem 'Sora', sans-serif;
}

.rx-wk span {
    font-size: .95rem;
    font-weight: 700;
    color: var(--rs-ink);
}

.rx-wk small {
    font-size: .82rem;
    color: var(--rs-mute);
}

.rx-wk.phy,
.rx-wk.che,
.rx-wk.bio,
.rx-wk.rev {
    background: #fff;
    opacity: 1;
    box-shadow: 0 8px 18px -12px rgba(11, 18, 32, .35);
    animation: rx-pop .6s var(--rx-ease) both;
}

.rx-wk.phy { border-top-color: var(--rs-phy); animation-delay: .1s; }
.rx-wk.che { border-top-color: var(--rs-che); animation-delay: .3s; }
.rx-wk.bio { border-top-color: var(--rs-bio); animation-delay: .5s; }
.rx-wk.rev { border-top-color: var(--rs-amber); animation-delay: .7s; }

@keyframes rx-pop {
    from { transform: translateY(10px) scale(.92); opacity: 0; }
}

.rx-chat {
    background: #f4f6fa;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 10px;
    align-self: center;
}

.rx-chat-q {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    background: #fff;
    border-radius: 4px 14px 14px 14px;
    padding: 10px 12px;
    font-weight: 600;
    line-height: 1.4;
    font-size: .92rem;
}

.rx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.rx-chips span {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--rs-mute);
}

.rx-chips span.pick {
    background: var(--rs-navy);
    border-color: var(--rs-navy);
    color: #fff;
    animation: rx-pick 1s var(--rx-ease) .4s both;
}

@keyframes rx-pick {
    from { background: #fff; color: var(--rs-mute); border-color: #cbd5e1; }
}

.rx-plan {
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 6px;
    border-left: 4px solid var(--rs-amber);
    animation: rx-in .6s var(--rx-ease) 1s both;
}

.rx-plan p {
    margin: 0 0 2px;
    font-size: .84rem;
    color: var(--rs-mute);
}

.rx-plan p b {
    color: var(--rs-ink);
}

.rx-plan span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    font-weight: 600;
}

.rx-plan em {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.rx-plan em.phy { background: var(--rs-phy); }
.rx-plan em.che { background: var(--rs-che); }
.rx-plan em.rev { background: var(--rs-amber); }

/* ── 4 · journey rail ─────────────────────────────────── */
.rx-rail {
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px;
    position: relative;
    display: grid;
    gap: 14px;
}

.rx-rail::before,
.rx-rail::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .12);
}

.rx-rail::after {
    background: linear-gradient(var(--rs-amber), var(--rs-gold));
    bottom: auto;
    height: calc((100% - 16px) * var(--p));
    transition: height .15s linear;
}

.rx-rail li {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 14px 16px 14px 74px;
    min-height: 92px;
}

.rx-rail li::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rs-navy);
    border: 3px solid var(--rs-amber);
}

.rx-rail li.rx-r-end {
    background: linear-gradient(135deg, rgba(224, 155, 26, .22), rgba(224, 155, 26, .06));
    border-color: rgba(240, 180, 60, .55);
}

.rx-r-n {
    position: absolute;
    left: 16px;
    top: 14px;
    font: 800 2.1rem/1 'Sora', sans-serif;
    color: var(--rs-gold);
}

.rx-r-when {
    font: 800 .7rem 'DM Sans', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rs-amber);
}

.rx-rail h3 {
    font: 800 1.05rem 'Sora', sans-serif;
    margin: 2px 0 2px;
    color: #fff;
}

.rx-rail p {
    margin: 0;
    color: #b5c2d8;
    font-size: .9rem;
    line-height: 1.45;
}

/* ── 5 · review ───────────────────────────────────────── */
.rx-review {
    display: grid;
    gap: 14px;
}

.rx-q {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px -30px rgba(11, 18, 32, .45);
}

.rx-q-tag {
    font: 800 .7rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rs-bio);
}

.rx-q-stem {
    margin: 10px 0 14px;
    line-height: 1.6;
    font-size: .98rem;
}

.rx-opts {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    counter-reset: o;
}

.rx-opts li {
    counter-increment: o;
    border: 1px solid var(--rs-line);
    border-radius: 12px;
    padding: 10px 12px 10px 44px;
    position: relative;
    font-size: .92rem;
    line-height: 1.4;
    color: var(--rs-mute);
}

.rx-opts li::before {
    content: counter(o, upper-alpha);
    position: absolute;
    left: 12px;
    top: 9px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font: 800 .74rem 'Sora', sans-serif;
    color: var(--rs-ink);
}

.rx-opts li.right {
    border-color: #86d0a3;
    background: #effaf3;
    color: #14532d;
    font-weight: 700;
}

.rx-opts li.right i {
    color: #16a34a;
    margin-left: 6px;
}

.rx-opts li.mine {
    border-color: #f3b4a0;
    background: #fff4f0;
}

.rx-opts li.mine span {
    display: inline-block;
    margin-left: 6px;
    font: 800 .62rem 'DM Sans', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #b4380f;
}

.rx-explain {
    display: grid;
    gap: 10px;
}

.rx-x {
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    border-left: 5px solid var(--rs-amber);
}

.rx-x span {
    font: 800 .7rem 'DM Sans', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rs-amber-ink);
}

.rx-x p {
    margin: 4px 0 0;
    line-height: 1.5;
    font-size: .93rem;
}

.rx-x.warm {
    background: #fff8e8;
}

/* ── 7 · proof rings ──────────────────────────────────── */
.rx-rings {
    display: grid;
    gap: 22px;
    justify-items: center;
}

.rx-ring {
    position: relative;
    margin: 0;
    width: min(280px, 80vw);
    text-align: center;
}

.rx-ring svg {
    width: 100%;
    transform: rotate(-90deg);
}

.rx-ring circle {
    fill: none;
    stroke: rgba(255, 255, 255, .1);
    stroke-width: 9;
}

.rx-ring circle.v {
    stroke: var(--rs-gold);
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.8s var(--rx-ease) .2s;
}

.rx-ring.in circle.v {
    stroke-dashoffset: calc(327 - 327 * var(--v) / 100);
}

.rx-ring > b {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font: 800 3.4rem/1 'Sora', sans-serif;
    color: #fff;
}

.rx-ring > b small {
    font: 700 1rem 'DM Sans', sans-serif;
    color: #9fb0c9;
    margin-top: 6px;
}

.rx-ring figcaption {
    margin-top: 10px;
    color: #c3cde0;
    line-height: 1.5;
}

/* ── 8 · value bill ───────────────────────────────────── */
.rx-value {
    display: grid;
    gap: 26px;
    align-items: center;
}

.rx-bill {
    background: #fff;
    border-radius: 20px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 60px -30px rgba(11, 18, 32, .5);
    position: relative;
    border-top: 8px solid var(--rs-amber);
}

.rx-bill::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 12px;
    background: radial-gradient(circle at 8px 0, transparent 8px, #fff 8.5px) 0 0 / 16px 12px repeat-x;
}

.rx-bill-h {
    margin: 0 0 12px;
    font: 800 1.05rem 'Sora', sans-serif;
}

.rx-bill ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rx-bill li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #d8dee8;
    color: var(--rs-mute);
}

.rx-bill li b {
    font: 800 1.05rem 'Sora', sans-serif;
    color: var(--rs-ink);
}

.rx-bill li b i {
    color: #16a34a;
}

.rx-bill-t {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 14px 0 0;
    font-weight: 700;
}

.rx-bill-t .nd-pr-fig {
    font-size: 2rem;
    color: var(--rs-ink);
}

/* ── 9 · faq ──────────────────────────────────────────── */
.rx-faq details {
    background: #fff;
    border-radius: 14px;
    padding: 0 18px;
    margin-bottom: 10px;
    border: 1px solid var(--rs-line);
}

.rx-faq summary {
    cursor: pointer;
    font: 700 1rem 'Sora', sans-serif;
    padding: 16px 0;
}

.rx-faq details p {
    margin: 0 0 16px;
    color: var(--rs-mute);
    line-height: 1.6;
}

.rx-faq a {
    color: var(--rs-phy);
}

/* ── 10 · close ───────────────────────────────────────── */
.rx-close .rx-wrap {
    text-align: center;
}

.rx-close .rx-pulse {
    top: auto;
    bottom: 4%;
    transform: none;
}

.rx-btn.ghost.light {
    color: #fff;
}

/* ── laptop ───────────────────────────────────────────── */
@media (min-width: 900px) {
    .rx-wrap {
        padding: 0 32px;
    }

    .rx-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        gap: 56px;
    }

    .rx-flips {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }


    .rx-way {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 40px;
        padding: 34px 38px;
    }

    .rx-week {
        gap: 14px;
    }

    .rx-wk {
        padding: 20px 8px;
    }

    .rx-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 34px 0 0;
    }

    .rx-rail::before,
    .rx-rail::after {
        left: 8px;
        right: 8px;
        top: 8px;
        bottom: auto;
        width: auto;
        height: 4px;
    }

    .rx-rail::after {
        right: auto;
        width: calc((100% - 16px) * var(--p));
        transition: width .15s linear;
    }

    .rx-rail li {
        padding: 18px 18px;
        min-height: 230px;
    }

    .rx-rail li::before {
        left: 18px;
        top: -33px;
    }

    .rx-r-n {
        position: static;
        display: block;
        font-size: 2.8rem;
        margin: 8px 0 6px;
    }

    .rx-review {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 22px;
        align-items: start;
    }

    .rx-rings {
        grid-template-columns: 1fr 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .rx-value {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 60px;
    }

    .rx-faq {
        max-width: 860px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rx-pulse path,
    .rx-phone,
    .rx-scroll,
    .rx-skel,
    .rx-wk,
    .rx-chips span.pick,
    .rx-plan,
    .rx-way {
        animation: none !important;
    }

    .rx-pulse path {
        stroke-dashoffset: 0;
    }

    .rx-line {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rx-ring circle.v {
        transition: none;
    }

    .rx-f-bad,
    .rx-f-good {
        transition: none;
    }
}

/* ── the timetable (generated by tools/build_rise_page.py) ── */
.rs-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.rs-filter button {
    border: 1px solid var(--rs-line);
    background: var(--rs-card);
    border-radius: 999px;
    padding: 7px 14px;
    font: 600 .9rem 'DM Sans', sans-serif;
    cursor: pointer;
    color: var(--rs-ink);
}

.rs-filter button.on {
    background: var(--rs-navy);
    border-color: var(--rs-navy);
    color: #fff;
}

.rs-sched {
    display: grid;
    gap: 10px;
}

.rs-month {
    background: var(--rs-card);
    border-radius: 16px;
    border: 1px solid var(--rs-line);
    overflow: hidden;
}

.rs-month > summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
    align-items: center;
    padding: 16px 18px;
    background: var(--rs-navy);
    color: #fff;
}

.rs-month > summary::-webkit-details-marker {
    display: none;
}

.rs-m-name {
    font: 800 1.1rem 'Sora', sans-serif;
}

.rs-m-sum {
    grid-column: 1;
    color: #b8c3d6;
    font-size: .85rem;
}

.rs-month > summary i {
    grid-row: 1 / span 2;
    grid-column: 2;
    transition: transform .2s;
}

.rs-month[open] > summary i {
    transform: rotate(180deg);
}

.rs-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--rs-line);
}

.rs-row[hidden] {
    display: none;
}

.rs-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f6fa;
    border-radius: 10px;
    padding: 6px 2px;
    align-self: start;
}

.rs-date b {
    font: 800 1.3rem/1 'Sora', sans-serif;
}

.rs-date span {
    font: 700 .72rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rs-mute);
}

.rs-date small {
    font-size: .66rem;
    color: var(--rs-mute);
    text-align: center;
    margin-top: 4px;
    line-height: 1.25;
}

.rs-what {
    min-width: 0;
}

.rs-kind {
    font: 700 .7rem 'DM Sans', sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--rs-amber-ink);
}

.rs-kind.mock,
.rs-kind.final,
.rs-kind.part,
.rs-kind.classmock {
    color: #b42318;
}

.rs-tag {
    display: inline-block;
    margin-left: 6px;
    font: 700 .66rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 6px;
    padding: 1px 6px;
    vertical-align: 1px;
}

.rs-tag.free {
    background: #e8f5ee;
    color: #166534;
}

.rs-tag.opt {
    background: #f1f5f9;
    color: #475569;
}

.rs-title {
    display: block;
    font: 700 1rem 'Sora', sans-serif;
    margin: 2px 0 4px;
    line-height: 1.3;
}

.rs-ch {
    margin: 0;
    color: var(--rs-mute);
    font-size: .92rem;
    line-height: 1.5;
}

.rs-ch small,
.rs-cover small {
    font-size: .72rem;
    color: #94a3b8;
}

.rs-cover > summary {
    cursor: pointer;
    color: var(--rs-mute);
    font-size: .92rem;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 3px;
}

.rs-cover ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 8px;
}

.rs-cover li {
    font-size: .88rem;
    line-height: 1.5;
    color: var(--rs-mute);
}

.rs-s {
    display: inline-block;
    font: 700 .7rem 'DM Sans', sans-serif;
    border-radius: 9px;
    padding: 1px 7px;
    margin-right: 4px;
}

.rs-s.physics {
    background: var(--rs-phy-bg);
    color: var(--rs-phy);
}

.rs-s.chemistry {
    background: var(--rs-che-bg);
    color: var(--rs-che);
}

.rs-s.biology {
    background: var(--rs-bio-bg);
    color: var(--rs-bio);
}

.rs-size {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rs-size b {
    font: 800 1.15rem/1 'Sora', sans-serif;
}

.rs-size small {
    font-size: .72rem;
    color: var(--rs-mute);
}

.rs-fine {
    color: var(--rs-mute);
    font-size: .9rem;
    margin: 16px 0 0;
}

.rs-fine a {
    color: var(--rs-phy);
    font-weight: 600;
}

/* proof and included */
/* end of the timetable block */

/* ══════════ v4 (27 Nov 2026): one screen per section on phone AND laptop ══════════
   Owner: "each scroll gets one section, on mobile as well". Long content (the timetable)
   scrolls inside its own pane; nothing pushes a section past the screen. The scratchpad's
   rise_fit.py measures every section at 390x844 and 1440x900. */

.rs .nd-vp {
    padding-top: calc(var(--site-nav) + 18px);
    padding-bottom: 22px;
}

/* hero background: gradient, grid, the pulse, four cards drifting */
.rx-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rx-hero-bg::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(40% 35% at 78% 30%, rgba(224, 155, 26, .18), transparent 70%),
        radial-gradient(35% 30% at 12% 85%, rgba(47, 108, 179, .28), transparent 70%);
    animation: rx-drift 18s ease-in-out infinite alternate;
}

.rx-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
    mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}

@keyframes rx-drift {
    to { transform: translate(-4%, 3%) scale(1.06); }
}

.rx-fl {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #cfd8e8;
    font: 700 .78rem 'DM Sans', sans-serif;
    animation: rx-bob2 7s ease-in-out infinite;
    white-space: nowrap;
}

.rx-fl i { color: var(--rs-gold); }
.rx-fl.f1 { left: 3%; top: 16%; }
.rx-fl.f2 { right: 4%; top: 12%; animation-delay: -2s; }
.rx-fl.f3 { left: 6%; bottom: 8%; animation-delay: -4s; }
.rx-fl.f4 { right: 7%; bottom: 10%; animation-delay: -1s; }

@keyframes rx-bob2 {
    50% { transform: translateY(-12px); }
}

.rx-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.rx-ribbon {
    font: 800 .76rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--rs-amber);
    color: #1a1204;
    padding: 7px 12px;
    border-radius: 6px;
}

.rx-hook {
    font-size: clamp(1.35rem, 5.4vw, 2.1rem);
}

.rx-count {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 0;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(240, 180, 60, .35);
}

.rx-count > b {
    font: 800 2.6rem/1 'Sora', sans-serif;
    color: var(--rs-gold);
    min-width: 3ch;
    text-align: center;
}

.rx-count strong {
    display: block;
    font: 800 1rem 'Sora', sans-serif;
    color: #fff;
}

.rx-count small {
    display: block;
    color: #9fb0c9;
    font-size: .8rem;
    margin-top: 2px;
}

.rx-count small i {
    cursor: help;
    margin-left: 4px;
}

.rx-ctas { margin-top: 18px; }
.rx-price-line { margin-top: 12px; }

/* the Home dashboard, drawn */
.rx-dash {
    display: none;
    position: relative;
    z-index: 1;
}

.rx-dash-in {
    background: #eef2f8;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .06);
    color: var(--rs-ink);
    animation: rx-float 7s ease-in-out infinite;
    width: 400px;
}

.rx-d-top {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
    font: 800 .72rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rs-mute);
}

.rx-d-top b { color: var(--rs-phy); }

.rx-d-today {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #bcd2ec;
}

.rx-d-date {
    width: 46px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eef4fb;
    text-align: center;
    padding: 4px 0;
}

.rx-d-date small {
    display: block;
    font: 800 .62rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    color: var(--rs-phy);
}

.rx-d-date b { font: 800 1.2rem 'Sora', sans-serif; }

.rx-d-t { flex: 1; min-width: 0; }

.rx-d-t small {
    display: block;
    font: 800 .66rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rs-amber-ink);
}

.rx-d-t b {
    display: block;
    font: 800 .92rem 'Sora', sans-serif;
}

.rx-d-t em {
    display: block;
    font-style: normal;
    font-size: .74rem;
    color: var(--rs-mute);
    line-height: 1.35;
}

.rx-d-go {
    background: var(--rs-phy);
    color: #fff;
    font: 800 .8rem 'DM Sans', sans-serif;
    padding: 8px 14px;
    border-radius: 999px;
    animation: rx-pulse-btn 2.4s ease-in-out infinite;
}

@keyframes rx-pulse-btn {
    50% { box-shadow: 0 0 0 6px rgba(31, 88, 150, .18); }
}

.rx-d-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

.rx-d-tiles > span {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rx-d-tiles i { color: #16a34a; font-size: .8rem; }
.rx-d-tiles > span:last-child > i { color: #94a3b8; }
.rx-d-tiles b { font: 800 1.3rem 'Sora', sans-serif; }
.rx-d-tiles b small { font-size: .75rem; color: #94a3b8; }
.rx-d-tiles small { font-size: .72rem; color: var(--rs-mute); }

.rx-d-tiles em {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: #e2e8f0;
    margin-top: 4px;
}

.rx-d-tiles em i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--rs-phy);
}

.rx-d-fix {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
}

.rx-d-fix p {
    margin: 0 0 6px;
    display: flex;
    justify-content: space-between;
    font: 800 .7rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--rs-amber-ink);
}

.rx-d-fix p small {
    text-transform: none;
    letter-spacing: 0;
    color: var(--rs-mute);
    font-weight: 600;
}

.rx-d-fix > span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px solid #f1f5f9;
    font-size: .8rem;
}

.rx-d-fix > span em {
    font-style: normal;
    font-weight: 800;
    color: var(--rs-mute);
    flex-shrink: 0;
}

.rx-dash-cap {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: .76rem;
    color: #8ea0bb;
}

/* what's inside: bento */
.rx-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rx-tile {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--rs-line);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.rx-tile > b {
    display: block;
    font: 800 1.7rem/1 'Sora', sans-serif;
    color: var(--rs-ink);
    margin-top: 6px;
}

.rx-tile h3 {
    font: 800 .88rem/1.2 'Sora', sans-serif;
    margin: 3px 0 2px;
}

.rx-tile p {
    margin: 0;
    font-size: .74rem;
    line-height: 1.4;
    color: var(--rs-mute);
}

.rx-tile.big {
    grid-column: 1 / -1;
    background: var(--rs-navy);
    border: 0;
    color: #fff;
}

.rx-tile.big > b { color: var(--rs-gold); font-size: 2.3rem; }
.rx-tile.big h3 { color: #fff; }
.rx-tile.big p { color: #b5c2d8; }
.rx-tile.big p span { color: #fff; font-weight: 800; }

.rx-viz {
    height: 26px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.rx-viz.bars i {
    width: 10px;
    border-radius: 3px 3px 0 0;
    background: var(--rs-gold);
    height: 8%;
    transition: height .8s var(--rx-ease);
}

.in .rx-viz.bars i:nth-child(1), .in.rx-viz.bars i:nth-child(1) { height: 35%; }
.in .rx-viz.bars i:nth-child(2) { height: 55%; transition-delay: .08s; }
.in .rx-viz.bars i:nth-child(3) { height: 45%; transition-delay: .16s; }
.in .rx-viz.bars i:nth-child(4) { height: 70%; transition-delay: .24s; }
.in .rx-viz.bars i:nth-child(5) { height: 62%; transition-delay: .32s; }
.in .rx-viz.bars i:nth-child(6) { height: 85%; transition-delay: .4s; }
.in .rx-viz.bars i:nth-child(7) { height: 100%; transition-delay: .48s; }

.rx-viz.dots {
    background-image: radial-gradient(var(--rs-amber) 2.2px, transparent 2.6px);
    background-size: 9px 9px;
    width: 120px;
    opacity: .85;
}

.rx-viz.line {
    align-items: center;
    gap: 0;
    width: 120px;
    background: linear-gradient(var(--rs-line), var(--rs-line)) center / 100% 3px no-repeat;
    justify-content: space-between;
}

.rx-viz.line i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--rs-amber);
}

.rx-viz.line i:last-child { background: var(--rs-amber); }

.rx-viz.papers { position: relative; width: 40px; }

.rx-viz.papers i {
    position: absolute;
    bottom: 0;
    width: 22px;
    height: 26px;
    border-radius: 3px;
    background: #fff;
    border: 2px solid #cbd5e1;
}

.rx-viz.papers i:nth-child(1) { left: 0; transform: rotate(-10deg); }
.rx-viz.papers i:nth-child(2) { left: 8px; }
.rx-viz.papers i:nth-child(3) { left: 16px; transform: rotate(10deg); border-color: var(--rs-amber); }

.rx-viz.chips i { width: 14px; height: 14px; border-radius: 4px; }
.rx-viz.chips i.p { background: var(--rs-phy); }
.rx-viz.chips i.c { background: var(--rs-che); }
.rx-viz.chips i.b { background: var(--rs-bio); }

.rx-viz.notes {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}

.rx-viz.notes i { height: 6px; border-radius: 3px; }
.rx-viz.notes i.ok { width: 60px; background: #86d0a3; }
.rx-viz.notes i.fix { width: 84px; background: #f3b4a0; }
.rx-viz.notes i.nx { width: 46px; background: #9cc0ea; }

/* the difference: a two-column table */
.rx-vs {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -30px rgba(11, 18, 32, .45);
    max-width: 980px;
    margin: 0 auto;
}

.rx-vs-h,
.rx-vs-r {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rx-vs-h > span:first-child { display: none; }

.rx-vs-h > span {
    padding: 12px;
    font: 800 .74rem 'DM Sans', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #e2e8f0;
    color: var(--rs-mute);
    text-align: center;
}

.rx-vs-h > span.us {
    background: var(--rs-navy);
    color: var(--rs-gold);
}

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

.rx-vs-r > b {
    grid-column: 1 / -1;
    padding: 7px 12px 0;
    font: 800 .68rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rs-amber-ink);
}

.rx-vs-r > span {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    padding: 3px 12px 9px;
    font-size: .82rem;
    line-height: 1.32;
}

.rx-vs-r > span.no { color: #94a3b8; }
.rx-vs-r > span.no i { color: #e11d48; margin-top: 3px; }
.rx-vs-r > span.yes { color: var(--rs-ink); font-weight: 600; background: #fffaf0; }
.rx-vs-r > span.yes i { color: #16a34a; margin-top: 3px; }

.rx-vs-r em {
    font-style: normal;
    font: 800 .6rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    background: #fff4dc;
    color: var(--rs-amber-ink);
    padding: 1px 6px;
    border-radius: 999px;
    margin-left: 4px;
    white-space: nowrap;
}

.rx-vs.in .rx-vs-r > span.yes i {
    animation: rx-tick .5s var(--rx-ease) both;
}

.rx-vs.in .rx-vs-r:nth-child(3) span.yes i { animation-delay: .15s; }
.rx-vs.in .rx-vs-r:nth-child(4) span.yes i { animation-delay: .3s; }
.rx-vs.in .rx-vs-r:nth-child(5) span.yes i { animation-delay: .45s; }
.rx-vs.in .rx-vs-r:nth-child(6) span.yes i { animation-delay: .6s; }
.rx-vs.in .rx-vs-r:nth-child(7) span.yes i { animation-delay: .75s; }

@keyframes rx-tick {
    from { transform: scale(0); }
    70% { transform: scale(1.35); }
}

/* two ways: Plan It For Me as a story */
.rx-switch.small { max-width: 520px; }
.rx-switch.small button { font-size: .84rem; padding: 10px 6px; }

.rx-way { padding: 16px; gap: 14px; }
.rx-way.plan { border-top-color: var(--rs-gold); }

.rx-steps {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rx-story {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.rx-story-ph {
    position: relative;
    width: min(320px, 100%);
    height: 236px;
    border-radius: 24px;
    background: #f4f6fa;
    border: 8px solid var(--rs-navy);
    overflow: hidden;
}

.rx-sc {
    position: absolute;
    inset: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .45s var(--rx-ease), transform .45s var(--rx-ease);
}

.rx-sc.on { opacity: 1; transform: none; }
.rx-sc .rx-chat-q { font-size: .78rem; padding: 7px 10px; }
.rx-sc .rx-chips span { font-size: .7rem; padding: 4px 9px; }

.rx-sc-h {
    margin: 0;
    font: 800 .7rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rs-mute);
}

.rx-row {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 8px;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    border-left: 4px solid var(--rs-line);
    font: 700 .78rem 'DM Sans', sans-serif;
}

.rx-row em {
    grid-row: span 2;
    font-style: normal;
    font-weight: 800;
    color: var(--rs-mute);
    align-self: center;
}

.rx-row small { font-weight: 600; color: var(--rs-mute); font-size: .68rem; }
.rx-row.phy { border-left-color: var(--rs-phy); }
.rx-row.che { border-left-color: var(--rs-che); }
.rx-row.bio { border-left-color: var(--rs-bio); }
.rx-row.bio small { color: var(--rs-amber-ink); font-weight: 800; }
.rx-row.rev { border-left-color: var(--rs-amber); }

.rx-fixcard {
    background: var(--rs-navy);
    color: #fff;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 4px;
}

.rx-fixcard b { font: 800 1.05rem 'Sora', sans-serif; }
.rx-fixcard span { font-size: .8rem; color: #c3cde0; }

.rx-fixcard em {
    justify-self: start;
    margin-top: 6px;
    font-style: normal;
    font: 800 .8rem 'DM Sans', sans-serif;
    background: var(--rs-gold);
    color: #1a1204;
    padding: 6px 12px;
    border-radius: 999px;
}

.rx-sc-note { margin: 0; font-size: .8rem; font-weight: 700; color: var(--rs-bio); }

.rx-cal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    height: 120px;
}

.rx-cal span {
    position: relative;
    background: #fff;
    border-radius: 10px;
    font: 800 .7rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
    text-align: center;
    padding-top: 6px;
    overflow: hidden;
}

.rx-cal span.bd {
    background: repeating-linear-gradient(45deg, #fff4dc, #fff4dc 6px, #fff 6px, #fff 12px);
    color: var(--rs-amber-ink);
}

.rx-cal i {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: calc(80px * var(--h, 100%) / 100%);
    border-radius: 6px;
    background: var(--rs-phy);
}

.rx-cal span.bd i { background: var(--rs-amber); }

.rx-behind {
    background: #fff8e8;
    border: 1px solid rgba(192, 124, 18, .3);
    border-radius: 12px;
    padding: 9px 12px;
}

.rx-behind b { display: block; font: 800 .88rem 'Sora', sans-serif; }
.rx-behind span { font-size: .74rem; color: var(--rs-mute); }

.rx-choice {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px;
    font: 800 .78rem 'DM Sans', sans-serif;
}

.rx-choice:first-of-type {
    background: var(--rs-navy);
    border-color: var(--rs-navy);
    color: #fff;
}

.rx-dots { display: flex; gap: 6px; }

.rx-dots i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: width .3s, background .3s;
}

.rx-dots i.on { width: 22px; background: var(--rs-amber); }

.rx-story-cap {
    margin: 0;
    text-align: center;
    font-size: .84rem;
    color: var(--rs-mute);
    max-width: 320px;
    min-height: 3.6em;
}

.rx-story-cap b {
    display: block;
    color: var(--rs-ink);
    font: 800 .95rem 'Sora', sans-serif;
}

/* after a test: two tabs */
.rx-aft[hidden] { display: none; }

.rx-aft {
    display: grid;
    gap: 10px;
    animation: rx-in .45s var(--rx-ease);
}

.rx-res-rank {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
}

.rx-res-rank small {
    font: 800 .62rem 'DM Sans', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rx-res-rank p {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    font-size: .8rem;
    color: var(--rs-mute);
}

.rx-res-nia {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px 4px;
}

.rx-res-nia .rx-line { opacity: 1; transform: none; }

.rx-ph-h small {
    font: 600 .72rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
    margin-left: auto;
}

.rx-aft .rx-q { padding: 14px; }
.rx-aft .rx-q-stem { font-size: .86rem; margin: 6px 0 10px; }
.rx-aft .rx-opts { gap: 6px; }
.rx-aft .rx-opts li { padding: 6px 10px 6px 40px; font-size: .82rem; }
.rx-aft .rx-opts li::before { top: 5px; }
.rx-aft .rx-explain { gap: 8px; }
.rx-aft .rx-x { padding: 9px 12px; }
.rx-aft .rx-x p { font-size: .82rem; }

/* timetable: month tabs; the list scrolls in its own pane */
.rx-tt-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.rx-months {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rx-months button {
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    padding: 7px 12px;
    background: #fff;
    font: 800 .84rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
    cursor: pointer;
    text-align: left;
}

.rx-months button.on { background: var(--rs-amber); color: #1a1204; }

.rx-months button small {
    display: block;
    font-weight: 600;
    font-size: .66rem;
}

#schedule .rs-filter { margin-top: 0; }
#schedule .rs-filter button { padding: 5px 11px; font-size: .8rem; }

#schedule .rs-sched {
    display: block;
    max-height: calc(100svh - var(--site-nav) - 320px);
    min-height: 240px;
    overflow-y: auto;
    border-radius: 16px;
    overscroll-behavior: contain;
}

#schedule .rs-month > summary { display: none; }
#schedule .rx-lead a { color: var(--rs-phy); font-weight: 700; }

/* phone */
@media (max-width: 899px) {
    .rx-rail {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 30px 0 6px;
        gap: 12px;
        scrollbar-width: none;
    }

    .rx-rail::before,
    .rx-rail::after {
        left: 0;
        right: auto;
        top: 8px;
        bottom: auto;
        width: 100%;
        height: 4px;
    }

    .rx-rail::after { width: calc(100% * var(--p)); }

    .rx-rail li {
        flex: 0 0 72%;
        scroll-snap-align: start;
        padding: 16px;
        min-height: 0;
    }

    .rx-rail li::before { left: 16px; top: -29px; }

    .rx-r-n {
        position: static;
        display: block;
        margin: 6px 0 4px;
    }

    .rx-h2 {
        font-size: clamp(1.45rem, 6.2vw, 2rem);
        margin: 6px 0 8px;
    }

    .rx-lead { font-size: .93rem; }
    .rx-head { margin-bottom: 12px; }

    .rx-name {
        font-size: clamp(2.2rem, 10vw, 3rem);
        margin: 12px 0 8px;
    }

    .rx-fl.f1, .rx-fl.f4 { display: none; }
    .rx-fl.f2 { top: auto; bottom: 3%; right: 4%; }
    .rx-fl.f3 { bottom: 3%; left: 4%; }

    .rx-ctas .rx-btn {
        flex: 1 1 auto;
        min-height: 48px;
        padding: 0 16px;
    }

    .rx-rings { grid-template-columns: 1fr 1fr; gap: 12px; }
    .rx-ring > b { font-size: 2.2rem; }
    .rx-ring > b small { font-size: .8rem; }
    .rx-ring figcaption { font-size: .8rem; }

    .rx-bill { padding: 12px 16px 10px; }
    .rx-bill li { padding: 6px 0; font-size: .86rem; }
    .rx-bill-t .nd-pr-fig { font-size: 1.6rem; }
    .rx-value .rx-ctas { margin-top: 12px; }
    .rx-value { gap: 14px; }
    .rx-value .rx-head { margin-bottom: 0; }
    .rx-value .rx-lead { font-size: .88rem; }

    .rx-faq details { margin-bottom: 7px; }
    .rx-faq summary { padding: 12px 0; font-size: .93rem; }

    .rx-tt-bar .rs-filter { flex-wrap: nowrap; overflow-x: auto; }

    .rx-way .rx-way-txt h3 { font-size: 1.1rem; margin: 6px 0 8px; }
    .rx-way .rx-ticks { gap: 6px; }
    .rx-way .rx-ticks li { font-size: .88rem; }
    .rx-week { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .rx-wk { padding: 10px 2px; }
    .rx-wk b { font-size: 1rem; }
    .rx-wk span { font-size: .74rem; }
    .rx-wk small { font-size: .66rem; }
    .rx-switch { margin-bottom: 12px; }
    .rx-switch button { font-size: .82rem; padding: 10px 4px; }
}

/* laptop */
@media (min-width: 900px) {
    .rx-dash { display: block; justify-self: end; }
    .rx-hero-grid { grid-template-columns: minmax(0, 1fr) auto; }

    .rx-bento {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 16px;
    }

    .rx-tile { padding: 20px; }
    .rx-tile > b { font-size: 2.4rem; margin-top: 12px; }
    .rx-tile h3 { font-size: 1.05rem; }
    .rx-tile p { font-size: .88rem; }

    .rx-tile.big {
        grid-column: 1;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .rx-tile.big > b { font-size: 4.6rem; }
    .rx-tile.big .rx-viz { height: 110px; gap: 8px; }
    .rx-tile.big .rx-viz.bars i { width: 26px; }
    .rx-tile.big p { font-size: .95rem; margin-top: 8px; }

    .rx-vs-h,
    .rx-vs-r {
        grid-template-columns: 190px 1fr 1fr;
        align-items: stretch;
    }

    .rx-vs-h > span:first-child { display: block; }
    .rx-vs-h > span { padding: 16px; font-size: .82rem; }

    .rx-vs-r > b {
        grid-column: auto;
        padding: 14px 20px;
        font-size: .76rem;
        display: flex;
        align-items: center;
    }

    .rx-vs-r > span {
        padding: 14px 20px;
        font-size: .98rem;
        align-items: center;
    }

    .rx-way { padding: 26px 32px; }

    .rx-way.plan {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 34px;
        align-items: center;
    }

    .rx-steps { display: grid; gap: 6px; counter-reset: st; }

    .rx-steps li {
        counter-increment: st;
        position: relative;
        padding: 10px 14px 10px 52px;
        border-radius: 14px;
        cursor: pointer;
        transition: background .3s;
    }

    .rx-steps li::before {
        content: counter(st);
        position: absolute;
        left: 12px;
        top: 12px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font: 800 .85rem 'Sora', sans-serif;
        background: #e2e8f0;
        color: var(--rs-mute);
        transition: background .3s, color .3s;
    }

    .rx-steps li b { display: block; font: 800 1rem 'Sora', sans-serif; }
    .rx-steps li span { font-size: .88rem; color: var(--rs-mute); }
    .rx-steps li.on { background: #fff8e8; }
    .rx-steps li.on::before { background: var(--rs-amber); color: #1a1204; }

    .rx-story-ph { height: 290px; width: 340px; }
    .rx-story-cap { display: none; }

    .rx-aft {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
        max-width: 1020px;
        margin: 0 auto;
    }

    #aft-res {
        grid-template-columns: 300px minmax(0, 1fr);
        align-items: start;
    }

    .rx-tt-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #schedule .rs-sched { max-height: calc(100svh - var(--site-nav) - 300px); }
}

@media (prefers-reduced-motion: reduce) {
    .rx-hero-bg::before,
    .rx-fl,
    .rx-dash-in,
    .rx-d-go,
    .rx-aft {
        animation: none !important;
    }

    .rx-viz.bars i,
    .rx-sc {
        transition: none;
    }
}

/* v4 fit fixes (27 Nov 2026, from the 390x844 and 1440x900 measurements) */
.rx-price-line .nd-pr-fig {
    display: inline;
}

.rx-tile.nia {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 14px;
    align-items: center;
}

.rx-tile.nia .rx-viz {
    grid-row: span 3;
}

.rx-tile.nia > b {
    display: none;
}

.rx-swipe {
    display: none;
    margin: 10px 0 0;
    font: 700 .8rem 'DM Sans', sans-serif;
    color: #9fb0c9;
}

@media (max-width: 899px) {
    .rx-fl.f2 {
        display: none;
    }

    .rx-tile > b {
        font-size: 1.5rem;
    }

    .rx-bento {
        gap: 8px;
    }

    .rx-tile {
        padding: 10px 12px;
    }

    .rx-aft .rx-x.warm {
        display: none;
    }

    .rx-aft .rx-q-tag {
        font-size: .64rem;
    }

    .rx-swipe {
        display: block;
    }
}

@media (min-width: 900px) {
    .rx-tile.big {
        grid-row: span 3;
    }

    .rx-tile.nia {
        grid-column: 2 / -1;
        padding: 16px 20px;
    }
}

/* ══════════ v5 (27 Nov 2026): owner's order, four-screen phone, split bar, after-test steps ══════════ */

/* the hero phone cycles through four screens of the app */
.rx-dash-in {
    position: relative;
    height: 430px;
    overflow: hidden;
}

.rx-scr {
    position: absolute;
    inset: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px) scale(.98);
    transition: opacity .55s var(--rx-ease), transform .55s var(--rx-ease);
    pointer-events: none;
}

.rx-scr.on {
    opacity: 1;
    transform: none;
}

.rx-scr .rx-d-top { margin: 0; }
.rx-scr .rx-d-tiles { margin: 0; }

.rx-dash-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.rx-dash-foot .rx-dash-cap {
    margin: 0;
    min-width: 260px;
    text-align: right;
}

.rx-sdots {
    display: flex;
    gap: 5px;
}

.rx-sdots i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    transition: width .3s, background .3s;
}

.rx-sdots i.on {
    width: 20px;
    background: var(--rs-gold);
}

.rx-timer {
    color: #b4380f !important;
    font-family: 'JetBrains Mono', monospace;
}

.rx-t-q {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.rx-t-q small {
    font: 800 .66rem 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--rs-mute);
}

.rx-t-q p {
    margin: 0 0 4px;
    font: 700 .92rem/1.4 'DM Sans', sans-serif;
}

.rx-t-q > span {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: .84rem;
}

.rx-t-q > span.sel {
    border-color: var(--rs-phy);
    background: #eef4fb;
    font-weight: 800;
    color: var(--rs-phy);
}

.rx-t-q.rev > span.ok {
    border-color: #86d0a3;
    background: #effaf3;
    color: #14532d;
    font-weight: 700;
}

.rx-t-q.rev > span.bad {
    border-color: #f3b4a0;
    background: #fff4f0;
}

.rx-t-q.rev > span small {
    font: 800 .6rem 'DM Sans', sans-serif;
    color: #b4380f;
    text-transform: uppercase;
    margin-left: 4px;
}

.rx-t-pal {
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
}

.rx-t-pal i {
    aspect-ratio: 1;
    border-radius: 4px;
    background: #e2e8f0;
}

.rx-t-pal i.a { background: #16a34a; }
.rx-t-pal i.m { background: #7c3aed; }
.rx-t-pal i.c { background: var(--rs-phy); box-shadow: 0 0 0 2px #bcd2ec; }

.rx-t-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: var(--rs-mute);
}

.rx-t-foot b {
    background: #16a34a;
    color: #fff;
    font: 800 .8rem 'DM Sans', sans-serif;
    padding: 7px 14px;
    border-radius: 999px;
}

.rx-scr .rx-res-nia .rx-line {
    grid-template-columns: 70px 1fr;
    font-size: .78rem;
}

/* the 156, split by kind */
.rx-split {
    display: flex;
    gap: 3px;
    height: 16px;
    margin: 12px 0 10px;
    border-radius: 6px;
    overflow: hidden;
}

.rx-split i {
    flex: 0 0 0%;
    transition: flex-basis 1s var(--rx-ease);
}

.in .rx-split i { flex-basis: calc(var(--w) / 156 * 100% - 3px); }
.in .rx-split i.s2 { transition-delay: .12s; }
.in .rx-split i.s3 { transition-delay: .24s; }
.in .rx-split i.s4 { transition-delay: .36s; }
.in .rx-split i.s5 { transition-delay: .48s; }

.rx-split .s1, .rx-legend .s1 { background: var(--rs-gold); }
.rx-split .s2, .rx-legend .s2 { background: #5d92cf; }
.rx-split .s3, .rx-legend .s3 { background: #4fb286; }
.rx-split .s4, .rx-legend .s4 { background: #e07a5f; }
.rx-split .s5, .rx-legend .s5 { background: #f4f1ea; }

.rx-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: .8rem;
    color: #b5c2d8;
}

.rx-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rx-legend i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.rx-legend b {
    color: #fff;
    min-width: 2ch;
}

.rx-tile.big > b { margin-top: 0; }

/* after you submit: three steps */
.rx-after3 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rx-after3 li {
    flex: 0 0 84%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.rx-a-n {
    font: 800 .8rem 'Sora', sans-serif;
    color: var(--rs-gold);
    letter-spacing: .1em;
}

.rx-after3 h3 {
    margin: 0;
    font: 800 1.2rem 'Sora', sans-serif;
    color: #fff;
}

.rx-after3 li > p {
    margin: auto 0 0;
    font-size: .86rem;
    color: #b5c2d8;
    line-height: 1.5;
}

.rx-after3 .rx-res-rank,
.rx-after3 .rx-res-nia,
.rx-mini-q {
    background: #fff;
    color: var(--rs-ink);
    border-radius: 14px;
}

.rx-after3 .rx-res-nia {
    padding: 12px 12px 2px;
}

.rx-after3 .rx-line {
    grid-template-columns: 66px 1fr;
    font-size: .8rem;
}

.rx-mini-q {
    padding: 12px;
    display: grid;
    gap: 8px;
    font-size: .84rem;
    line-height: 1.45;
}

.rx-mini-q p { margin: 0; }

.rx-mini-q .ok {
    background: #effaf3;
    border: 1px solid #86d0a3;
    color: #14532d;
    border-radius: 10px;
    padding: 7px 10px;
    font-weight: 700;
}

.rx-mini-q .why {
    border-left: 4px solid var(--rs-amber);
    padding-left: 10px;
    color: var(--rs-mute);
}

#after .rx-swipe { color: #9fb0c9; }

/* the timetable: collapsible months again, no inner scroll */
#schedule .rs-sched {
    max-height: none;
    min-height: 0;
    overflow: visible;
    display: grid;
    gap: 10px;
}

#schedule .rs-month > summary {
    display: grid;
}

#schedule .rs-filter {
    margin: 0 0 14px;
}

@media (max-width: 899px) {
    #schedule .rs-month > summary {
        padding: 12px 16px;
    }

    #schedule .rs-sched {
        gap: 8px;
    }

    .rx-dash { display: none; }
}

@media (min-width: 900px) {
    .rx-after3 {
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .rx-after3 li {
        padding: 22px;
    }

    .rx-after3 li:not(:last-child)::after {
        content: "\f061";
        font: 900 1rem 'Font Awesome 6 Free';
        position: absolute;
        right: -18px;
        top: 50%;
        color: var(--rs-gold);
        transform: translateY(-50%);
    }

    #after .rx-swipe { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rx-scr,
    .rx-split i {
        transition: none;
    }
}

.rx-board {
    background: rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 8px 10px;
    display: grid;
    gap: 6px;
}

.rx-board span {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: #b5c2d8;
}

.rx-board em {
    font-style: normal;
    font-weight: 800;
    color: #8ea0bb;
}

.rx-board .rx-skel {
    width: 70%;
    height: 10px;
    margin: 0;
    opacity: .35;
}

.rx-board .me {
    background: rgba(240, 180, 60, .14);
    border-radius: 8px;
    padding: 4px 6px;
    margin: 0 -6px;
}

.rx-board .me b {
    color: #fff;
}

.rx-board .me i {
    font-style: normal;
    font-size: .68rem;
    color: var(--rs-gold);
    font-weight: 700;
}

@media (min-width: 900px) {
    .rx-tile.big {
        justify-content: center;
    }
}

/* ══════════ v6 (27 Nov 2026): the hero deck, three full cards taking turns at the front ══════════ */
.rx-deck {
    position: relative;
    width: 400px;
    height: 470px;
    margin-top: 40px;
}

.rx-card {
    position: absolute;
    inset: 0;
    background: #eef2f8;
    color: var(--rs-ink);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform .7s var(--rx-ease), opacity .7s var(--rx-ease), filter .7s;
    transform-origin: 50% 0;
    will-change: transform;
}

.rx-card[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
.rx-card[data-pos="1"] { z-index: 2; transform: translateY(-22px) scale(.94); opacity: .75; filter: brightness(.8); }
.rx-card[data-pos="2"] { z-index: 1; transform: translateY(-42px) scale(.88); opacity: .45; filter: brightness(.65); }
.rx-card.out { z-index: 4; transform: translate(60px, 30px) rotate(6deg); opacity: 0; }

.rx-card .rx-d-top,
.rx-card .rx-d-tiles {
    margin: 0;
}

.rx-card .rx-d-fix {
    flex: 1;
}

.rx-t-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rs-navy);
    color: #fff;
    border-radius: 14px;
    padding: 10px 14px;
}

.rx-t-bar small {
    display: block;
    font: 700 .68rem 'DM Sans', sans-serif;
    color: #9fb0c9;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rx-t-bar b {
    font: 800 .95rem 'Sora', sans-serif;
}

.rx-t-bar .rx-timer {
    background: rgba(255, 255, 255, .1);
    color: #fcd9a0 !important;
    border-radius: 999px;
    padding: 5px 10px;
    font: 700 .82rem 'JetBrains Mono', monospace;
}

.rx-sub-ok {
    background: #e6f4ec;
    color: #166534;
    border-radius: 999px;
    padding: 4px 10px;
    font: 800 .72rem 'DM Sans', sans-serif !important;
}

.rx-card .rx-t-q {
    gap: 6px;
}

.rx-card .rx-t-q > span {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 10px;
}

.rx-card .rx-t-q > span em {
    font-style: normal;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font: 800 .7rem 'Sora', sans-serif;
}

.rx-card .rx-t-q > span.sel em {
    background: var(--rs-phy);
    color: #fff;
}

.rx-card .rx-t-pal {
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    padding: 10px;
}

.rx-card .rx-t-pal i {
    font: 700 .56rem 'DM Sans', sans-serif;
    font-style: normal;
    display: grid;
    place-items: center;
    color: #64748b;
}

.rx-card .rx-t-pal i.a,
.rx-card .rx-t-pal i.m,
.rx-card .rx-t-pal i.c {
    color: #fff;
}

.rx-t-legend {
    display: flex;
    gap: 12px;
    font-size: .7rem;
    color: var(--rs-mute);
}

.rx-t-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rx-t-legend i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: #e2e8f0;
}

.rx-t-legend i.a { background: #16a34a; }
.rx-t-legend i.m { background: #7c3aed; }

.rx-card .rx-t-foot {
    margin-top: auto;
    gap: 8px;
    justify-content: flex-end;
}

.rx-card .rx-t-foot .ghost {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 12px;
    font: 700 .76rem 'DM Sans', sans-serif;
    color: var(--rs-ink);
    background: #fff;
}

.rx-card .rx-t-foot b {
    background: var(--rs-phy);
}

.rx-card .rx-t-foot b:only-of-type {
    background: var(--rs-phy);
}

.rx-r-top {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 12px;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
}

.rx-r-score {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    background: conic-gradient(var(--rs-amber) 0 68%, #e2e8f0 68% 100%);
    position: relative;
}

.rx-r-score::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fff;
}

.rx-r-score b,
.rx-r-score small {
    position: relative;
}

.rx-r-score b {
    font: 800 1.35rem/1 'Sora', sans-serif;
}

.rx-r-score small {
    font-size: .64rem;
    color: var(--rs-mute);
}

.rx-r-split {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font: 700 .76rem 'DM Sans', sans-serif;
}

.rx-r-split li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rx-r-split i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: #cbd5e1;
}

.rx-r-split i.ok { background: #16a34a; }
.rx-r-split i.bad { background: #e11d48; }

.rx-r-rank small {
    display: block;
    font: 800 .58rem 'DM Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rx-r-rank .rx-skel {
    height: 14px;
    width: 80%;
    margin: 3px 0 6px;
}

.rx-card .rx-res-nia {
    padding: 10px 12px 2px;
}

.rx-card .rx-res-nia .rx-line {
    grid-template-columns: 66px 1fr;
    font-size: .76rem;
    margin-bottom: 7px;
}

.rx-card .rx-ph-h {
    margin-bottom: 6px;
}

.rx-dash-note {
    margin: 6px 0 0;
    text-align: right;
    font-size: .7rem;
    color: #6f819c;
}

@media (prefers-reduced-motion: reduce) {
    .rx-card {
        transition: none;
    }
}

.rx-r-time {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    font: 700 .76rem 'DM Sans', sans-serif;
    color: var(--rs-mute);
}

.rx-r-time em {
    height: 6px;
    border-radius: 6px;
    background: #e2e8f0;
    overflow: hidden;
}

.rx-r-time em i {
    display: block;
    height: 100%;
    background: var(--rs-phy);
}

.rx-r-time b {
    color: var(--rs-ink);
}

/* ══════════ v7 (27 Nov 2026): the hero fan, like /notes: three cards side by side, rotating ══════════ */
.rx-dash {
    padding: 0 150px;
}

.rx-deck {
    margin-top: 20px;
}

.rx-card {
    transform-origin: 50% 100%;
    transition: transform .9s var(--rx-ease), filter .9s, box-shadow .9s;
    cursor: pointer;
}

.rx-card[data-pos="0"] {
    z-index: 3;
    transform: none;
    opacity: 1;
    filter: none;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1);
}

.rx-card[data-pos="1"] {
    z-index: 2;
    transform: translate(185px, 22px) rotate(7deg) scale(.84);
    opacity: 1;
    filter: brightness(.78) saturate(.9);
}

.rx-card[data-pos="2"] {
    z-index: 1;
    transform: translate(-185px, 22px) rotate(-7deg) scale(.84);
    opacity: 1;
    filter: brightness(.78) saturate(.9);
}

.rx-dash-foot,
.rx-dash-note {
    position: relative;
    z-index: 4;
}

.rx-dash-note {
    text-align: center;
}

.rx-dash-foot .rx-dash-cap {
    min-width: 0;
}

.rx-dash {
    padding: 0 125px;
}

.rx-card[data-pos="1"] { transform: translate(165px, 22px) rotate(7deg) scale(.84); }
.rx-card[data-pos="2"] { transform: translate(-165px, 22px) rotate(-7deg) scale(.84); }

@media (min-width: 900px) {
    .rx-hero .rx-wrap {
        max-width: 1360px;
    }

    .rx-hero-grid {
        gap: 40px;
    }
}

/* smaller laptops: the whole fan at a smaller size (zoom changes layout size, unlike transform) */
@media (min-width: 900px) and (max-width: 1379px) {
    .rx-dash {
        zoom: .78;
    }
}
