/* ==========================================================================
   Rock Solid Plugins — Demo site
   Tokens mirror rocksolidplugins-theme/resources/styles/common/_variables.scss
   ========================================================================== */

:root {
  --c-ink: #000;
  --c-ink-soft: #141414;
  --c-text: #262626;
  --c-muted: #6b6b6b;
  --c-white: #fff;
  --c-paper: #f3fbfa;
  --c-paper-grey: #f3f3f3;
  --c-line: #bfc4c4;
  --c-line-soft: #e4e7e7;
  --c-on-dark-muted: #d9d9d9;
  --c-coral: #f77355;
  --c-coral-ink: #d35234;
  --c-purple: #9d38fe;
  --c-cyan: #20d3fe;
  --c-navy: #093349;
  --c-gradient: linear-gradient(6deg, #20d3fe -0.75%, #9d38fe 94.67%);

  --f-body: articulat-cf, "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-heavy: articulat-heavy-cf, "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(42px, 3.24vw + 29.4px, 72px);
  --fs-h2: clamp(32px, 1.9vw + 24.6px, 52px);
  --fs-lead: clamp(18px, 0.4vw + 16.5px, 21px);

  --container: 1280px;
  --gutter: clamp(16px, 5vw - 4px, 64px);
  --section-y: clamp(64px, 5.33vw + 44px, 120px);
  --border: 3px solid var(--c-ink);
  --border-thin: 2px solid var(--c-ink);
  --hairline: 1px solid var(--c-line);
  --shadow-hard: 0 4px 0 var(--c-ink-soft);
  --shadow-soft: 0 4px 50px rgb(0 0 0 / 14%);
  --shadow-card: 14.5px 10.15px 29px 0 rgb(0 0 0 / 8%);
  --radius-pill: 9999px;
  --radius-card: 23px;
  --admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

/* ---- Base --------------------------------------------------------------- */
body.rsp-demo-site {
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.rsp-demo-site .wp-site-blocks { padding: 0; }
.rsp-demo-site .wp-site-blocks > * { margin-block: 0; }
.rsp-demo-site .wp-site-blocks > header,
.rsp-demo-site .wp-site-blocks > footer { margin: 0; }
.rsp-main { margin: 0 !important; }

.rsp-container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rsp-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.t-gradient {
  background-image: var(--c-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.rsp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.rsp-eyebrow--dark { background: transparent; border-color: var(--c-white); color: var(--c-white); }
.rsp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-purple); box-shadow: 0 0 0 0 rgb(157 56 254 / 60%); animation: rsp-ping 2s infinite; }

.rsp-lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--c-text); max-width: 34em; }

.rsp-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.rsp-link:hover { color: var(--c-coral-ink); }

/* ---- Buttons ------------------------------------------------------------ */
.rsp-btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: var(--border); border-radius: var(--radius-pill);
  background: var(--c-coral); color: var(--c-ink);
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.rsp-btn:hover { color: var(--c-ink); transform: translateY(-1px); }
.rsp-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-ink-soft); }
.rsp-btn:focus-visible { outline: 3px solid var(--c-purple); outline-offset: 3px; }
.rsp-btn--secondary { background: var(--c-white); }
.rsp-btn--sm { min-height: 44px; padding: 0 22px; font-size: 16px; }
.rsp-btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.rsp-btn--block { display: flex; width: 100%; }
.rsp-btn--on-dark { border-color: var(--c-coral); box-shadow: 0 3px 0 var(--c-ink), 0 5px 0 var(--c-coral); }
.rsp-btn--on-dark:active { box-shadow: 0 1px 0 var(--c-ink), 0 3px 0 var(--c-coral); }

/* WP core buttons inside demo content get the brand treatment too */
.rsp-demo-site .wp-element-button,
.rsp-demo-site .wp-block-button__link {
  border: var(--border); border-radius: var(--radius-pill);
  background: var(--c-coral); color: var(--c-ink);
  font-family: var(--f-body); font-weight: 700;
  box-shadow: var(--shadow-hard);
}
.rsp-demo-site .is-style-outline .wp-block-button__link { background: var(--c-white); color: var(--c-ink); border-color: var(--c-ink); }

/* ---- Brand / logo ------------------------------------------------------- */
.rsp-brand {
  display: inline-flex; align-items: baseline; gap: 7px;
  color: var(--c-ink); text-decoration: none; flex-shrink: 0;
}
.rsp-brand__mark { display: block; width: 120px; height: 24px; align-self: center; }
.rsp-brand__word { font-size: 13px; font-weight: 700; letter-spacing: .22em; line-height: 1; }
.rsp-brand__tag {
  align-self: center;
  margin-left: 6px; padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--c-gradient);
  color: var(--c-white);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.rsp-brand--light { color: var(--c-white); }

/* ---- Header ------------------------------------------------------------- */
.rsp-header-wrap { position: relative; z-index: 20; }
.rsp-header { background: var(--c-white); border-bottom: var(--hairline); }
.rsp-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.rsp-nav-toggle { order: 3; }
.rsp-nav-toggle > summary {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: var(--border-thin); border-radius: 12px; cursor: pointer; list-style: none;
}
.rsp-nav-toggle > summary::-webkit-details-marker { display: none; }
.rsp-nav__list { list-style: none; margin: 0; padding: 0; }
.rsp-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--c-ink); font-size: 16px; font-weight: 500; text-decoration: none;
}
.rsp-nav__link:hover { color: var(--c-coral-ink); }
.rsp-header__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.rsp-header__site { display: none; align-items: center; gap: 6px; color: var(--c-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.rsp-header__site:hover { color: var(--c-coral-ink); }

/* Dropdown */
.rsp-menu {
  box-sizing: border-box;
  background: var(--c-white);
  border: var(--border-thin);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.rsp-menu__head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: var(--hairline); margin-bottom: 8px; }
.rsp-menu__head div > strong { display: block; color: var(--c-ink); font-size: 16px; }
.rsp-menu__head div > span { display: block; font-size: 13px; color: var(--c-muted); }
.rsp-menu__icon, .rsp-buy__icon, .rsp-buy__bundle-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-gradient); color: var(--c-white);
}
.rsp-menu ul { list-style: none; margin: 0; padding: 0; }
.rsp-menu li a {
  display: block; padding: 8px 10px; border-radius: 10px;
  color: var(--c-text); font-size: 15px; text-decoration: none;
}
.rsp-menu li a:hover { background: var(--c-paper); color: var(--c-ink); }
.rsp-menu__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; padding: 12px 12px; border-radius: 12px;
  background: var(--c-ink); color: var(--c-white); font-size: 14px; font-weight: 700; text-decoration: none;
}
.rsp-menu__foot:hover { background: var(--c-coral); color: var(--c-ink); }

/* Mobile nav panel */
@media (max-width: 1023.98px) {
  .rsp-nav-toggle[open] .rsp-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 90px); overflow: auto;
    padding: 16px var(--gutter) 24px;
    background: var(--c-white); border-bottom: var(--border);
  }
  .rsp-nav__list > li { padding: 12px 0; border-bottom: var(--hairline); }
  .rsp-nav__link { font-size: 18px; font-weight: 700; }
  .rsp-nav__link .rsp-icon { display: none; }
  .rsp-menu { border: 0; box-shadow: none; padding: 8px 0 0; }
  .rsp-menu__head { display: none; }
  .rsp-header .rsp-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
}

/* Desktop nav */
@media (min-width: 1024px) {
  .rsp-nav-toggle { order: 0; flex: 1; }
  .rsp-nav-toggle > summary { display: none; }
  .rsp-nav__list { display: flex; align-items: center; justify-content: center; gap: 30px; }
  .rsp-nav__item { position: relative; }
  .rsp-nav__item.has-menu > .rsp-nav__link { padding: 26px 0; }
  .rsp-menu {
    position: absolute; left: 50%; top: calc(100% - 6px);
    width: 340px;
    opacity: 0; visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .rsp-nav__item.has-menu:hover .rsp-menu,
  .rsp-nav__item.has-menu:focus-within .rsp-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .rsp-nav__item.has-menu:hover > .rsp-nav__link .rsp-icon { transform: rotate(180deg); }
  .rsp-nav__link .rsp-icon { transition: transform .18s ease; }
  .rsp-header__actions { margin-left: 0; }
  .rsp-header__site { display: inline-flex; }
}

/* ---- Hero (home) -------------------------------------------------------- */
.rsp-hero { padding-block: clamp(48px, 6vw, 96px) clamp(56px, 6vw, 104px); overflow: hidden; }
.rsp-hero__grid { display: grid; gap: 56px; align-items: center; }
.rsp-hero__copy .rsp-eyebrow { margin-bottom: 26px; }
.rsp-hero__title {
  margin: 0 0 24px;
  color: var(--c-ink);
  font-family: var(--f-heavy); font-size: var(--fs-display); font-weight: 900;
  line-height: 1.04; letter-spacing: -0.025em;
}
.rsp-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rsp-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-text); }
.rsp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.rsp-trust .rsp-icon, .rsp-ticks .rsp-icon, .rsp-feats .rsp-icon { color: var(--c-coral-ink); }

@media (min-width: 960px) {
  .rsp-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

/* Hero product mock (bulletin + popup) */
.rsp-hero__art { position: relative; padding: 20px 0 40px; }
.rsp-mock {
  position: relative; z-index: 1;
  border: var(--border); border-radius: 14px; background: #8d8d8d;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 11;
  overflow: visible;
}
.rsp-mock__chrome { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--c-navy); border-radius: 10px 10px 0 0; }
.rsp-mock__chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 45%); }
.rsp-mock__chrome span { margin-left: 12px; padding: 3px 14px; border-radius: 99px; background: rgb(255 255 255 / 14%); color: rgb(255 255 255 / 80%); font-size: 11px; }
.rsp-mock__bulletin {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 38px; padding: 0 12px;
  background: var(--c-ink); color: var(--c-white); font-size: clamp(11px, 1.1vw, 13px); font-weight: 500; text-align: center;
}
.rsp-mock__bulletin b { padding: 3px 10px; border-radius: 99px; background: var(--c-coral); color: var(--c-ink); font-size: 11px; }
.rsp-mock__page { display: grid; gap: 12px; padding: 22px; }
.rsp-mock__page span { display: block; height: 14px; border-radius: 6px; background: rgb(255 255 255 / 28%); }
.rsp-mock__page span:nth-child(1) { width: 38%; height: 22px; background: rgb(0 0 0 / 55%); }
.rsp-mock__page span:nth-child(2) { width: 80%; }
.rsp-mock__page span:nth-child(3) { width: 64%; }
.rsp-mock__page span:nth-child(4) { width: 30%; height: 34px; border-radius: 99px; background: rgb(0 0 0 / 45%); }
.rsp-mock__popup {
  position: absolute; right: 7%; top: 30%;
  display: grid; gap: 8px; width: min(58%, 290px);
  padding: 26px 22px 22px;
  border: var(--border); border-radius: 12px; background: var(--c-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
  animation: rsp-float 6s ease-in-out infinite;
}
.rsp-mock__popup strong { color: var(--c-ink); font-family: var(--f-heavy); font-size: clamp(16px, 1.6vw, 21px); line-height: 1.15; }
.rsp-mock__popup small { color: var(--c-muted); font-size: 12px; }
.rsp-mock__input { padding: 9px 0; border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: 12px; text-align: left; }
.rsp-mock__btn { margin-top: 6px; padding: 10px; border: var(--border-thin); border-radius: 99px; background: var(--c-coral); color: var(--c-ink); font-size: 14px; font-weight: 700; box-shadow: 0 3px 0 var(--c-ink-soft); }
.rsp-mock__tag, .rsp-mock__label {
  position: absolute; padding: 4px 10px;
  border: var(--border-thin); border-radius: 99px; background: var(--c-white);
  color: var(--c-ink); font-size: 11px; font-weight: 700;
}
.rsp-mock__tag { top: -14px; left: 14px; }
.rsp-mock__label { top: 46px; left: -14px; }
.rsp-dots {
  position: absolute; right: -24px; top: -4px; z-index: 0;
  width: 140px; height: 120px;
  background-image: radial-gradient(var(--c-ink) 1.4px, transparent 1.6px);
  background-size: 12px 12px; opacity: .35;
}

/* ---- Stats -------------------------------------------------------------- */
.rsp-stats { border-block: var(--border); }
.rsp-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-block: 34px; }
.rsp-stats strong { display: block; color: var(--c-ink); font-family: var(--f-heavy); font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.rsp-stats span { display: block; margin-top: 4px; color: var(--c-text); font-size: 14px; }
@media (min-width: 900px) { .rsp-stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Sections ----------------------------------------------------------- */
.rsp-section { padding-block: var(--section-y); }
.rsp-section--tint { background: var(--c-paper); border-top: var(--hairline); }
.rsp-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: 36px; }
.rsp-section-head h2 { margin: 0; color: var(--c-ink); font-family: var(--f-heavy); font-size: clamp(28px, 2vw + 18px, 44px); line-height: 1.08; letter-spacing: -0.02em; }
.rsp-section-head p { margin: 0; max-width: 32em; color: var(--c-text); }

/* Plugin blocks on home */
.rsp-plugin + .rsp-plugin { border-top: var(--hairline); }
.rsp-plugin--easy-popups { background: var(--c-paper); }
.rsp-plugin__grid { display: grid; gap: 48px; }
.rsp-plugin__intro h2 { margin: 18px 0 14px; color: var(--c-ink); font-family: var(--f-heavy); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.025em; }
.rsp-plugin__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin: 30px 0 18px; }
.rsp-plugin__price, .rsp-bundle__price { display: flex; align-items: baseline; gap: 4px; color: var(--c-ink); }
.rsp-plugin__price small, .rsp-bundle__price small { font-size: 14px; color: var(--c-muted); }
.rsp-plugin__price .rsp-price { font-family: var(--f-heavy); font-size: 40px; letter-spacing: -0.02em; line-height: 1; }
.rsp-price__cur { font-size: .55em; vertical-align: .55em; margin-right: 1px; }
@media (min-width: 1024px) {
  .rsp-plugin__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .rsp-plugin__intro { position: sticky; top: calc(var(--admin-bar) + var(--rsp-bulletin-h, 0px) + 32px); }
}

.rsp-feats { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.rsp-feats li { display: flex; align-items: flex-start; gap: 10px; color: var(--c-ink); font-weight: 500; }
.rsp-feats .rsp-icon { margin-top: 3px; }

.rsp-stars { display: inline-flex; align-items: center; gap: 2px; color: #f5a623; font-size: 14px; }
.rsp-stars b { margin-left: 6px; color: var(--c-ink); }
.rsp-stars span { margin-left: 4px; color: var(--c-muted); }

/* Demo cards */
.rsp-cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .rsp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rsp-section:not(.rsp-plugin) .rsp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rsp-card a {
  position: relative;
  display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
  padding: 22px 22px 20px;
  border: var(--border-thin); border-radius: 18px; background: var(--c-white);
  color: var(--c-text); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rsp-card a:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--c-ink-soft); }
.rsp-card a:focus-visible { outline: 3px solid var(--c-purple); outline-offset: 3px; }
.rsp-card__num { position: absolute; top: 18px; right: 20px; color: var(--c-line); font-family: var(--f-heavy); font-size: 22px; }
.rsp-card__look {
  align-self: flex-start;
  padding: 4px 10px; border-radius: 99px; background: var(--c-paper-grey);
  color: var(--c-ink); font-size: 12px; font-weight: 700;
}
.rsp-card h3 { margin: 14px 0 6px; color: var(--c-ink); font-family: var(--f-heavy); font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.rsp-card p { flex: 1; margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.rsp-card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--c-ink); font-size: 15px; font-weight: 700; }
.rsp-card a:hover .rsp-card__cta { color: var(--c-coral-ink); }
.rsp-card a:hover .rsp-card__cta .rsp-icon { transform: translateX(3px); }
.rsp-card__cta .rsp-icon { transition: transform .18s ease; }

/* ---- Plugin overview hero ---------------------------------------------- */
.rsp-phero { padding-block: clamp(32px, 4vw, 64px) clamp(48px, 5vw, 80px); background: var(--c-paper); border-bottom: var(--hairline); }
.rsp-phero__grid { display: grid; gap: 40px; align-items: start; }
.rsp-phero__title { margin: 22px 0 18px; color: var(--c-ink); font-family: var(--f-heavy); font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .rsp-phero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }

.rsp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--c-muted); font-size: 14px; }
.rsp-crumbs a { color: var(--c-ink); text-decoration: none; font-weight: 500; }
.rsp-crumbs a:hover { color: var(--c-coral-ink); text-decoration: underline; }

/* ---- Single demo layout ------------------------------------------------- */
.rsp-demo { display: grid; gap: 40px; padding-block: clamp(28px, 3vw, 48px) var(--section-y); }
@media (min-width: 1024px) { .rsp-demo { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
@media (min-width: 1200px) { .rsp-demo { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }

.rsp-brief {
  padding: clamp(22px, 2.4vw, 34px);
  border: var(--border); border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.rsp-brief__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rsp-brief__title { margin: 20px 0 12px; color: var(--c-ink); font-family: var(--f-heavy); font-size: clamp(32px, 2.4vw + 18px, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.rsp-brief__text { margin: 0; font-size: var(--fs-lead); line-height: 1.45; max-width: 36em; }
.rsp-brief__look {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 10px 16px 10px 30px;
  border-radius: var(--radius-pill);
  background: var(--c-ink); color: var(--c-white);
  font-size: 15px; font-weight: 700;
}
.rsp-pulse { position: absolute; left: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--c-cyan); animation: rsp-ping-cyan 1.8s infinite; }
.rsp-replay {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: var(--border-thin); border-radius: var(--radius-pill);
  background: var(--c-white); color: var(--c-ink);
  font: 700 14px/1 var(--f-body); cursor: pointer;
  transition: background-color .15s ease;
}
.rsp-replay:hover { background: var(--c-paper-grey); }
.rsp-replay:hover .rsp-icon { transform: rotate(-180deg); }
.rsp-replay .rsp-icon { transition: transform .4s ease; }

/* Sample page content lives inside the brief card, below a hairline */
.rsp-brief__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.rsp-brief__meta .rsp-brief__look { margin-top: 0; }
.rsp-brief__docs { font-size: 15px; }
.rsp-stage {
  margin: clamp(22px, 2.4vw, 34px) calc(clamp(22px, 2.4vw, 34px) * -1) 0;
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px) 0;
  border-top: var(--hairline);
}
.rsp-stage > :first-child { margin-top: 0; }
.rsp-stage > :last-child { margin-bottom: 0; }
.rsp-stage .alignfull,
.rsp-stage .alignwide {
  max-width: 100% !important; width: auto !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
/* Strip the sample pattern colour blocks so the page reads as one clean card */
.rsp-stage .has-background { background: transparent !important; }
.rsp-stage .has-background,
.rsp-stage .wp-block-group.alignfull,
.rsp-stage .wp-block-cover { padding: 0 !important; }
.rsp-stage > * + * { margin-top: clamp(28px, 3vw, 48px) !important; }
.rsp-stage .has-text-color,
.rsp-stage .has-text-color * { color: var(--c-text) !important; }
.rsp-stage .wp-block-cover { min-height: 0 !important; }
.rsp-stage .wp-block-cover__background { display: none; }
.rsp-stage h1, .rsp-stage h2, .rsp-stage h3 { font-family: var(--f-heavy); color: var(--c-ink) !important; letter-spacing: -0.02em; }
.rsp-stage img { max-width: 100%; height: auto; border-radius: 12px; }
.rsp-stage .has-x-large-font-size,
.rsp-stage .has-xx-large-font-size { font-size: clamp(24px, 2vw + 12px, 36px) !important; }

.rsp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.rsp-pager__link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border: var(--border-thin); border-radius: 16px;
  color: var(--c-ink); text-decoration: none; font-weight: 700; line-height: 1.3;
  transition: box-shadow .15s ease, transform .15s ease;
}
.rsp-pager__link:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--c-ink-soft); }
.rsp-pager__link small { display: block; color: var(--c-muted); font-size: 13px; font-weight: 500; }
.rsp-pager__link--next { grid-column: 2; justify-content: flex-end; text-align: right; }

/* ---- Buy box (sticky sidebar) ------------------------------------------ */
.rsp-buy { display: grid; gap: 14px; }
@media (min-width: 1024px) {
  .rsp-demo__side { height: 100%; }
  .rsp-demo__side .rsp-buy,
  .rsp-phero .rsp-buy { position: sticky; top: calc(var(--admin-bar) + var(--rsp-bulletin-h, 0px) + 24px); }
}
.rsp-buy__card {
  display: grid; gap: 14px;
  padding: 24px;
  border: var(--border); border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: 0 6px 0 var(--c-ink-soft);
}
.rsp-buy__head { display: flex; align-items: center; gap: 12px; }
.rsp-buy__kicker { display: block; color: var(--c-muted); font-size: 13px; font-weight: 500; }
.rsp-buy__name { display: block; color: var(--c-ink); font-family: var(--f-heavy); font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; }
.rsp-plans { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.rsp-plan a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 2px solid var(--c-line-soft); border-radius: 14px;
  color: var(--c-ink); text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.rsp-plan a:hover { border-color: var(--c-ink); }
.rsp-plan.is-popular a { border-color: var(--c-ink); background: var(--c-paper); }
.rsp-plan__name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.rsp-plan__name small { display: block; color: var(--c-muted); font-size: 13px; font-weight: 500; }
.rsp-plan__name em { margin-left: 4px; padding: 2px 7px; border-radius: 99px; background: var(--c-gradient); color: var(--c-white); font-size: 10px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px; }
.rsp-plan__price { white-space: nowrap; }
.rsp-plan__price .rsp-price { font-family: var(--f-heavy); font-size: 24px; letter-spacing: -0.02em; }
.rsp-plan__price small { color: var(--c-muted); font-size: 13px; }
.rsp-ticks { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; }
.rsp-ticks li { display: flex; align-items: center; gap: 8px; }
.rsp-buy .rsp-stars { margin-top: -4px; }
.rsp-buy__bundle {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  background: var(--c-ink); color: var(--c-white);
  font-size: 14px; line-height: 1.35; text-decoration: none;
  transition: transform .15s ease;
}
.rsp-buy__bundle:hover { color: var(--c-white); transform: translateY(-2px); }
.rsp-buy__bundle strong { color: var(--c-coral); }
.rsp-buy__bundle > .rsp-icon { margin-left: auto; }

/* Inline buy row inside the brief (mobile only) */
.rsp-mbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: var(--hairline);
  color: var(--c-ink); font-size: 15px;
}
.rsp-mbar .rsp-btn { min-height: 40px; }
@media (min-width: 1024px) { .rsp-mbar { display: none; } }

/* ---- Plain pages (cart / checkout / account) --------------------------- */
.rsp-plain { padding-block: clamp(40px, 5vw, 80px) var(--section-y); }
.rsp-plain__title { margin: 0 0 32px; color: var(--c-ink); font-family: var(--f-heavy); font-size: clamp(36px, 2.4vw + 22px, 56px); letter-spacing: -0.025em; }
.rsp-generic { padding: var(--section-y) var(--gutter); }

/* ---- Bundle band + footer ---------------------------------------------- */
.on-dark { background: var(--c-ink); color: var(--c-white); }
.rsp-bundle { padding-block: clamp(56px, 6vw, 96px); position: relative; overflow: hidden; }
.rsp-bundle::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgb(157 56 254 / 35%), transparent 70%);
  pointer-events: none;
}
.rsp-bundle__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.rsp-bundle__title { margin: 20px 0 14px; color: var(--c-white); font-family: var(--f-heavy); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.025em; }
.rsp-bundle__lead { margin: 0; max-width: 34em; color: var(--c-on-dark-muted); font-size: var(--fs-lead); }
.rsp-bundle__cta { display: grid; gap: 16px; justify-items: start; }
.rsp-bundle__price { color: var(--c-white); }
.rsp-bundle__price .rsp-price { font-family: var(--f-heavy); font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.rsp-bundle__price small { color: var(--c-on-dark-muted); }
.rsp-bundle__note { display: inline-flex; align-items: center; gap: 6px; color: var(--c-on-dark-muted); font-size: 14px; }
@media (min-width: 960px) { .rsp-bundle__inner { grid-template-columns: 1.4fr 1fr; gap: 64px; } .rsp-bundle__cta { justify-items: end; text-align: right; } }

.rsp-footer { border-top: 1px solid #262626; padding-block: 56px 28px; }
.rsp-footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rsp-footer__brand p { margin: 16px 0 0; max-width: 22em; color: var(--c-on-dark-muted); font-size: 15px; }
.rsp-footer h3 { margin: 0 0 14px; color: var(--c-white); font-family: var(--f-body); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rsp-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rsp-footer a { color: var(--c-on-dark-muted); font-size: 15px; text-decoration: none; }
.rsp-footer a:hover { color: var(--c-coral); }
.rsp-footer .rsp-brand { color: var(--c-white); }
.rsp-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #262626; color: #9a9a9a; font-size: 13px; }
.rsp-footer__base a { font-size: 13px; color: #9a9a9a; text-decoration: underline; }
@media (min-width: 1100px) { .rsp-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } }

/* ---- Motion ------------------------------------------------------------- */
@keyframes rsp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rsp-ping { 0% { box-shadow: 0 0 0 0 rgb(157 56 254 / 55%); } 80%, 100% { box-shadow: 0 0 0 8px rgb(157 56 254 / 0%); } }
@keyframes rsp-ping-cyan { 0% { box-shadow: 0 0 0 0 rgb(32 211 254 / 70%); } 80%, 100% { box-shadow: 0 0 0 8px rgb(32 211 254 / 0%); } }
@keyframes rsp-rise { to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 520px) {
  .rsp-header__inner { gap: 12px; min-height: 64px; }
  .rsp-brand__mark { width: 96px; height: 19px; }
  .rsp-brand__word { font-size: 11px; }
  .rsp-header .rsp-brand__tag { display: none; }
  .rsp-header .rsp-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .rsp-pager { grid-template-columns: 1fr; }
  .rsp-pager__link--next { grid-column: 1; }
  .rsp-hero__ctas .rsp-btn { width: 100%; }
}
