/* ==========================================================================
   Velox design: every page beyond the homepage.
   Loaded after core.css, animations.css and refresh.css. Page HTML is left
   as it is; scripts/apply-refresh.mjs adds this file and the body.rf class.
   ========================================================================== */
body.rf {
  --bg: #07090a; --bg2: #0d1012; --bg3: #14181a; --bg4: #1c2124;
  --brd: rgba(236, 240, 235, .11); --brd2: rgba(236, 240, 235, .22);
  --g: #01d3a0; --gh: #3dfcc9; --gd: rgba(1, 211, 160, .12); --gl: rgba(1, 211, 160, .28);
  --t1: #f2f2eb; --t2: #a7aeaa; --t3: #848d88;
  --disp: 'Archivo', system-ui, sans-serif; --r: 12px; --rl: 18px;
  background: var(--ink) !important;
}

/* --- Type --- */
body.rf :is(h1, h2, .page-h1, .sec-t, .stack-card-name, .rl-h1, .rl-h2, .cp-h1) {
  font-family: var(--serif) !important; font-style: normal; font-weight: 800 !important; letter-spacing: -.03em !important; text-transform: none !important; color: var(--paper);
}
body.rf :is(h1, .page-h1, .rl-h1) { font-size: clamp(40px, 5.6vw, 84px) !important; line-height: .98 !important; text-wrap: balance; }
body.rf :is(h2, .rl-h2, .sec-t) { font-size: clamp(28px, 3.4vw, 46px) !important; line-height: 1.04 !important; }
body.rf :is(h3, .rl-h3) { font-family: var(--serif); letter-spacing: -.015em; text-transform: none; }
/* Tool cards are ~210px wide: size titles so the longest word ("Reconstitution") fits whole. */
body.rf .th-card h2 { font-size: clamp(21px, 1.9vw, 24px) !important; line-height: 1.1 !important; margin-bottom: 10px; overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
body.rf .site-main p { text-wrap: pretty; }

/* Tiny uppercase labels: readable, and calmer */
body.rf :is(.ab-comp-eyebrow, .bc-current, .bc-link, .bc-sep, .calc-hint, .calc-lbl, .calc-res-hdr, .calc-res-k, .cart-sum-hdr, .cart-sum-note, .cart-sum-pay-hdr,
  .co-back, .co-step, .co-sum-hdr, .contact-panel-hdr, .cp-badge, .cp-eyebrow, .cp-hto-hdr, .cp-img-sub, .cp-order-hdr, .cp-size-badge, .cp-size-label,
  .cp-stack-contents-lbl, .cp-stack-saving, .csp-price, .csp-size, .cta-eyebrow, .f-lbl, .hp-k, .hp-lbl, .hp-tag, .hp-v, .page-compliance, .page-eyebrow, .pts-label,
  .rl-card-cat, .rl-card-date, .rl-cat-badge, .rl-fig-cap, .rl-sb-hdr, .rl-sb-purity, .rl-sb-related-cat, .rl-section-label, .rl-stat-label, .rl-study-label,
  .sc-badge, .sc-cp-price, .sc-cp-size, .sec-link, .ship-opt-sub, .stack-card-action, .stack-card-eyebrow, .stack-comp-full, .stack-comp-link, .th-badge, .th-eyebrow, .th-ra-eyebrow,
  .ts, .vp-popular-badge, .pay-page-eyebrow, .fena-rec-badge, .intl-amount-lbl, .intl-steps-h, .bank-details-h, .tier-badge, .coa-group-name, .badge, .ap-eyebrow, .dl-eyebrow, .syr-card-hdr, .gh-pill, .cp-img-label) {
  font-size: 12.5px !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.4;
}
body.rf :is(.page-eyebrow, .cp-eyebrow, .ap-eyebrow, .dl-eyebrow, .th-eyebrow, .pay-page-eyebrow, .cta-eyebrow) { color: var(--mute) !important; }
body.rf :is(.page-compliance, .cart-sum-note) { font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--faint) !important; }
body.rf :is(.bc-link, .bc-sep) { color: var(--faint) !important; font-family: var(--sans) !important; font-size: 13.5px !important; }
body.rf .bc-current { color: var(--mute) !important; font-family: var(--sans) !important; font-size: 13.5px !important; }

/* --- Controls --- */
body.rf :is(.cp-order-btn, .ap-btn, .co-bump-add, .co-discount-btn, .fena-btn-pay, .region-btn, .vp-frt-add-btn, .vsb-btn, .dash-signout, .cta, .auth-btn) {
  border-radius: 14px !important; font-family: var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 700 !important;
}
body.rf .cp-order-btn { min-height: 60px; font-size: 17px !important; background: var(--mint) !important; color: #03150f !important; box-shadow: 0 10px 44px rgba(1, 211, 160, .4); transition: transform .2s, background .2s; }
body.rf .cp-order-btn:hover { background: #3dfcc9 !important; transform: translateY(-2px); }
body.rf #vp-subscribe-btn { background: transparent !important; color: var(--paper) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important; min-height: 52px; font-size: 15px !important; border-radius: 14px !important; font-family: var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
body.rf #vp-subscribe-btn:hover { border-color: var(--paper) !important; }
body.rf .fena-btn-pay { min-height: 62px; font-size: 18px !important; }
body.rf :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  border-radius: 12px !important; font-family: var(--sans) !important; font-size: 16px !important; letter-spacing: 0 !important;
}
body.rf :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea):focus { border-color: var(--mint) !important; outline: 0; box-shadow: 0 0 0 3px var(--mint-soft); }

/* --- Product page --- */
body.rf .cp-h1 { font-size: clamp(40px, 4.2vw, 64px) !important; line-height: 1 !important; overflow-wrap: normal; word-break: normal; hyphens: none; }
body.rf .cp-section :is(p, li) a:not([style]) { color: var(--mint); }
body.rf #buying-uk ul { margin: 26px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
body.rf #buying-uk li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: #c9d0cc; }
body.rf #buying-uk li strong { color: var(--paper); font-weight: 500; }
body.rf .cp-h1 em { display: block; margin-top: 14px; font-family: var(--sans) !important; font-style: normal !important; font-weight: 400 !important; font-size: clamp(17px, 1.5vw, 21px) !important; line-height: 1.35; letter-spacing: 0 !important; color: var(--mute) !important; text-transform: none !important; }
body.rf .cp-img-placeholder { border: 1px solid var(--line) !important; border-radius: 22px !important; overflow: hidden; background: #000 !important; }
body.rf .cp-img-placeholder::before, body.rf .cp-img-placeholder::after { display: none !important; }
body.rf .cp-order { background: var(--ink-2) !important; border: 1px solid var(--line) !important; border-radius: 24px !important; box-shadow: 0 40px 90px -50px #000; }
body.rf .cp-size-opt { border-radius: 14px !important; border: 1px solid var(--line) !important; background: transparent !important; transition: border-color .2s, background .2s; }
body.rf .cp-size-opt:hover { border-color: var(--line-2) !important; }
body.rf .cp-size-opt:has(input:checked) { border-color: var(--mint) !important; background: var(--mint-soft) !important; }
body.rf .cp-size-l { font-family: var(--sans) !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
body.rf .cp-size-p { font-family: var(--sans) !important; font-size: 17px !important; font-weight: 700 !important; color: var(--mint) !important; letter-spacing: 0 !important; }
body.rf .cp-badge { border-radius: 999px !important; background: transparent !important; border: 1px solid var(--line) !important; color: var(--mute) !important; }

/* --- Cards: shop, bundles, guides --- */
body.rf :is(.stack-card, .rl-card, .rl-sb-card, .rl-dcard, .cat-tile, .cart-sum, .co-sum, .contact-panel, .faq-item, .rl-faq-item, .rl-study) {
  border-radius: 18px !important; border-color: var(--line) !important; box-shadow: none !important;
}
body.rf :is(.stack-card, .rl-card, .cat-tile) { background: var(--ink-2) !important; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s !important; }
body.rf :is(.stack-card, .rl-card, .cat-tile):hover { border-color: var(--mint) !important; transform: translateY(-3px); box-shadow: 0 18px 60px -22px rgba(1, 211, 160, .55) !important; }
body.rf .stack-card::before, body.rf .rl-card::before { display: none !important; }
body.rf .sc-img-placeholder { background: #000 !important; }
body.rf .cat-tile { color: var(--paper); }
body.rf .cat-tile-name, body.rf .cat-tile h3 { font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 16px !important; }
body.rf .sc-price, body.rf .rl-sb-price { color: var(--mint) !important; font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: 0 !important; }

/* --- Guide articles: built for long reading --- */
body.rf .rl-section { font-size: 17px; line-height: 1.72; color: #c9d0cc; }
body.rf .rl-section :is(p, li) { font-size: 17px; line-height: 1.72; }
body.rf .rl-section a:not([class]) { color: var(--mint); text-underline-offset: 3px; }
body.rf .rl-h2 { margin-top: 12px; }
body.rf .rl-stat-value { font-family: var(--serif) !important; font-weight: 800 !important; letter-spacing: -.02em !important; color: var(--paper) !important; }
body.rf .rl-faq-q { font-family: var(--serif) !important; font-weight: 700 !important; letter-spacing: -.01em !important; text-transform: none !important; }

/* --- Tables --- */
body.rf .site-main table th { font-family: var(--sans) !important; font-size: 13.5px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute) !important; }

/* Headings scale to the job: long article titles and task pages stay compact */
body.rf.page-research :is(h1, .rl-h1) { font-size: clamp(36px, 4vw, 60px) !important; line-height: 1.02 !important; }
body.rf.page-checkout :is(h1, .page-h1) { font-size: clamp(34px, 3.6vw, 52px) !important; }
body.rf.page-checkout h2 { font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.15 !important; }
/* Payment page: short enough that the Pay button is close, with nothing competing with it */
body.rf.page-pay :is(h1, .page-h1) { font-size: clamp(30px, 2.8vw, 40px) !important; }
body.rf.page-pay :is(h2, .sec-t) { font-size: clamp(19px, 1.5vw, 21px) !important; line-height: 1.2 !important; margin: 24px 0 10px !important; }
body.rf.page-pay .page-lede { margin-bottom: 8px !important; }
body.rf.page-pay .f-row { margin-bottom: 10px; }
body.rf.page-pay .f-grid-2 { gap: 0 12px; }
body.rf.page-pay #uk-country-wrap { display: none !important; }
body.rf.page-pay .ship-opts { margin-bottom: 0; }
body.rf.page-pay .ship-opt-price { margin-left: auto; padding-left: 12px; }
body.rf.page-pay .co-pay-divider { margin: 24px 0 12px; padding-top: 18px; }
body.rf.page-pay .fena-hero-card { padding: 20px 22px; margin-bottom: 14px; }
body.rf.page-pay .fena-hero-title-row { margin-bottom: 6px; }
body.rf.page-pay .fena-hero-sub { margin-bottom: 14px; color: #c7d0cc; font-size: 14px; line-height: 1.45; }
.fena-notes { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .09); display: grid; gap: 7px; font-size: 12.5px; line-height: 1.45; color: #9ca3af; }
.fena-notes strong { color: #d6dbe1; font-weight: 600; }
body.rf .f-inp-bad { border-color: #f87171 !important; box-shadow: 0 0 0 1px #f87171; }
#co-bump[hidden] { display: none !important; }
.co-sum-toggle { display: none; }
body.page-pay #vp-ticker { display: none !important; }
@media (min-width: 769px) {
  body.rf.page-pay .co-summary { position: sticky; top: 16px; }
}
@media (max-width: 768px) {
  body.rf.page-pay #vpdock, body.rf.page-pay .breadcrumb, body.rf.page-pay .co-steps, body.rf.page-pay .pay-page-eyebrow, body.rf.page-pay .page-lede { display: none !important; }
  body.rf.page-pay .checkout-sec { padding-top: 14px !important; }
  body.rf.page-pay .page-h1 { margin: 12px 0 0 !important; }
  body.rf.page-pay .f-grid-2 { grid-template-columns: 1fr 1fr; }
  body.rf.page-pay .f-full { grid-column: 1 / -1; }
  body.rf.page-pay .co-summary { padding: 0 16px; margin-bottom: 0; }
  body.rf.page-pay .co-summary.is-open { padding-bottom: 16px; }
  body.rf.page-pay .co-summary:not(.is-open) > :not(.co-sum-toggle), body.rf.page-pay .co-sum-hdr { display: none !important; }
  .co-sum-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0; background: none; border: 0; color: #d6dbe1; font-family: var(--sans); font-size: 13.5px; text-align: left; cursor: pointer; }
  .co-sum-toggle strong { flex: none; color: #fff; font-size: 17px; font-weight: 700; white-space: nowrap; }
  .co-sum-chev { display: inline-block; color: var(--mint); transition: transform .15s; }
  .is-open .co-sum-chev { transform: rotate(180deg); }
  body.rf.page-pay .fena-hero-card { padding: 16px; }
}
body.rf.page-account :is(h1, h2) { font-size: clamp(26px, 2.2vw, 32px) !important; line-height: 1.1 !important; }
body.rf.page-legal :is(h2) { font-size: clamp(22px, 2vw, 28px) !important; }
body.rf .page-h1:has(> em) { font-size: clamp(36px, 4.2vw, 62px) !important; line-height: 1 !important; }
body.rf .page-h1 > em { display: block; margin-top: 12px; font-family: var(--sans) !important; font-style: normal !important; font-weight: 400 !important; font-size: clamp(17px, 1.5vw, 21px) !important; line-height: 1.35; letter-spacing: 0 !important; color: var(--mute) !important; }
body.rf .rl-cat-badge { background: var(--mint-soft) !important; color: var(--mint) !important; border: 0 !important; }
body.rf .sec-t { color: var(--paper) !important; border-left: 0 !important; padding-left: 0 !important; }

/* Long bundle names wrap instead of clipping inside the size option */
body.rf .cp-size-opt { height: auto !important; }
body.rf .cp-size-l { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; min-width: 0; line-height: 1.3; }

/* Header and phone menu */
body.rf .nav-ig[href*="instagram"] { display: none !important; }
body.rf .mob-search { padding: 12px 16px 4px !important; margin: 0 !important; }
body.rf .mob-search .vp-search-box { width: 100% !important; box-sizing: border-box; }
/* The centred links ran underneath the search box on anything under about 1340px wide:
   search gives up width first, then the links move into the menu, as they do on tablets */
@media (max-width: 1400px) { body.rf .site-header .vp-search-nav { flex: 0 1 calc(50vw - 464px) !important; width: calc(50vw - 464px) !important; max-width: none !important; } }
@media (min-width: 901px) and (max-width: 1180px) {
  body.rf .site-header .nav > .nav-links { display: none !important; }
  body.rf .site-header .hamburger { display: flex !important; }
  body.rf .site-header .vp-search-nav { flex: 0 0 200px !important; width: 200px !important; }
}

/* Exceptions to the sitewide heading scale */
body.rf .rf-head .h-h1 { font-size: clamp(34px, 3.5vw, 58px) !important; line-height: 1 !important; }
body.rf h2.rf-h2 { font-size: clamp(38px, 5.4vw, 80px) !important; line-height: .98 !important; }
body.rf .rf-mint h2.rf-h2, body.rf .rf-mint h2.rf-h2 em { color: #03150f !important; }
body.rf h2.eg-av-title { font-size: 34px !important; line-height: 1.1 !important; }
body.rf .rf-lab h2.rf-h2 em, body.rf .rf-why h2.rf-h2 em { color: var(--mint); }
body.rf #vp-nl-popup :is(h1, h2), body.rf [class*="vp-nl"] :is(h1, h2), body.rf [class*="vcw"] :is(h1, h2) { font-size: 24px !important; line-height: 1.15 !important; }

/* Remove the old accent line above headings */
body.rf .hp-feat-accent-bar { display: none !important; }

@media (max-width: 760px) {
  body.rf :is(h1, .page-h1, .rl-h1) { font-size: clamp(36px, 10.5vw, 52px) !important; }
  body.rf .cp-h1 { font-size: clamp(36px, 11.4vw, 56px) !important; }
}

/* ==========================================================================
   Catalogue and category pages: spotlight line-up, category bar, chapters of cards
   ========================================================================== */
.rf-stage-wrap { position: relative; }
body.rf .rf-stage-cat { min-height: clamp(590px, min(calc(100svh - 300px), 42vw), 760px); background: radial-gradient(42% 52% at 50% 44%, rgba(1, 211, 160, .17), transparent 72%), radial-gradient(120% 80% at 50% 0, #0b1110, #050607 70%); }
body.rf .rf-stage-cat .breadcrumb { position: absolute; z-index: 3; inset: 0 0 auto; max-width: none; margin: 0; padding: 14px var(--gutter) 0; }
body.rf .rf-stage-cat .rf-head { bottom: 146px; max-width: min(400px, calc(50vw - 400px)); }

/* The line-up: every vial is a way into its product page */
.rf-lineup { position: absolute; z-index: 1; left: 50%; top: 5%; bottom: 132px; translate: -50% 0; display: flex; align-items: flex-end; justify-content: center; }
.rf-lineup .rf-word { top: 2%; font-size: min(var(--rf-word, 15.6vw), 340px); }
.rf-lineup .rf-spot { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .6)); }
.rf-lineup .rf-v-c .rf-spot { filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .7)) drop-shadow(0 0 26px rgba(1, 211, 160, .18)); }
.rf-lineup::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: 118%; height: 34px; translate: -50% 0; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), rgba(0, 0, 0, .4) 60%, transparent), radial-gradient(closest-side, rgba(1, 211, 160, .28), transparent); background-size: 80% 100%, 100% 100%; background-position: center; background-repeat: no-repeat; }
.rf-lineup a { position: relative; z-index: 3; flex: none; display: block; height: 100%; transition: translate .35s var(--ease), filter .35s; }
.rf-lineup .rf-v-side { z-index: 2; height: 76%; filter: brightness(.82); }
.rf-lineup .rf-v-far { z-index: 1; height: 58%; filter: brightness(.6); }
.rf-lineup .rf-v-side.rf-v-l { margin-right: -34px; }
.rf-lineup .rf-v-side.rf-v-r { margin-left: -34px; }
.rf-lineup .rf-v-far.rf-v-l { margin-right: -30px; }
.rf-lineup .rf-v-far.rf-v-r { margin-left: -30px; }
.rf-lineup .rf-v-c + .rf-v-c { margin-left: -26px; }
.rf-lineup a:hover, .rf-lineup a:focus-visible { translate: 0 -8px; filter: brightness(1); }

.rf-stage-lede { position: absolute; z-index: 2; right: var(--gutter); bottom: 146px; width: min(340px, calc(50vw - 400px)); margin: 0; font-size: 14px; line-height: 1.55; color: var(--mute); text-wrap: pretty; }
.rf-stage-lede a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.rf-stage-lede a:hover { color: var(--mint); border-color: var(--mint); }
/* Three vials leave more room either side than the catalogue's five */
@media (min-width: 1181px) {
  body.rf .rf-stage-few { min-height: clamp(620px, min(calc(100svh - 270px), 44vw), 760px); }
  body.rf .rf-stage-few .rf-head { max-width: min(430px, calc(50vw - 280px)); }
  .rf-stage-few + .rf-stage-lede { width: min(380px, calc(50vw - 308px)); }
}

/* The deal in the bar names its compound, because this page isn't about one */
.rf-price a { display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 12.5px; line-height: 1.3; color: var(--mute); text-decoration: none; transition: color .2s; }
.rf-price a:hover { color: var(--paper); }

/* Category bar: stays at the top while scrolling. core.css puts overflow-x:hidden on both
   html and body, which turns body into a scroll container and stops anything sticking;
   clip does the same job without that side effect. The header keeps scrolling away, as it
   does on every other page. */
body.rf:is(.page-catalogue, .page-category, .page-compound, .page-stack, .page-supply, .page-stacks-root, .page-cart, .page-checkout, .page-confirmation, .page-about, .page-faq, .page-contact, .page-shipping, .page-research, .page-tools, .page-calculator, .page-design-lab, .page-dl-app, .page-legal) { overflow-x: clip !important; overflow-y: visible !important; }
body.rf:is(.page-catalogue, .page-category, .page-compound, .page-stack, .page-supply, .page-stacks-root, .page-cart, .page-checkout, .page-confirmation, .page-about, .page-faq, .page-contact, .page-shipping, .page-research, .page-tools, .page-calculator, .page-design-lab, .page-dl-app, .page-legal) .site-header { position: relative; }
.rf-jump { position: sticky; top: 0; z-index: 40; background: rgba(7, 9, 10, .8); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--line); }
.rf-jump .rf-chips { position: relative; flex-wrap: nowrap; overflow-x: auto; padding-block: 11px; scrollbar-width: none; }
.rf-jump .rf-chips::-webkit-scrollbar { display: none; }
.rf-jump .rf-chips a { flex: none; }
.rf-jump .rf-chips a.is-on { color: var(--mint); border-color: var(--mint); background: var(--mint-soft); }
.rf-chapter, #stacks, #bundles { scroll-margin-top: 58px; }
@media (prefers-reduced-motion: no-preference) { html:has(.rf-jump) { scroll-behavior: smooth; } }

/* Chapters sit on the homepage's five-column card grid, so nothing leaves half a row empty */
body.rf .rf-chapter { padding-block: clamp(44px, 5.2vw, 76px); }
.rf-chapter-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px clamp(14px, 1.6vw, 24px); }
.rf-chapter-head { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 22px; padding-right: clamp(12px, 2.4vw, 36px); }
.rf-chapter-head .rf-link { flex: none; white-space: nowrap; }
body.rf .rf-chapter .rf-label { margin-bottom: 14px; }
body.rf .rf-chapter h2.rf-h2 { font-size: clamp(32px, 3.6vw, 54px) !important; line-height: 1.02 !important; }
body.rf h2.rf-h2 em { color: var(--mint); }
.rf-chapter-head > .rf-lede { margin: 0; font-size: 15px; }
body.rf .rf-chapter .prod-grid { grid-column: span 3; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-self: start; }
body.rf .rf-chapter .cc { padding: 0 !important; }
body.rf .rf-chapter .cc-hdr { display: none !important; }
body.rf .rf-chapter .cc-ft { margin-top: 3px !important; }
.rf-chapter-wide .rf-chapter-head { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; padding-right: 0; }
body.rf .rf-chapter-wide .prod-grid { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.rf-chapter-wide .rf-chapter-head > .rf-lede { flex: 0 1 46%; }

/* Bundle tile: same shape as a product photo, sits in the row's spare slot */
.rf-door { display: flex; flex-direction: column; gap: 6px; align-self: start; aspect-ratio: 4 / 5; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: radial-gradient(110% 80% at 100% 0, rgba(1, 211, 160, .16), transparent 70%), var(--ink-2); transition: border-color .3s, box-shadow .3s; }
.rf-door:hover { border-color: var(--mint); box-shadow: 0 18px 60px -18px rgba(1, 211, 160, .6); }
.rf-door-l { display: flex; justify-content: space-between; gap: 8px; margin-bottom: auto; font-family: var(--mono); font-size: 12.5px; color: var(--mint); }
.rf-door-l::after { content: '\2192'; font-family: var(--sans); font-size: 16px; line-height: 1; transition: translate .25s var(--ease); }
.rf-door:hover .rf-door-l::after { translate: 3px 0; }
.rf-door-n { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; color: var(--paper); }
.rf-door-c { font-size: 13.5px; line-height: 1.35; color: var(--mute); }
.rf-door-fill { display: none; }

/* Bundle rows on category pages carry live prices: pricing.js fills .sc-price, .sc-was and the pills */
body.rf .rf-bundles-hub h2.rf-h2 { font-size: clamp(32px, 3.6vw, 54px) !important; line-height: 1.02 !important; }
.rf-bundle-item .rf-bundle { border-bottom: 0; }
.rf-bundle-item:last-child .rf-bundle { border-bottom: 1px solid var(--line); }
.rf-bundle-priced { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; padding-block: 24px; }
body.rf h3.rf-bundle-n { margin: 0; line-height: 1.15; }
.rf-bundle-comps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
body.rf .rf-bundle-comps .sc-card-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px; background: none; border: 1px solid var(--line); border-radius: 999px; }
body.rf .rf-bundle-comps :is(.sc-cp-name, .sc-cp-size, .sc-cp-price) { color: var(--mute) !important; font-family: var(--sans) !important; font-size: 12.5px !important; font-weight: 400 !important; }
.rf-bundle-p { text-align: right; line-height: 1.2; white-space: nowrap; }
body.rf .rf-bundle-p .sc-price { display: block; font-family: var(--serif) !important; font-size: clamp(22px, 2.1vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.025em !important; color: var(--paper) !important; }
body.rf .rf-bundle-p .sc-was { font-family: var(--sans) !important; font-size: 14px !important; color: var(--faint) !important; text-decoration: line-through; }
body.rf .rf-bundle-p .sc-badge { margin-left: 7px; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--sans) !important; font-size: 13px !important; font-weight: 600 !important; color: var(--mint) !important; }

@media (max-width: 1320px) {
  .rf-lineup .rf-v-far { display: none; }
  body.rf .rf-stage-cat .rf-head { max-width: calc(50vw - 270px); }
  .rf-stage-lede { width: min(340px, calc(50vw - 280px)); }
}
@media (max-width: 1180px) {
  body.rf .rf-stage-cat { min-height: 520px; }
  body.rf .rf-stage-few { min-height: 560px; }
  .rf-stage-lede { position: static; width: auto; max-width: 70ch; padding: 24px var(--gutter) 28px; font-size: 15.5px; }
  body.rf .rf-stage-cat .rf-head { max-width: calc(50vw - 230px); }
  .rf-chapter-head, .rf-chapter-wide .rf-chapter-head { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; padding-right: 0; }
  body.rf .rf-chapter .prod-grid, body.rf .rf-chapter-wide .prod-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .rf-door-fill { display: flex; }
  .rf-door-last { display: none; }
  .rf-door-span { grid-column: span 2; aspect-ratio: auto; align-self: stretch; }
  .rf-chapter-head.rf-chapter-head-long { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rf-chapter-wide .rf-chapter-head > .rf-lede { flex: none; }
}
/* Five vials won't fit beside a headline this narrow: stack, as the homepage does on phones */
@media (max-width: 960px) {
  body.rf .rf-stage-cat { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  body.rf .rf-stage-cat .breadcrumb { position: relative; order: -1; inset: auto; padding: 12px var(--gutter) 0; }
  body.rf .rf-stage-cat .rf-head { position: relative; left: auto; bottom: auto; max-width: none; padding: 14px var(--gutter) 0; }
  body.rf .rf-stage-cat .rf-head .h-h1 { font-size: clamp(34px, 5.4vw, 52px) !important; }
  .rf-lineup { position: relative; order: 1; left: auto; top: auto; bottom: auto; translate: none; height: min(36svh, 340px); margin: 18px auto 26px; }
  .rf-lineup .rf-word { top: 8%; }
  .rf-stage-cat .rf-bar { position: relative; order: 2; left: auto; right: auto; bottom: auto; margin: 0 10px 12px; }
  .rf-stage-cat .rf-proof-n { flex: none; }
  body.rf .rf-stage-cat .rf-proof .h-dispatch { display: none !important; }
}
@media (max-width: 760px) {
  .rf-lineup { height: min(32svh, 250px); }
  .rf-lineup .rf-v-side.rf-v-l { margin-right: -14px; }
  .rf-lineup .rf-v-side.rf-v-r { margin-left: -14px; }
  .rf-bundle-priced { grid-template-columns: minmax(0, 1fr); }
  .rf-bundle-p { text-align: left; }
  .rf-stage-lede { padding: 20px var(--gutter) 22px; font-size: 14.5px; }
  .rf-chapter-head, .rf-chapter-wide .rf-chapter-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 720px) {
  body.rf .rf-chapter .prod-grid, body.rf .rf-chapter-wide .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rf-door { padding: 14px; }
  .rf-door-span { min-height: 124px; }
}
@media (prefers-reduced-motion: reduce) { .rf-lineup a { transition: none; } }

/* ==========================================================================
   Product pages: the homepage's stage, with sizes, price and the button in its bar
   ========================================================================== */
body.rf .rf-stage-pdp { display: flex; flex-direction: column; align-items: stretch; padding: 0; min-height: max(600px, min(100svh - 105px, 72vw)); background: radial-gradient(34% 46% at 50% 40%, rgba(1, 211, 160, .17), transparent 72%), radial-gradient(120% 80% at 50% 0, #0b1110, #050607 70%); }
.rf-pdp-art { position: relative; flex: 1 1 auto; min-height: 0; }
.rf-stage-pdp .rf-lineup { top: 3%; bottom: 8px; }
.rf-stage-pdp .rf-lineup .rf-word { top: 24px; font-size: min(var(--rf-word, 15.6vw), var(--rf-word-cap, 30svh)); }
.rf-pdp-vial { position: relative; z-index: 3; flex: none; height: 100%; }
.rf-pdp-vial picture { display: contents; }
body.rf .rf-stage-pdp .rf-head { bottom: 6px; max-width: min(430px, calc(50vw - 150px)); }
.rf-stage-pdp .rf-head .rf-label { margin: 0 0 8px; }
.rf-stage-pdp .rf-head .rf-eyebrow { margin-bottom: 12px; }
/* The live viewer count, added by conversion.js under the heading */
body.rf .rf-head #vp-viewing { width: auto; gap: 8px !important; margin: 12px 0 0; padding: 0 !important; background: none; border: 0; }
body.rf .rf-head #vp-viewing-dot { width: 6px; height: 6px; }
body.rf .rf-head #vp-viewing-count { flex: none; font-size: 13.5px; font-weight: 400; color: var(--mute); }
body.rf .rf-head #vp-viewing-live { font-size: 12.5px; color: var(--faint); }
/* The recent-orders pop-up would sit on the acknowledgement box: on these pages it comes in under the basket instead */
@media (min-width: 768px) { body.rf:is(.page-compound, .page-stack, .page-supply) #vp-ticker { top: 112px; right: 20px; bottom: auto; left: auto; } }
body.rf .rf-head .disc-inline { display: block; max-width: 40ch; margin: 14px 0 0; padding: 0 0 0 12px; background: none; border: 0; border-left: 2px solid rgba(1, 211, 160, .5); border-radius: 0; font-size: 13.5px; line-height: 1.45; color: #a9b7b1; }
body.rf .rf-head .disc-inline svg { display: none; }
body.rf .rf-head .disc-inline strong { color: #d7dfdb; font-weight: 500; }
.rf-pdp-proof { position: absolute; z-index: 2; right: var(--gutter); bottom: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: min(330px, calc(50vw - 150px)); }
body.rf .rf-pdp-proof .cp-img-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
body.rf .rf-pdp-proof .cp-rating-summary { margin: 0; white-space: nowrap; }
body.rf .rf-pdp-proof .cp-verified-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 12px 14px; background: rgba(14, 18, 19, .68) !important; border: 1px solid rgba(1, 211, 160, .35) !important; border-radius: 16px !important; box-shadow: none !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* The buy bar. Scripts drop their stock count and progress nudges into this form, so it
   lays out by order and flex rather than by position in the markup. */
body.rf .rf-buy { position: relative; z-index: 3; left: auto; right: auto; bottom: auto; display: block; flex: none; margin: 10px clamp(14px, 2vw, 28px) clamp(14px, 2vw, 26px); padding: 13px 18px 11px; }
.rf-buy .cp-order-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
.rf-buy-labels { order: 1; flex: 0 0 100%; display: flex; align-items: baseline; gap: 14px; color: var(--mute); }
body.rf .rf-buy-labels :is(.cp-order-hdr, .cp-size-label) { margin: 0; padding: 0; background: none; border: 0; font-family: var(--mono) !important; font-size: 12px !important; color: var(--faint) !important; }
body.rf .rf-buy-labels .cp-order-hdr { color: var(--mute) !important; }
body.rf .rf-buy .cp-sizes { order: 2; flex: 1 1 0; flex-direction: row; min-width: 0; gap: 8px; margin: 0; }
body.rf .rf-buy .cp-size-opt { position: relative; flex: 1 1 0; max-width: 250px; min-width: 0; flex-direction: column; flex-wrap: nowrap !important; align-items: flex-start !important; justify-content: center !important; gap: 2px !important; min-height: 62px; margin: 0; padding: 8px 14px; cursor: pointer; }
body.rf .rf-buy .cp-size-opt input[type=radio] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body.rf .rf-buy .cp-size-opt input[disabled] { cursor: not-allowed; }
body.rf .rf-buy .cp-size-opt:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }
body.rf .rf-buy .cp-size-l { flex: none !important; font-size: 14px !important; line-height: 1.25 !important; color: var(--paper); }
body.rf .rf-buy .cp-size-price-wrap { flex: none !important; flex-wrap: wrap !important; align-items: baseline !important; justify-content: flex-start !important; gap: 0 7px !important; margin: 0 !important; }
body.rf .rf-buy .cp-size-p { font-size: 15px !important; }
.rf-buy .cp-size-price-wrap .cp-size-p { order: -1; }
body.rf .rf-buy .cp-size-was { font-family: var(--sans) !important; font-size: 12.5px !important; color: var(--faint) !important; text-decoration: line-through; }
.rf-buy-price { order: 3; flex: none; min-width: 112px; }
.rf-buy-price:empty { display: none; }
.rf-buy-price s { font-size: 13.5px; }
body.rf .rf-buy .cp-order-btn { order: 4; flex: none; width: auto !important; min-height: 62px; margin: 0; padding: 0 34px; white-space: nowrap; }
/* Too wide to share the sizes' line, so it always starts the next one, leaving room for the stock count */
body.rf .rf-buy .cp-ack { order: 5; flex: 1 1 calc(100% - 180px); display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; line-height: 1.35; color: var(--mute); cursor: pointer; }
body.rf .rf-buy .cp-ack strong { color: var(--paper); font-weight: 500; }
.rf-buy .cp-ack input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--mint); }
body.rf .rf-buy #vp-size-stock { order: 6; flex: none; margin: 0 !important; padding: 0; font-size: 12.5px !important; font-weight: 400 !important; text-align: right; }
.rf-buy-rule { order: 7; flex: 0 0 100%; height: 1px; margin: 2px 0 0; background: var(--line); }
body.rf .rf-buy .vp-ship-nudge { order: 8; flex: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; color: var(--mute); }
body.rf .rf-buy .vp-vol-nudge { order: 9; flex: 1 1 280px; max-width: 420px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; color: var(--mute); }
body.rf .rf-buy .vp-vol-track { height: 4px; margin: 8px 12px 18px; }
body.rf .rf-buy .vp-pdp-dispatch { order: 10; flex: none; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--mute); }
.rf-buy .vp-pdp-dispatch[hidden] { display: none; }
.rf-buy .vp-pdp-dispatch strong { color: var(--paper) !important; font-weight: 500; }
/* Stops short of the fixed Chat button, and wraps rather than pushing the bar a line taller */
.rf-buy .vp-vol-note { order: 11; flex: 1 1 0; min-width: 280px; padding-right: 76px; font-size: 12.5px; line-height: 1.35; color: var(--faint); }
.rf-buy .vp-vol-note strong { color: var(--mute); font-weight: 500; }
/* Once there's a basket, the progress track says the same thing, with the customer's own numbers */
.rf-buy form:has(#vp-pdp-vol[style*="block"]) .vp-vol-note { display: none; }

.rf-ledger-5 { grid-template-columns: repeat(5, 1fr); border-top: 0; }
body.rf .rf-ledger-5 .rf-fact-v { font-size: clamp(18px, 1.6vw, 23px); }

/* On-page bar: same shape as the category bar, with a way back to the button */
.rf-jump-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rf-jump .rf-jump-in .rf-chips { flex: 1 1 auto; min-width: 0; }
.rf-jump-buy { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--mint); font-size: 14px; font-weight: 700; color: #03150f; text-decoration: none; white-space: nowrap; transition: background .2s; }
.rf-jump-buy:hover { background: #3dfcc9; color: #03150f; }
.rf-pdp-sec, #related-compounds, #how-to-order, #faq, #reviews { scroll-margin-top: 58px; }
#order-form { scroll-margin-top: 90px; }

/* Sections: the homepage's two columns, heading held in view beside the reading */
body.rf .rf-pdp-sec { padding-block: clamp(56px, 7vw, 104px); }
.rf-pdp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rf-nb { white-space: nowrap; }
.rf-pdp-side { position: sticky; top: 84px; }
body.rf .rf-pdp-sec h2.rf-h2, body.rf .rf-pdp-related h2.rf-h2, body.rf #how-to-order h2.rf-h2, body.rf #faq h2.rf-h2 { font-size: clamp(32px, 3.6vw, 54px) !important; line-height: 1.02 !important; }
.rf-pdp-body { font-size: 16px; line-height: 1.72; color: #c9d0cc; }
.rf-pdp-body p { margin: 0 0 18px; }
.rf-pdp-body a:not([class]) { color: var(--mint); text-underline-offset: 3px; }
.rf-pdp-body .rf-pdp-lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--paper); }
.rf-pdp-lede strong { font-weight: 500; }
.rf-pdp-body .rf-note { font-size: 13.5px; color: var(--faint); }
.rf-pdp-body .rf-pdp-after { margin-top: 24px; }
/* Facts in a table are there to be read: no waiting for them to fade in */
body.rf .rf-pdp-sec .vp-spec-item { opacity: 1; transform: none; transition: none; }
.rf-guides { margin-top: 34px; }
.rf-guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.rf-guide-list a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; color: var(--paper); text-decoration: none; transition: color .2s; }
.rf-guide-list a::after { content: '\2192'; color: var(--faint); transition: color .2s; }
.rf-guide-list a:hover, .rf-guide-list a:hover::after { color: var(--mint); }
body.rf .rf-pdp-side .cp-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 30px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
body.rf .rf-pdp-side .cp-spec > div { padding: 11px 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
body.rf .rf-pdp-side .cp-spec dt { margin: 0; font-family: var(--sans) !important; font-size: 12.5px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--faint) !important; }
body.rf .rf-pdp-side .cp-spec dd { margin: 2px 0 0; font-family: var(--sans) !important; font-size: 14px !important; line-height: 1.35; color: var(--paper) !important; }
body.rf .rf-pdp-body .cp-table-wrap { margin: 0; overflow: visible; background: none; border: 0; border-radius: 0; }
body.rf .rf-pdp-body .cp-spec-table { width: 100%; background: none; border: 0; border-collapse: collapse; }
body.rf .rf-pdp-body .cp-spec-table tr { background: none !important; border: 0; border-top: 1px solid var(--line); }
body.rf .rf-pdp-body .cp-spec-table th { width: 38%; padding: 13px 16px 13px 0; background: none !important; border: 0; font-family: var(--sans) !important; font-size: 13.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-align: left; text-transform: none !important; color: var(--mute) !important; }
body.rf .rf-pdp-body .cp-spec-table td { padding: 13px 0; background: none !important; border: 0; font-family: var(--sans); font-size: 15px; line-height: 1.4; color: var(--paper); }
body.rf .rf-pdp-body .cp-spec-table td.mono { font-family: var(--mono); font-size: 13.5px; }
.rf-coa-stats { grid-template-columns: repeat(3, 1fr); margin: 24px 0; border-top: 0; }
.rf-coa-stats .rf-fact:first-child { padding-left: 0; }
.rf-pdp-body .btn-o svg { flex: none; }

/* Related compounds take as many columns as they have cards; the heading takes the rest */
@media (min-width: 1181px) {
  body.rf .rf-pdp-related.rf-n1 .prod-grid { grid-column: span 1; grid-template-columns: minmax(0, 1fr) !important; }
  body.rf .rf-pdp-related.rf-n2 .prod-grid { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rf-pdp-related.rf-n1 .rf-chapter-head { grid-column: span 4; }
  .rf-pdp-related.rf-n2 .rf-chapter-head { grid-column: span 3; }
}
body.rf .rf-pdp-related .cc-hdr { display: block !important; }
.rf-pdp-more { padding-block: 0 clamp(44px, 5.2vw, 76px); }
.rf-pdp-more .rf-label { margin-bottom: 12px; }

body.rf #how-to-order .rf-steps { margin-top: clamp(30px, 3.6vw, 52px); }
body.rf #how-to-order .cp-order-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px clamp(16px, 2.4vw, 32px); margin: clamp(30px, 3.6vw, 48px) 0 0; padding: 0; list-style: none; background: none; border: 0; }
body.rf #how-to-order .cp-order-meta li { display: flex; gap: 8px; margin: 0; padding: 0; font-family: var(--sans) !important; font-size: 14px !important; line-height: 1.4; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute); }
body.rf #how-to-order .cpom-ic { flex: none; color: var(--mint) !important; }

body.rf .cp-compliance.rf-wrap { margin-block: 0; padding-block: 0 clamp(36px, 4vw, 56px); background: none; border: 0; border-radius: 0; }
body.rf .cp-compliance.rf-wrap p { max-width: 110ch; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; letter-spacing: 0; color: var(--faint); }
body.rf .cp-compliance.rf-wrap strong { color: var(--mute); font-weight: 500; }

/* Blocks the scripts add: keep them on the page's width and type */
body.rf :is(#frequently-researched-together, .rv-sec) { max-width: var(--wrap) !important; margin: 0 auto !important; padding: clamp(44px, 5.2vw, 76px) var(--gutter); background: none; border: 0; }
body.rf #frequently-researched-together.vp-spec-item { opacity: 1; transform: none; transition: none; }
body.rf #frequently-researched-together :is(h2, .sec-t), body.rf .rv-title { margin: 0 0 22px; font-family: var(--serif) !important; font-size: clamp(32px, 3.6vw, 54px) !important; font-weight: 800 !important; line-height: 1.02 !important; letter-spacing: -.035em !important; color: var(--paper); }
body.rf :is(#frequently-researched-together, .rv-sec) h2 em { font-style: italic; color: var(--mint); }
body.rf .vp-frt-card { padding: 14px; background: var(--ink-2); border-color: var(--line); border-radius: 14px; }
body.rf .vp-frt-add-btn { min-height: 50px; padding: 0 24px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--paper); }
body.rf .vp-frt-add-btn:hover { background: transparent; border-color: var(--paper); }
body.rf .rv-card, body.rf .rv-form { background: var(--ink-2); border-color: var(--line); border-radius: 18px; }
body.rf .rv-star.on { color: var(--mint); }
body.rf .rv-form .btn-p { width: auto; }
/* Reviews follow the other sections: heading on the left, reading and the form on the right */
body.rf:is(.page-compound, .page-stack, .page-supply) .rv-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr auto; column-gap: clamp(32px, 6vw, 96px); align-items: start; }
body.rf:is(.page-compound, .page-stack, .page-supply) .rv-hdr { grid-area: 1 / 1; }
body.rf:is(.page-compound, .page-stack, .page-supply) .rv-avg { grid-area: 2 / 1; }
body.rf:is(.page-compound, .page-stack, .page-supply) .rv-list { grid-area: 1 / 2 / 3 / 3; }
body.rf:is(.page-compound, .page-stack, .page-supply) .rv-form { grid-area: 3 / 2; max-width: none; }
body.rf .rv-empty { margin: 0; font-size: 16px; color: var(--mute); }

/* Short laptop screens: a smaller word, and one line fewer beside the vial */
@media (max-height: 800px) and (min-width: 961px) {
  .rf-stage-pdp .rf-lineup .rf-word { font-size: min(var(--rf-word, 15.6vw), var(--rf-word-cap, 26svh)); }
  body.rf .rf-head #vp-viewing { display: none; }
}
@media (max-width: 1180px) {
  body.rf .rf-pdp-related .prod-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  body.rf #how-to-order .cp-order-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Headline, vial, then the bar: the order the homepage stacks in */
@media (max-width: 960px) {
  body.rf .rf-stage-pdp { min-height: 0; }
  .rf-pdp-art { display: contents; }
  body.rf .rf-stage-pdp .breadcrumb { position: relative; order: -1; inset: auto; padding: 12px var(--gutter) 0; }
  body.rf .rf-stage-pdp .rf-head { position: relative; order: 0; left: auto; bottom: auto; max-width: none; padding: 14px var(--gutter) 0; }
  .rf-stage-pdp .rf-lineup { position: relative; order: 1; left: auto; top: auto; bottom: auto; translate: none; height: min(46svh, 430px); margin: 22px auto 26px; }
  .rf-stage-pdp .rf-lineup .rf-word { top: 8%; font-size: min(var(--rf-word, 15.6vw), 34svh); }
  body.rf .rf-buy { order: 2; margin: 0 10px 12px; }
  .rf-pdp-proof { position: static; order: 3; width: auto; padding: 10px var(--gutter) 20px; }
  .rf-ledger-5 { grid-template-columns: repeat(3, 1fr); }
  .rf-ledger-5 .rf-fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .rf-ledger-5 .rf-fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .rf-pdp-split { grid-template-columns: minmax(0, 1fr); }
  .rf-pdp-side { position: static; }
  body.rf:is(.page-compound, .page-stack, .page-supply) .rv-sec { display: block; }
}
@media (max-width: 760px) {
  .rf-stage-pdp .rf-lineup { height: min(38svh, 300px); margin: 16px auto 22px; }
  body.rf .rf-buy { padding: 12px 12px 10px; }
  body.rf .rf-buy .cp-sizes { flex: 0 0 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-buy-price { min-width: 0; }
  body.rf .rf-buy .cp-order-btn { flex: 1 1 auto; min-height: 56px; padding: 0 14px; }
  body.rf .rf-buy .cp-ack { flex: 0 0 100%; }
  body.rf .rf-buy #vp-size-stock { flex: 0 0 100%; text-align: left; }
  body.rf .rf-buy :is(.vp-ship-nudge, .vp-vol-nudge, .vp-pdp-dispatch) { flex: 0 0 100%; }
  .rf-buy .vp-vol-note { flex: 0 0 100%; text-align: left; }
  .rf-ledger-5 { grid-template-columns: repeat(2, 1fr); }
  .rf-ledger-5 .rf-fact:nth-child(4) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 32px); }
  .rf-ledger-5 .rf-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rf-ledger-5 .rf-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rf-jump-buy { display: none; }
  .rf-guide-list { grid-template-columns: minmax(0, 1fr); }
  .rf-coa-stats { grid-template-columns: minmax(0, 1fr); }
  .rf-coa-stats .rf-fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  body.rf .rf-pdp-side .cp-spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.rf #how-to-order .cp-order-meta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body.rf .rf-pdp-related .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ==========================================================================
   Bundle pages: the product page's stage with every compound in the line-up,
   and what's inside taking the place of the sizes in the bar
   ========================================================================== */
/* These two are written in capitals in the page: shown in the site's sentence case */
:is(.rf-stage-bundle, .rf-stage-supply) .rf-head .rf-label, body.rf .rf-buy-labels .cp-stack-contents-lbl { text-transform: lowercase !important; }
:is(.rf-stage-bundle, .rf-stage-supply) .rf-head .rf-label::first-letter, .rf-buy-labels .cp-stack-contents-lbl::first-letter { text-transform: uppercase; }
body.rf .rf-stage-bundle .rf-head .h-h1 { font-size: clamp(28px, 2.5vw, 40px) !important; line-height: 1.04 !important; }
/* The line-up's width follows the stage's height, so the headline and badges get what's left */
body.rf .rf-stage-bundle { --rf-stage-h: max(600px, min(100svh - 105px, 64vw)); --rf-lineup-h: calc(var(--rf-stage-h) - 176px); min-height: var(--rf-stage-h); }
body.rf .rf-stage-bundle.rf-vials-3 { --rf-lineup-half: calc(var(--rf-lineup-h) * .6 - 34px); }
body.rf .rf-stage-bundle.rf-vials-2 { --rf-lineup-half: calc(var(--rf-lineup-h) * .49 - 13px); }
body.rf .rf-stage-bundle .rf-head { max-width: min(400px, calc(50vw - var(--rf-lineup-half) - var(--gutter) - 8px)); }
.rf-stage-bundle .rf-pdp-proof { width: min(300px, calc(50vw - var(--rf-lineup-half) - var(--gutter) - 8px)); }

/* The single size option stays in the form for the scripts; the pills above say what it holds */
.rf-buy.rf-buy-bundle .cp-order-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; }
body.rf .rf-buy-bundle .cp-sizes { display: none; }
.rf-buy-bundle .rf-buy-labels { order: 1; grid-column: 1 / -1; grid-row: 1; }
body.rf .rf-buy-labels .cp-stack-contents-lbl { margin: 0; font-family: var(--mono) !important; font-size: 12px !important; font-weight: 400; color: var(--faint); }
body.rf .rf-buy-bundle .cp-stack-saving { order: 6; grid-column: 1 / -1; grid-row: 1; justify-self: end; margin: 0; font-family: var(--sans); font-size: 12.5px !important; color: var(--mute); opacity: 1; }
body.rf .rf-buy .cp-stack-pills { order: 2; grid-column: 1; grid-row: 2; min-width: 0; flex-wrap: nowrap; gap: 8px; }
body.rf .rf-buy .csp-pill { flex: 1 1 0; min-width: 0; max-width: 270px; min-height: 62px; flex-wrap: wrap; align-items: baseline; align-content: center; gap: 2px 6px; padding: 8px 14px !important; background: none; border: 1px solid var(--line); border-radius: 14px; line-height: 1.25; }
body.rf .rf-buy .csp-name { flex: 0 0 100%; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--paper); white-space: normal; }
.rf-buy .csp-name + .csp-dot { display: none; }
body.rf .rf-buy .csp-dot { font-size: 13px; color: var(--faint); }
body.rf .rf-buy .csp-size { font-family: var(--sans); font-size: 13.5px !important; color: var(--mute); }
body.rf .rf-buy .csp-price { font-family: var(--sans); font-size: 14px !important; font-weight: 700; color: var(--mint); }
.rf-buy-pricebox { order: 3; grid-column: 2; grid-row: 2; min-width: 112px; text-align: right; }
body.rf .rf-buy-pricebox .cp-size-label { display: block; margin: 0 0 1px; font-family: var(--mono) !important; font-size: 12px !important; color: var(--faint); }
.rf-buy-pricebox .rf-buy-price { min-width: 0; }
.rf-buy-pricebox .rf-price b { font-size: 32px; }
body.rf .rf-buy-bundle .cp-order-btn { grid-column: 3; grid-row: 2; }
body.rf .rf-buy-bundle .cp-ack { grid-column: 1 / -1; grid-row: 3; }

/* Compounds in the bundle: rows, each with its own vial */
.rf-comp-list { border-bottom: 1px solid var(--line); }
.rf-comp { display: grid; grid-template-columns: clamp(64px, 6vw, 88px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: center; padding-block: clamp(20px, 2.2vw, 30px); border-top: 1px solid var(--line); }
.rf-comp-vial { display: block; transition: translate .3s var(--ease); }
.rf-comp-vial img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.rf-comp:hover .rf-comp-vial { translate: 0 -4px; }
body.rf .stack-comp { padding: 0; background: none; border: 0; border-radius: 0; }
.stack-comp .stack-comp-h { margin: 0 0 8px; }
body.rf .stack-comp-name { margin: 0; font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
body.rf .stack-comp-name a { color: var(--paper); transition: color .2s; }
body.rf .stack-comp-name a:hover { color: var(--mint); }
body.rf .rf-comp .stack-comp-full { margin-top: 3px; font-family: var(--sans) !important; font-size: 14px !important; color: var(--mute); }
body.rf .rf-comp .stack-comp-desc { margin: 0 0 12px; font-size: 15.5px; line-height: 1.62; color: #c9d0cc; }
body.rf .rf-comp .stack-comp-meta { gap: 6px 16px; font-family: var(--sans); font-size: 13.5px; color: var(--faint); }
body.rf .rf-comp .stack-comp-link { margin-left: auto; font-family: var(--sans) !important; font-size: 14px !important; font-weight: 600; color: var(--mint) !important; }

@media (max-width: 1180px) and (min-width: 961px) {
  .rf-stage-bundle.rf-vials-3 .rf-v-side { height: 66%; }
  body.rf .rf-stage-bundle.rf-vials-3 { --rf-lineup-half: calc(var(--rf-lineup-h) * .57 - 34px); }
  /* A long bundle name would run under the vial: the headline right below says it anyway */
  .rf-stage-bundle .breadcrumb :is(.bc-current, .bc-sep:last-of-type) { display: none; }
}
@media (max-width: 960px) {
  body.rf .rf-stage-bundle { min-height: 0; }
  body.rf .rf-stage-bundle .rf-head .h-h1 { font-size: clamp(32px, 5.4vw, 46px) !important; }
  body.rf .rf-stage-bundle .rf-head { max-width: none; }
  .rf-stage-bundle .rf-pdp-proof { width: auto; }
}
@media (max-width: 760px) {
  .rf-buy.rf-buy-bundle .cp-order-form { grid-template-columns: auto minmax(0, 1fr); }
  .rf-buy-bundle .rf-buy-labels { grid-column: 1 / -1; grid-row: auto; }
  body.rf .rf-buy .cp-stack-pills { grid-column: 1 / -1; grid-row: auto; flex-direction: column; }
  body.rf .rf-buy .csp-pill { flex: none; max-width: none; min-height: 0; flex-wrap: nowrap; padding: 10px 14px !important; }
  body.rf .rf-buy .csp-name { flex: 1 1 auto; }
  .rf-buy-pricebox { grid-column: 1; grid-row: auto; min-width: 0; text-align: left; }
  body.rf .rf-buy-bundle .cp-order-btn { grid-column: 2; grid-row: auto; }
  body.rf .rf-buy-bundle .cp-ack { grid-column: 1 / -1; grid-row: auto; }
  body.rf .rf-buy-bundle .cp-stack-saving { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
  /* Name beside the vial, reading underneath at full width */
  .rf-comp { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 14px; }
  body.rf .rf-comp .stack-comp { display: contents; }
  .rf-comp .stack-comp-h { margin: 0; }
  body.rf .rf-comp :is(.stack-comp-desc, .stack-comp-meta) { grid-column: 1 / -1; margin: 0; }
}

/* ==========================================================================
   Supply page
   ========================================================================== */
body.rf .rf-stage-supply .rf-buy .cp-order-meta { order: 5; flex: 1 1 calc(100% - 180px); display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; background: none; border: 0; }
body.rf .rf-stage-supply .cp-order-meta li { display: flex; gap: 8px; margin: 0; padding: 0; font-family: var(--sans) !important; font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute); }
body.rf .rf-stage-supply .cpom-ic { flex: none; color: var(--mint) !important; }

/* ==========================================================================
   Bundles listing: the catalogue's stage, then a card for each bundle with its own vials
   ========================================================================== */
body.rf .rf-bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
body.rf .rf-bgrid .stack-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.rf-bcard-art { display: flex; justify-content: center; align-items: flex-end; height: clamp(220px, 21vw, 310px); padding: 22px 12px 16px; overflow: hidden; background: radial-gradient(52% 62% at 50% 62%, rgba(1, 211, 160, .17), transparent 74%), #070a0a; border-bottom: 1px solid var(--line); }
.rf-bcard-vial { position: relative; z-index: 2; flex: none; width: auto; height: 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .65)); transition: translate .35s var(--ease); }
.rf-bcard-art.rf-vials-2 .rf-bcard-vial + .rf-bcard-vial { margin-left: -5%; }
.rf-bcard-art.rf-vials-3 .rf-bcard-vial:not(:nth-child(2)) { z-index: 1; height: 78%; filter: brightness(.86) drop-shadow(0 10px 14px rgba(0, 0, 0, .65)); }
.rf-bcard-art.rf-vials-3 .rf-bcard-vial:first-child { margin-right: -5%; }
.rf-bcard-art.rf-vials-3 .rf-bcard-vial:last-child { margin-left: -5%; }
.stack-card:hover .rf-bcard-vial { translate: 0 -5px; }
body.rf.page-stacks-root article.stack-card .stack-card-eyebrow { padding: 18px 20px 0 !important; margin: 0 0 8px; font-family: var(--mono) !important; color: var(--faint) !important; text-transform: lowercase !important; }
.rf-bgrid .stack-card-eyebrow::first-letter { text-transform: uppercase; }
body.rf .rf-bgrid .stack-card-name { margin: 0; padding: 0 20px !important; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.12; }
body.rf .rf-bgrid .stack-card-full { margin: 6px 0 0; padding: 0 20px !important; font-family: var(--sans); font-size: 14px; color: var(--mute); }
body.rf .rf-bgrid .sc-card-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 14px 20px 0 !important; }
body.rf .rf-bgrid .sc-card-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px !important; background: none; border: 1px solid var(--line); border-radius: 999px; }
body.rf .rf-bgrid :is(.sc-cp-name, .sc-cp-size, .sc-cp-price) { color: var(--mute) !important; font-family: var(--sans) !important; font-size: 12.5px !important; font-weight: 400 !important; }
body.rf .rf-bgrid .stack-card-ft { align-items: flex-end; gap: 12px; margin-top: auto !important; padding: 14px 20px 18px !important; border-top: 1px solid var(--line); }
body.rf .rf-bgrid .sc-price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
body.rf .rf-bgrid .sc-price { flex: 0 0 100%; font-family: var(--serif) !important; font-size: clamp(22px, 2vw, 28px) !important; font-weight: 800 !important; line-height: 1.1; letter-spacing: -.025em !important; color: var(--paper) !important; }
body.rf .rf-bgrid .sc-was { font-family: var(--sans) !important; font-size: 14px !important; color: var(--faint) !important; text-decoration: line-through; }
body.rf .rf-bgrid .sc-badge { padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--sans) !important; font-size: 13px !important; font-weight: 600 !important; color: var(--mint) !important; }
body.rf .rf-bgrid .stack-card-action { flex: none; font-family: var(--sans) !important; font-size: 14px !important; font-weight: 600; }
@media (max-width: 1040px) { body.rf .rf-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  body.rf .rf-bgrid { grid-template-columns: minmax(0, 1fr); }
  .rf-bcard-art { height: min(68vw, 280px); }
}
@media (prefers-reduced-motion: reduce) { .rf-bcard-vial { transition: none; } }

/* ==========================================================================
   Basket, checkout and confirmation: the same look, calmer, with no giant word.
   The order is the point here. Scripts draw and read these pages, so their markup
   stays as it is and everything below is styling.
   ========================================================================== */
body.rf:is(.page-cart, .page-checkout, .page-confirmation) .site-main { background: radial-gradient(70% 440px at 50% 0, rgba(1, 211, 160, .09), transparent 72%); }
body.rf .co-steps { gap: 6px; font-family: var(--sans); }
body.rf .co-steps .co-step { padding: 6px 14px !important; border: 1px solid var(--line); border-radius: 999px; font-size: 13px !important; color: var(--mute); white-space: nowrap; }
body.rf .co-steps .co-step-active { border-color: var(--mint); background: var(--mint-soft); color: var(--mint) !important; font-weight: 500; }
body.rf .co-steps .co-step-done { color: var(--mint) !important; }

/* Panels: the order summary on the basket and at checkout */
body.rf :is(.cart-summary, .co-summary) { background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px !important; }
body.rf :is(.cart-sum-hdr, .co-sum-hdr) { padding-block: 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--line); font-family: var(--mono) !important; color: var(--mute); }
body.rf .co-sum-hdr { padding-top: 20px; margin: 0; }
body.rf :is(.cart-sum-row, .co-sum-row) { font-family: var(--sans); font-size: 14px; color: var(--mute); }
body.rf :is(.cart-sum-row, .co-sum-row) span:last-child { font-family: var(--sans); color: var(--paper); }
body.rf :is(.cart-sum-total, .co-sum-row.co-sum-total) { align-items: baseline; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--paper); }
body.rf :is(.cart-sum-total, .co-sum-row.co-sum-total) span:last-child { font-family: var(--serif); font-size: 28px; font-weight: 800; letter-spacing: -.025em; color: var(--paper); }
body.rf .co-savings-row span:last-child { color: var(--mint); }
body.rf .co-discount-saving { color: var(--mint) !important; }

/* Basket */
body.rf.page-cart :is(h1, .page-h1) { font-size: clamp(34px, 3.6vw, 52px) !important; }
body.rf.page-cart .page-lede { max-width: 62ch; font-size: 15.5px; color: var(--mute); }
body.rf.page-cart .page-lede strong { color: var(--paper); font-weight: 500; }
body.rf.page-cart .cart-sec { padding-top: 12px; }
body.rf .cart-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 2.6vw, 40px); }
body.rf #vp-freeship { margin-bottom: 12px !important; padding: 14px 18px !important; background: var(--ink-2) !important; border-color: var(--line) !important; border-radius: 16px !important; font-size: 14px !important; }
body.rf #vp-freeship > div:last-child { background: var(--line) !important; }
body.rf #cart-items:not(:empty) { overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf .cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px 18px; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
body.rf .cart-item:first-child { border-top: 0; }
.cart-item-thumb { display: flex; align-items: flex-end; justify-content: center; height: 78px; color: var(--mint); transition: translate .3s var(--ease); }
.cart-item-thumb-0 { align-items: center; }
.cart-item-thumb img { flex: none; width: auto; height: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.cart-item-thumb-3 img:not(:nth-child(2)) { height: 78%; margin-inline: -9px; filter: brightness(.86) drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.cart-item-thumb-3 img:nth-child(2) { position: relative; z-index: 1; }
.cart-item-thumb-2 img + img { margin-left: -9px; }
.cart-item:hover .cart-item-thumb { translate: 0 -2px; }
body.rf .cart-item-info { min-width: 0; }
body.rf .cart-item-name { margin-bottom: 2px; font-family: var(--serif); font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; color: var(--paper); }
body.rf .cart-item-name:hover { color: var(--mint); }
body.rf .cart-item-size { font-family: var(--sans); font-size: 13.5px; line-height: 1.35; letter-spacing: 0; color: var(--mute); }
body.rf .cart-item-price { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--paper); }
body.rf .cart-item-qty { gap: 0; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
body.rf .cart-qty-btn { min-width: 38px; min-height: 38px; background: none; border: 0; border-radius: 50%; font-family: var(--sans); font-size: 17px; color: var(--paper); }
body.rf .cart-qty-btn:hover { background: var(--mint-soft); color: var(--mint); }
body.rf .cart-qty-val { min-width: 22px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--paper); }
body.rf .cart-remove { display: flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; margin: 0; padding: 0; border-radius: 50%; font-size: 13px; color: var(--faint); transition: color .15s, background .15s; }
body.rf .cart-remove:hover { background: rgba(255, 255, 255, .06); color: var(--paper); }
body.rf .cart-summary { top: 18px; padding: 22px 24px; }
body.rf .cart-sum-note { margin: 0 0 16px; }
body.rf .cart-proceed { box-shadow: 0 10px 44px rgba(1, 211, 160, .4); }
body.rf .cart-sum-reassurance { align-items: baseline; gap: 8px; margin: 16px 0 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 13.5px; color: var(--mute); }
body.rf .cart-sum-reas-icon { font-size: 12px; filter: saturate(.4); }
body.rf .cart-sum-reas-text strong { color: var(--paper); font-weight: 500; }
body.rf .cart-sum-pay { margin-top: 16px; padding-top: 16px; border-color: var(--line); }
body.rf .cart-sum-pay-hdr { margin-bottom: 8px; font-family: var(--mono) !important; color: var(--mute); }
body.rf .cart-sum-pay-steps { margin: 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: var(--mute); }
body.rf .cart-sum-trust { margin-top: 16px !important; padding: 16px 0 0 !important; background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; }
body.rf .cart-sum-trust > div { margin-bottom: 8px !important; font-family: var(--mono) !important; font-size: 12.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute) !important; }
body.rf .cart-sum-trust li { font-size: 13.5px !important; color: var(--mute) !important; }
body.rf .cart-sum-trust strong { color: var(--paper) !important; font-weight: 500 !important; }
body.rf .cart-empty { padding: clamp(48px, 7vw, 96px) 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px; }
body.rf .cart-empty h2 { margin-bottom: 8px; font-size: clamp(24px, 2.4vw, 32px) !important; }
body.rf .cart-empty p { color: var(--mute); }
body.rf .cart-empty .btn-p { display: inline-flex; width: auto; }
.cart-empty-ic { color: var(--mint); }

/* Checkout form */
body.rf.page-checkout .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3.4vw, 56px); }
body.rf.page-pay .pay-page-eyebrow { margin-bottom: 8px; font-family: var(--mono) !important; font-weight: 400; color: var(--mute) !important; }
body.rf.page-pay .page-lede { font-size: 15px; color: var(--mute); }
body.rf.page-pay .sec-t { font-weight: 800 !important; }
body.rf.page-checkout .f-lbl { margin-bottom: 6px; font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--mute); }
body.rf.page-checkout .f-inp, body.rf.page-checkout .f-select { min-height: 50px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; color: var(--paper); }
body.rf.page-checkout .f-inp[readonly] { color: var(--mute); }
body.rf .region-btn { min-height: 50px; background: none; border: 1px solid var(--line) !important; font-size: 15px; font-weight: 500 !important; color: var(--mute); }
body.rf .region-btn:hover { border-color: var(--line-2) !important; color: var(--paper); }
body.rf .region-btn-active, body.rf .region-btn-active:hover { background: var(--mint-soft); border-color: var(--mint) !important; color: var(--mint) !important; }
body.rf #intl-region-note { background: rgba(245, 158, 11, .06); border-color: rgba(245, 158, 11, .3); border-radius: 12px; color: #fcd34d; font-size: 13.5px; }
body.rf .ship-opts { gap: 8px; }
body.rf .ship-opt { background: none; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
body.rf .ship-opt:hover { border-color: var(--line-2); }
body.rf .ship-opt:has(input:checked) { background: var(--mint-soft); border-color: var(--mint); }
body.rf .ship-opt input[type=radio] { flex: none; display: grid; place-content: center; width: 18px; height: 18px; margin: 0; background: none; border: 1.5px solid var(--line-2); border-radius: 50%; -webkit-appearance: none; appearance: none; cursor: pointer; }
body.rf .ship-opt input[type=radio]:checked { border-color: var(--mint); }
body.rf .ship-opt input[type=radio]:checked::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
body.rf .ship-opt input[type=radio]:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
body.rf .ship-opt-main { flex: 1 1 auto; min-width: 0; }
body.rf .ship-opt-name { font-size: 15px; font-weight: 600; color: var(--paper); }
body.rf .ship-opt-sub { font-family: var(--sans); font-size: 13.5px !important; color: var(--mute); }
body.rf .ship-opt-price { flex: none; font-family: var(--serif); font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--paper); }
.co-ack input { width: 18px; height: 18px; }
body.rf .co-ack span { color: var(--mute); }
body.rf .co-pay-divider { border-color: var(--line); }
body.rf .co-pay-divider .co-pay-h { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px) !important; letter-spacing: -.03em; }

/* Pay by Bank: the one loud thing on the page */
body.rf .fena-hero-card { background: radial-gradient(90% 120% at 10% 0, rgba(1, 211, 160, .13), transparent 62%), var(--ink-2); border: 1px solid rgba(1, 211, 160, .55); border-radius: 22px; }
body.rf .fena-hero-card::before { display: none; }
body.rf .fena-hero-title { font-family: var(--serif); font-size: 24px; letter-spacing: -.025em; }
body.rf .fena-btn-pay { background: var(--mint); color: #03150f; font-family: var(--sans); letter-spacing: .01em !important; box-shadow: 0 10px 44px rgba(1, 211, 160, .42); transition: background .2s, transform .2s; }
body.rf .fena-btn-pay:hover:not(:disabled) { background: #3dfcc9; transform: translateY(-2px); }
body.rf .fena-notes { border-color: var(--line); color: var(--mute); }
body.rf .fena-notes strong { color: var(--paper); font-weight: 500; }
body.rf .bank-fallback { background: var(--ink-2); border-color: var(--line); border-radius: 18px; }
body.rf .bank-fallback > summary { padding: 16px 18px; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--paper); transition: color .2s; }
body.rf .bank-fallback > summary:hover { color: var(--mint); }
body.rf .bank-fallback > summary::before { color: var(--faint); }
body.rf .bank-fallback-body { border-color: var(--line); }
body.rf .bank-note-amber { background: rgba(245, 158, 11, .06); border-color: rgba(245, 158, 11, .3); border-radius: 12px; font-size: 13.5px; color: #fcd34d; }
body.rf .pay-bank-dl > div { padding: 11px 0; border-top: 1px solid var(--line); }
body.rf .pay-bank-dl dt { margin: 0 0 2px; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf .pay-bank-dl dd { font-family: var(--sans); font-weight: 500; }
body.rf .pay-bank-dl dd.mono-teal { font-family: var(--mono); color: var(--mint); }
body.rf .bank-fallback-note { font-size: 13px; color: var(--faint); }
body.rf #bank-pay-btn { min-height: 54px; padding: 10px 16px; background: none; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 15px; letter-spacing: .01em; line-height: 1.3; white-space: normal; text-align: center; color: var(--paper); transition: border-color .2s, color .2s; }
body.rf #bank-pay-btn:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
body.rf.eu-checkout .bank-fallback { background: radial-gradient(90% 120% at 10% 0, rgba(1, 211, 160, .13), transparent 62%), var(--ink-2); border: 1px solid rgba(1, 211, 160, .55); border-radius: 22px; }
body.rf.eu-checkout .bank-fallback > summary { padding: 20px 22px 14px; font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: var(--paper); }
body.rf.eu-checkout #bank-pay-btn { min-height: 62px; background: var(--mint); border: 0; font-size: 16px; color: #03150f; box-shadow: 0 10px 44px rgba(1, 211, 160, .42); }
body.rf.eu-checkout #bank-pay-btn:hover:not(:disabled) { background: #3dfcc9; color: #03150f; }
body.rf .eu-pay-intro { border-radius: 12px; }
body.rf .intl-amount { border-radius: 14px; }
body.rf .intl-amount-lbl { font-family: var(--sans) !important; font-size: 14px !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important; }
body.rf .intl-amount-val { font-family: var(--serif); font-weight: 800; letter-spacing: -.025em; }
body.rf :is(.intl-steps-h, .bank-details-h) { font-family: var(--mono) !important; font-weight: 400; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute) !important; }
body.rf .intl-steps li::before { font-family: var(--sans); font-size: 13px; }
body.rf .co-back { font-family: var(--sans); font-size: 14px; color: var(--mute); }
body.rf .co-back:hover { color: var(--paper); }
body.rf :is(.crypto-teaser, .pay-implicit-note) { font-size: 13px; color: var(--faint); }
body.rf :is(.crypto-teaser, .pay-implicit-note) a { color: var(--mute); }
body.rf :is(.crypto-teaser, .pay-implicit-note) a:hover { color: var(--mint); }

/* Checkout summary */
body.rf .co-cart-list { gap: 12px; margin-top: 16px; }
body.rf .co-cart-row { align-items: flex-start; gap: 14px; }
body.rf .co-cart-name { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--paper); overflow-wrap: anywhere; }
body.rf .co-cart-size { display: block; margin: 2px 0 0; font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--mute); }
body.rf .co-cart-price { flex: none; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--paper); }
body.rf #co-bump { margin: 16px 0 0 !important; padding: 12px 14px !important; border: 1px solid rgba(1, 211, 160, .35) !important; border-radius: 14px !important; background: var(--mint-soft) !important; }
body.rf .co-bump-add { border-radius: 10px !important; font-family: var(--sans) !important; }
body.rf .co-discount-wrap { padding: 16px 0; border-color: var(--line); }
body.rf .co-discount-inp { min-height: 46px; background: rgba(255, 255, 255, .03) !important; border-color: var(--line) !important; font-size: 14px !important; letter-spacing: 0; }
body.rf .co-discount-btn { min-height: 46px; padding: 0 18px; border-color: var(--line-2); font-size: 14px; color: var(--paper); }
body.rf .co-discount-btn:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
body.rf .co-discount-msg { min-height: 0; }
body.rf .co-sum-rows { margin-top: 0; padding-top: 16px; border-top: 0; }
body.rf .co-deliver-to { border-color: var(--line); }
body.rf .co-deliver-hdr { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; color: var(--mute); }
body.rf .co-support-note { margin-top: 16px; padding: 14px 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 13.5px; color: var(--mute); }
@media (min-width: 769px) { body.rf.page-pay .co-summary { top: 18px; } }

/* Confirmation pages */
body.rf .confirm-sec { padding-top: 18px; }
body.rf .confirm-card { max-width: 720px; padding: clamp(24px, 3.6vw, 48px); background: var(--ink-2); border-color: var(--line); border-radius: 26px; }
body.rf .confirm-card::before { display: none; }
body.rf :is(.confirm-t, .confirm-sub) { text-align: center; text-wrap: balance; }
body.rf .confirm-t { margin-bottom: 10px; font-size: clamp(28px, 3vw, 42px) !important; line-height: 1.04 !important; }
body.rf .confirm-sub { margin-inline: auto; max-width: 54ch; font-size: 15.5px; color: var(--mute); }
body.rf .pc-email-highlight { color: var(--paper); font-weight: 500; }
body.rf .pc-payment-badge { display: flex; width: fit-content; margin-inline: auto; font-size: 13px; }
body.rf .pc-confirm-ic, body.rf .confirm-ic-pending { width: 72px; height: 72px; margin-bottom: 20px; }
body.rf .confirm-warning { margin-bottom: 20px; border-radius: 12px; font-size: 14px; }
body.rf .confirm-ref { padding: 18px 20px; background: var(--mint-soft); border-color: rgba(1, 211, 160, .4); border-radius: 16px; }
body.rf .confirm-ref-lbl { color: var(--mute); }
body.rf .confirm-ref-v { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; color: var(--mint); }
body.rf .confirm-ref-note { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--mute); }
body.rf .confirm-bank { margin-bottom: 26px; padding: 0; background: none; border: 0; border-radius: 0; }
body.rf .confirm-bank-hdr { margin-bottom: 10px; font-family: var(--mono) !important; font-size: 12.5px !important; letter-spacing: 0; color: var(--mute); }
body.rf .confirm-bank-dl { gap: 0; background: none; border: 1px solid var(--line); border-radius: 16px; }
body.rf .confirm-bank-dl div { align-items: baseline; gap: 16px; padding: 13px 16px; background: none; border-top: 1px solid var(--line); }
body.rf .confirm-bank-dl div:first-child { border-top: 0; }
body.rf .confirm-bank-dl dt { font-family: var(--sans); font-size: 14px !important; color: var(--mute); }
body.rf .confirm-bank-dl dd { font-family: var(--sans); font-size: 15px !important; font-weight: 500; text-align: right; color: var(--paper); }
body.rf .confirm-bank-dl :is(#bank-sort, #bank-acc, #confirm-ref-2) { font-family: var(--mono); letter-spacing: .02em; }
body.rf .confirm-bank-dl :is(.confirm-bank-amount-row, div:has(#pc-amount)) { background: var(--mint-soft); }
body.rf .confirm-bank-dl :is(.confirm-bank-amount-row, div:has(#pc-amount)) dt { color: var(--paper); }
body.rf .confirm-bank-dl :is(.confirm-bank-amount-row, div:has(#pc-amount)) dd { font-family: var(--serif); font-size: 24px !important; font-weight: 800; letter-spacing: -.025em; }
body.rf .confirm-bank-note { margin-top: 12px; font-size: 13.5px; color: var(--mute); }
body.rf .confirm-bank-note strong { color: var(--paper); font-weight: 500; }
body.rf.page-confirmation .confirm-next .sec-t { margin: 0 0 4px; font-size: clamp(22px, 2vw, 28px) !important; }
body.rf .co-tl-item:not(:last-child)::before { background: var(--line); }
body.rf .co-tl-item:not(.co-tl-done, .co-tl-active) .co-tl-dot { background: var(--ink); border-color: var(--line-2); color: var(--mute); }
body.rf .co-tl-dot { font-family: var(--sans); }
body.rf .co-tl-done .co-tl-dot, body.rf .co-tl-active .co-tl-dot { color: #03150f; }
body.rf .co-tl-body strong { font-size: 15px; color: var(--paper); }
body.rf .co-tl-body span { font-size: 13.5px; line-height: 1.55; color: var(--mute); }
body.rf .co-tl-body > span { display: block; }
body.rf .co-tl-body span span { color: var(--paper); }
body.rf .co-tracking-note { font-size: 13.5px; color: var(--mute); }
body.rf .confirm-summary .co-cart-list { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
body.rf .confirm-support { margin-top: 18px; padding: 14px 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 14px; color: var(--mute); }
body.rf .confirm-cta { flex-direction: row; margin-top: 20px; }
body.rf .confirm-cta .btn-p, body.rf .confirm-cta .btn-o { flex: 1 1 220px; justify-content: center; text-align: center; }
body.rf .pc-loading-state p { color: var(--mute); }
@media (max-width: 1040px) { body.rf :is(.cart-grid, .page-checkout .co-grid) { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 900px) { body.rf :is(.cart-grid, .page-checkout .co-grid) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  body.rf .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'thumb info remove' 'thumb price qty'; gap: 6px 12px; padding: 14px; }
  .cart-item-thumb { grid-area: thumb; align-self: center; height: 72px; }
  .cart-item-thumb-3 img:not(:nth-child(2)) { margin-inline: -11px; }
  body.rf .cart-item-info { grid-area: info; }
  body.rf .cart-remove { grid-area: remove; justify-self: end; align-self: start; margin: -6px -8px 0 0; }
  body.rf .cart-item-price { grid-area: price; align-self: center; }
  body.rf .cart-item-qty { grid-area: qty; order: 0; width: auto; }
  body.rf .cart-qty-btn { min-width: 42px; min-height: 42px; }
  body.rf .confirm-bank-dl div { gap: 2px; padding: 11px 16px; }
  body.rf .confirm-bank-dl dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .cart-item-thumb { transition: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   Info pages: about, quality, CoA library, FAQ, contact and shipping.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Word-only stage: these pages get read, so the reading starts sooner */
.rf-stage-info .rf-word { top: 0; padding-inline: .14em; }
.rf-stage-info .rf-lineup { height: calc(min(var(--rf-word, 15.6vw), 340px) * .9); }
.rf-stage-info .rf-lineup::after { display: none; }
@media (min-width: 961px) {
  body.rf .rf-stage-info { min-height: calc(min(var(--rf-word, 15.6vw), 340px) * .86 + 170px); }
  .rf-stage-info .rf-lineup { top: 38px; bottom: auto; }
  body.rf .rf-stage-info .rf-head { bottom: 34px; max-width: min(760px, 52vw); }
  body.rf:is(.page-about, .page-category) .rf-stage-cat .rf-head { max-width: min(430px, calc(50vw - 270px)); }
}
@media (min-width: 1181px) {
  .rf-stage-info + .rf-stage-lede { bottom: 36px; width: min(430px, 34vw); }
  body.rf:is(.page-about, .page-category) .rf-stage-cat .rf-head { max-width: min(430px, calc(50vw - 306px)); }
}
@media (max-width: 960px) {
  .rf-stage-info .rf-lineup { order: -1; margin: 14px auto 0; }
}
.rf-stage-cat .rf-head .rf-label { margin: 0 0 10px; }
/* The bar already rules off the stage */
body.rf .rf-info-first { border-top: 0; }

/* About: headline topics in the same two columns as the sections above them */
.rf-info-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px clamp(32px, 6vw, 96px); padding-block: clamp(22px, 2.6vw, 36px); border-top: 1px solid var(--line); }
.rf-info-row:first-child { padding-top: 0; border-top: 0; }
.rf-info-row:last-child { padding-bottom: 0; }
body.rf :is(.rf-info-row h2, .rf-info-h) { margin: 0; font-size: clamp(22px, 2.1vw, 30px) !important; line-height: 1.12 !important; letter-spacing: -.02em !important; }
.rf-info-row .rf-pdp-body p { margin: 0; }
.rf-info-end { padding-bottom: clamp(56px, 7vw, 104px); }
.rf-info-note { padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 18px; font-size: 14px; line-height: 1.65; color: var(--mute); }
.rf-info-note .rf-label { margin: 0 0 10px; }
.rf-info-note p:last-child { max-width: 110ch; margin: 0; }
.rf-info-note a { color: var(--paper); text-underline-offset: 3px; }

/* Quality: three standards, then the process */
.rf-qcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rf-qcard { padding: clamp(22px, 2.2vw, 32px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; font-size: 15px; line-height: 1.65; color: #c9d0cc; }
.rf-qcard-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: var(--mint-soft); color: var(--mint); }
body.rf .rf-qcard h2 { margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.08 !important; }
.rf-qcard p { margin: 0 0 14px; }
.rf-qcard p:last-child { margin-bottom: 0; }
.rf-qcard strong { color: var(--paper); font-weight: 500; }
.rf-qcard a { color: var(--mint); text-underline-offset: 3px; }
ol.rf-steps { padding: 0; list-style: none; }
.rf-steps-5 { margin-bottom: 0; }
.rf-steps-5 .rf-step::before { font-size: clamp(44px, 4.4vw, 68px); }
.rf-steps-5 .rf-step h3 { margin-top: 12px; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.16; }
.rf-steps-5 .rf-step p { font-size: 14.5px; line-height: 1.55; }
@media (min-width: 1181px) { .rf-steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 34px); } }
.rf-qnote { display: flex; gap: 14px; margin-top: clamp(34px, 4vw, 56px); padding: clamp(18px, 2vw, 26px); background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .25); border-radius: 18px; font-size: 15px; line-height: 1.6; color: #c9d0cc; }
.rf-qnote svg { flex: none; margin-top: 1px; color: var(--mint); }
.rf-qnote p { margin: 0; }
.rf-qnote strong { color: var(--paper); font-weight: 500; }
.rf-qnote a { color: var(--mint); text-underline-offset: 3px; }

/* CoA library: a page of records, so the figures line up and nothing blinks */
body.rf .rf-coa-sec { padding-block: clamp(30px, 3.4vw, 52px); }
body.rf .rf-coa-sec h2.rf-h2 { margin-bottom: clamp(18px, 2vw, 28px); font-size: clamp(28px, 2.8vw, 42px) !important; }
.coa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.coa-card { padding: 18px 20px 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
.coa-card .hp-lbl { display: block; margin: 0 0 10px; font-size: 12.5px; letter-spacing: 0; color: var(--mute); }
.coa-card .hp-lbl::before { display: none; }
.coa-card .hp-rows { gap: 0; margin: 0 0 14px; background: none; border-radius: 0; }
.coa-card .hp-r, .coa-card .hp-r:hover { align-items: baseline; gap: 14px; padding: 9px 0; background: none; border-top: 1px solid var(--line); }
.coa-card .hp-k { flex: none; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--faint); }
.coa-card .hp-v { font-family: var(--sans); font-size: 13.5px; line-height: 1.35; color: var(--paper); }
.coa-card .hp-r:first-child .hp-v { font-size: 14.5px; font-weight: 600; }
.coa-card .hp-v.ok { color: var(--mint); font-weight: 500; }
.coa-card .hp-tags { gap: 6px; }
.coa-card .hp-tag { padding: 4px 9px; background: none; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: 0; color: var(--mute); }

/* FAQ: the same open rows as the homepage's questions, a little smaller as there are 27 */
body.rf .rf-faq-sec { padding-block: clamp(40px, 5vw, 72px); }
body.rf.page-faq .faq-list { gap: 0; }
body.rf.page-faq details.faq-item { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0 !important; }
body.rf.page-faq details.faq-item:last-child { border-bottom: 1px solid var(--line); }
body.rf.page-faq details.faq-item summary.faq-q { position: relative; padding: 20px 40px 20px 0; background: none; font-family: var(--serif); font-size: clamp(18px, 1.55vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--paper); transition: color .2s; }
body.rf.page-faq details.faq-item summary.faq-q:hover { color: var(--mint); }
body.rf.page-faq details.faq-item summary.faq-q::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-family: var(--sans); font-size: 24px; font-weight: 800; color: var(--mute); transition: rotate .2s; }
body.rf.page-faq details.faq-item[open] summary.faq-q::after { content: '+'; rotate: 45deg; color: var(--mint); }
body.rf.page-faq details.faq-item .faq-a { padding: 0 40px 24px 0; border: 0; font-size: 15.5px; line-height: 1.65; color: var(--mute); }
body.rf.page-faq .faq-a a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
body.rf.page-faq .faq-a strong { color: var(--paper); font-weight: 500; }

/* Contact: the two ways to reach us first, then the detail */
.rf-contact-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(40px, 5vw, 72px); }
.rf-contact-card { padding: clamp(22px, 2.6vw, 36px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf .rf-contact-card h2 { margin: 0 0 16px; font-family: var(--mono) !important; font-size: 12.5px !important; font-weight: 400 !important; line-height: 1.4 !important; letter-spacing: 0 !important; color: var(--mute); }
.rf-contact-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--mute); }
.rf-contact-card h2 + p { margin: 0; }
body.rf .rf-contact-card :is(.contact-email, .contact-phone) { font-family: var(--serif); font-size: clamp(21px, 2.7vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--mint); text-decoration: none; word-break: normal; overflow-wrap: anywhere; transition: color .2s; }
body.rf .rf-contact-card :is(.contact-email, .contact-phone):hover { color: #3dfcc9; }
.contact-section .rf-pdp-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
body.rf .contact-section .rf-info-h { margin: 0 0 14px; }
.rf-contact-side { display: grid; gap: 28px; }
body.rf .contact-panel { padding: clamp(20px, 2.2vw, 28px); background: var(--ink-2); }
body.rf .contact-panel-hdr { margin-bottom: 12px; font-size: 12.5px; letter-spacing: 0; color: var(--mute); }
body.rf .contact-panel ul { margin: 0; padding-left: 18px; }
body.rf .contact-panel li { margin-bottom: 8px; font-size: 14.5px; line-height: 1.55; color: #c9d0cc; }
body.rf .contact-panel li:last-child { margin-bottom: 0; }
body.rf .contact-address { font-size: 15.5px; line-height: 1.6; color: #c9d0cc; }

/* Shipping: cards of different lengths, packed so there are no holes */
body.rf .policy-grid { display: block; columns: 2; column-gap: 16px; }
body.rf .policy-card { break-inside: avoid; margin-bottom: 16px; padding: clamp(22px, 2.2vw, 32px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf .policy-card h2.sec-t { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.08 !important; }
body.rf .policy-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #c9d0cc; }
body.rf .policy-card p:last-child { margin-bottom: 0; }
body.rf .policy-card strong { color: var(--paper); font-weight: 500; }
body.rf .policy-card a { color: var(--mint); text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .coa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .rf-info-row { grid-template-columns: minmax(0, 1fr); }
  .rf-qcards { grid-template-columns: minmax(0, 1fr); }
  .contact-section .rf-pdp-split { grid-template-columns: minmax(0, 1fr); }
  body.rf .policy-grid { columns: 1; }
}
@media (max-width: 720px) {
  .coa-grid, .rf-contact-top { grid-template-columns: minmax(0, 1fr); }
  body.rf.page-faq details.faq-item .faq-a { padding-right: 0; }
}
/* Stacked line-ups have the width to spare: don't cover the side vials' labels */
@media (max-width: 960px) {
  .rf-lineup .rf-v-side.rf-v-l { margin-right: -14px; }
  .rf-lineup .rf-v-side.rf-v-r { margin-left: -14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Guides: the hub and every article. Articles are styled here and nowhere else, so a
   guide the daily routine publishes picks this up at build with no change to its HTML.
   ═══════════════════════════════════════════════════════════════════════════ */
body.rf.page-research .site-main > .breadcrumb { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 0; }
body.rf.page-research .site-main:has(> .rl-outer) { background: radial-gradient(64% 520px at 50% 0, rgba(1, 211, 160, .12), transparent 72%); }

/* The giant word, without the vial: on an article the reading comes first */
body.rf.page-research .rl-outer { padding: 0 0 clamp(56px, 7vw, 104px); }
body.rf.page-research .rl-outer::before { content: 'RESEARCH'; content: 'RESEARCH' / ''; display: block; margin: 12px 0 clamp(18px, 2.4vw, 34px); padding-inline: .14em; font-family: var(--serif); font-size: min(15.4vw, 232px); font-stretch: 88%; font-style: italic; font-weight: 900; line-height: .86; letter-spacing: -.035em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none; color: transparent; background: linear-gradient(180deg, #f2fffb 0%, #7af0cf 38%, #01d3a0 72%, #00a37c 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 48px rgba(1, 211, 160, .22)); }
body.rf.page-research .rl-layout { grid-template-columns: minmax(0, 820px) 320px; justify-content: space-between; gap: clamp(36px, 5vw, 72px); max-width: var(--wrap); padding-inline: var(--gutter); }
body.rf.page-research .rl-layout:not(:has(> .rl-sidebar)) { grid-template-columns: minmax(0, 860px) !important; justify-content: center; }

/* Header */
body.rf.page-research .rl-header { padding: 0 0 clamp(22px, 2.6vw, 32px); margin-bottom: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line); }
body.rf.page-research .rl-cat-badge { margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; letter-spacing: .03em; text-decoration: none; }
body.rf.page-research .rl-h1 { margin: 0 0 18px; }
body.rf.page-research .rl-meta { gap: 6px 14px; margin-bottom: 22px; font-size: 13px; color: var(--mute); }
body.rf.page-research .rl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin-bottom: 22px; background: none; border: 0; border-block: 1px solid var(--line); border-radius: 0; }
body.rf.page-research .rl-stat { min-width: 0; padding: 13px 0; border: 0; }
body.rf.page-research .rl-stat-label { margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-research .rl-stat-value { font-size: 15px; font-weight: 700 !important; line-height: 1.25; letter-spacing: -.01em !important; overflow-wrap: anywhere; }
body.rf.page-research .rl-compliance { margin-bottom: 18px; padding: 12px 16px; background: none; border: 1px solid var(--line); border-left: 2px solid rgba(1, 211, 160, .6); border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
body.rf.page-research .rl-compliance strong { color: var(--paper); font-weight: 600; }
body.rf.page-research .rl-lead { margin: 18px 0 4px !important; padding: clamp(16px, 1.8vw, 22px) !important; background: var(--ink-2) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; }
body.rf.page-research .rl-lead p { font-size: clamp(16.5px, 1.3vw, 18.5px) !important; line-height: 1.6 !important; color: var(--paper) !important; }
body.rf.page-research .rl-lead :is(a, span[style], strong[style]) { color: var(--mint) !important; }

/* Reading */
body.rf.page-research .rl-section { margin-bottom: 0; padding-block: clamp(26px, 3vw, 42px); border-top: 1px solid var(--line); }
body.rf.page-research .rl-header + .rl-section, body.rf.page-research .gpm + .rl-section { border-top: 0; }
body.rf.page-research .rl-h2 { display: block; margin: 0 0 18px; padding: 0; border: 0; font-size: clamp(26px, 2.5vw, 38px) !important; line-height: 1.08 !important; }
body.rf.page-research .rl-h3 { margin: 30px 0 10px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; line-height: 1.2; color: var(--paper); }
body.rf.page-research .rl-h3::before { content: none; }
body.rf.page-research .rl-article p { color: #c9d0cc; }
body.rf.page-research .rl-article strong { color: var(--paper); font-weight: 600; }
body.rf.page-research .rl-article :is(ul, ol) { color: #c9d0cc !important; font-size: 17px !important; }
body.rf.page-research .rl-article li { margin-bottom: 6px; }
body.rf.page-research .rl-article a:not([class]) { color: var(--mint); text-decoration: underline; text-decoration-color: rgba(1, 211, 160, .4); text-underline-offset: 3px; }
body.rf.page-research .rl-article a:not([class]):hover { text-decoration-color: var(--mint); }
body.rf.page-research .rl-cite, body.rf.page-research .rl-cite a { font-size: 11.5px; color: var(--faint); text-decoration: none; }
body.rf.page-research .rl-cite a:hover { color: var(--mint); }

/* Panels inside an article: one surface, one hairline, one accent */
body.rf.page-research :is(.rl-study, .rl-fig, .rl-dcard, .rl-urgent, .rl-supply-box, .rl-data-box, .rl-notice, .rl-compound-box, .rl-pathway-box, .rl-quick-answer, .rl-callout, .rl-linkcard, .rl-inline-cta) { background: var(--ink-2) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; box-shadow: none !important; }
body.rf.page-research :is(.rl-study, .rl-urgent, .rl-supply-box, .rl-notice, .rl-compound-box, .rl-pathway-box, .rl-quick-answer, .rl-callout, .rl-inline-cta) { padding: clamp(16px, 1.8vw, 22px) !important; }
body.rf.page-research :is(.rl-study, .rl-urgent, .rl-notice, .rl-compound-box, .rl-pathway-box, .rl-quick-answer, .rl-callout) :is(p, li) { font-size: 15px !important; line-height: 1.6; color: #c9d0cc !important; }
body.rf.page-research .rl-urgent { border-left: 2px solid var(--mint) !important; }
body.rf.page-research .rl-urgent strong { color: var(--paper); }
body.rf.page-research :is(.rl-study-label, .rl-pathway-title, .rl-qa-label) { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--mint); }
body.rf.page-research .rl-study-title { font-family: var(--serif); font-size: 17px; line-height: 1.25; color: var(--paper); }
body.rf.page-research .rl-study-pmid, body.rf.page-research .rl-study-pmid a { font-size: 12.5px !important; color: var(--faint) !important; }
body.rf.page-research .rl-study-pmid a:hover { color: var(--mint) !important; }
body.rf.page-research .rl-carousel { padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) 8px; background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .22); border-radius: 18px; }
body.rf.page-research .rl-carousel-h { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.02em; color: var(--paper); }
body.rf.page-research .rl-dcard { padding: 15px 17px; }
body.rf.page-research .rl-dcard h4 { font-family: var(--serif); font-size: 16.5px; line-height: 1.25; color: var(--paper); }
body.rf.page-research .rl-dcard p { font-size: 14.5px; line-height: 1.55; color: var(--mute); }
body.rf.page-research .rl-data-label { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf.page-research .rl-data-val { font-family: var(--serif); letter-spacing: -.02em; color: var(--mint); }
body.rf.page-research :is(.rl-tl-yr, .rl-tl-year) { font-size: 12.5px; letter-spacing: 0; color: var(--mint); }
body.rf.page-research :is(.rl-tl-txt, .rl-tl-body) { font-size: 15px; line-height: 1.55; color: #c9d0cc; }
body.rf.page-research .rl-tl-title { font-family: var(--serif); font-size: 17px; color: var(--paper); }
body.rf.page-research .rl-fig { padding: 20px 18px 14px; }
body.rf.page-research .rl-fig-cap { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf.page-research .rl-article figcaption { font-size: 13px !important; color: var(--mute) !important; }

/* Tables */
body.rf.page-research .rl-table { font-size: 14.5px; }
body.rf.page-research .rl-table th { padding: 11px 14px; background: none; border-bottom: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf.page-research .rl-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: #c9d0cc; }
body.rf.page-research .rl-table tr td:first-child { color: var(--paper); }
body.rf.page-research .rl-table th.rl-table-highlight { background: var(--mint-soft); color: var(--mint); }
body.rf.page-research .rl-table td.rl-table-highlight { background: var(--mint-soft); color: var(--paper); }
body.rf.page-research .rl-table .rl-no { color: var(--faint); }

/* Buttons: the old rules let the article's link colour win, which left mint on mint */
body.rf.page-research :is(.rl-supply-cta, .gpm-browse, .rl-sb-btn) { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; background: var(--mint); border: 0; border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.2; text-align: center; color: #03150f !important; text-decoration: none !important; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); transition: background .2s; }
body.rf.page-research :is(.rl-supply-cta, .gpm-browse) { display: inline-flex; }
body.rf.page-research :is(.rl-supply-cta, .gpm-browse, .rl-sb-btn):hover { background: #3dfcc9; color: #03150f !important; }
body.rf.page-research .rl-sb-btn-o { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; background: none; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; color: var(--paper); text-decoration: none; transition: border-color .2s, color .2s; }
body.rf.page-research .rl-sb-btn-o:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-research .rl-supply-label { margin-bottom: 3px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-research .rl-supply-value { font-size: 15px; color: var(--paper); }

/* Product module: same surface as everything else on the page */
body.rf.page-research .gpm { margin: 22px 0; padding: clamp(16px, 1.8vw, 22px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf.page-research .gpm-hdr { margin-bottom: 12px; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf.page-research .gpm-card { padding: 14px 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s; }
body.rf.page-research .gpm-card:hover, body.rf.page-research .gpm-card-lead { border-color: rgba(1, 211, 160, .5); }
body.rf.page-research .gpm-name { font-family: var(--serif); font-size: 17px; letter-spacing: -.015em; color: var(--paper); }
body.rf.page-research .gpm-size { font-size: 13.5px; color: var(--mute); }
body.rf.page-research .gpm-size b { color: var(--paper); }
body.rf.page-research .gpm-go { font-size: 13.5px; color: var(--mint); }
body.rf.page-research .gpm-meta { font-size: 13px; color: var(--mute); }
body.rf.page-research .gpm .gpm-ruo { font-size: 12.5px !important; line-height: 1.5; color: var(--faint) !important; }

/* FAQ and references */
body.rf.page-research .rl-faq-item { padding: 18px 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0 !important; }
body.rf.page-research .rl-faq-item:last-child { border-bottom: 1px solid var(--line); }
body.rf.page-research .rl-faq-q { margin-bottom: 8px; font-size: clamp(17px, 1.4vw, 19.5px) !important; line-height: 1.25; color: var(--paper) !important; }
body.rf.page-research .rl-faq-a { font-size: 15.5px !important; line-height: 1.65; color: var(--mute) !important; }
body.rf.page-research .rl-refs li { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: var(--mute); }
body.rf.page-research .rl-refs li a { color: var(--mute); text-underline-offset: 3px; }
body.rf.page-research .rl-refs li a:hover { color: var(--mint); }

/* Sidebar: stays in view while reading */
body.rf.page-research .rl-sidebar { top: 24px; }
body.rf.page-research .rl-sb-card { margin-bottom: 12px; padding: 18px 20px; background: var(--ink-2); }
body.rf.page-research .rl-sb-hdr { margin: 0 0 10px; font-family: var(--mono) !important; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mute) !important; }
body.rf.page-research .rl-sb-compound-name { font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-research .rl-sb-purity { margin-bottom: 12px; font-size: 12.5px; }
body.rf.page-research .rl-sb-price-size { color: var(--mute); }
body.rf.page-research .rl-sb-price-val { color: var(--paper); }
body.rf.page-research .rl-sb-note { margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
body.rf.page-research .rl-sb-btn { margin-bottom: 8px; }
body.rf.page-research .rl-sb-related-item { padding: 10px 0 !important; border-bottom: 1px solid var(--line); font-size: 14px !important; color: var(--paper) !important; text-decoration: none; }
body.rf.page-research .rl-sb-related-name { font-size: 14.5px; color: var(--paper); }
body.rf.page-research .rl-sb-related-cat { font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-research .rl-sb-related-item:hover .rl-sb-related-name { color: var(--mint); }

@media (max-width: 1100px) {
  body.rf.page-research .rl-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 960px) {
  body.rf.page-research .rl-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.rf.page-research .rl-sidebar { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body.rf.page-research .rl-article :is(p, li) { font-size: 16px; }
  body.rf.page-research .rl-meta-sep { display: none; }
  body.rf.page-research .rl-article :is(ul, ol) { font-size: 16px !important; }
}

/* Guides hub: the stage, a filter bar that stays in view, and cards that can be read */
@media (min-width: 961px) {
  body.rf .rf-stage-hub { min-height: calc(min(var(--rf-word, 15.6vw), 340px) * .86 + 256px); }
  body.rf .rf-stage-hub .rf-head { max-width: min(980px, 56vw); }
  body.rf .rf-stage-hub .rf-head .h-compliance { max-width: 66ch; }
}
.rf-stage-hub + .rf-stage-lede p { margin: 0; }
.rf-stage-lede .rf-hub-updated { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--mint); }
body.rf.page-research .rf-jump .gh-filters { position: relative; top: auto; z-index: auto; flex-wrap: nowrap; gap: 8px; margin: 0 auto; padding-block: 11px; padding-inline: var(--gutter); background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.rf.page-research .gh-pill { flex: none; padding: 8px 15px; background: none; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mute); cursor: pointer; transition: color .2s, border-color .2s; }
body.rf.page-research .gh-pill::before { display: none; }
body.rf.page-research .gh-pill:hover { color: var(--paper); border-color: var(--line-2); }
body.rf.page-research .gh-pill.active { background: var(--mint-soft); border-color: var(--mint); color: var(--mint); }
body.rf.page-research .rf-guides-sec { padding-block: clamp(36px, 4.4vw, 64px) clamp(44px, 5.2vw, 76px); }
body.rf.page-research .rl-section-label { margin: clamp(44px, 5vw, 76px) 0 clamp(16px, 1.8vw, 24px); font-family: var(--serif) !important; font-size: clamp(26px, 2.8vw, 42px) !important; font-weight: 800; line-height: 1.06; letter-spacing: -.03em !important; color: var(--paper); }
body.rf.page-research .rl-section-label:first-child, body.rf.page-research .rl-section-label:first-of-type { margin-top: 0; }
body.rf.page-research .rl-section-label::after { display: none; }
body.rf.page-research .rl-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; margin-top: 0; }
body.rf.page-research .rl-card { padding: 18px 18px 14px; gap: 8px; overflow: visible; }
body.rf.page-research .rl-card-cat { color: var(--mint) !important; }
body.rf.page-research .rl-card-title { font-family: var(--serif); font-size: 17.5px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--paper); }
body.rf.page-research .rl-card-excerpt { font-size: 14px; line-height: 1.5; color: var(--mute); -webkit-line-clamp: 3; line-clamp: 3; }
body.rf.page-research .rl-card-footer { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
body.rf.page-research .rl-card-date { font-weight: 400; color: var(--faint); }
body.rf.page-research .research-cta { padding-bottom: clamp(44px, 5.2vw, 76px); }
body.rf.page-research .cta-card { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: clamp(22px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf.page-research .cta-t { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 36px) !important; }
body.rf.page-research .cta-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--mute); }

/* Retatrutide Peptide UK's references and FAQ headings, as the other guides have them */
body.rf.page-research .rl-faq-q { font-family: var(--serif); }
body.rf.page-research .rl-data-note { margin-top: 4px; color: var(--faint); }
body.rf.page-research .rl-cb-name { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--paper); }
body.rf.page-research .rl-qa-label { font-family: var(--mono) !important; font-size: 12.5px !important; font-weight: 400 !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
body.rf.page-research .rl-pathway-title { font-family: var(--mono) !important; font-size: 12.5px !important; font-weight: 400 !important; }
body.rf.page-research .rl-supply-box .rl-h3 { margin-top: 0; }
body.rf .rf-stage-hub .rf-head .h-compliance { max-width: 66ch; }
@media (max-width: 760px) {
  body.rf.page-research .rl-compound-box dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  body.rf.page-research .rl-compound-box dd { margin-bottom: 8px; }
}
/* Newer guides put the TL;DR first in the page for answer engines. On screen, the title still comes first. */
body.rf.page-research .rl-article:has(> .rl-lead + .rl-header, > .rl-lead + .gpm + .rl-header, > .gpm + .rl-header) { display: flex; flex-direction: column; }
body.rf.page-research .rl-article:has(> .rl-lead + .rl-header, > .rl-lead + .gpm + .rl-header, > .gpm + .rl-header) > * { min-width: 0; }
body.rf.page-research .rl-article:has(> .rl-lead + .rl-header, > .rl-lead + .gpm + .rl-header, > .gpm + .rl-header) > .rl-header { order: -1; }
body.rf.page-research .rl-sb-related-item { gap: 10px; }
body.rf.page-research .rl-sb-related-item > :first-child { min-width: 0; overflow-wrap: anywhere; }
body.rf.page-research .rl-sb-related-arr { flex: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   Tools: the hub, reconstitution calculator, scheduler and compare tool.
   ═══════════════════════════════════════════════════════════════════════════ */
body.rf:is(.page-tools, .page-calculator) .rf-stage-lede strong { color: var(--paper); font-weight: 500; }
body.rf:is(.page-tools, .page-calculator) :is(input, select):focus-visible { outline: 0; }

/* One surface for every panel and one style for every field */
body.rf :is(.th-card, .th-ra, .ps-panel, .calc-form, .calc-results, .syr-card, .calc-notes, .cmp-tablewrap, .cmp-pop-grid a) { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: none; }
body.rf :is(.calc-inp, .sc-name, .sc-mini select, .sc-mini input, .cmp-slot select) { min-height: 48px; padding: 0 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15.5px; font-weight: 500; color: var(--paper); transition: border-color .2s; color-scheme: dark; }
body.rf :is(.calc-inp, .sc-name, .sc-mini select, .sc-mini input, .cmp-slot select):focus { border-color: var(--mint); }
body.rf :is(.calc-inp, .sc-name, .sc-mini input)::placeholder { color: var(--faint); }
body.rf :is(.calc-lbl, .sc-mini label, .cmp-slot label, .ps-panel .lbl, .calc-res-hdr) { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }

/* Hub */
body.rf .th-wrap { max-width: var(--wrap); padding: clamp(36px, 4.4vw, 64px) var(--gutter) clamp(44px, 5.2vw, 76px); }
body.rf .th-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: none; }
body.rf .th-card { padding: clamp(18px, 1.8vw, 24px); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
body.rf .th-card:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 18px 60px -22px rgba(1, 211, 160, .55); }
body.rf .th-card.feat { border-color: rgba(1, 211, 160, .45); }
body.rf .th-ic { width: 44px; height: 44px; margin-bottom: 16px; background: var(--mint-soft); border: 0; border-radius: 12px; }
body.rf .th-ic svg { width: 22px; height: 22px; stroke: var(--mint); }
body.rf .th-badge { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; background: none; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf .th-card h2 { margin: 0 0 10px; font-size: clamp(22px, 1.9vw, 27px) !important; line-height: 1.08 !important; }
body.rf .th-card .desc { font-size: 14.5px; line-height: 1.55; color: var(--mute); }
body.rf .th-feat li { font-size: 14px; color: #c9d0cc; }
body.rf .th-feat li::before { color: var(--mint); }
body.rf .th-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; background: var(--mint); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; color: #03150f; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); }
body.rf .th-card:not(.feat) .th-cta { background: none; border: 1px solid var(--line-2); color: var(--paper); box-shadow: none; }
body.rf .th-card:not(.feat):hover .th-cta { border-color: var(--mint); color: var(--mint); filter: none; }
body.rf .th-ra { gap: clamp(16px, 2vw, 24px); margin-top: 14px; padding: clamp(18px, 2vw, 26px); background: var(--mint-soft); border-color: rgba(1, 211, 160, .22); transition: border-color .25s; }
body.rf .th-ra:hover { transform: none; border-color: var(--mint); box-shadow: none; }
body.rf .th-ra-eyebrow { font-size: 12.5px; letter-spacing: 0; text-transform: none; }
body.rf .th-ra-body h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.025em; color: var(--paper); }
body.rf .th-ra-body p { font-size: 15px; color: #c9d0cc; }
body.rf .th-ra-chips span { background: none; border-color: var(--line-2); font-size: 11.5px; letter-spacing: 0; color: var(--paper); }
body.rf .th-ra-cta { display: flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--mint); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; color: #03150f; }
body.rf .th-pro { margin-top: 14px; padding: clamp(24px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf .th-pro h3 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.03em; text-transform: none; color: var(--paper); }
body.rf .th-pro p { font-size: 15.5px; color: var(--mute); }
body.rf .th-pro a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; background: var(--mint); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; color: #03150f; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); }
body.rf .th-legal { margin-top: 18px; font-size: 13.5px; color: var(--faint); }

/* Calculator */
body.rf.page-calculator .calc-sec { padding: clamp(36px, 4.4vw, 64px) 0 clamp(44px, 5.2vw, 76px); background: none; border: 0; }
body.rf.page-calculator .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; margin-top: 0; }
body.rf.page-calculator .calc-form { grid-row: span 2; align-self: stretch; gap: 20px; padding: clamp(18px, 2vw, 26px); }
body.rf.page-calculator .calc-inp { min-height: 54px; font-family: var(--mono); font-size: 17px; }
body.rf.page-calculator .calc-hint { font-family: var(--sans); font-size: 13px; line-height: 1.45; letter-spacing: 0; color: var(--faint); }
body.rf.page-calculator #syr-wrap { min-width: 0; }
body.rf.page-calculator .syr-card { margin-top: 0; padding: clamp(18px, 2vw, 26px); }
body.rf.page-calculator .syr-card-hdr { font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf.page-calculator .syr-readout { font-size: 16px; color: var(--paper); }
body.rf.page-calculator .syr-readout b { color: var(--mint); }
body.rf.page-calculator .calc-results { gap: 0; padding: clamp(18px, 2vw, 26px); }
body.rf.page-calculator .calc-res-hdr { margin-bottom: 10px; }
body.rf.page-calculator .calc-res { gap: 14px; padding: 13px 0; background: none; border-top: 1px solid var(--line); border-radius: 0; }
body.rf.page-calculator .calc-res-k { font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; color: var(--mute); }
body.rf.page-calculator .calc-res-v { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); font-weight: 800; letter-spacing: -.02em; text-align: right; color: var(--mint); }
body.rf.page-calculator .calc-notes { margin-top: 14px; padding: clamp(18px, 2vw, 26px); }
body.rf.page-calculator .sec-t-sm { margin: 0 0 12px; font-size: clamp(22px, 2.1vw, 30px) !important; line-height: 1.1 !important; }
body.rf.page-calculator .calc-notes ul { margin: 0; padding-left: 18px; }
body.rf.page-calculator .calc-notes li { margin-bottom: 8px; font-size: 15px; line-height: 1.55; color: #c9d0cc; }
body.rf.page-calculator .calc-convert { margin-top: 14px !important; padding: clamp(20px, 2.4vw, 32px) !important; background: var(--mint-soft) !important; border: 1px solid rgba(1, 211, 160, .22) !important; border-radius: 18px !important; }
body.rf.page-calculator .calc-convert p { font-size: 15.5px !important; color: #c9d0cc !important; }
body.rf.page-calculator .calc-convert .btn-p { min-height: 50px; padding: 14px 22px !important; border-radius: 14px !important; font-size: 15px; }
body.rf.page-calculator .calc-convert .btn-o { min-height: 50px; padding: 14px 22px !important; border-color: var(--line-2) !important; border-radius: 14px !important; font-size: 15px; color: var(--paper) !important; }

/* Scheduler */
body.rf .ps-wrap { max-width: var(--wrap); padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(44px, 5.2vw, 76px); }
body.rf .ps-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 14px; margin-top: 0; }
body.rf .ps-panel { padding: clamp(16px, 1.8vw, 22px); }
body.rf .ps-panel .lbl { margin-bottom: 12px; }
body.rf .sc-row { padding: 14px 14px 14px 18px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px; }
body.rf .sc-mini { gap: 10px; margin-top: 10px; }
body.rf .sc-mini label { margin-bottom: 5px; }
body.rf .sc-rm { background: var(--ink-2); border-color: var(--line-2); color: var(--mute); }
body.rf .ps-add { min-height: 50px; background: none; border: 1px dashed var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--paper); transition: border-color .2s, color .2s; }
body.rf .ps-add:hover { background: none; border-color: var(--mint); color: var(--mint); }
body.rf .ps-gen { min-height: 54px; background: var(--mint); border-radius: 14px; font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: #03150f; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); transition: background .2s; }
body.rf .ps-gen:hover { background: #3dfcc9; filter: none; }
body.rf .ps-empty { font-size: 15px; color: var(--faint); }
body.rf .ps-cal-hd .t { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.03em; text-transform: none; color: var(--paper); }
body.rf .ps-btn { min-height: 44px; padding: 0 14px; background: none; border-color: var(--line-2); border-radius: 12px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--paper); }
body.rf .ps-btn:hover { border-color: var(--mint); color: var(--mint); }
body.rf .ps-btn.primary { display: inline-flex; align-items: center; justify-content: center; background: var(--mint); border-color: var(--mint); color: #03150f; }
body.rf .ps-btn.primary:hover { background: #3dfcc9; border-color: #3dfcc9; color: #03150f; }
body.rf .ps-leg { font-size: 14px; color: var(--paper); }
body.rf .ps-leg .ct { font-size: 12.5px; color: var(--mute); }
body.rf .ps-month .mn { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf .ps-dow { font-size: 11px; color: var(--faint); }
body.rf .ps-day { background: rgba(255, 255, 255, .02); border-color: var(--line); border-radius: 8px; font-size: 12.5px; color: var(--faint); }
body.rf .ps-day.blank { background: none; border: 0; }
body.rf .ps-day.has { background: var(--mint-soft); border-color: rgba(1, 211, 160, .45); box-shadow: none; color: var(--paper); }
/* The restock offer is hidden until the server has one to show: display:flex was beating [hidden] */
body.rf .ps-restock[hidden] { display: none; }
body.rf .ps-restock { margin: 0 0 14px; background: var(--mint-soft); border-color: rgba(1, 211, 160, .3); border-radius: 18px; }
body.rf .ps-gate-box { background: var(--ink-2); border-color: var(--line-2); }
body.rf .ps-gate-box h3 { font-family: var(--serif); font-weight: 800; letter-spacing: -.03em; text-transform: none; color: var(--paper); }
@media print {
  body.rf :is(.rf-stage-wrap, .rf-jump, .rf-mint, .ps-restock) { display: none !important; }
  body.rf .ps-panel.ps-out { display: block !important; }
}

/* Compare */
body.rf .cmp-wrap { max-width: var(--wrap); padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(44px, 5.2vw, 76px); }
body.rf .cmp-pick { gap: 12px; margin-top: 0; }
body.rf .cmp-slot select { padding-right: 8px; }
body.rf .cmp-tablewrap { margin-top: 18px; }
body.rf .cmp-table th, body.rf .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #c9d0cc; }
body.rf .cmp-table tr:last-child :is(th, td) { border-bottom: 0; }
body.rf .cmp-table thead th { background: var(--ink-2); }
body.rf .cmp-table tbody th { background: none; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--mute); }
body.rf .cmp-cname { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 25px); font-weight: 800; letter-spacing: -.025em; text-transform: none; color: var(--paper); }
body.rf .cmp-caka { font-size: 13px; color: var(--mute); }
body.rf .cmp-cat { font-size: 13.5px; color: var(--paper); }
body.rf .cmp-price { font-family: var(--serif); letter-spacing: -.02em; color: var(--paper); }
body.rf .cmp-buy { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--mint); border-radius: 12px; font-family: var(--sans); font-size: 14px; font-weight: 700; color: #03150f; text-decoration: none; }
body.rf .cmp-buy.na { background: none; border-color: var(--line-2); color: var(--mute); }
body.rf .cmp-scroll-hint { font-size: 13px; color: var(--faint); }
body.rf .cmp-pop { margin-top: clamp(36px, 4.4vw, 64px); }
body.rf .cmp-pop h2 { margin: 0 0 8px; font-size: clamp(26px, 2.8vw, 42px) !important; line-height: 1.06 !important; }
body.rf .cmp-pop p.lede { font-size: 15.5px; color: var(--mute); }
body.rf .cmp-pop-grid { gap: 12px; }
body.rf .cmp-pop-grid a { padding: 16px 18px; font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--paper); transition: border-color .2s; }
body.rf .cmp-pop-grid a:hover { border-color: var(--mint); }
body.rf .cmp-pop-grid a span { margin-top: 6px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: var(--mute); }
body.rf .cmp-note { max-width: 90ch; font-size: 13.5px; color: var(--faint); }

@media (max-width: 1100px) {
  body.rf .th-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rf.page-calculator .calc-grid { grid-template-columns: minmax(0, 1fr); }
  body.rf.page-calculator .calc-form { grid-row: auto; }
}
@media (max-width: 900px) {
  body.rf .ps-grid { grid-template-columns: minmax(0, 1fr); }
  body.rf .th-ra { flex-wrap: wrap; }
  body.rf .th-ra-body { flex: 1 1 calc(100% - 90px); }
  body.rf .th-ra-cta { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 760px) {
  body.rf .th-wrap, body.rf .ps-wrap, body.rf .cmp-wrap { padding-bottom: 150px; }
  body.rf:has(.rf-mint) :is(.th-wrap, .ps-wrap, .cmp-wrap) { padding-bottom: 44px; }
}
@media (max-width: 560px) {
  body.rf .th-grid { grid-template-columns: minmax(0, 1fr); max-width: none; }
  body.rf.page-calculator .calc-res { flex-wrap: wrap; }
}
/* On a phone the date needs a full row, or its last digit sits under the calendar icon */
@media (max-width: 430px) {
  body.rf .sc-mini { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Design Lab — the landing page
   ========================================================================== */
/* Inline styles in the markup still reach for these, so they point at the new palette. */
body.rf:is(.page-design-lab, .page-dl-app, .page-dl-run, .page-dl-order) {
  --dl-g: #01d3a0; --dl-g2: #3dfcc9; --dl-bg: #07090a; --dl-bg2: #0d1012; --dl-bg3: #14181a;
  --dl-brd: rgba(236, 240, 235, .11); --dl-mut: #a7aeaa; --dl-dim: #848d88;
  --dl-vio: #9aa6ff; --dl-amber: #f0b03b; --dl-red: #f0637e;
}
body.rf.page-design-lab .dl-sec { padding-block: clamp(64px, 8vw, 118px); border-top: 1px solid var(--line); }
body.rf.page-design-lab .dl-sec.alt { background: var(--ink-2); }
body.rf.page-design-lab .dl-wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); max-width: none; margin-inline: auto; padding: 0; }
body.rf.page-design-lab .dl-h2 { font-family: var(--serif) !important; font-weight: 800 !important; font-size: clamp(32px, 4.2vw, 58px) !important; line-height: 1.02 !important; letter-spacing: -.035em !important; text-transform: none !important; color: var(--paper); margin: 0 0 16px; }
body.rf.page-design-lab .dl-secsub { max-width: 62ch; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--mute); }
body.rf.page-design-lab .dl-eyebrow { margin-bottom: 18px; }

/* The live terminal, straight under the hero */
body.rf.page-design-lab .dl-demo-sec { padding: clamp(28px, 4vw, 54px) 0 clamp(44px, 6vw, 80px); }
body.rf.page-design-lab .dl-demo { max-width: 760px; margin: 0 auto; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 50px 120px -60px #000; overflow: hidden; }
body.rf.page-design-lab .dl-demo-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: rgba(255, 255, 255, .02); border-bottom: 1px solid var(--line); }
body.rf.page-design-lab .dl-demo-bar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
body.rf.page-design-lab .dl-demo-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-design-lab .dl-demo-body { padding: 22px; min-height: 236px; font-family: var(--mono); }
body.rf.page-design-lab .dl-demo-prompt { font-size: 14px; line-height: 1.6; color: #c9d0cc; min-height: 22px; }
body.rf.page-design-lab .dl-demo-prompt .pfx { color: var(--mint); }
body.rf.page-design-lab .dl-caret { display: inline-block; width: 8px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--mint); animation: dlBlink 1s step-end infinite; }
@keyframes dlBlink { 50% { opacity: 0; } }
body.rf.page-design-lab .dl-demo-status { margin: 16px 0 6px; height: 14px; font-size: 12px; color: var(--mint); opacity: 0; transition: opacity .3s; }
body.rf.page-design-lab .dl-demo-status.on { opacity: 1; }
body.rf.page-design-lab .dl-demo-status .dot { animation: dlDots 1.4s infinite; }
body.rf.page-design-lab .dl-demo-status .dot:nth-child(2) { animation-delay: .2s; }
body.rf.page-design-lab .dl-demo-status .dot:nth-child(3) { animation-delay: .4s; }
@keyframes dlDots { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
body.rf.page-design-lab .dl-cand { display: flex; align-items: center; gap: 12px; margin-top: 9px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
body.rf.page-design-lab .dl-cand.show { opacity: 1; transform: none; }
body.rf.page-design-lab .dl-cand-nm { flex: none; width: 58px; font-size: 10px; color: var(--faint); }
body.rf.page-design-lab .dl-cand-seq { flex: 1; overflow: hidden; font-size: 14px; letter-spacing: 2px; white-space: nowrap; }
body.rf.page-design-lab .dl-cand-seq b { display: inline-block; font-weight: 500; opacity: 0; animation: dlPop .26s ease forwards; }
@keyframes dlPop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
body.rf.page-design-lab .dl-cand-sc { flex: none; min-width: 30px; font-family: var(--serif); font-weight: 800; font-size: 21px; letter-spacing: -.03em; text-align: right; color: var(--mint); }

/* Four numbers under the hero */
body.rf.page-design-lab .dl-stats { padding: 0; border: 0; }
body.rf.page-design-lab .dl-stats-g { width: min(100% - var(--gutter) * 2, var(--wrap)); max-width: none; margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
body.rf.page-design-lab .dl-stat { padding: 30px 26px; text-align: left; border-left: 1px solid var(--line); }
body.rf.page-design-lab .dl-stat:first-child { border-left: 0; padding-left: 0; }
body.rf.page-design-lab .dl-stat-n { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -.035em; color: var(--mint); }
body.rf.page-design-lab .dl-stat-l { margin-top: 8px; font-family: var(--sans); font-size: 13.5px; line-height: 1.4; letter-spacing: 0; color: var(--faint); }

/* Three steps */
body.rf.page-design-lab .dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
body.rf.page-design-lab .dl-step { padding: 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, transform .25s; }
body.rf.page-design-lab .dl-sec.alt .dl-step { background: var(--ink-3); }
body.rf.page-design-lab .dl-step:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: none; }
body.rf.page-design-lab .dl-step-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--mint); margin-bottom: 16px; }
body.rf.page-design-lab .dl-step-ic { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; font-size: 21px; background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .2); border-radius: 14px; }
body.rf.page-design-lab .dl-step:hover .dl-step-ic { transform: none; }
body.rf.page-design-lab .dl-step h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-design-lab .dl-step p { margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.68; color: #c9d0cc; }
body.rf.page-design-lab .dl-step p strong { color: var(--paper) !important; font-weight: 500; }

/* The sample result window */
body.rf.page-design-lab .dl-win { max-width: 720px; margin: 46px auto 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 50px 110px -60px #000; overflow: hidden; }
body.rf.page-design-lab .dl-win::after { display: none; }
body.rf.page-design-lab .dl-win-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: rgba(255, 255, 255, .02); border-bottom: 1px solid var(--line); }
body.rf.page-design-lab .dl-win-bar .dl-mono { font-family: var(--mono); color: var(--faint) !important; }
body.rf.page-design-lab .dl-win-c { padding: 26px; }
body.rf.page-design-lab .dl-meta { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 8px; }
body.rf.page-design-lab .dl-name { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--paper); margin-bottom: 14px; }
body.rf.page-design-lab .dl-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
body.rf.page-design-lab .dl-bdg { padding: 5px 11px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; }
body.rf.page-design-lab .dl-bdg-g { background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .28); color: var(--mint); }
body.rf.page-design-lab .dl-bdg-m { background: transparent; border: 1px solid var(--line); color: var(--mute); }
body.rf.page-design-lab .dl-seq { padding: 15px 17px; margin-bottom: 18px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: 18px; letter-spacing: 4px; }
body.rf.page-design-lab .dl-bars { display: grid; gap: 11px; }
body.rf.page-design-lab .dl-bar { display: flex; align-items: center; gap: 12px; }
body.rf.page-design-lab .dl-bar-l { flex: none; width: 136px; font-family: var(--sans); font-size: 13px; color: var(--mute); }
body.rf.page-design-lab .dl-bar-t { flex: 1; height: 3px; background: rgba(236, 240, 235, .12); border-radius: 2px; }
body.rf.page-design-lab .dl-bar-v { flex: none; width: 30px; text-align: right; font-family: var(--mono); font-size: 12px; }
body.rf.page-design-lab .dl-hyp { margin-top: 18px; padding: 14px 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-left: 2px solid var(--mint); border-radius: 0 12px 12px 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.65; color: #c9d0cc; }
body.rf.page-design-lab .dl-hyp span { font-family: var(--mono); font-size: 11px; color: var(--mint); }

/* Real designs */
body.rf.page-design-lab .dl-real { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.rf.page-design-lab .dl-real > a { background: var(--ink-2) !important; border: 1px solid var(--line) !important; border-radius: 18px !important; padding: 24px !important; transition: border-color .25s, transform .25s; }
body.rf.page-design-lab .dl-sec.alt .dl-real > a { background: var(--ink-3) !important; }
body.rf.page-design-lab .dl-real > a:hover { transform: translateY(-3px); border-color: var(--line-2) !important; }
body.rf.page-design-lab .dl-real > a > div:first-child { font-family: var(--mono) !important; font-size: 12px !important; letter-spacing: 0 !important; color: var(--faint) !important; }
body.rf.page-design-lab .dl-real > a > div:nth-child(2) { font-family: var(--serif) !important; font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.02em; color: var(--paper) !important; }
body.rf.page-design-lab .dl-real > a > div:nth-child(3) { font-family: var(--sans) !important; font-size: 14px !important; line-height: 1.6 !important; color: var(--mute) !important; }
body.rf.page-design-lab .dl-real > a span { font-family: var(--mono) !important; font-size: 12px !important; border-radius: 999px !important; padding: 5px 11px !important; }
body.rf.page-design-lab .dl-real > a[href="/design-lab/app/"] { background: var(--mint-soft) !important; border: 1px dashed rgba(1, 211, 160, .4) !important; }
body.rf.page-design-lab .dl-real > a[href="/design-lab/app/"] > div:first-child { font-family: var(--serif) !important; font-size: 19px !important; font-weight: 700 !important; color: var(--mint) !important; letter-spacing: -.02em; }
body.rf.page-design-lab .dl-real > a[href="/design-lab/app/"] > div:last-child { font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--mute) !important; }

/* What's different */
body.rf.page-design-lab .dl-diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
body.rf.page-design-lab .dl-dcard { padding: 28px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, transform .25s; }
body.rf.page-design-lab .dl-dcard.hl { background: var(--mint-soft); border-color: rgba(1, 211, 160, .28); }
body.rf.page-design-lab .dl-dcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: none; }
body.rf.page-design-lab .dl-dcard.hl:hover { border-color: rgba(1, 211, 160, .5); }
body.rf.page-design-lab .dl-dic { font-size: 24px; margin-bottom: 14px; }
body.rf.page-design-lab .dl-dcard h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-design-lab .dl-dcard p { margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.68; color: #c9d0cc; }

/* Buttons */
body.rf.page-design-lab .dl-btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; animation: none; }
body.rf.page-design-lab .dl-btn-p { background: var(--mint); color: #03150f; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); }
body.rf.page-design-lab .dl-btn-p:hover { transform: translateY(-2px); background: #3dfcc9; color: #03150f; }
body.rf.page-design-lab .dl-btn-s { background: transparent; border: 1px solid var(--line-2); color: var(--paper); }
body.rf.page-design-lab .dl-btn-s:hover { border-color: var(--paper); color: var(--paper); }
body.rf.page-design-lab .dl-note { font-family: var(--sans); font-size: 13.5px; color: var(--faint); }
body.rf.page-design-lab .dl-note a { color: var(--mute) !important; }

/* Free and Pro */
body.rf.page-design-lab .dl-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 18px; margin-top: 46px; }
body.rf.page-design-lab .dl-tier { padding: 30px 22px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; text-align: center; transition: border-color .25s, transform .25s; animation: none; }
body.rf.page-design-lab .dl-tier.pop { border-color: var(--mint); box-shadow: 0 24px 70px -40px rgba(1, 211, 160, .6); }
body.rf.page-design-lab .dl-tier:hover { transform: translateY(-3px); }
body.rf.page-design-lab .dl-tier-name { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--paper); }
body.rf.page-design-lab .dl-tier-runs { margin: 14px 0 4px; font-family: var(--serif); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.04em; color: var(--mint); }
body.rf.page-design-lab .dl-tier-per { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
body.rf.page-design-lab .dl-tier-plan { margin-top: 14px; font-family: var(--sans); font-size: 13.5px; color: var(--mute); }
body.rf.page-design-lab .dl-tier-plan b { color: var(--paper); font-weight: 500; }

/* Closing box */
body.rf.page-design-lab .dl-final .dl-box { max-width: 680px; margin: 0 auto; padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px); background: var(--ink-3); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; position: relative; }
body.rf.page-design-lab .dl-final .dl-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0, rgba(1, 211, 160, .1), transparent 62%); pointer-events: none; }
body.rf.page-design-lab .dl-final .dl-box > * { position: relative; }

/* Scroll reveal, kept from the old page */
.dl-anim :is(.dl-step, .dl-dcard, .dl-tier, .dl-real > a, .dl-final .dl-box, .dl-stats, .dl-sec .dl-eyebrow, .dl-sec .dl-h2, .dl-sec .dl-secsub) { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .9, .25, 1), transform .7s cubic-bezier(.2, .9, .25, 1); }
.dl-anim .dl-revealed { opacity: 1 !important; transform: none !important; }
.dl-js .dl-win .dl-bar-f { width: 0 !important; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.dl-js .dl-win.reveal .dl-bar-f { width: var(--w) !important; }
.dl-js .dl-win { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .25, 1); }
.dl-js .dl-win.reveal { opacity: 1; transform: none; }
.dl-js .dl-win .dl-seq span { display: inline-block; opacity: 0; transform: translateY(-7px); }
.dl-js .dl-win.reveal .dl-seq span { animation: dlFade2 .36s ease forwards; }
@keyframes dlFade2 { to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  body.rf.page-design-lab .dl-real { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body.rf.page-design-lab .dl-steps, body.rf.page-design-lab .dl-diff { grid-template-columns: minmax(0, 1fr); }
  body.rf.page-design-lab .dl-stats-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rf.page-design-lab .dl-stat { padding: 22px 0 22px 22px; }
  body.rf.page-design-lab .dl-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  body.rf.page-design-lab .dl-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body.rf.page-design-lab .dl-real, body.rf.page-design-lab .dl-tiers { grid-template-columns: minmax(0, 1fr); }
  body.rf.page-design-lab .dl-bar-l { width: 112px; font-size: 12.5px; }
  body.rf.page-design-lab .dl-seq { font-size: 15px; letter-spacing: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-caret, .dl-demo-status .dot, .dl-cand-seq b { animation: none; }
  .dl-cand { opacity: 1; transform: none; }
  .dl-anim :is(.dl-step, .dl-dcard, .dl-tier, .dl-real > a, .dl-final .dl-box, .dl-stats, .dl-sec .dl-eyebrow, .dl-sec .dl-h2, .dl-sec .dl-secsub) { opacity: 1; transform: none; transition: none; }
  .dl-js .dl-win { opacity: 1; transform: none; transition: none; }
  .dl-js .dl-win .dl-bar-f { width: var(--w) !important; transition: none; }
  .dl-js .dl-win .dl-seq span { opacity: 1; transform: none; animation: none; }
}

/* The Design Lab stage carries a glass bar, so the words sit higher than on the other word-only stages */
.rf-link-s { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--paper); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.rf-link-s:hover { color: var(--mint); border-color: var(--mint); }
@media (min-width: 961px) {
  body.rf :is(.rf-stage-dl, .rf-stage-bar) { min-height: calc(min(var(--rf-word, 15.6vw), 340px) * .9 + 470px); }
  body.rf :is(.rf-stage-dl, .rf-stage-bar) .rf-head { bottom: 150px; max-width: min(760px, 54vw); }
  /* The tool's word is the tallest on the site, so its intro needs the extra room */
  body.rf.page-dl-app .rf-stage-info { min-height: calc(min(var(--rf-word, 15.6vw), 340px) * .9 + 230px); }
}
@media (min-width: 1181px) {
  :is(.rf-stage-dl, .rf-stage-bar) + .rf-stage-lede { bottom: 150px; width: min(420px, 33vw); }
}
@media (max-width: 960px) {
  :is(.rf-stage-dl, .rf-stage-bar) .rf-offer { flex-wrap: wrap; gap: 12px; }
  :is(.rf-stage-dl, .rf-stage-bar) .rf-link-s { order: 2; }
}

/* ==========================================================================
   Design Lab — the tool itself, the shared-design view and the synthesis form
   ========================================================================== */
body.rf.page-dl .wrap { width: min(100% - var(--gutter) * 2, 880px); max-width: none; margin: 0 auto; padding: clamp(30px, 4vw, 46px) 0 clamp(64px, 8vw, 110px); }
body.rf.page-dl-order .wrap { width: min(100% - var(--gutter) * 2, 780px); }
body.rf.page-dl .lede { max-width: 66ch; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--mute); margin: 0 0 26px; }
body.rf.page-dl .spin { padding: 44px 20px; text-align: center; font-family: var(--mono); font-size: 13.5px; color: var(--faint); }
body.rf.page-dl .foot { padding: 28px var(--gutter); border-top: 1px solid var(--line); text-align: center; font-family: var(--sans); font-size: 13px; line-height: 1.8; color: var(--faint); }
body.rf.page-dl .foot a { color: var(--mute); }
body.rf.page-dl .tag { display: inline-block; margin: 4px 5px 0 0; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
body.rf.page-dl .tag.g { color: var(--mint); border-color: rgba(1, 211, 160, .3); background: var(--mint-soft); }

/* Panels, inputs and buttons shared across the three pages */
body.rf.page-dl :is(.input-wrap, .brief-card, .cand, #libPanel, .prog, .refine-panel, .refined-card, .save-bar, .upsell, .form-card, .seq-preview, .cta-banner, .mol, .blk, .pc) { border-radius: 18px; }
body.rf.page-dl :is(textarea, input[type=text], input[type=email], input[type=number], select) {
  width: 100%; background: rgba(255, 255, 255, .03) !important; border: 1px solid var(--line) !important; border-radius: 12px !important;
  color: var(--paper); font-family: var(--sans) !important; font-size: 15.5px !important; padding: 12px 14px; color-scheme: dark; transition: border-color .2s;
}
body.rf.page-dl :is(textarea, input, select):focus { border-color: var(--mint) !important; outline: 0; box-shadow: 0 0 0 3px var(--mint-soft); }
body.rf.page-dl textarea { min-height: 104px; line-height: 1.55; resize: vertical; }
body.rf.page-dl :is(.btn-g, .back-link, .submit-btn, .run, .cb-btn, .up-cta, .back-btn.primary) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 0; border-radius: 14px;
  background: var(--mint); color: #03150f !important; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; text-decoration: none;
  cursor: pointer; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); transition: transform .2s, background .2s;
}
body.rf.page-dl :is(.btn-g, .back-link, .submit-btn, .run, .cb-btn, .up-cta, .back-btn.primary):hover:not(:disabled) { transform: translateY(-2px); background: #3dfcc9; }
body.rf.page-dl :is(.submit-btn, .run) { width: 100%; margin-top: 16px; }
body.rf.page-dl :is(.submit-btn, .run)::after { display: none; }
body.rf.page-dl :is(.submit-btn, .run):disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
body.rf.page-dl .msg { margin-top: 12px; min-height: 16px; font-family: var(--sans); font-size: 13.5px; color: #f0637e; }

/* Signed-out panels */
body.rf.page-dl .gate { padding: 56px 20px; text-align: center; }
body.rf.page-dl .gate .gbig { margin: 0 0 10px; font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; text-transform: none; color: var(--paper); }
body.rf.page-dl .gate .gbig span { color: var(--mint); }
body.rf.page-dl .gate :is(.gsub, p) { margin: 0 0 26px; font-family: var(--sans); font-size: 15px; color: var(--mute); }

/* Quota pills */
body.rf.page-dl .quotaRow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
body.rf.page-dl .quota { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(1, 211, 160, .3); border-radius: 999px; background: var(--mint-soft); font-family: var(--mono); font-size: 12.5px; color: var(--mint); }
body.rf.page-dl .quota.refine { color: #9aa6ff; border-color: rgba(154, 166, 255, .32); background: rgba(154, 166, 255, .08); }
body.rf.page-dl .quota.warn { color: var(--amber, #f0b03b); border-color: rgba(240, 176, 59, .32); background: rgba(240, 176, 59, .08); }
body.rf.page-dl .quota.empty { color: #f0637e; border-color: rgba(240, 99, 126, .32); background: rgba(240, 99, 126, .08); }

/* Starting templates */
body.rf.page-dl .tmpl-label { margin-bottom: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-dl .tmpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
body.rf.page-dl .tmpl { padding: 14px 16px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; text-align: left; cursor: pointer; font-family: inherit; transition: border-color .2s, transform .2s, background .2s; }
body.rf.page-dl .tmpl:hover { transform: translateY(-2px); border-color: rgba(1, 211, 160, .45); background: var(--mint-soft); }
body.rf.page-dl .tmpl .ti { display: block; margin-bottom: 7px; font-size: 19px; }
body.rf.page-dl .tmpl .tn { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--paper); }
body.rf.page-dl .tmpl .ts { display: block; font-family: var(--sans) !important; font-size: 12.5px !important; line-height: 1.45; color: var(--faint); }

/* The prompt box */
body.rf.page-dl .input-wrap { padding: 20px; background: var(--ink-2); border: 1px solid var(--line); }
body.rf.page-dl .char-row { display: flex; justify-content: flex-end; margin-top: 6px; }
body.rf.page-dl .char-cnt { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-dl .char-cnt.near { color: #f0b03b; }

/* The three steps while it runs */
body.rf.page-dl .prog { position: relative; margin-top: 26px; padding: 28px 24px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
body.rf.page-dl .prog::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(1, 211, 160, .1), transparent 60%); pointer-events: none; }
body.rf.page-dl .prog-rows { position: relative; display: grid; gap: 15px; }
body.rf.page-dl .prog-row { display: flex; align-items: center; gap: 14px; opacity: .4; transition: opacity .4s; }
body.rf.page-dl :is(.prog-row.on, .prog-row.done) { opacity: 1; }
body.rf.page-dl .prog-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 14px; color: var(--mute); transition: .35s; }
body.rf.page-dl .prog-row.on .prog-ic { border-color: var(--mint); color: var(--mint); }
body.rf.page-dl .prog-row.done .prog-ic { border-color: var(--mint); background: var(--mint); color: #03150f; }
body.rf.page-dl .prog-tx { font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--paper); }
body.rf.page-dl .prog-bar { position: relative; height: 3px; margin-top: 22px; background: rgba(236, 240, 235, .12); border-radius: 3px; overflow: hidden; }
body.rf.page-dl .prog-bar i { position: absolute; inset: 0; width: 0; background: var(--mint); border-radius: 3px; transition: width .5s ease; }

/* Results heading */
body.rf.page-dl .res-hd { margin-top: 34px; text-align: center; }
body.rf.page-dl .res-hd .spark { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--mint); }
body.rf.page-dl .res-hd .big { margin: 10px 0 6px; font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.035em; text-transform: none; color: var(--paper); }
body.rf.page-dl .res-hd .big b { color: var(--mint); }
body.rf.page-dl .res-hd .sub { font-family: var(--sans); font-size: 14.5px; color: var(--mute); }
body.rf.page-dl .res-hd .res-disc { margin-top: 10px; font-family: var(--sans); font-size: 12.5px; line-height: 1.55; color: var(--faint) !important; }
body.rf.page-dl #dlTools button { min-height: 46px; padding: 0 18px !important; background: transparent !important; border: 1px solid var(--line-2) !important; border-radius: 14px !important; font: 600 14.5px var(--sans) !important; color: var(--paper) !important; cursor: pointer; transition: border-color .2s; }
body.rf.page-dl #dlTools button:hover { border-color: var(--paper) !important; }

/* What the AI understood */
body.rf.page-dl .brief-card { margin-top: 22px; padding: 20px 22px; background: var(--ink-2); border: 1px solid var(--line); }
body.rf.page-dl .brief-card .bc-lbl { margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-dl .brief-card p { margin: 0 0 10px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #c9d0cc; }

/* One candidate */
body.rf.page-dl .cand { margin-top: 18px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
body.rf.page-dl .cand:not(.open):hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: none; }
body.rf.page-dl .cand.top { border-color: rgba(1, 211, 160, .45); background: linear-gradient(180deg, rgba(1, 211, 160, .05), var(--ink-2) 60%); box-shadow: none; }
body.rf.page-dl .crown { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 4px 11px; background: var(--mint); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: #03150f; }
body.rf.page-dl .cand-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
body.rf.page-dl .cand-id { font-family: var(--mono); font-size: 12px; color: var(--faint); }
body.rf.page-dl .cand-name { margin: 4px 0 10px; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--paper); }
body.rf.page-dl .cand-comp { font-family: var(--serif); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.04em; }
body.rf.page-dl .cand-top > div:last-child > div:last-child { font-family: var(--mono) !important; font-size: 11px !important; letter-spacing: 0; color: var(--faint) !important; }
body.rf.page-dl :is(.nov, .badge-amphi) { display: inline-block; padding: 4px 11px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; }
body.rf.page-dl .nov.novel { background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .28); color: var(--mint); }
body.rf.page-dl .nov.partial { background: rgba(240, 176, 59, .08); border: 1px solid rgba(240, 176, 59, .28); color: #f0b03b; }
body.rf.page-dl .nov.known { background: rgba(240, 99, 126, .08); border: 1px solid rgba(240, 99, 126, .28); color: #f0637e; }
body.rf.page-dl .badge-amphi { margin-left: 6px; background: rgba(154, 166, 255, .08); border: 1px solid rgba(154, 166, 255, .28); color: #9aa6ff; }
body.rf.page-dl .seq-cap { margin: 14px 0 6px; font-family: var(--sans); font-size: 13px; color: var(--faint); }
body.rf.page-dl .seq { margin: 10px 0; padding: 14px 16px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: 17px; letter-spacing: 4px; overflow-x: auto; }
body.rf.page-dl .summary { margin: 12px 0 2px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #c9d0cc; }

/* Open the full story */
body.rf.page-dl .cand-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 16px; padding: 0 16px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--paper); cursor: pointer; transition: border-color .2s, color .2s; }
body.rf.page-dl .cand-toggle:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-dl .cand-toggle .chev { font-size: 11px; transition: transform .35s; }
body.rf.page-dl .cand.open .cand-toggle .chev { transform: rotate(180deg); }
body.rf.page-dl .cand-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin-top .3s ease; }
body.rf.page-dl .cand.open .cand-more { max-height: 3600px; opacity: 1; margin-top: 16px; }

/* Blocks inside a candidate */
body.rf.page-dl .blk { margin-top: 12px; padding: 16px 18px; background: var(--ink-3); border: 1px solid var(--line); font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: #c9d0cc; }
body.rf.page-dl .blk h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-family: var(--sans) !important; font-size: 13.5px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
body.rf.page-dl .blk.match { background: var(--mint-soft); border-color: rgba(1, 211, 160, .22); }
body.rf.page-dl .blk.match h4 { color: var(--mint); }
body.rf.page-dl .blk.brain h4 { color: #9aa6ff; }
body.rf.page-dl .prosCons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
body.rf.page-dl .pc { padding: 16px 18px; border: 1px solid var(--line); }
body.rf.page-dl .pc.pro { background: var(--mint-soft); border-color: rgba(1, 211, 160, .22); }
body.rf.page-dl .pc.con { background: rgba(240, 176, 59, .05); border-color: rgba(240, 176, 59, .22); }
body.rf.page-dl .pc h4 { margin: 0 0 10px; font-family: var(--mono) !important; font-size: 11.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.rf.page-dl .pc.pro h4 { color: var(--mint); }
body.rf.page-dl .pc.con h4 { color: #f0b03b; }
body.rf.page-dl .pc li { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: #c9d0cc; }

/* Score bars */
body.rf.page-dl .bars-cap { margin: 18px 0 8px; font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--faint); }
body.rf.page-dl .bars { display: grid; gap: 9px; }
body.rf.page-dl .bar { display: flex; align-items: center; gap: 12px; }
body.rf.page-dl .bar-l { flex: none; width: 148px; font-family: var(--sans); font-size: 13px; color: var(--mute); }
body.rf.page-dl .bar-t { flex: 1; height: 3px; background: rgba(236, 240, 235, .12); border-radius: 2px; }
body.rf.page-dl .bar-v { flex: none; width: 28px; text-align: right; font-family: var(--mono); font-size: 12px; }

/* Molecular deep-dive */
body.rf.page-dl .mol { margin-top: 12px; padding: 18px; background: var(--ink); border: 1px solid var(--line); }
body.rf.page-dl .mol-hd { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-dl .mol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.rf.page-dl .mol-cell { padding: 13px 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; }
body.rf.page-dl .mc-l { margin-bottom: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-dl .mc-v { font-family: var(--serif); font-size: 21px; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--paper); }
body.rf.page-dl .mc-note { margin-top: 4px; font-family: var(--sans); font-size: 11.5px; line-height: 1.35; color: var(--faint); }
body.rf.page-dl .mc-g .mc-v { color: var(--mint); }
body.rf.page-dl .mc-vio .mc-v { color: #9aa6ff; }
body.rf.page-dl .mc-amber .mc-v { color: #f0b03b; }
body.rf.page-dl .mc-red .mc-v { color: #f0637e; }

/* Helical wheel */
body.rf.page-dl .wheel-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; margin-top: 14px; }
body.rf.page-dl .wheel-key { flex: 1; min-width: 150px; }
body.rf.page-dl .wk-item { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; font-family: var(--sans); font-size: 12.5px; color: var(--mute); }
body.rf.page-dl .wk-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }

/* What a lab might see */
body.rf.page-dl .hyp { margin-top: 12px; padding: 13px 15px; background: rgba(154, 166, 255, .07); border: 1px solid rgba(154, 166, 255, .2); border-radius: 12px; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: #b9c2ea; }
body.rf.page-dl .hyp b { font-family: var(--mono) !important; font-size: 11px !important; letter-spacing: 0 !important; opacity: .8; }
body.rf.page-dl .meta-line { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--faint); }

/* Candidate actions */
body.rf.page-dl .cand-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
body.rf.page-dl :is(.ca-btn, .order-btn, .rc-order, .back-btn, .share-btn, .sa, .la-btn, .qchip, .refine-run, .save-btn, .up-cta2, .specbtn) { font-family: var(--sans); letter-spacing: 0; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
body.rf.page-dl .ca-btn { flex: 1; min-width: 150px; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 16px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-size: 14.5px; font-weight: 600; color: var(--paper); }
body.rf.page-dl .ca-btn:hover { border-color: var(--paper); }
body.rf.page-dl .ca-btn.order { border-color: rgba(154, 166, 255, .4); color: #9aa6ff; }
body.rf.page-dl .ca-btn.order:hover { border-color: #9aa6ff; background: rgba(154, 166, 255, .08); }
body.rf.page-dl .ca-btn.refine-open { border-color: rgba(240, 176, 59, .4); color: #f0b03b; }
body.rf.page-dl .ca-btn.refine-open:hover { border-color: #f0b03b; background: rgba(240, 176, 59, .08); }

/* Refining a candidate */
body.rf.page-dl .refine-panel { display: none; margin-top: 14px; padding: 20px; background: var(--ink-3); border: 1px solid rgba(240, 176, 59, .26); }
body.rf.page-dl .refine-panel.open { display: block; }
body.rf.page-dl .rp-hd { margin-bottom: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: #f0b03b; }
body.rf.page-dl .rp-quota { margin-bottom: 13px; font-family: var(--sans); font-size: 13px; color: var(--mute); }
body.rf.page-dl .rp-quota a { color: var(--mint); }
body.rf.page-dl .quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
body.rf.page-dl .qchip { padding: 8px 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--mute); }
body.rf.page-dl .qchip:hover { border-color: #f0b03b; color: #f0b03b; }
body.rf.page-dl .refine-panel textarea { min-height: 76px; }
body.rf.page-dl .refine-run { width: 100%; min-height: 50px; margin-top: 12px; background: rgba(240, 176, 59, .1); border: 1px solid #f0b03b; border-radius: 14px; font-size: 15px; font-weight: 700; color: #f0b03b; }
body.rf.page-dl .refine-run:hover:not(:disabled) { background: rgba(240, 176, 59, .2); }
body.rf.page-dl .refine-run:disabled { opacity: .5; cursor: default; }
body.rf.page-dl .refined-card { margin-top: 12px; padding: 18px; background: var(--ink-2); border: 1px solid rgba(240, 176, 59, .22); }
body.rf.page-dl .rc-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
body.rf.page-dl .rc-id { font-family: var(--mono); font-size: 11.5px; color: #f0b03b; }
body.rf.page-dl .rc-name { margin: 4px 0 9px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-dl .rc-seq { margin-bottom: 10px; padding: 12px 14px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: 15px; letter-spacing: 3px; overflow-x: auto; }
body.rf.page-dl .rc-rat { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: #c9d0cc; }
body.rf.page-dl .rc-order { display: inline-block; margin-top: 12px; padding: 10px 16px; background: rgba(154, 166, 255, .08); border: 1px solid rgba(154, 166, 255, .3); border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #9aa6ff; }
body.rf.page-dl .rc-order:hover { background: rgba(154, 166, 255, .16); }

/* Name it, share it */
body.rf.page-dl .save-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; padding: 18px 20px; background: var(--ink-2); border: 1px solid rgba(1, 211, 160, .26); }
body.rf.page-dl .save-bar .sb-lbl { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
body.rf.page-dl .save-bar input { flex: 1; min-width: 180px; width: auto; }
body.rf.page-dl .save-btn { min-height: 46px; padding: 0 18px; background: var(--mint); border: 0; border-radius: 12px; font-size: 14px; font-weight: 700; color: #03150f; white-space: nowrap; }
body.rf.page-dl .save-btn:hover:not(:disabled) { background: #3dfcc9; }
body.rf.page-dl .save-btn:disabled { opacity: .55; }
body.rf.page-dl .share-btn { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 16px; background: transparent; border: 1px solid rgba(154, 166, 255, .32); border-radius: 12px; font-size: 14px; font-weight: 600; color: #9aa6ff; white-space: nowrap; }
body.rf.page-dl .share-btn.active { border-color: rgba(1, 211, 160, .4); background: var(--mint-soft); color: var(--mint); }
body.rf.page-dl .share-panel { flex-basis: 100%; }
body.rf.page-dl .share-link { flex-basis: 100%; padding: 10px 13px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: 12px; color: var(--mute); word-break: break-all; cursor: pointer; }
body.rf.page-dl .share-link:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-dl .share-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
body.rf.page-dl .share-actions .sa { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 15px; background: transparent; border: 1px solid var(--line-2); border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
body.rf.page-dl .share-actions .sa:hover { border-color: var(--paper); color: var(--paper); }
body.rf.page-dl .share-actions :is(.cp, .nx) { border-color: rgba(1, 211, 160, .3); background: var(--mint-soft); color: var(--mint); }

/* My designs */
body.rf.page-dl .libBtn { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--paper); cursor: pointer; transition: border-color .2s, color .2s; }
body.rf.page-dl .libBtn:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-dl #libCountBadge { display: none; padding: 1px 7px; background: var(--mint); border-radius: 999px; font-size: 11px; font-weight: 700; color: #03150f; }
body.rf.page-dl #libPanel { display: none; margin-bottom: 26px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line); }
body.rf.page-dl #libPanel.open { display: block; }
body.rf.page-dl .lib-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
body.rf.page-dl .lib-hd h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.025em; text-transform: none; color: var(--paper); }
body.rf.page-dl .lib-hd h3 span { color: var(--mint); }
body.rf.page-dl .lib-close { padding: 2px 8px; background: none; border: 0; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; }
body.rf.page-dl .lib-close:hover { color: var(--paper); }
body.rf.page-dl .lib-empty { padding: 32px; text-align: center; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--faint); }
body.rf.page-dl .lib-card { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 11px; padding: 16px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px; }
body.rf.page-dl .lib-card-body { flex: 1; min-width: 0; }
body.rf.page-dl .lib-card-name { margin-bottom: 4px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.rf.page-dl .lib-card-target { margin-bottom: 6px; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--mute); }
body.rf.page-dl .lib-card-meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-dl .lib-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; flex-shrink: 0; }
body.rf.page-dl .la-btn { padding: 7px 12px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--mute); }
body.rf.page-dl .la-btn:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-dl .la-btn.del:hover { border-color: #f0637e; color: #f0637e; }
body.rf.page-dl .la-btn.share.on { border-color: var(--mint); background: var(--mint-soft); color: var(--mint); }

/* Go Pro */
body.rf.page-dl .upsell { margin-top: 22px; padding: 30px 26px; background: var(--ink-3); border: 1px solid rgba(1, 211, 160, .24); text-align: center; }
body.rf.page-dl .upsell p { margin: 0 0 16px; font-family: var(--sans); font-size: 15.5px; line-height: 1.6; color: #c9d0cc; }
body.rf.page-dl .upsell b { color: var(--paper); font-weight: 600; }
body.rf.page-dl .up-cta2 { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: 14px !important; color: var(--mint) !important; }

/* Toasts and the confetti burst */
body.rf.page-dl #toasts { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: grid; gap: 9px; pointer-events: none; }
body.rf.page-dl .toast { display: flex; align-items: center; gap: 9px; max-width: 330px; padding: 13px 18px; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 14px; color: var(--paper); pointer-events: all; }
body.rf.page-dl .toast.ok { border-color: rgba(1, 211, 160, .4); }
body.rf.page-dl .toast.ok::before { content: '✓'; color: var(--mint); font-weight: 700; }
body.rf.page-dl .toast.err { border-color: rgba(240, 99, 126, .4); }
body.rf.page-dl .toast.err::before { content: '!'; color: #f0637e; font-weight: 700; }
body.rf.page-dl #fx { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
body.rf.page-dl .conf { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 1px; animation: confFall linear forwards; }
@keyframes confFall { to { transform: translateY(110vh) rotate(720deg); opacity: .2; } }

/* ── A shared design ─────────────────────────────────────────────────────── */
body.rf.page-dl .shared-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; background: rgba(154, 166, 255, .07); border: 1px solid rgba(154, 166, 255, .3); border-radius: 999px; font-family: var(--mono); font-size: 12px; color: #9aa6ff; }
body.rf.page-dl .cta-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 30px; padding: 24px; background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .28); }
body.rf.page-dl .cta-banner .cb-text { flex: 1; min-width: 220px; }
body.rf.page-dl .cta-banner .cb-text h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.025em; text-transform: none; color: var(--paper); }
body.rf.page-dl .cta-banner .cb-text h3 span { color: var(--mint); }
body.rf.page-dl .cta-banner .cb-text p { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--mute); }
body.rf.page-dl .cta-banner .cb-btn { flex: none; min-height: 50px; font-size: 15px; }
body.rf.page-dl .run-title { margin: 0 0 8px; font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -.035em; text-transform: none; color: var(--paper); }
body.rf.page-dl .run-title span { color: var(--mint); }
body.rf.page-dl .run-target { max-width: 66ch; margin: 0 0 8px; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--mute); }
body.rf.page-dl .run-meta { margin-bottom: 28px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
body.rf.page-dl .order-btn { display: inline-block; margin-top: 14px; padding: 12px 18px; background: rgba(154, 166, 255, .08); border: 1px solid rgba(154, 166, 255, .3); border-radius: 12px; font-size: 14px; font-weight: 600; color: #9aa6ff; }
body.rf.page-dl .order-btn:hover { background: rgba(154, 166, 255, .16); }
body.rf.page-dl .err-card { padding: 64px 20px; text-align: center; }
body.rf.page-dl .err-card h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 42px) !important; }
body.rf.page-dl .err-card p { margin: 0 0 26px; font-family: var(--sans); font-size: 15.5px; color: var(--mute); }

/* ── The synthesis request form ──────────────────────────────────────────── */
body.rf.page-dl .seq-preview { margin-bottom: 30px; padding: 22px 24px; background: var(--ink-2); border: 1px solid rgba(1, 211, 160, .28); }
body.rf.page-dl .seq-preview .sp-label { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--mint); }
body.rf.page-dl .seq-preview .sp-name { margin-bottom: 8px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-dl .seq-preview .sp-seq { font-family: var(--mono); font-size: 17px; letter-spacing: 4px; color: var(--paper); word-break: break-all; }
body.rf.page-dl .seq-preview .sp-len { margin-top: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-dl .form-card { padding: clamp(22px, 3vw, 32px); background: var(--ink-2); border: 1px solid var(--line); }
body.rf.page-dl .field { margin-bottom: 24px; }
body.rf.page-dl .field label { display: block; margin-bottom: 7px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--paper); }
body.rf.page-dl .field .hint { margin-bottom: 9px; font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--faint); }
body.rf.page-dl .field input.seq-field { font-family: var(--mono) !important; letter-spacing: 3px; }
body.rf.page-dl .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
body.rf.page-dl .purity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
body.rf.page-dl .purity-opt { padding: 14px 6px; background: transparent; border: 1px solid var(--line); border-radius: 14px; text-align: center; cursor: pointer; user-select: none; transition: border-color .2s, background .2s; }
body.rf.page-dl .purity-opt:hover { border-color: var(--line-2); }
body.rf.page-dl .purity-opt.selected { border-color: var(--mint); background: var(--mint-soft); }
/* Four options share half a row, and "Custom" is the widest word of the four */
body.rf.page-dl .purity-opt .po-val { font-family: var(--serif); font-size: clamp(14px, 1.2vw, 17px); font-weight: 800; letter-spacing: -.025em; color: var(--paper); }
body.rf.page-dl .purity-opt.selected .po-val { color: var(--mint); }
body.rf.page-dl .purity-opt .po-lbl { margin-top: 3px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
body.rf.page-dl .mod-grid { display: flex; flex-wrap: wrap; gap: 9px; }
body.rf.page-dl .mod-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; user-select: none; transition: border-color .2s, background .2s; }
body.rf.page-dl .mod-chip:hover { border-color: var(--line-2); }
body.rf.page-dl .mod-chip.on { border-color: var(--mint); background: var(--mint-soft); }
body.rf.page-dl .mod-chip .mc-chk { display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 10px; color: transparent; transition: .12s; }
body.rf.page-dl .mod-chip.on .mc-chk { background: var(--mint); border-color: var(--mint); color: #03150f; }
body.rf.page-dl .mod-chip .mc-nm { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--mute); }
body.rf.page-dl .mod-chip.on .mc-nm { color: var(--mint); }
body.rf.page-dl .disclaimer { margin-bottom: 24px; padding: 16px 18px; background: rgba(240, 176, 59, .06); border: 1px solid rgba(240, 176, 59, .22); border-radius: 14px; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: #e3bd7d; }
body.rf.page-dl :is(.field-error, .form-error) { margin-top: 10px; font-family: var(--sans); font-size: 13.5px; color: #f0637e; }
body.rf.page-dl .success { padding: 56px 20px; text-align: center; }
body.rf.page-dl .success .s-icon { margin-bottom: 16px; font-size: 48px; }
body.rf.page-dl .success h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 42px) !important; }
body.rf.page-dl .success h2 span { color: var(--mint); }
body.rf.page-dl .success p { margin: 0 0 26px; font-family: var(--sans); font-size: 15.5px; line-height: 1.65; color: var(--mute); }
body.rf.page-dl .success p b { color: var(--paper); font-weight: 600; }
body.rf.page-dl .back-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin: 7px; padding: 0 22px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-size: 14.5px; font-weight: 600; color: var(--paper); }
body.rf.page-dl .back-btn:hover { border-color: var(--paper); }
body.rf.page-dl .back-btn.primary { border: 0; color: #03150f !important; }

@media (max-width: 760px) {
  body.rf.page-dl .tmpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rf.page-dl .mol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rf.page-dl .prosCons { grid-template-columns: minmax(0, 1fr); }
  body.rf.page-dl .cand-name { font-size: 21px; }
  body.rf.page-dl .cand-comp { font-size: 34px; }
}
@media (max-width: 560px) {
  body.rf.page-dl .wrap { padding-top: 24px; }
  body.rf.page-dl .seq { font-size: 15px; letter-spacing: 3px; }
  body.rf.page-dl .bar-l { width: 124px; font-size: 12.5px; }
  body.rf.page-dl .two-col, body.rf.page-dl .purity-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.rf.page-dl .ca-btn { flex: 1 1 100%; }
  body.rf.page-dl #toasts { right: 12px; left: 12px; bottom: 16px; }
  body.rf.page-dl .toast { max-width: none; }
}
@media (max-width: 400px) {
  body.rf.page-dl .tmpl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body.rf.page-dl .conf { animation: none; }
  body.rf.page-dl .bar-f { transition: none; }
}

/* ==========================================================================
   Velox Pro
   ========================================================================== */
body.rf.page-pro .pro-wrap { width: min(100% - var(--gutter) * 2, 980px); max-width: none; margin: 0 auto; padding: 0 0 clamp(56px, 7vw, 96px); }
body.rf.page-pro .pro-plan { padding-top: clamp(34px, 4.5vw, 58px); text-align: center; }
body.rf.page-pro .toggle { display: inline-flex; gap: 4px; padding: 5px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; }
body.rf.page-pro .toggle button { min-height: 44px; padding: 0 22px; background: transparent; border: 0; border-radius: 999px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0; color: var(--mute); cursor: pointer; transition: background .2s, color .2s; }
body.rf.page-pro .toggle button:hover { color: var(--paper); }
body.rf.page-pro .toggle button.on { background: var(--mint); color: #03150f; box-shadow: none; }
body.rf.page-pro .pro-save-note { margin: 14px 0 0; font-family: var(--sans); font-size: 13.5px; color: var(--faint); }

/* The two cards */
body.rf.page-pro .tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 820px; margin: 0 auto; padding: clamp(32px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); }
body.rf.page-pro .tier { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 34px 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; text-align: left; transform: none; animation: none; transition: border-color .25s, transform .25s; }
body.rf.page-pro .tier:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: none; }
body.rf.page-pro .tier-free { background: var(--ink-2); }
body.rf.page-pro .tier .badge { align-self: flex-start; margin-bottom: 16px; padding: 5px 13px; background: var(--mint); border-radius: 999px; font-family: var(--mono) !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: #03150f; box-shadow: none; animation: none; }
body.rf.page-pro .tier h2 { margin: 0 0 8px; font-family: var(--serif) !important; font-size: clamp(28px, 2.6vw, 36px) !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: -.03em !important; color: var(--paper); }
body.rf.page-pro .tier .disc { font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--mint); }
body.rf.page-pro .tier .price { margin: 22px 0 2px; font-family: var(--serif); font-size: clamp(42px, 4.4vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--paper); }
body.rf.page-pro .tier .price small { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--mute); }
body.rf.page-pro .tier .annual-eq { min-height: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
body.rf.page-pro .tier .roi { min-height: 34px; margin: 12px 0 0; font-family: var(--sans); font-size: 13.5px; font-weight: 400; line-height: 1.5; color: var(--mute); }
body.rf.page-pro .tier ul { flex: 1; margin: 22px 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
body.rf.page-pro .tier li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 14.5px; line-height: 1.45; color: #c9d0cc; }
body.rf.page-pro .tier li:before { content: ''; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); rotate: -45deg; }
body.rf.page-pro .tier li b { color: var(--paper); font-weight: 600; }
body.rf.page-pro .tier :is(button.cta, a.cta) { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 20px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--paper); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
body.rf.page-pro .tier :is(button.cta, a.cta):hover { transform: translateY(-2px); border-color: var(--paper); box-shadow: none; filter: none; }

/* The one people are meant to pick */
body.rf.page-pro .tier.featured { z-index: 2; background: var(--mint); border: 0; color: #03150f; transform: none; animation: none; box-shadow: 0 30px 90px -40px rgba(1, 211, 160, .6); }
body.rf.page-pro .tier.featured:hover { transform: translateY(-3px); }
body.rf.page-pro .tier.featured::after { display: none; }
body.rf.page-pro .tier.featured .badge { background: #03150f; color: var(--mint); }
body.rf.page-pro .tier.featured :is(h2, .price) { color: #03150f; }
body.rf.page-pro .tier.featured :is(.disc, .price small, .annual-eq, .roi) { color: #05473a; }
body.rf.page-pro .tier.featured ul { border-color: rgba(3, 21, 15, .18); }
body.rf.page-pro .tier.featured li { border-color: rgba(3, 21, 15, .18); color: #04372b; }
body.rf.page-pro .tier.featured li b { color: #03150f; }
body.rf.page-pro .tier.featured li:before { border-color: #03150f; }
body.rf.page-pro .tier.featured button.cta { background: #03150f; border-color: #03150f; color: #f2f2eb; }
body.rf.page-pro .tier.featured button.cta:hover { background: #000; border-color: #000; color: #fff; }

body.rf.page-pro .pro-msg { min-height: 22px; padding-bottom: 8px; text-align: center; font-family: var(--sans); font-size: 14px; color: var(--mute); }
body.rf.page-pro .pro-why { max-width: 70ch; margin: clamp(20px, 3vw, 34px) auto 0; text-align: center; font-family: var(--sans); font-size: 14px; line-height: 1.7; color: var(--faint); }
body.rf.page-pro .pro-why strong { color: var(--mute); font-weight: 500; }

@media (max-width: 720px) {
  body.rf.page-pro .tiers { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 18px; }
  body.rf.page-pro .tier { padding: 28px 22px; }
  body.rf.page-pro .toggle button { padding: 0 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.rf.page-pro .tier { transition: none; }
}

/* "VELOX PRO" is a wide word, so the intro beside it needs the extra room */
@media (min-width: 961px) {
  body.rf.page-pro .rf-stage-info { min-height: calc(min(var(--rf-word, 15.6vw), 340px) * .9 + 215px); }
}

/* ==========================================================================
   Policies
   ========================================================================== */
body.rf.page-legal .legal-sec { padding-block: clamp(44px, 6vw, 84px) clamp(56px, 8vw, 110px); background: none; }
body.rf.page-legal .legal-i { width: min(100% - var(--gutter) * 2, 760px); max-width: none; margin: 0 auto; padding: 0; background: none; border: 0; }
body.rf.page-legal .legal-i h2 { margin: clamp(38px, 4vw, 54px) 0 14px; padding-top: clamp(26px, 3vw, 36px); border-top: 1px solid var(--line); font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.15 !important; }
body.rf.page-legal .legal-i > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
body.rf.page-legal .legal-i h3 { margin: 28px 0 10px; font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: -.015em; color: var(--paper); }
body.rf.page-legal .legal-i :is(p, li) { font-family: var(--sans); font-size: 16px; line-height: 1.72; color: #c9d0cc; }
body.rf.page-legal .legal-i p { margin: 0 0 16px; }
body.rf.page-legal .legal-i ul { margin: 0 0 18px; padding: 0; list-style: none; }
body.rf.page-legal .legal-i li { position: relative; padding: 0 0 10px 20px; }
body.rf.page-legal .legal-i li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
body.rf.page-legal .legal-i a { color: var(--mint); text-underline-offset: 3px; }
body.rf.page-legal .legal-i strong { color: var(--paper); font-weight: 600; }
body.rf.page-legal .legal-i :is(em, i) { color: var(--paper); }

/* ==========================================================================
   Affiliate program
   ========================================================================== */
body.rf.page-affiliate-program .ap-wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); max-width: none; margin-inline: auto; padding: 0; }
body.rf.page-affiliate-program .ap-section { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
body.rf.page-affiliate-program .ap-h2 { margin: 0 0 14px; font-family: var(--serif) !important; font-size: clamp(30px, 3.8vw, 52px) !important; font-weight: 800 !important; line-height: 1.02 !important; letter-spacing: -.035em !important; text-align: left; color: var(--paper); }
body.rf.page-affiliate-program .ap-sub { max-width: 62ch; margin: 0 0 clamp(34px, 4vw, 48px); text-align: left; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--mute); }
body.rf.page-affiliate-program .ap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
body.rf.page-affiliate-program :is(.ap-card, .ap-step) { padding: 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, transform .25s; }
body.rf.page-affiliate-program :is(.ap-card, .ap-step):hover { transform: translateY(-3px); border-color: var(--line-2); }
body.rf.page-affiliate-program .ap-card .ic { margin-bottom: 14px; font-size: 24px; }
body.rf.page-affiliate-program :is(.ap-card, .ap-step) h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-affiliate-program :is(.ap-card, .ap-step) p { margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.68; color: #c9d0cc; }
body.rf.page-affiliate-program .ap-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
body.rf.page-affiliate-program .ap-step::before { counter-increment: step; content: counter(step); display: block; width: auto; height: auto; margin-bottom: 14px; background: none; border-radius: 0; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: -.04em; color: var(--mint); }

body.rf.page-affiliate-program .ap-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
body.rf.page-affiliate-program .ap-split h2 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.04 !important; }
body.rf.page-affiliate-program .ap-split ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
body.rf.page-affiliate-program .ap-split li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #c9d0cc; }
body.rf.page-affiliate-program .ap-split li .tick { flex: none; font-weight: 400; color: var(--mint); }
body.rf.page-affiliate-program .ap-pay-card { padding: 30px; background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .28); border-radius: 20px; }
body.rf.page-affiliate-program .ap-pay-card .big { font-family: var(--serif); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.04em; color: var(--mint); }
body.rf.page-affiliate-program .ap-pay-card .row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(1, 211, 160, .18); font-family: var(--sans); font-size: 14.5px; color: var(--mute); }
body.rf.page-affiliate-program .ap-pay-card .row:last-child { border-bottom: 0; }
body.rf.page-affiliate-program .ap-pay-card .row strong { color: var(--paper); font-weight: 600; }

body.rf.page-affiliate-program .ap-faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
body.rf.page-affiliate-program .ap-faq-item:first-child { border-top: 1px solid var(--line); }
body.rf.page-affiliate-program .ap-faq-item h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-affiliate-program .ap-faq-item p { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.68; color: #c9d0cc; }

body.rf.page-affiliate-program .ap-final { margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px); background: var(--ink-3); border: 1px solid var(--line); border-radius: 24px; text-align: center; }
body.rf.page-affiliate-program .ap-final h2 { margin: 0 0 14px; font-family: var(--serif) !important; font-size: clamp(30px, 3.8vw, 50px) !important; font-weight: 800 !important; line-height: 1.02 !important; letter-spacing: -.035em !important; color: var(--paper); }
body.rf.page-affiliate-program .ap-final p { max-width: 56ch; margin: 0 auto 26px; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--mute); }
body.rf.page-affiliate-program .ap-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body.rf.page-affiliate-program .ap-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 14px; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
body.rf.page-affiliate-program .ap-btn-p { background: var(--mint); border: 0; color: #03150f; box-shadow: 0 10px 34px rgba(1, 211, 160, .28); }
body.rf.page-affiliate-program .ap-btn-p:hover { transform: translateY(-2px); background: #3dfcc9; color: #03150f; }
body.rf.page-affiliate-program .ap-btn-o { background: transparent; border: 1px solid var(--line-2); color: var(--paper); }
body.rf.page-affiliate-program .ap-btn-o:hover { border-color: var(--paper); }
body.rf.page-affiliate-program .ap-compliance { max-width: 80ch; margin: 0 auto; padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 80px); text-align: center; font-family: var(--sans); font-size: 13.5px; line-height: 1.7; color: var(--faint); }

@media (max-width: 860px) {
  body.rf.page-affiliate-program .ap-split { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Account and affiliate portal
   ========================================================================== */
body.rf.page-acct .acc-wrap { width: min(100% - var(--gutter) * 2, 1040px); max-width: none; margin: 0 auto; padding: clamp(24px, 3vw, 38px) 0 clamp(64px, 8vw, 110px); }
body.rf.page-acct a.acc-back { font-family: var(--sans); font-size: 14px; color: var(--mute); text-decoration: none; transition: color .2s; }
body.rf.page-acct a.acc-back:hover { color: var(--mint); }
body.rf.page-acct .acc-loading { padding: 90px 0; text-align: center; font-family: var(--mono); font-size: 13.5px; color: var(--faint); }

/* Signing in */
body.rf.page-acct .auth-box { max-width: 460px; margin: clamp(34px, 5vw, 64px) auto; padding: clamp(28px, 4vw, 40px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; }
body.rf.page-acct .auth-tabs { display: flex; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
body.rf.page-acct .auth-tab { flex: 1; margin-bottom: -1px; padding: 12px 8px; background: none; border: 0; border-bottom: 2px solid transparent; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--faint); cursor: pointer; transition: color .2s; }
body.rf.page-acct .auth-tab:hover { color: var(--paper); }
body.rf.page-acct .auth-tab.active { color: var(--paper); border-bottom-color: var(--mint); }
body.rf.page-acct .auth-form h1 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px) !important; line-height: 1.05 !important; }
body.rf.page-acct .auth-form p.sub { margin: 0 0 24px; font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: var(--mute); }
body.rf.page-acct .auth-link { margin-top: 14px; padding: 0; background: none; border: 0; font-family: var(--sans); font-size: 13.5px; color: var(--mint); cursor: pointer; }
body.rf.page-acct .auth-msg { min-height: 18px; margin-top: 14px; font-family: var(--sans); font-size: 13.5px; }
body.rf.page-acct :is(.auth-msg, .acc-msg).ok { color: var(--mint); }
body.rf.page-acct :is(.auth-msg, .acc-msg).err { color: #f0637e; }
body.rf.page-acct .remember { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-family: var(--sans); font-size: 14px; color: var(--mute); }
body.rf.page-acct .status-box { max-width: 560px; margin: clamp(40px, 6vw, 80px) auto; padding: clamp(32px, 4vw, 48px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; text-align: center; }
body.rf.page-acct .status-box .ico { margin-bottom: 14px; font-size: 34px; }
body.rf.page-acct .status-box h1 { margin: 0 0 12px; font-size: clamp(24px, 2.8vw, 32px) !important; }
body.rf.page-acct .status-box p { margin: 0 0 10px; font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--mute); }

/* Fields and buttons */
body.rf.page-acct .f-lbl { display: block; margin: 0 0 7px; font-family: var(--sans) !important; font-size: 13.5px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute); }
body.rf.page-acct .f-inp { width: 100%; box-sizing: border-box; margin-bottom: 16px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px !important; font-family: var(--sans) !important; font-size: 15.5px !important; color: var(--paper); color-scheme: dark; transition: border-color .2s; }
body.rf.page-acct textarea.f-inp { min-height: 88px; line-height: 1.55; resize: vertical; }
body.rf.page-acct .btn-p { width: 100%; min-height: 52px; padding: 0 20px; background: var(--mint); border: 0; border-radius: 14px !important; font-family: var(--sans) !important; font-size: 16px; font-weight: 700 !important; letter-spacing: 0 !important; color: #03150f; cursor: pointer; transition: transform .2s, background .2s; }
body.rf.page-acct .btn-p:hover:not(:disabled) { transform: translateY(-2px); background: #3dfcc9; }
body.rf.page-acct .btn-p:disabled { opacity: .55; cursor: default; transform: none; }
body.rf.page-acct .btn-o { min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--line-2); border-radius: 12px !important; font-family: var(--sans) !important; font-size: 14px; font-weight: 600 !important; letter-spacing: 0 !important; color: var(--paper); cursor: pointer; transition: border-color .2s, color .2s; }
body.rf.page-acct .btn-o:hover { border-color: var(--paper); }
body.rf.page-acct .btn-o.danger { color: #f0637e; border-color: rgba(240, 99, 126, .4); }

/* The dashboard */
body.rf.page-acct .dash-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
body.rf.page-acct .dash-hello { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--paper); }
body.rf.page-acct .dash-signout { min-height: 40px; padding: 0 16px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px !important; font-family: var(--sans) !important; font-size: 13.5px; font-weight: 600 !important; color: var(--mute); cursor: pointer; transition: border-color .2s, color .2s; }
body.rf.page-acct .dash-signout:hover { border-color: var(--paper); color: var(--paper); }
body.rf.page-acct .tier-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; font-family: var(--mono) !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.rf.page-acct .acc-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 26px 0 30px; border-bottom: 1px solid var(--line); }
body.rf.page-acct .acc-tab { margin-bottom: -1px; padding: 12px 18px; background: none; border: 0; border-bottom: 2px solid transparent; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--faint); cursor: pointer; transition: color .2s; }
body.rf.page-acct .acc-tab:hover { color: var(--paper); }
body.rf.page-acct .acc-tab.active { color: var(--paper); border-bottom-color: var(--mint); }
body.rf.page-acct .acc-tab .pill { margin-left: 7px; padding: 1px 7px; background: var(--mint); border-radius: 999px; font-size: 11px; font-weight: 700; color: #03150f; }
body.rf.page-acct .pts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 30px; }
body.rf.page-acct .pts-card { padding: 22px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf.page-acct .pts-label { margin-bottom: 8px; font-family: var(--mono) !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--faint) !important; }
body.rf.page-acct .pts-value { font-family: var(--serif); font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--paper); }
body.rf.page-acct .pts-sub { margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--faint); }
body.rf.page-acct .prog { height: 5px; margin-top: 12px; background: rgba(236, 240, 235, .12); border-radius: 3px; overflow: hidden; }
body.rf.page-acct .prog-bar { height: 100%; background: var(--mint); }
body.rf.page-acct .card { margin-bottom: 20px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; }
body.rf.page-acct .card h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
body.rf.page-acct .card :is(p, li) { font-family: var(--sans); }
body.rf.page-acct .code-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 22px 24px; background: var(--mint-soft); border: 1px solid rgba(1, 211, 160, .28); border-radius: 20px; }
body.rf.page-acct .code-box .lbl { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mint); }
body.rf.page-acct .code-box .code { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: .02em; color: var(--paper); }
body.rf.page-acct .code-copy { min-height: 44px; padding: 0 18px; background: var(--mint); border: 0; border-radius: 12px; font-family: var(--sans); font-size: 14px; font-weight: 700; color: #03150f; cursor: pointer; }
body.rf.page-acct .code-copy:hover { background: #3dfcc9; }

/* Tables and small print */
body.rf.page-acct table.acc-tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; }
body.rf.page-acct .acc-tbl th { padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--sans) !important; font-size: 12.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; text-align: left; color: var(--faint); white-space: nowrap; }
body.rf.page-acct .acc-tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: #c9d0cc; }
body.rf.page-acct .badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--mono) !important; font-size: 11.5px !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; }
body.rf.page-acct :is(.b-paid) { background: var(--mint-soft); color: var(--mint); }
body.rf.page-acct :is(.b-dispatched, .b-payable) { background: rgba(154, 166, 255, .1); color: #9aa6ff; }
body.rf.page-acct .b-pending { background: rgba(236, 240, 235, .07); color: var(--mute); }
body.rf.page-acct :is(.b-cancelled, .b-reversed, .b-refunded) { background: rgba(240, 99, 126, .1); color: #f0637e; }
body.rf.page-acct .b-clawback { background: rgba(240, 176, 59, .12); color: #f0b03b; }
body.rf.page-acct .empty { padding: 8px 0; font-family: var(--sans); font-size: 14px; color: var(--faint); }
body.rf.page-acct .addr-card { position: relative; margin-bottom: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: #c9d0cc; }
body.rf.page-acct .addr-card .addr-actions { position: absolute; top: 14px; right: 16px; display: flex; gap: 12px; }
body.rf.page-acct .addr-card button { background: none; border: 0; font-family: var(--sans); font-size: 13.5px; color: var(--mint); cursor: pointer; }
body.rf.page-acct .addr-card button.del { color: #f0637e; }
body.rf.page-acct .flt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
body.rf.page-acct .flt button { padding: 7px 14px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 13.5px; color: var(--mute); cursor: pointer; transition: border-color .2s, color .2s; }
body.rf.page-acct .flt button:hover { border-color: var(--line-2); color: var(--paper); }
body.rf.page-acct .flt button.active { background: var(--mint-soft); border-color: var(--mint); color: var(--mint); font-weight: 600; }
body.rf.page-acct .notif { display: flex; gap: 14px; align-items: flex-start; padding: 14px 4px; border-bottom: 1px solid var(--line); }
body.rf.page-acct .notif .dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--mint); }
body.rf.page-acct .notif.read .dot { background: transparent; border: 1px solid var(--line-2); }
body.rf.page-acct .notif .msg { font-family: var(--sans); font-size: 14px; color: var(--paper); }
body.rf.page-acct .notif.read .msg { color: var(--mute); }
body.rf.page-acct .notif .when { margin-top: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-acct .acc-msg { min-height: 16px; margin-top: 10px; font-family: var(--sans); font-size: 13.5px; }

@media (max-width: 560px) {
  body.rf.page-acct .auth-box { padding: 24px 20px; }
  body.rf.page-acct .acc-tab { padding: 11px 13px; font-size: 14px; }
  body.rf.page-acct .code-box .code { font-size: 22px; }
}

/* ==========================================================================
   Order tracking
   ========================================================================== */
body.rf.page-track .thd { display: flex; align-items: center; gap: 14px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
body.rf.page-track .thd img { height: 30px; width: auto; }
body.rf.page-track .thd .back { margin-left: auto; font-family: var(--sans); font-size: 14px; color: var(--mute); text-decoration: none; transition: color .2s; }
body.rf.page-track .thd .back:hover { color: var(--mint); }
body.rf.page-track .wrap { width: min(100% - var(--gutter) * 2, 600px); max-width: none; margin: 0 auto; padding: clamp(34px, 5vw, 56px) 0 clamp(56px, 7vw, 90px); }
body.rf.page-track h1 { margin: 0 0 10px; font-size: clamp(34px, 4.4vw, 52px) !important; line-height: 1.02 !important; }
body.rf.page-track .sub { margin: 0 0 30px; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--mute); }
body.rf.page-track .form { padding: 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; }
body.rf.page-track label { display: block; margin: 0 0 7px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--paper); }
body.rf.page-track input { width: 100%; box-sizing: border-box; margin: 0 0 18px; padding: 13px 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 16px; color: var(--paper); color-scheme: dark; transition: border-color .2s; }
body.rf.page-track input:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
body.rf.page-track button { width: 100%; min-height: 54px; padding: 0 20px; background: var(--mint); border: 0; border-radius: 14px; font-family: var(--sans); font-size: 16px; font-weight: 700; color: #03150f; cursor: pointer; transition: transform .2s, background .2s; }
body.rf.page-track button:hover:not(:disabled) { transform: translateY(-2px); background: #3dfcc9; }
body.rf.page-track button:disabled { opacity: .55; transform: none; }
body.rf.page-track .msg { min-height: 16px; margin-top: 8px; font-family: var(--sans); font-size: 13.5px; color: #f0637e; }
body.rf.page-track .hint { margin: 18px 0 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: var(--faint); }
body.rf.page-track .hint a { color: var(--mute); }
body.rf.page-track .result { margin-top: 26px; }
body.rf.page-track :is(.rcard, .miss) { padding: 26px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; }
body.rf.page-track .miss { border-color: rgba(240, 99, 126, .3); font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #e9b7b7; }
body.rf.page-track .miss a { color: var(--mint); }
body.rf.page-track .rref { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--faint); }
body.rf.page-track .rstat { margin: 6px 0; font-family: var(--serif); font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--mint); }
body.rf.page-track .rnote { margin: 0 0 18px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #c9d0cc; }
body.rf.page-track .steps { display: flex; gap: 6px; margin: 20px 0; }
body.rf.page-track .step { flex: 1; height: 5px; border-radius: 6px; background: rgba(236, 240, 235, .12); }
body.rf.page-track .step.on { background: var(--mint); }
body.rf.page-track .steplabels { display: flex; justify-content: space-between; margin: -10px 0 20px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
body.rf.page-track .track-btn { display: block; margin-top: 8px; padding: 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; color: var(--paper); transition: border-color .2s, color .2s; }
body.rf.page-track .track-btn:hover { border-color: var(--mint); color: var(--mint); }
body.rf.page-track .items { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
body.rf.page-track .it { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-family: var(--sans); font-size: 14.5px; color: #c9d0cc; }
body.rf.page-track .it .q { font-weight: 600; color: var(--mint); }
body.rf.page-track footer { padding: 26px var(--gutter); border-top: 1px solid var(--line); text-align: center; font-family: var(--sans); font-size: 13px; line-height: 1.7; color: var(--faint); }
body.rf.page-track footer a { color: var(--mute); }
