/* ==========================================================================
   Revenue Flare — Main Stylesheet
   Imports design tokens and defines reusable component classes.
   All values reference CSS custom properties from tokens/.
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────── */
@import "tokens/fonts.css";
@import "tokens/colors.css";
@import "tokens/typography.css";
@import "tokens/spacing.css";
@import "tokens/effects.css";

/* ── Reset & Base ────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  background: var(--surface-page);
}
html {
  scroll-behavior: smooth;
}

.rf-page {
  background: var(--surface-page);
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ── Section ─────────────────────────────────────────────────────────── */
.rf-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: var(--section-y) var(--page-x);
  background: var(--surface-page);
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.rf-section--overflow-clip { overflow: clip; }
.rf-section--flush { padding-top: 0; padding-bottom: 0; }

/* ── Section Head ────────────────────────────────────────────────────── */
.rf-section-head {
  margin-bottom: var(--head-to-content);
}

/* ── Eyebrow ─────────────────────────────────────────────────────────── */
.rf-eyebrow {
  font-size: var(--type-eyebrow-size);
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--text-eyebrow);
  font-weight: 600;
  margin-bottom: var(--stack-eyebrow);
}

/* ── Headings ────────────────────────────────────────────────────────── */
.rf-h1 {
  margin: 0 0 30px;
  font-weight: 800;
  font-size: var(--type-hero-size);
  line-height: var(--type-hero-lh);
  letter-spacing: var(--type-hero-ls);
  color: var(--text-heading);
}
.rf-h2 {
  margin: 0 0 var(--stack-heading);
  font-weight: 800;
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-lh);
  letter-spacing: var(--type-h2-ls);
  color: var(--text-heading);
}
.rf-h2--flush { margin-bottom: 0; }
.rf-h2--sm {
  font-size: 54px;
}
.rf-h2--close {
  font-size: var(--type-close-size);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.rf-h3 {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-lh);
  letter-spacing: var(--type-h3-ls);
  color: var(--text-heading);
}

/* ── Body Text ───────────────────────────────────────────────────────── */
.rf-body {
  margin: 0;
  font-size: var(--type-body-size);
  line-height: var(--type-body-lh);
  color: var(--text-body);
}
.rf-body--sm {
  font-size: 16px;
  line-height: 1.65;
}
.rf-body--tight {
  font-size: 16.5px;
  line-height: 1.65;
}
.rf-caption {
  font-size: var(--type-caption-size);
  line-height: 1.6;
  color: var(--muted-80);
}
.rf-fineprint {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-60);
  margin-top: 26px;
}

/* ── Accents ─────────────────────────────────────────────────────────── */
.rf-accent {
  color: var(--accent-period);
}
.rf-text-gold {
  background: var(--grad-gold);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rf-shimmer 8s linear infinite;
}
.rf-text-gold--sm {
  font-size: 40px;
  letter-spacing: -0.02em;
}
.rf-text-bold {
  color: var(--text-heading);
  font-weight: 700;
}
.rf-text-semibold {
  color: var(--text-heading);
  font-weight: 600;
}

/* ── Stars & Decor ───────────────────────────────────────────────────── */
.rf-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--glow-star);
  animation: rf-twinkle 6s ease-in-out infinite;
  pointer-events: none;
}
.rf-star--sm {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 8px #cfe0ff;
}
.rf-glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: rf-drift 10s ease-in-out infinite;
  pointer-events: none;
}

/* ── Flare ────────────────────────────────────────────────────────────── */
.rf-flare {
  position: absolute;
  top: -240px;
  right: -320px;
  width: 1050px;
  height: 1050px;
  pointer-events: none;
}
.rf-flare__rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1050px;
  height: 1050px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(255,255,255,0) 0deg,
    rgba(210,220,255,0.13) 2deg,
    rgba(255,255,255,0) 5deg,
    transparent 5deg,
    transparent 24deg
  );
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 6%, #000 22%, transparent 58%);
  mask: radial-gradient(circle at 50% 50%, transparent 6%, #000 22%, transparent 58%);
  filter: blur(2px);
  animation: rf-rays 70s linear infinite;
}
.rf-flare__drift {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,190,255,0.26) 0%, rgba(70,110,255,0.15) 36%, transparent 68%);
  filter: blur(30px);
  animation: rf-drift 9s ease-in-out infinite;
}
.rf-flare__warm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,160,0.2) 0%, transparent 60%);
  filter: blur(24px);
}
.rf-flare__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(235,243,255,0.95) 10%, rgba(140,205,245,0.5) 30%, rgba(95,125,255,0.25) 52%, transparent 70%);
  filter: blur(6px);
  animation: rf-core 7s ease-in-out infinite;
}
.rf-flare__hline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 980px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(210,230,255,0.9) 50%, transparent);
}
.rf-flare__vline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 440px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, transparent, rgba(210,230,255,0.7) 50%, transparent);
}

/* ── Brand / Logo ────────────────────────────────────────────────────── */
.rf-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rf-brand__logo {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rf-brand__logo--sm {
  width: 20px;
  height: 20px;
}
.rf-brand__diamond {
  position: absolute;
  transform: rotate(45deg);
  background: var(--grad-logo);
  border-radius: 3px;
  box-shadow: var(--glow-logo);
}
.rf-brand__diamond--sm {
  width: 14px;
  height: 14px;
  border-radius: 2.5px;
  box-shadow: 0 0 14px rgba(46,128,255,0.5);
}
.rf-brand__diamond--lg {
  width: 17px;
  height: 17px;
}
.rf-brand__inner {
  position: absolute;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--surface-page);
  border-radius: 1px;
}
.rf-brand__inner--sm {
  width: 5px;
  height: 5px;
}
.rf-brand__img {
  width: 100%;
  height: 100%;
  display: block;
}
.rf-brand__wordmark {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rf-brand__wordmark--sm {
  font-size: 16px;
}

/* ── Navigation ──────────────────────────────────────────────────────── */
.rf-nav {
  display: flex;
  align-items: center;
  font-size: var(--type-nav-size);
  color: var(--text-body);
  font-weight: 500;
}
.rf-nav--lg { gap: 36px; }
.rf-nav--md { gap: 32px; font-size: 14px; }
.rf-nav--mobile { display: none; font-size: 14px; }

.rf-nav__link {
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--dur-hover);
}
.rf-nav__link:hover,
.rf-nav__link:focus-visible {
  color: var(--text-heading);
}
.rf-nav__link--active {
  color: var(--text-heading);
  font-weight: 600;
  border-bottom: var(--underline) solid 1px;
  padding: 10px 0;
  transition: color var(--dur-hover);
}
.rf-nav__link--active-sm {
  padding: 8px 0;
}

/* ── Sticky Nav ──────────────────────────────────────────────────────── */
.rf-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-lux);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--page-x);
  background: rgba(3,5,12,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-hairline);
  font-family: var(--font-sans);
  color: var(--text-heading);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.rf-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nav-y) var(--page-x);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.rf-hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  height: 100vh;
  background: var(--surface-page);
  color: var(--text-heading);
  font-family: var(--font-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.rf-hero__content {
  position: absolute;
  z-index: 2;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 56px;
}
.rf-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.rf-hero__text {
  max-width: 610px;
}
.rf-hero__ctas {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 22px;
  flex: none;
  padding-top: 22px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.rf-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-button-size);
  font-weight: 700;
  transition: box-shadow var(--dur-hover);
  cursor: pointer;
}
.rf-btn--primary {
  color: var(--text-on-button);
  background: var(--grad-button);
  border-bottom-right-radius: var(--lozenge-lg);
  border-top-left-radius: var(--lozenge-lg);
  border-top-right-radius: var(--lozenge-sm);
  border-bottom-left-radius: var(--lozenge-sm);
}
.rf-btn--primary-lg {
  padding: 16px 34px;
  box-shadow: var(--glow-button);
}
.rf-btn--primary-lg:hover,
.rf-btn--primary-lg:focus-visible {
  box-shadow: var(--glow-button-hover);
}
.rf-btn--primary-md {
  padding: 15px 30px;
  box-shadow: 0 0 44px rgba(150,195,255,0.25), 0 8px 24px rgba(0,0,0,0.4);
}
.rf-btn--primary-md:hover,
.rf-btn--primary-md:focus-visible {
  box-shadow: 0 0 64px rgba(150,195,255,0.5), 0 8px 24px rgba(0,0,0,0.4);
}
.rf-btn--primary-sm {
  padding: 10px 24px;
  box-shadow: var(--glow-button-quiet);
  border-top-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.rf-btn--primary-nav {
  font-size: 13.5px;
  padding: 9px 22px;
  box-shadow: var(--glow-button-quiet);
  border-bottom-right-radius: var(--lozenge-md);
  border-top-left-radius: var(--lozenge-md);
  border-top-right-radius: 1px;
  border-bottom-left-radius: 1px;
}
/* blueprint included button */
.rf-btn--included {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: clamp(10px, 2.5vw, 15px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(244,241,248,0.85);
  border-top-left-radius: clamp(10px, 3.5vw, 22px);
  border-bottom-right-radius: clamp(10px, 3.5vw, 22px);
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}

/* ── Text Links ──────────────────────────────────────────────────────── */
.rf-link {
  text-decoration: none;
  font-size: var(--type-link-size);
  font-weight: 600;
  color: var(--text-heading);
  padding: 4px 2px;
  border-bottom: var(--underline) solid 1px;
  transition: border-color var(--dur-hover);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rf-link:hover,
.rf-link:focus-visible {
  border-color: var(--blue-sky);
}
.rf-link--lg {
  font-size: var(--type-button-size);
  padding: 16px 4px;
}
.rf-link--story {
  font-size: 14.5px;
  align-self: flex-start;
  padding: 2px 0 4px;
  margin-bottom: 30px;
}
.rf-link--sizer {
  font-size: 14.5px;
  padding: 2px 0 4px;
  margin-bottom: 30px;
  border-bottom: 1px solid transparent;
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.rf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: flex-start;
  border-bottom: var(--border-divider);
  padding-bottom: 16px;
}
.rf-stat__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: var(--type-stat-ls);
  text-align: center;
}
.rf-stat__label {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls);
  text-transform: uppercase;
  color: var(--text-body);
  margin-top: 3px;
  text-align: center;
}
/* case-study metrics variant */
.rf-metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  justify-content: start;
  border-top: var(--border-divider);
  padding-top: 32px;
}
.rf-metrics__value {
  font-size: var(--type-stat-size);
  font-weight: 800;
  letter-spacing: var(--type-stat-ls);
}
.rf-metrics__label {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls);
  text-transform: uppercase;
  color: var(--text-body);
  margin-top: 5px;
}
/* sizer variant — invisible */
.rf-metrics--sizer {
  border-top: 1px solid transparent;
}

/* ── Grids ───────────────────────────────────────────────────────────── */
.rf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}
.rf-grid-2--tight { gap: 0; }
.rf-grid-2--wide { gap: 80px; }
.rf-grid-2--left-narrow { grid-template-columns: 0.8fr 1.2fr; }
.rf-grid-2--left-wide { grid-template-columns: 1.1fr 1fr; }

.rf-grid-2__col {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* ── Dividers ────────────────────────────────────────────────────────── */
.rf-divider-b { border-bottom: var(--border-divider); }
.rf-divider-t { border-top: var(--border-hairline); }
.rf-divider-l { border-left: var(--border-hairline); }
.rf-divider-r { border-right: var(--border-hairline); }

/* ── Case Study Tabs ─────────────────────────────────────────────────── */
.rf-tabs {
  display: flex;
  gap: 44px;
  border-bottom: var(--border-divider);
}
.rf-tab {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.rf-tab__no {
  font-size: var(--type-label-size);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-body);
}
.rf-tab__brand {
  font-size: 16px;
  font-weight: 600;
}
.rf-tab__bar-wrap {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  border-radius: 1px;
}
.rf-tab__bar {
  width: 100%;
  height: 100%;
  background: var(--grad-chart);
  border-radius: 1px;
}

/* ── Case Study Detail ───────────────────────────────────────────────── */
.rf-cs-left {
  padding: 64px 32px 32px 0;
  display: grid;
}
.rf-cs-right {
  position: relative;
  padding: 64px 0 64px 64px;
}
.rf-cs-sizer {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.rf-cs-content {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.rf-cs-cat {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls-wide);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.rf-cs-cat--active {
  color: var(--text-body);
}
.rf-cs-label-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.rf-cs-label {
  display: flex;
  gap: 8px;
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls-wide);
  text-transform: uppercase;
  color: var(--text-body);
}
.rf-cs-label__line--accent {
  font-weight: 700;
  color: var(--text-heading);
}
.rf-cs-tag {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls-wide);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-sky);
  text-align: right;
}
.rf-cs-ba--before {
  font-weight: 700;
  animation: rf-ba-out 4.2s ease both;
}
.rf-cs-ba--after {
  font-weight: 700;
  animation: rf-ba-in 4.2s ease both;
}
.rf-cs-attribution {
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-80);
  letter-spacing: 0.04em;
}

/* ── Media / Before-After ────────────────────────────────────────────── */
.rf-media-wrap {
  position: relative;
  overflow: hidden;
}
.rf-ba-pair {
  display: flex;
  gap: 20px;
}
.rf-ba-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.rf-ba-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.rf-ba-label--before {
  color: rgba(167,161,184,0.7);
}
.rf-ba-label--after {
  color: var(--blue-sky);
}

/* ── Chart ───────────────────────────────────────────────────────────── */
.rf-chart {
  position: relative;
  height: 300px;
}
.rf-chart__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rf-chart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-body);
}
.rf-chart__dot {
  position: absolute;
  top: 12px;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--glow-gold);
  animation: rf-core 3.5s ease-in-out infinite;
}

/* ── Labels ──────────────────────────────────────────────────────────── */
.rf-label {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls-wide);
  text-transform: uppercase;
  color: var(--text-body);
}
.rf-label--spaced {
  letter-spacing: 0.2em;
}
.rf-label--slider {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-60);
}

/* ── Pill Tags ───────────────────────────────────────────────────────── */
.rf-pill {
  position: absolute;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(4,8,18,0.65);
  color: rgba(244,241,248,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── How It Works ────────────────────────────────────────────────────── */
.rf-how {
  position: relative;
  width: 100%;
  height: 470vh;
  background: var(--surface-page);
}
.rf-how__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 0 var(--page-x);
  gap: 40px;
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.rf-how__left {
  position: relative;
  z-index: 2;
  margin-left: 32px;
}
.rf-how__beats {
  position: relative;
  min-height: 300px;
}
.rf-how__beat {
  position: absolute;
  inset: 0;
}
.rf-how__text {
  max-width: 420px;
}
.rf-how__right {
  position: relative;
  height: 100vh;
}
.rf-how__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rf-how__ticks {
  display: flex;
  gap: 28px;
  margin-top: 26px;
}
.rf-how__tick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-45);
  transition: color 0.4s;
}
.rf-how__tick--active {
  color: var(--text-heading);
}
.rf-how__link {
  display: inline-block;
  margin-top: 44px;
}

/* ── Glass Chips ─────────────────────────────────────────────────────── */
.rf-chip {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-sans);
}
.rf-chip__badge {
  text-align: center;
  padding: 15px 24px 13px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,200,30,0.4);
  background: rgba(4,8,18,0.30);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.rf-chip__number {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad-gold);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rf-shimmer 5s linear infinite;
}
.rf-chip__sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-heading);
}
.rf-chip__icp {
  position: absolute;
  white-space: nowrap;
}
.rf-chip__icp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.rf-chip__icp-label--blue { color: var(--blue-sky); }
.rf-chip__icp-label--purple { color: #8F9DFF; }
.rf-chip__icp-label--cyan { color: var(--cyan); }
.rf-chip__icp-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,248,0.92);
  margin-left: 9px;
}
.rf-chip__icp-demo {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(201,214,242,0.75);
}

/* ── Traffic Worth Calculator ────────────────────────────────────────── */
.rf-calc__inputs {
  max-width: 460px;
}
.rf-calc__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
.rf-calc__result {
  width: fit-content;
}
.rf-calc__result-mobile { display: none; }

.rf-calc__result-label {
  font-size: var(--type-label-size);
  letter-spacing: var(--type-label-ls-wide);
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 26px;
  width: fit-content;
}
.rf-calc__number {
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-gold);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rf-shimmer 8s linear infinite;
  width: fit-content;
}
.rf-calc__explainer {
  margin: 26px 0 36px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-80);
  max-width: 380px;
}
.rf-calc__slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.rf-calc__slider-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

/* ── Blueprint (Partnership) ─────────────────────────────────────────── */
.rf-blueprint {
  position: relative;
  width: 600px;
  height: 480px;
  margin-left: auto;
  max-width: 100%;
}
.rf-blueprint__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rf-blueprint__item {
  opacity: 0;
  position: absolute;
}

/* Blueprint text items — positions as % of 600×480 canvas */
[data-bp="title"] { left: 52%; top: 17.5%; }
[data-bp="stars"] { left: 52%; top: 25.42%; }
[data-bp="l1"] { left: 52%; top: 35.21%; }
[data-bp="l2"] { left: 52%; top: 44.79%; }
[data-bp="l3"] { left: 52%; top: 54.38%; }
[data-bp="l4"] { left: 52%; top: 63.96%; }
[data-bp="p1"] { left: 82.33%; top: 35.42%; }
[data-bp="p2"] { left: 82.33%; top: 45%; }
[data-bp="p3"] { left: 82.33%; top: 54.58%; }
[data-bp="p4"] { left: 82.33%; top: 64.17%; }
[data-bp="btn"] { left: 52%; top: 74.58%; width: 36.67%; height: 9.58%; }

/* Blueprint text styles — clamp for responsive scaling */
.rf-blueprint__title {
  font-size: clamp(14px, 3.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #F4F1F8;
}
.rf-blueprint__stars {
  font-size: clamp(10px, 2.2vw, 13px);
  letter-spacing: 0.16em;
  color: #F4F1F8;
  text-shadow: 0 0 10px rgba(220,233,255,0.35);
}
.rf-blueprint__label {
  font-size: clamp(11px, 2.5vw, 15px);
  font-weight: 600;
  color: #DDD9E6;
}

/* ── Toggle ──────────────────────────────────────────────────────────── */
.rf-toggle {
  width: 6.33%;
  aspect-ratio: 38 / 21;
  border-radius: 21px;
  border: var(--hairline-toggle) solid 1px;
  box-sizing: border-box;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.rf-toggle__knob {
  position: absolute;
  top: 50%;
  left: 7.9%;
  width: 34.2%;
  height: 61.9%;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: transform 0.35s, background 0.35s;
  transform: translateY(-50%);
}

/* ── Fit Statement ───────────────────────────────────────────────────── */
.rf-fit {
  text-align: center;
}
.rf-fit__heading {
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: rgba(167,161,184,0.75);
  max-width: 1060px;
}
.rf-fit__label {
  margin-top: 44px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(143,184,255,0.75);
  font-weight: 600;
}
.rf-fit__link {
  margin-top: 36px;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.rf-faq__sidebar {
  position: sticky;
  top: 110px;
}
.rf-faq__list {
  border-top: var(--border-hairline);
}
.rf-faq__item {
  border-bottom: var(--border-hairline);
}
.rf-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 2px;
  cursor: pointer;
  user-select: none;
}
.rf-faq__q-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.rf-faq__chev {
  font-weight: 300;
  font-size: 24px;
  flex: none;
  line-height: 1;
  color: var(--text-body);
  transition: transform 0.35s, color 0.35s;
  user-select: none;
}
.rf-faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s var(--ease-lux), opacity 0.35s;
}
.rf-faq--open .rf-faq__chev {
  transform: rotate(45deg);
  color: var(--blue-sky);
}
.rf-faq--open .rf-faq__a {
  max-height: 240px;
  opacity: 1;
}
.rf-faq__a-text {
  margin: 0;
  padding: 0 40px 26px 2px;
  max-width: 640px;
  font-size: var(--type-body-sm-size);
  line-height: 1.65;
  color: var(--text-body);
}

/* ── Carousel Tabs & Slides ──────────────────────────────────────────── */
.rf-tab-wrapper {
  position: relative; display: flex; align-items: baseline; gap: 10px;
  padding: 0 2px 18px; cursor: pointer; user-select: none;
  font-size: 16px; font-weight: 500; color: var(--text-body);
  transition: color 0.3s;
}
.rf-tab-wrapper.cs-active { color: var(--text-heading); font-weight: 700; }
.rf-tab-wrapper .rf-tab__no {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(167,161,184,0.5); transition: color 0.3s;
}
.rf-tab-wrapper.cs-active .rf-tab__no { color: var(--blue-accent); }
.rf-tab-wrapper .rf-tab__brand { transition: color 0.3s; }
.rf-tab-wrapper .rf-tab__bar-wrap {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: transparent; overflow: hidden;
}
.rf-tab-wrapper.cs-active .rf-tab__bar-wrap { background: rgba(143,184,255,0.18); }
.rf-tab-wrapper .rf-tab__bar {
  width: 100%; height: 100%; will-change: transform; border-radius: 1px;
  background: linear-gradient(90deg, #5E7BFF, #8FB8FF);
  transform: translateX(-100%);
}

.rf-cs-play-btn {
  margin-left: auto; align-self: center; margin-bottom: 12px;
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-body); user-select: none;
  transition: color 0.25s, border-color 0.25s;
}
.rf-cs-play-btn:hover { color: var(--text-heading); border-color: rgba(143,184,255,0.6); }

.rf-cs-slide {
  grid-area: 1 / 1;
  animation: rf-cs-inA 0.55s cubic-bezier(.2,.7,.2,1) both;
}
.rf-cs-slide-right {
  animation: rf-cs-inA 0.55s cubic-bezier(.2,.7,.2,1) both;
}

.rf-cs-media-wrap { position: relative; height: 340px; margin-bottom: 26px; }
.rf-cs-media-layer {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: contain; background-position: center;
  background-repeat: no-repeat; border-radius: 8px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.rf-footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-page);
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  border-top: var(--border-hairline);
  padding: 44px var(--page-x);
}
.rf-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.rf-footer__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
  flex-wrap: wrap;
}
.rf-footer__copyright {
  font-size: 12.5px;
  color: var(--muted-60);
}

/* ── Closing CTA Bar ─────────────────────────────────────────────────── */
.rf-closing-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 36px;
}
.rf-closing-bar__text {
  font-size: 14px;
  color: rgba(167,161,184,0.85);
  font-weight: 500;
}
.rf-closing-bar__ctas {
  flex: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ── Close Section ───────────────────────────────────────────────────── */
.rf-close {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--page-x);
}
.rf-close__ctas {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ── Booking Modal ───────────────────────────────────────────────────── */
.rf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.rf-modal--active {
  display: flex;
}
.rf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,5,10,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.rf-modal__wrapper {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 960px;
  height: 85vh;
  border-radius: var(--lozenge-sm);
  border-top-left-radius: var(--lozenge-lg);
  border-bottom-right-radius: var(--lozenge-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 80px rgba(120,180,255,0.18), 0 24px 80px rgba(0,0,0,0.5);
}
.rf-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-hover), color var(--dur-hover), border-color var(--dur-hover);
}
.rf-modal__close:hover,
.rf-modal__close:focus-visible {
  background: rgba(0,0,0,0.1);
  color: var(--void);
  border-color: rgba(94,123,255,0.5);
  outline: none;
}
.rf-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.rf-modal-open {
  overflow: hidden;
}

/* ── Legal Page Content ──────────────────────────────────────────────── */
.rf-legal__body h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 48px 0 18px;
  letter-spacing: -0.02em;
}
.rf-legal__body h2 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 32px 0 14px;
  letter-spacing: -0.01em;
}
.rf-legal__body p {
  margin: 0 0 16px;
}
.rf-legal__body a {
  color: var(--blue-sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(143,184,255,0.4);
  transition: border-color var(--dur-hover);
}
.rf-legal__body a:hover {
  border-color: var(--blue-sky);
}
.rf-legal__body ul,
.rf-legal__body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.rf-legal__body li {
  margin-bottom: 8px;
}
.rf-legal__body strong {
  font-weight: 600;
  color: var(--text-heading);
}
.rf-legal__body em {
  font-style: italic;
  color: var(--muted-80);
}
.rf-legal__body code {
  font-family: monospace;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── Utility ──────────────────────────────────────────────────────────── */
.rf-relative { position: relative; }
.rf-text-center { text-align: center; }
.rf-mx-auto { margin-left: auto; margin-right: auto; }
.rf-pointer-none { pointer-events: none; }
.rf-fade-in-1 {
  animation: rf-rise var(--dur-enter) var(--ease-lux) both;
}
.rf-fade-in-2 {
  animation: rf-rise var(--dur-enter) var(--ease-lux) 0.08s both;
}
.rf-fade-in-3 {
  animation: rf-rise var(--dur-enter) var(--ease-lux) 0.16s both;
}

/* ── Keyframes (page-specific, supplementing effects.css) ────────────── */
@keyframes rf2-draw { from { stroke-dashoffset: 640; } to { stroke-dashoffset: 0; } }
@keyframes rf2-drawB { from { stroke-dashoffset: 640; } to { stroke-dashoffset: 0; } }
@keyframes rf2-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rf2-fadeB { from { opacity: 0; } to { opacity: 1; } }
@keyframes rf-cs-inA { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rf-cs-inB { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rf-cs-progA { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes rf-cs-progB { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes rf-xfade { 0%,42% { opacity: 1; } 52%,90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rf-baA { 0%,38% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rf-baB { 0%,38% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rf-ba-out { 0%,38% { color: var(--text-heading); opacity: 1; } 100% { color: var(--text-body); opacity: 0.22; } }
@keyframes rf-ba-in  { 0%,38% { color: var(--text-body); opacity: 0.22; } 100% { color: var(--text-heading); opacity: 1; } }

/* ── Custom Slider ───────────────────────────────────────────────────── */

/* ── Custom Slider ───────────────────────────────────────────────────── */
input[type="range"].rf-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent) var(--fill,50%), rgba(255,255,255,0.12) var(--fill,50%));
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
}
input[type="range"].rf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #DCE9FF);
  box-shadow: 0 0 24px rgba(150,195,255,0.7), 0 2px 8px rgba(0,0,0,0.5);
  border: none;
}
input[type="range"].rf-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #DCE9FF);
  box-shadow: 0 0 24px rgba(150,195,255,0.7), 0 2px 8px rgba(0,0,0,0.5);
  border: none;
}

/* ==========================================================================
   Responsive — structural overrides
   Breakpoints: mobile < 769px / tablet 769–1024px / laptop 1024–1440px
   ========================================================================== */

/* ── Laptop (1024px – 1440px) ─────────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1440px) {
  :root {
    --page-x: 60px;
    --section-y: 100px;
    --grid-gap: 60px;
  }
}

/* ── Tablet (769px – 1024px) ──────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --page-x: 48px;
    --section-y: 80px;
    --grid-gap: 48px;
  }

  .rf-h1 { font-size: 72px; }
  .rf-h2--sm { font-size: 40px; }
  .rf-h2 { font-size: 44px; }

  .rf-hero { min-height: 680px; }

  .rf-hero__row { gap: 40px; }
  .rf-hero__text { max-width: 480px; }

  .rf-nav--lg { gap: 24px; font-size: 14px; }

  .rf-tabs { gap: 28px; }

  .rf-cs-media-wrap { height: 260px; }

  .rf-calc__row { gap: 48px; }
  .rf-calc__number { font-size: 72px; }
  .rf-calc__explainer { max-width: 320px; }

  .rf-blueprint { width: 480px; height: 400px; transform: scale(0.85); transform-origin: top left; }

  .rf-fit__heading { font-size: 42px; max-width: 800px; }

  .rf-close { padding: 100px var(--page-x); min-height: 70vh; }
  .rf-h2--close { font-size: 52px; }
}

/* ── Mobile (< 769px) ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --page-x: 12px;
    --section-y: 64px;
    --grid-gap: 32px;
  }

  /* Shared grid collapse */
  .rf-grid-2,
  .rf-grid-2--tight,
  .rf-grid-2--wide,
  .rf-grid-2--left-narrow,
  .rf-grid-2--left-wide {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rf-grid-2--tight { gap: 0; }

  /* Type scale */
  .rf-h1 { font-size: 48px; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 20px; }
  .rf-h2 { font-size: 34px; line-height: 1.10; letter-spacing: -0.025em; margin-bottom: 16px; }
  .rf-h2--sm { font-size: 30px; }
  .rf-h2--close { font-size: 36px; margin-bottom: 20px; }
  .rf-h3 { font-size: 24px; margin-bottom: 14px; }
  .rf-body { font-size: 16px; line-height: 1.6; }
  .rf-body--sm { font-size: 15px; }
  .rf-body--tight { font-size: 15px; }
  .rf-eyebrow { font-size: 10.5px; margin-bottom: 14px; }
  .rf-section-head { margin-bottom: 40px; }

  /* Hero */
  .rf-hero { min-height: 100vh; min-height: 100dvh; height: auto; display: flex; flex-direction: column; }
  .rf-hero__content { position: relative; bottom: auto; left: 0; right: 0; padding: 0 var(--page-x) 44px; margin-top: auto; }
  .rf-hero__row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .rf-hero__text { max-width: none; }
  .rf-hero__ctas { flex-wrap: wrap; gap: 14px; padding-top: 10px; }
  .rf-hero__ctas .rf-btn--primary-lg { padding: 14px 28px; font-size: 16px; }
  .rf-hero__ctas .rf-link { font-size: 14px; }

  /* Header */
  .rf-header { padding: 14px var(--page-x); }
  .rf-nav--lg { display: none; }

  /* Sticky nav */
  .rf-sticky-nav { padding: 12px var(--page-x); }
  .rf-nav--md { display: none; }
  .rf-nav--mobile { display: flex; align-items: center; gap: 16px; margin-right: 6px; }

  /* Flare */
  .rf-flare { top: -150px; right: -210px; width: 600px; height: 600px; }
  .rf-flare__rays { width: 600px; height: 600px; }
  .rf-flare__drift { width: 460px; height: 460px; }
  .rf-flare__warm { width: 300px; height: 300px; }
  .rf-flare__core { width: 220px; height: 220px; }
  .rf-flare__hline { width: 560px; }
  .rf-flare__vline { height: 260px; }

  /* Stats */
  .rf-stats { gap: 12px; }
  .rf-stat__value { font-size: 24px; }
  .rf-stat__label { font-size: 10px; }

  /* Results — case study tabs scrollable */
  .rf-tabs { gap: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; }
  .rf-tabs::-webkit-scrollbar { display: none; }
  .rf-tab-wrapper { flex-shrink: 0; font-size: 14px; }
  .rf-cs-play-btn { position: sticky; right: -1px; flex: none; margin: 0; align-self: center; z-index: 2; padding: 0px; border: 0; border-radius:0; bottom:18px; height: 24px; width: 32px; background: linear-gradient(90deg, transparent, var(--surface-page) 30%); justify-content: flex-end; }
  .rf-cs-play-btn:hover { color: var(--text-heading); }

  /* Results — case study content */
  .rf-cs-left { border-right: none; padding: 32px 0 24px; }
  .rf-cs-media-wrap { height: 200px; }
  .rf-cs-sizer { min-height: 370px; }
  .rf-cs-sizer .rf-metrics--sizer { display: none; }
  .rf-cs-slide { max-height: fit-content; }
  .rf-cs-content { padding-right: 0; min-height: 0px; }
  .rf-metrics { flex-direction: column; gap: 16px; border-bottom: var(--border-divider); padding: 24px 0; border-top: 0; }
  .rf-metrics__value { font-size: 24px; }
  .rf-metrics__label { font-size: 10px; }
  .rf-cs-right { padding: 0px;}
  .rf-cs-label { flex-direction: column; gap: 2px; }
  .rf-cs-tag { text-align: left; }

  /* Closing bar */
  .rf-closing-bar { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 28px; }
  .rf-closing-bar__text { font-size: 13px; }
  .rf-closing-bar__ctas { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rf-closing-bar__ctas .rf-btn--primary-lg { padding: 14px 28px; font-size: 16px; }

  /* Calculator */
  .rf-calc__row { flex-direction: column; align-items: stretch; gap: 0px; }
  .rf-calc__result { width: 100%; border: none; padding-left: 0 !important; }
  .rf-calc__result-desktop { display: none; }
  .rf-calc__result-mobile { display: block; margin-bottom: 42px; }
  .rf-calc__number { font-size: 72px; }
  .rf-calc__result-label { width: 100%; margin-bottom: 10px; }
  .rf-calc__explainer { max-width: none; }
  .rf-calc__slider-row { gap: 4px; }
  .rf-calc__slider-value { font-size: 18px; }

  /* How it works */
  .rf-how { padding-bottom: var(--section-y); }
  .rf-how__sticky { grid-template-columns: 1fr; gap: 0px; padding: 0 var(--page-x); }
  .rf-how__right { max-height: 60vh; }
  .rf-how__left { margin: 0; }
  .rf-how__beats { min-height: 150px; }
  .rf-how__link { margin-top: 24px; }
  #how-chips .rf-chip__icp:first-child div:first-of-type { bottom: -84px!important; }
  #how-chips .rf-chip__icp:first-child div:last-of-type { top: 90px!important; }
  #how-chips .rf-chip__icp:nth-child(2) div:first-of-type { bottom: -84px!important; }
  #how-chips .rf-chip__icp:nth-child(2) div:last-of-type { top: 90px!important; }
  #how-chips .rf-chip__icp:last-child div:first-of-type { bottom: -84px!important; }
  #how-chips .rf-chip__icp:last-child div:last-of-type { top: 90px!important; }
  .rf-chip__number { font-size: 28px; }

  /* Partnership — blueprint */
  .rf-blueprint { width: calc(100% + var(--page-x) * 2); margin-left: calc(var(--page-x) * -1); max-width: none; height: auto; aspect-ratio: 5 / 4; }

  /* Fit */
  .rf-fit__heading { font-size: 32px; max-width: 100%; letter-spacing: -0.02em; line-height: 1.3; }
  .rf-fit__label { margin-top: 28px; font-size: 11px; }
  .rf-fit__link { margin-top: 24px; }

  /* FAQ */
  .rf-faq__sidebar { position: static; margin-bottom: 32px; }
  .rf-faq__q-text { font-size: 16px; }
  .rf-faq__q { padding: 20px 2px; }
  .rf-faq__a-text { padding-right: 20px; font-size: 14.5px; }

  /* Close */
  .rf-close { min-height: auto; padding: 64px var(--page-x) 80px; }
  .rf-close__ctas { flex-direction: column; gap: 18px; }
  .rf-close__ctas .rf-link--lg { font-size: 15px; }

  /* Footer */
  .rf-footer { padding: 36px var(--page-x); }
  .rf-footer__inner { flex-direction: column; text-align: center; gap: 18px; }
  .rf-footer__nav { justify-content: center; row-gap: 12px; }

  /* Dividers on mobile — remove left dividers, use top instead */
  .rf-divider-l { border-left: none; }

  /* Glow backgrounds — scale down */
  .rf-glow-bg { width: 320px !important; height: 320px !important; }
}
