*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --rf-orange: #e65208;
  --rf-orange-dark: #c94707;
  --rf-blue: #03afff;
  --rf-text: #131313;
  --rf-muted: #5f6368;
  --rf-border: #dadce0;
  --rf-surface: #ffffff;
  --rf-surface-muted: #f5f5f5;
  --rf-panel: rgba(0, 0, 0, 0.45);
  --rf-header-bg: rgba(255, 255, 255, 0.96);
  --rf-input-bg: #ffffff;
  --max-width: 1140px;
  --font: 'Roboto', system-ui, sans-serif;
  --header-height: 64px;
  color-scheme: light;
}

html.dark {
  --rf-blue: #8ab4f8;
  --rf-text: #e8eaed;
  --rf-muted: #9aa0a6;
  --rf-border: #3c4043;
  --rf-surface: #292a2d;
  --rf-surface-muted: #131314;
  --rf-panel: rgba(0, 0, 0, 0.55);
  --rf-header-bg: rgba(41, 42, 45, 0.96);
  --rf-input-bg: #303134;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--rf-text);
  background: var(--rf-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rf-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }

body.is-nav-open { overflow: hidden; }

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Announcement banner ── */
.rf-announce-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #1e1b4b;
  color: #fff;
  text-align: center;
}

.rf-announce-banner__text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.rf-announce-banner__text a {
  color: #c4b5fd;
  font-weight: 600;
  text-decoration: underline;
}

.rf-announce-banner__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #c4b5fd;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.rf-announce-banner__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Header ── */
.site-header {
  background: var(--rf-header-bg);
  border-bottom: 1px solid var(--rf-border);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  position: relative;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface);
  color: var(--rf-text);
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-nav-toggle:hover {
  background: var(--rf-surface-muted);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--rf-text);
  text-decoration: none;
}

.site-logo:hover { text-decoration: none; color: var(--rf-text); }

.site-logo__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  color: var(--rf-orange);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:not(.site-nav__cta) {
  color: var(--rf-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
}

.site-nav a:not(.site-nav__cta):hover,
.site-nav a:not(.site-nav__cta).active {
  color: var(--rf-text);
  background: var(--rf-surface-muted);
  text-decoration: none;
}

.site-nav__signin { margin-left: 0.25rem; }

.site-nav .site-nav__cta,
.site-nav a.site-nav__cta {
  color: #fff;
  background: var(--rf-orange);
  padding: 0.55rem 1.125rem;
  border-radius: 4px;
  line-height: 1.25;
  margin-left: 0.35rem;
  box-shadow: 0 2px 8px rgba(230, 82, 8, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
  text-decoration: none;
}

.site-nav .site-nav__cta:hover,
.site-nav a.site-nav__cta:hover,
.site-nav .site-nav__cta:focus-visible,
.site-nav a.site-nav__cta:focus-visible {
  background: var(--rf-orange-dark);
  color: #fff;
  text-decoration: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover { text-decoration: none; }

.btn-hero {
  background: var(--rf-orange);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(230, 82, 8, 0.35);
}

.btn-hero:hover {
  background: var(--rf-orange-dark);
  color: #fff !important;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.btn-plan {
  width: 100%;
  background: var(--rf-orange);
  color: #fff;
  margin-top: auto;
}

.btn-plan:hover { background: var(--rf-orange-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--rf-text);
  border: 1px solid var(--rf-border);
}

.btn-outline:hover {
  background: var(--rf-surface-muted);
  color: var(--rf-text);
}

/* ── Live demo embeds ── */
.demo-hero {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, var(--rf-surface-muted) 0%, var(--rf-surface) 100%);
}

.demo-hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rf-orange);
  margin-bottom: 0.5rem;
}

.demo-hero__lead {
  max-width: 42rem;
  color: var(--rf-muted);
  font-size: 1.0625rem;
}

.demo-showcase__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.demo-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-picker__btn {
  text-align: left;
  padding: 1rem 1.125rem;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface);
  color: var(--rf-text);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.demo-picker__btn:hover,
.demo-picker__btn.active {
  border-color: var(--rf-orange);
  box-shadow: 0 0 0 1px rgba(230, 82, 8, 0.15);
}

.demo-picker__title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.demo-picker__tagline {
  display: block;
  font-size: 0.875rem;
  color: var(--rf-muted);
}

.demo-stage__copy h2 {
  margin-bottom: 0.5rem;
}

.demo-stage__copy p {
  color: var(--rf-muted);
  margin-bottom: 1rem;
}

.demo-widget-frame {
  border: 1px solid var(--rf-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--rf-surface-muted);
  min-height: 520px;
}

.demo-widget-iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  height: 560px;
  border: 0;
}

.demo-widget-mount {
  min-height: 520px;
}

.demo-widget-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--rf-muted);
}

.demo-cta-band {
  background: var(--rf-surface-muted);
}

.demo-cta-band__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.demo-cta-band__inner p {
  color: var(--rf-muted);
  margin: 0.75rem 0 1.25rem;
}

.demo-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.demo-tech-details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.demo-tech-details__block {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--rf-surface);
}

.demo-tech-details__block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.demo-tech-details__block p,
.demo-tech-details__block li {
  color: var(--rf-muted);
  font-size: 0.9375rem;
}

.demo-tech-details__block p {
  margin-bottom: 0.75rem;
}

.demo-tech-details__block ul {
  padding-left: 1.125rem;
  margin: 0;
}

.demo-tech-details__block li + li {
  margin-top: 0.35rem;
}

.demo-tech-details__code {
  margin: 0 0 1rem;
  padding: 1rem 1.125rem;
  border-radius: 6px;
  background: var(--rf-surface-muted);
  border: 1px solid var(--rf-border);
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.demo-tech-details__code code {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  white-space: pre;
}

.demo-tech-details__example {
  font-size: 0.9375rem;
}

.demo-tech-details__example a {
  word-break: break-all;
}

.home-demo__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.home-demo__copy h3 {
  margin-bottom: 0.75rem;
}

.home-demo__copy p {
  color: var(--rf-muted);
  margin-bottom: 1rem;
}

.home-demo__theme-note {
  font-size: 0.875rem;
  line-height: 1.55;
}

.home-demo__frame {
  min-height: 0;
  overflow: visible;
}

.home-demo__widget .demo-widget-mount {
  min-height: 0;
}

/* ── Hero banner (homepage) ── */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: #222;
}

.hero-banner__media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1.5rem;
}

.hero-banner__content h1 {
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  text-shadow: var(--rf-orange) 1px 0 10px;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.hero-banner__box {
  background: var(--rf-panel);
  padding: 1rem 1.25rem;
  margin: 0 auto 1rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
}

.hero-banner__box p { margin: 0.25rem 0; }

.hero-banner__box-lead { display: none; }

.hero-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

/* ── Quick features (3 columns) ── */
.quick-features {
  padding: 3.5rem 0;
}

.quick-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quick-features__col h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  font-weight: 500;
  color: var(--rf-text);
}

.quick-features__col ul {
  list-style: none;
  color: var(--rf-muted);
}

.quick-features__col li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rf-border);
  font-size: 0.9375rem;
}

/* ── Sections ── */
.section-block { padding: 3.5rem 0; }
.section-block--muted { background: var(--rf-surface-muted); }

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--rf-text);
}

.section-head p { color: var(--rf-muted); }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rf-orange);
  margin-bottom: 0.5rem;
}

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--rf-surface-muted), var(--rf-surface));
  border-bottom: 1px solid var(--rf-border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p { color: var(--rf-muted); max-width: 42rem; margin-inline: auto; }

.trusted-by {
  padding: 1.25rem 0;
  text-align: center;
  border-bottom: 1px solid var(--rf-border);
  background: var(--rf-surface-muted);
}

.trusted-by-tagline {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rf-muted);
  line-height: 1.5;
}

.page-hero--compact {
  padding: 2.25rem 0 1.5rem;
}

.page-hero__sub { margin-top: 0.75rem; font-size: 0.9375rem; }

.feature-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feature-panel {
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--rf-surface);
}

.feature-panel h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--rf-text);
}

.feature-panel p { color: var(--rf-muted); font-size: 0.9375rem; }

.feature-panel__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rf-orange);
  margin-bottom: 0.35rem;
}

.feature-panel__lead {
  margin-bottom: 0.75rem;
}

.feature-panel__viral-layout {
  display: grid;
  gap: 1.25rem;
}

.feature-panel__milestones-scale {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rf-muted);
  text-align: center;
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
}

.feature-panel__milestones-scale span {
  color: var(--rf-text);
  font-weight: 700;
}

@media (min-width: 640px) {
  .feature-panel__viral-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.feature-panel__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rf-orange);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: rgba(230, 82, 8, 0.06);
  border: 1px solid rgba(230, 82, 8, 0.2);
}

.feature-panel__link:hover {
  text-decoration: none;
  background: rgba(230, 82, 8, 0.1);
  border-color: rgba(230, 82, 8, 0.35);
}

.feature-panel__bullets {
  list-style: none;
  margin-bottom: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.feature-panel__bullets li {
  font-size: 0.875rem;
  color: var(--rf-text);
  padding: 0.45rem 0;
  padding-left: 1.125rem;
  position: relative;
}

.feature-panel__bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rf-orange);
  font-weight: 700;
  font-size: 0.8125rem;
}

.feature-panel__bullets li.is-highlight {
  color: var(--rf-text);
  padding: 0.5rem 0.625rem 0.5rem 1.125rem;
  margin-left: -0.5rem;
  border-radius: 6px;
  background: rgba(230, 82, 8, 0.06);
  border: 1px solid rgba(230, 82, 8, 0.12);
  border-left: 3px solid var(--rf-orange);
}

.feature-panel__bullets li.is-highlight strong {
  font-weight: 600;
}

.feature-panel__bullet-detail {
  display: block;
  font-size: 0.8125rem;
  color: var(--rf-muted);
  font-weight: 400;
  margin-top: 0.1rem;
  line-height: 1.4;
}

.feature-panel__bullets li.is-highlight .feature-panel__bullet-detail {
  color: var(--rf-muted);
}

.feature-panel--viral {
  border-color: rgba(230, 82, 8, 0.25);
  background: linear-gradient(180deg, var(--rf-surface), var(--rf-surface-muted));
  padding: 1.625rem;
}

.feature-panel--viral h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

@media (min-width: 720px) {
  .feature-panels .feature-panel--viral {
    grid-column: span 2;
  }
}

html.dark .feature-panel--viral {
  border-color: rgba(230, 82, 8, 0.35);
}

.feature-panel__milestones {
  padding: 1rem;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface);
}

.feature-panel--viral .feature-panel__milestones {
  background: rgba(255, 255, 255, 0.55);
}

html.dark .feature-panel--viral .feature-panel__milestones {
  background: rgba(0, 0, 0, 0.2);
}

.feature-panel__milestones-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rf-muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.platforms-band {
  padding: 3rem 0;
  background: var(--rf-surface-muted);
  border-block: 1px solid var(--rf-border);
  text-align: center;
}

.platforms-band h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }

.platforms-band p {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  color: var(--rf-muted);
}

.platforms-band__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.platforms-band__chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rf-border);
  border-radius: 999px;
  background: var(--rf-surface);
  color: var(--rf-text);
  font-weight: 500;
  text-decoration: none;
}

.platforms-band__chip:hover {
  border-color: var(--rf-orange);
  color: var(--rf-orange);
  text-decoration: none;
}

.stats-strip {
  padding: 2.5rem 0;
  border-block: 1px solid var(--rf-border);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats-strip strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rf-orange);
}

.stats-strip span { font-size: 0.8125rem; color: var(--rf-muted); }

.signup-band {
  padding: 3.5rem 0;
  text-align: center;
  background: #222;
  color: #fff;
}

.signup-band h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }

.signup-band p { opacity: 0.9; max-width: 36rem; margin-inline: auto; }

.signup-band .btn { margin-top: 1.25rem; }

.signup-band__fine {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  opacity: 0.75;
}

.signup-band__legal {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  opacity: 0.65;
  max-width: 36rem;
}

/* ── Customer logos (legacy homepage carousel) ── */
.customer-logos {
  padding: 3.5rem 0;
  background: rgba(218, 218, 218, 0.18);
  border-block: 1px inset rgba(0, 0, 0, 0.1);
}

html.dark .customer-logos {
  background: rgba(255, 255, 255, 0.04);
  border-block-color: var(--rf-border);
}

.customer-logos__title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.customer-logos__disclaimer {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--rf-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.customer-logos__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.customer-logos__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: customer-logos-scroll 45s linear infinite;
}

.customer-logos__track:hover {
  animation-play-state: paused;
}

.customer-logos__card {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
}

html.dark .customer-logos__card {
  background: var(--rf-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.customer-logos__card img {
  width: min(250px, 80%);
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

@keyframes customer-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-logos__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1rem;
  }

  .customer-logos__viewport {
    mask-image: none;
    overflow: visible;
  }
}

/* ── Pricing ── */
.pricing-section { padding: 2rem 0 3rem; }

.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--rf-border);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 0.5rem;
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.billing-toggle__btn {
  border: none;
  background: var(--rf-surface);
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--rf-muted);
}

.billing-toggle__btn.is-active {
  background: var(--rf-orange);
  color: #fff;
}

.billing-toggle__hint {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--rf-muted);
  margin-bottom: 2rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  border: 1px solid var(--rf-border);
  border-radius: 6px;
  padding: 1.5rem;
  background: var(--rf-surface);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.plan-card--featured {
  border-color: var(--rf-orange);
  box-shadow: 0 4px 16px rgba(230, 82, 8, 0.15);
  transform: scale(1.02);
}

.plan-card__badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rf-orange);
  margin-bottom: 0.5rem;
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-card__price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.plan-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--rf-muted);
}

.plan-card__tagline {
  font-size: 0.875rem;
  color: var(--rf-muted);
  min-height: 3rem;
  margin-bottom: 1rem;
}

.plan-card__list {
  list-style: none;
  text-align: left;
  margin-bottom: 1.25rem;
  flex: 1;
}

.plan-card__list li {
  font-size: 0.875rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  color: var(--rf-muted);
}

.plan-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rf-orange);
  font-weight: 700;
}

.plan-card__details {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.pricing-notes {
  padding: 0 0 2rem;
  text-align: center;
  color: var(--rf-muted);
  font-size: 0.9375rem;
}

/* ── Pricing FAQ ── */
.faq-section {
  padding: 3rem 0 3.5rem;
}

.faq-section__heading {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-list__item {
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  background: var(--rf-surface);
}

.faq-list__q {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--rf-text);
}

.faq-list__a {
  margin: 0;
  color: var(--rf-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Compare table ── */
.compare-section {
  padding: 2rem 0 3.5rem;
  background: var(--rf-surface-muted);
}

.compare-section__title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rf-border);
  font-size: 0.875rem;
  text-align: center;
}

.compare-table th[scope='row'] {
  text-align: left;
  font-weight: 500;
  color: var(--rf-text);
}

.compare-table thead th {
  background: var(--rf-surface-muted);
  font-weight: 700;
}

.compare-table td[data-kind='yes'] {
  color: #188038;
  font-weight: 700;
}

html.dark .compare-table td[data-kind='yes'] {
  color: #81c995;
}

.compare-table td[data-kind='no'] {
  color: var(--rf-muted);
  opacity: 0.65;
}

/* ── Features page ── */
.entry-groups {
  display: grid;
  gap: 1rem;
}

.entry-group {
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--rf-surface);
}

.entry-group h3 { margin-bottom: 0.35rem; color: var(--rf-text); }

.entry-group p { color: var(--rf-muted); font-size: 0.9375rem; }

.feature-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-split h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--rf-text);
}

.feature-split ul {
  padding-left: 1.125rem;
  color: var(--rf-muted);
  font-size: 0.9375rem;
}

.feature-split li { margin-bottom: 0.35rem; }

/* ── Viral referrals ── */
.viral-referrals {
  border-block: 1px solid var(--rf-border);
  background: var(--rf-surface-muted);
}

.viral-referrals .section-head {
  margin-bottom: 2.5rem;
}

.viral-referrals .section-head p {
  max-width: 40rem;
  margin-inline: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.viral-referrals__section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rf-muted);
  text-align: center;
  margin-bottom: 0.875rem;
}

.viral-referrals__at-a-glance {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.viral-referrals__highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.viral-referrals__highlights li {
  font-size: 0.8125rem;
  color: var(--rf-muted);
  line-height: 1.45;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface);
  text-align: left;
}

.viral-referrals__highlights li strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rf-text);
  margin-bottom: 0.25rem;
}

.viral-referrals__highlight-detail {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.viral-referrals__highlights li.is-featured {
  border-color: rgba(230, 82, 8, 0.35);
  background: rgba(230, 82, 8, 0.04);
  box-shadow: 0 1px 8px rgba(230, 82, 8, 0.08);
  border-left: 3px solid var(--rf-orange);
}

html.dark .viral-referrals__highlights li.is-featured {
  background: rgba(230, 82, 8, 0.1);
  border-color: rgba(230, 82, 8, 0.4);
}

.viral-referrals__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 20rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.viral-referrals__progress-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(160, 98, 42, 0.35), rgba(107, 114, 128, 0.35));
  min-width: 2rem;
}

.viral-referrals__progress-line:last-of-type {
  background: linear-gradient(90deg, rgba(107, 114, 128, 0.35), rgba(184, 134, 11, 0.35));
}

.viral-referrals__progress-dot {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--rf-border);
  background: var(--rf-surface);
  flex-shrink: 0;
}

.viral-referrals__progress-dot--bronze {
  border-color: rgba(180, 120, 60, 0.55);
  color: #a0622a;
}

.viral-referrals__progress-dot--silver {
  border-color: rgba(120, 130, 140, 0.55);
  color: #6b7280;
}

.viral-referrals__progress-dot--gold {
  border-color: rgba(200, 150, 40, 0.6);
  color: #b8860b;
}

html.dark .viral-referrals__progress-dot--bronze { color: #d4a574; }
html.dark .viral-referrals__progress-dot--silver { color: #b0b8c0; }
html.dark .viral-referrals__progress-dot--gold { color: #e8c547; }

.viral-referrals__milestones-wrap {
  margin-bottom: 3rem;
}

.viral-referrals__milestones-panel {
  max-width: 52rem;
  margin-inline: auto;
  padding: 1.375rem 1.25rem;
  border: 1px solid var(--rf-border);
  border-radius: 12px;
  background: var(--rf-surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

html.dark .viral-referrals__milestones-panel {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.viral-referrals__subcopy {
  text-align: center;
  color: var(--rf-muted);
  font-size: 0.875rem;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.viral-referrals__milestones {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
  position: relative;
}

.viral-referrals__grid-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rf-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rf-border);
}

.viral-milestone__arrow {
  display: grid;
  place-items: center;
  color: var(--rf-muted);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0 0.15rem;
}

.viral-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 1.125rem 0.875rem;
  border: 1px solid var(--rf-border);
  border-radius: 10px;
  background: var(--rf-surface);
  position: relative;
  z-index: 1;
}

.viral-milestone__step {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--rf-surface-muted);
  border: 1px solid var(--rf-border);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--rf-muted);
  margin-bottom: 0.15rem;
}

.viral-milestone--bronze .viral-milestone__step {
  border-color: rgba(180, 120, 60, 0.45);
  color: #a0622a;
}

.viral-milestone--silver .viral-milestone__step {
  border-color: rgba(120, 130, 140, 0.45);
  color: #6b7280;
}

.viral-milestone--gold .viral-milestone__step {
  border-color: rgba(200, 150, 40, 0.5);
  color: #b8860b;
}

.viral-milestone__tier {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.viral-milestone__count {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rf-text);
  line-height: 1.2;
}

.viral-milestone__count strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.viral-milestone__reward {
  font-size: 0.75rem;
  color: var(--rf-muted);
  line-height: 1.35;
}

.viral-milestone--bronze { border-color: rgba(180, 120, 60, 0.45); }
.viral-milestone--bronze .viral-milestone__tier { color: #a0622a; }
.viral-milestone--silver { border-color: rgba(120, 130, 140, 0.45); }
.viral-milestone--silver .viral-milestone__tier { color: #6b7280; }
.viral-milestone--gold { border-color: rgba(200, 150, 40, 0.5); }
.viral-milestone--gold .viral-milestone__tier { color: #b8860b; }

html.dark .viral-milestone--bronze .viral-milestone__tier { color: #d4a574; }
html.dark .viral-milestone--silver .viral-milestone__tier { color: #b0b8c0; }
html.dark .viral-milestone--gold .viral-milestone__tier { color: #e8c547; }

html.dark .viral-milestone--bronze .viral-milestone__step { color: #d4a574; }
html.dark .viral-milestone--silver .viral-milestone__step { color: #b0b8c0; }
html.dark .viral-milestone--gold .viral-milestone__step { color: #e8c547; }

html.dark .viral-referrals__list li.is-highlight,
html.dark .feature-panel__bullets li.is-highlight {
  background: rgba(230, 82, 8, 0.12);
}

@media (min-width: 901px) {
  .viral-referrals__milestones::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(160, 98, 42, 0.35), rgba(107, 114, 128, 0.35), rgba(184, 134, 11, 0.35));
    transform: translateY(-50%);
    z-index: 0;
  }
}

.viral-referrals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (min-width: 901px) {
  .viral-referrals__grid {
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: start;
  }
}

.viral-referrals__card {
  border: 1px solid var(--rf-border);
  border-radius: 10px;
  padding: 1.375rem;
  background: var(--rf-surface);
}

.viral-referrals__card--featured {
  border-color: rgba(230, 82, 8, 0.35);
  box-shadow: 0 2px 12px rgba(230, 82, 8, 0.08);
}

html.dark .viral-referrals__card--featured {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.viral-referrals__card-role {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rf-orange);
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(230, 82, 8, 0.08);
}

.viral-referrals__card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.viral-referrals__card-subhead {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rf-muted);
  margin-bottom: 0.5rem;
}

.viral-referrals__dashboard-block + .viral-referrals__dashboard-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rf-border);
}

.viral-referrals__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.viral-referrals__list li {
  font-size: 0.875rem;
  color: var(--rf-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.viral-referrals__list li strong {
  color: var(--rf-text);
  font-weight: 600;
}

.viral-referrals__list li.is-highlight {
  color: var(--rf-text);
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  margin-left: -0.625rem;
  margin-right: -0.25rem;
  border-radius: 6px;
  background: rgba(230, 82, 8, 0.06);
  border: 1px solid rgba(230, 82, 8, 0.12);
}

.viral-referrals__list--dashboard {
  gap: 0.625rem;
}

.viral-tier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.viral-tier-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.5rem 0.375rem;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  background: var(--rf-surface-muted);
  text-align: center;
}

.viral-tier-stat__label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.viral-tier-stat__hint {
  font-size: 0.6875rem;
  color: var(--rf-muted);
  line-height: 1.3;
}

.viral-tier-stat--bronze { border-color: rgba(180, 120, 60, 0.4); }
.viral-tier-stat--bronze .viral-tier-stat__label { color: #a0622a; }
.viral-tier-stat--silver { border-color: rgba(120, 130, 140, 0.4); }
.viral-tier-stat--silver .viral-tier-stat__label { color: #6b7280; }
.viral-tier-stat--gold { border-color: rgba(200, 150, 40, 0.45); }
.viral-tier-stat--gold .viral-tier-stat__label { color: #b8860b; }

html.dark .viral-tier-stat--bronze .viral-tier-stat__label { color: #d4a574; }
html.dark .viral-tier-stat--silver .viral-tier-stat__label { color: #b0b8c0; }
html.dark .viral-tier-stat--gold .viral-tier-stat__label { color: #e8c547; }

.viral-referrals__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rf-orange);
  font-weight: 700;
  font-size: 0.8125rem;
}

.viral-referrals__steps {
  list-style: none;
  counter-reset: viral-step;
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

.viral-referrals__steps li {
  counter-increment: viral-step;
  font-size: 0.875rem;
  color: var(--rf-muted);
  padding-left: 2.125rem;
  position: relative;
  line-height: 1.55;
}

.viral-referrals__steps li::before {
  content: counter(viral-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.375rem;
  height: 1.375rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rf-orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.viral-milestones--compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  position: relative;
}

.viral-milestones--compact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(160, 98, 42, 0.35), rgba(107, 114, 128, 0.35), rgba(184, 134, 11, 0.35));
  transform: translateY(-50%);
  z-index: 0;
}

.viral-milestones--compact .viral-milestone {
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}

.viral-milestones--compact .viral-milestone__step {
  margin-bottom: 0.1rem;
}

.viral-milestones--compact .viral-milestone__tier {
  font-size: 0.5625rem;
}

.viral-milestones--compact .viral-milestone__count {
  font-size: 0.875rem;
}

.viral-milestones--compact .viral-milestone__count strong {
  font-size: 1.125rem;
}

.viral-milestones--compact .viral-milestone__reward {
  font-size: 0.625rem;
}

.viral-milestones__caption {
  font-size: 0.75rem;
  color: var(--rf-muted);
  margin-top: 0.625rem;
  text-align: center;
  line-height: 1.45;
}

/* ── Prose / forms ── */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.prose p, .prose li { color: var(--rf-muted); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.form-group { margin-bottom: 1rem; }
label { display: block; font-weight: 500; font-size: 0.875rem; margin-bottom: 0.35rem; }
input, textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rf-border);
  border-radius: 4px;
  font: inherit;
  background: var(--rf-input-bg);
  color: var(--rf-text);
}

input::placeholder,
textarea::placeholder {
  color: var(--rf-muted);
}

textarea { min-height: 120px; resize: vertical; }

.contact-form { max-width: 560px; margin-inline: auto; }

/* ── Footer ── */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.site-footer__tagline {
  font-size: 0.8125rem;
  max-width: 260px;
  line-height: 1.5;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8125rem;
}

.site-footer__links a { color: #ccc; text-decoration: none; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 42rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: #888;
}

/* ── Theme toggle (footer) ── */
.theme-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.theme-footer__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-toggle {
  display: inline-flex;
  border: 1px solid #444;
  border-radius: 999px;
  overflow: hidden;
}

.theme-btn {
  border: none;
  background: transparent;
  color: #ccc;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  min-height: 36px;
  min-width: 44px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.theme-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.theme-btn.active {
  background: var(--rf-orange);
  color: #fff;
}

.theme-btn.active:hover {
  background: var(--rf-orange-dark);
  color: #fff;
}

/* ── Competitor compare ── */
.competitor-compare__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.competitor-compare__card,
.competitor-compare__aside {
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--rf-surface);
}

.competitor-compare__card h3,
.competitor-compare__aside h3 {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.competitor-compare__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
}

.competitor-compare__list li,
.competitor-compare__aside ul li {
  font-size: 0.9375rem;
  color: var(--rf-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.competitor-compare__check,
.essentials-grid__check {
  color: var(--rf-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.competitor-compare__note {
  font-size: 0.75rem;
  color: var(--rf-muted);
  margin-left: 0.25rem;
}

.competitor-compare__aside ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.competitor-compare__footnote {
  font-size: 0.875rem;
  color: var(--rf-muted);
  line-height: 1.5;
}

.essentials-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.625rem 1.25rem;
}

.essentials-grid li {
  font-size: 0.9375rem;
  color: var(--rf-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ── Responsive ── */
@media (min-width: 901px) {
  .site-nav-panel {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    background: var(--rf-header-bg);
    border-bottom: 1px solid var(--rf-border);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  }

  html.dark .site-nav-panel {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }

  .site-header.is-nav-open .site-nav-panel {
    display: block;
    max-height: calc(100dvh - var(--header-height) - 1rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }

  .site-nav a:not(.site-nav__cta) {
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
    font-size: 1rem;
  }

  .site-nav__signin {
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .site-nav .site-nav__cta {
    margin: 0.75rem 0 0;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    display: inline-flex;
  }

  .site-nav a:not(.site-nav__cta) {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn,
  .btn-hero,
  .btn-plan,
  .billing-toggle__btn {
    min-height: 48px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .theme-btn {
    min-height: 44px;
    min-width: 48px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
  }

  .hero-banner__box-lead {
    display: block;
    margin: 0;
    line-height: 1.45;
  }

  .hero-banner__box-detail {
    display: none;
  }

  .hero-banner__media img {
    min-height: 300px;
    object-position: center 15%;
  }

  .hero-banner__overlay {
    padding: 1rem;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.72) 100%);
  }

  .hero-banner__content {
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .hero-banner__content h1 {
    font-size: clamp(1.35rem, 5.8vw, 2rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }

  .hero-banner__box {
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.85rem;
  }

  .hero-banner__box p {
    line-height: 1.45;
  }

  .hero-banner__actions {
    max-width: 20rem;
    margin-inline: auto;
  }

  .hero-banner__cta {
    width: 100%;
    min-height: 48px;
  }

  .page-hero--compact {
    padding: 1.75rem 0 1.25rem;
  }

  .page-hero--compact h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .signup-band .btn {
    width: 100%;
    max-width: 20rem;
    min-height: 48px;
  }

  .platforms-band__chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .quick-features__grid,
  .plan-grid,
  .feature-split,
  .stats-strip__grid,
  .viral-referrals__milestones {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .viral-referrals__at-a-glance {
    margin-bottom: 2rem;
  }

  .viral-referrals__highlights {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .viral-referrals__highlights li {
    padding: 0.75rem 0.875rem;
  }

  .viral-referrals__progress {
    max-width: 16rem;
    margin-bottom: 1rem;
  }

  .viral-referrals__progress-dot {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.6875rem;
  }

  .viral-milestone__arrow {
    display: none;
  }

  .viral-referrals__milestones {
    padding-left: 1.75rem;
    position: relative;
  }

  .viral-referrals__milestones::after {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(160, 98, 42, 0.4), rgba(107, 114, 128, 0.4), rgba(184, 134, 11, 0.4));
    border-radius: 1px;
  }

  .viral-referrals__milestones .viral-milestone {
    position: relative;
  }

  .viral-referrals__milestones .viral-milestone::before {
    content: '';
    position: absolute;
    left: -1.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--rf-surface);
    border: 2px solid var(--rf-orange);
    z-index: 1;
  }

  .viral-referrals__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .viral-referrals__card--widget { order: -1; }
  .viral-referrals__card--journey { order: 0; }
  .viral-referrals__card--dashboard { order: 1; }

  .viral-referrals__highlights li.is-featured {
    order: -1;
  }

  .viral-tier-stats {
    gap: 0.375rem;
  }

  .viral-tier-stat {
    padding: 0.4rem 0.25rem;
  }

  .feature-panels .feature-panel--viral {
    grid-column: span 1;
  }

  .feature-panel--viral {
    padding: 1.25rem;
  }

  .feature-panel__viral-layout {
    gap: 1.25rem;
  }

  .feature-panel__milestones {
    padding: 0.875rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--rf-border);
    padding-top: 1rem;
  }

  @media (min-width: 640px) {
    .feature-panel__milestones {
      margin-top: 0;
      border-top: none;
      padding-top: 1rem;
    }
  }

  .viral-milestones--compact {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 1.5rem;
  }

  .viral-milestones--compact::before {
    display: none;
  }

  .viral-milestones--compact::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(160, 98, 42, 0.35), rgba(107, 114, 128, 0.35), rgba(184, 134, 11, 0.35));
    border-radius: 1px;
  }

  .viral-milestones--compact .viral-milestone {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem 0.75rem;
    padding: 0.625rem 0.75rem;
    text-align: left;
  }

  .viral-milestones--compact .viral-milestone__step {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .viral-milestones--compact .viral-milestone__tier {
    font-size: 0.625rem;
    min-width: 3.5rem;
  }

  .viral-milestones--compact .viral-milestone__count {
    margin-right: auto;
  }

  .viral-referrals__milestones-panel {
    padding: 1rem;
  }

  .viral-referrals__milestones .viral-milestone {
    padding: 1rem 0.875rem;
  }

  .viral-referrals .section-head {
    margin-bottom: 2rem;
  }

  .viral-referrals__milestones-wrap {
    margin-bottom: 2.25rem;
  }

  .viral-referrals__card-subhead {
    font-size: 0.625rem;
  }

  .plan-card--featured { transform: none; }

  .competitor-compare__grid {
    grid-template-columns: 1fr;
  }

  .demo-showcase__layout,
  .home-demo__layout,
  .demo-tech-details__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rf-announce-banner {
    padding: 0.5rem 0.75rem;
    gap: 0.35rem;
  }

  .rf-announce-banner__text {
    font-size: 0.8125rem;
  }

  .hero-banner__media img { min-height: 260px; }

  .hero-banner__content h1 {
    font-size: clamp(1.25rem, 5.2vw, 1.75rem);
    text-transform: none;
  }

  .hero-banner__box {
    font-size: 0.875rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
